-
-
Notifications
You must be signed in to change notification settings - Fork 3k
More improvements to stubgen #7951
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
037ce58
Continue operation even if imported module raises SystemExit
JukkaL 86e9ad4
Use separate process for module introspection
JukkaL 9923a7a
Recover from helper process death
JukkaL 0722c7d
Display message when we start processing ASTs
JukkaL db0a8d5
Automatically skip 'setup' modules and other non-library modules
JukkaL ca1923a
Add additional vendored package naming convention
JukkaL 7e10f4c
Fallback to finding module using sys.path if import fails
JukkaL 8e1b5b8
Import all names imported from the current package by default
JukkaL 0728e70
Silently ignore invalid docstring signatures
JukkaL 67e2db4
Also use Python 2 sys.path to find files
JukkaL 2cb948c
Do not generate invalid argument names from docstrings
JukkaL 514ae1d
Be more aggressive about ignoring various dunders
JukkaL b818592
Avoid generating both an attribute and a property definition
JukkaL 6237ec4
Avoid None return type for some methods that should always return a v…
JukkaL b4c8f21
Fix indent of named tuples
JukkaL c0dda3b
Fix some imports from vendorex six.moves
JukkaL 0d6e545
Fall back to Any for a dynamic named tuple definition
JukkaL 97f2bf4
Don't crash on invalid property definition
JukkaL 2affb99
Clear decorators if we skip a function
JukkaL 29acbed
Fix @classmethod without corresponding 'def' in C module
JukkaL 75a094b
Catch more bad types and bad arguments names in C stubs
JukkaL fb95598
Fix stripping of C type names
JukkaL 17440b4
Misc tweaks
JukkaL 7968a6a
Fixes
JukkaL 73fb604
Fix lint
JukkaL 2cc05d5
'None' is a valid type
JukkaL 7e3826c
Update test case
JukkaL e8a1498
Fix Python 3.5
JukkaL 9634aa9
Another Python 3.5 fix
JukkaL 18591d3
Raise exception if subprocess gets stuck
JukkaL 99c6dad
Attempt to fix compiled
JukkaL 78771f4
Attempt to fix compiled
JukkaL 1a098c6
Attempt to fix compiled
JukkaL d35ec7b
Fix unused import
JukkaL d892a7a
Fix test case on Windows
JukkaL 4724d00
Pass sys.path to the worker function
JukkaL 1bc5af7
Respond to feedback
JukkaL fd088b1
Skip test case on Windows
JukkaL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't crash on invalid property definition
- Loading branch information
commit 97f2bf49dbb5b4a3bf69f2ccb92676ca44bed76c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the extra item is also decorated (with some unrelated decorator)? Maybe add a test for this?