This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author josh.r
Recipients jhrmnn, josh.r
Date 2018-10-09.23:04:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Problem: The variables from the nested functions (which comprehensions are effectively a special case of) aren't actually closure variables for the function being inspected.

Allowing recursive identification of all closure variables might be helpful in some contexts, but you wouldn't want it to be the only behavior; it's easier to convert a non-recursive solution to a recursive solution than the other way around.
Date User Action Args
2018-10-09 23:04:58josh.rsetrecipients: + josh.r, jhrmnn
2018-10-09 23:04:58josh.rsetmessageid: <>
2018-10-09 23:04:58josh.rlinkissue34947 messages
2018-10-09 23:04:58josh.rcreate