Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prevent stack overflow when an encoder is registered from Python#1429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

lostmsu
Copy link
Member

@lostmsulostmsu commentedMar 30, 2021
edited
Loading

What does this implement/fix? Explain your changes.

This disables ability to register encoders forSystem.Type.

Without this restriction encoders created in Python cause stack overflow due to repeated attempts to passSystem.Type instance toCanDecode, which requires encoding the instance ofSystem.Type.

Does this close any currently open issues?

#1427

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • Updated theCHANGELOG

@lostmsulostmsuforce-pushed thebugs/StackOverflow_with_raw_list_encoder branch 3 times, most recently from3208bd2 toaa5e504CompareMarch 30, 2021 21:45
@lostmsulostmsu marked this pull request as ready for reviewMarch 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. ceterafixespythonnet#1427
@lostmsulostmsuforce-pushed thebugs/StackOverflow_with_raw_list_encoder branch from6b87b38 to8045b5fCompareMarch 31, 2021 03:48
@lostmsulostmsuforce-pushed thebugs/StackOverflow_with_raw_list_encoder branch from8045b5f to0d33a90CompareMarch 31, 2021 04:00
@lostmsulostmsu merged commit23527d1 intopythonnet:masterMar 31, 2021
@lostmsulostmsu deleted the bugs/StackOverflow_with_raw_list_encoder branchMarch 31, 2021 04:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@lostmsu

[8]ページ先頭

©2009-2025 Movatter.jp