Skip to content

Limit differentForks to the current scope#342

Open
jayvdb wants to merge 1 commit intoPyCQA:mainfrom
jayvdb:limit-differentForks-scope
Open

Limit differentForks to the current scope#342
jayvdb wants to merge 1 commit intoPyCQA:mainfrom
jayvdb:limit-differentForks-scope

Conversation

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Jul 16, 2018

Alternate if & try forks are always in the same scope.

Rearranging the code a little allows for differentForks
to only be called on redefinitions within the same scope,
and inside differentForks the use of getCommonAncestor
can be limited to finding ancestors only when in current
scope.

@jayvdb jayvdb force-pushed the limit-differentForks-scope branch from 123be91 to 522b927 Compare July 16, 2018 01:00
Alternate if & try forks are always in the same scope.

Rearranging the code a little allows for differentForks
to only be called on redefinitions within the same scope,
and inside differentForks the use of getCommonAncestor
can be limited to finding ancestors only when in current
scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant