-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add 'If' condition evaluation feature based on user input #590
base: master
Are you sure you want to change the base?
Commits on May 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6f2e374 - Browse repository at this point
Copy the full SHA 6f2e374View commit details
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c50517 - Browse repository at this point
Copy the full SHA 0c50517View commit details -
Since the new NodeVisitor class, all the node are not visited as befo…
…re. The older visitor relied on generic_visit() to be recursive. Where the provided generic_visit() is not recursive anymore, and moreover not called automatically when visiting unknow nodes! So what I'm saying here is that since #576 have been merged, we're not visiting the statements inside the 'orelse' field of Try and If nodes, same goes for 'finalbody' and 'handlers'. This commit fixes that issue. The rationale is now the following: All statements in the 'orelse' block of IF nodes and statements in the except handlers of TRY nodes that would override a name already defined in the main 'body' (or TRY 'orelse' or 'finalbody') are ignored. Meaning that in the context of the code below, 'ssl' would resolve to 'twisted.internet.ssl': try: from twisted.internet import ssl as _ssl except ImportError: ssl = None else: ssl = _ssl
Configuration menu - View commit details
-
Copy full SHA for 7d40873 - Browse repository at this point
Copy the full SHA 7d40873View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae6582f - Browse repository at this point
Copy the full SHA ae6582fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd4407 - Browse repository at this point
Copy the full SHA 3bd4407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8613422 - Browse repository at this point
Copy the full SHA 8613422View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a02722 - Browse repository at this point
Copy the full SHA 9a02722View commit details -
Revert ignoring 'If.orelse' and 'Try.handler' in functions and methods.
Properly add support for that to override_guard() function instead.
Configuration menu - View commit details
-
Copy full SHA for 7ad998f - Browse repository at this point
Copy the full SHA 7ad998fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd90f2b - Browse repository at this point
Copy the full SHA bd90f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39ca9a3 - Browse repository at this point
Copy the full SHA 39ca9a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ef027 - Browse repository at this point
Copy the full SHA 56ef027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ad23b8 - Browse repository at this point
Copy the full SHA 0ad23b8View commit details -
Merge branch 'visit-try-orelse-finalbody-and-if-orelse' of github.com…
…:twisted/pydoctor into visit-try-orelse-finalbody-and-if-orelse
Configuration menu - View commit details
-
Copy full SHA for a5314c9 - Browse repository at this point
Copy the full SHA a5314c9View commit details -
Merge branch 'visit-try-orelse-finalbody-and-if-orelse' into choose-T…
…YPE_CHECKING-value-for-a-module
Configuration menu - View commit details
-
Copy full SHA for c87144d - Browse repository at this point
Copy the full SHA c87144dView commit details
Commits on May 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2e18b5f - Browse repository at this point
Copy the full SHA 2e18b5fView commit details