Prevent stack overflow when an encoder is registered from Python by lostmsu · Pull Request #1429 · pythonnet/pythonnet

@lostmsu lostmsu marked this pull request as ready for review

March 30, 2021 22:03
(stack overflow trying to pass `System.Type` to `CanEncode`)
Without this restriction encoders created in Python cause stack overflow due to repeated attempts to pass `System.Type` instance to `CanDecode`, which requires encoding the instance of `System.Type`, et. cetera

fixes pythonnet#1427

@lostmsu

@lostmsu lostmsu deleted the bugs/StackOverflow_with_raw_list_encoder branch

March 31, 2021 04:10