[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-08-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-03-10 Thread miss-islington
miss-islington added the comment: New changeset 5506d603021518eaaa89e7037905f7a698c5e95c by Miss Islington (bot) in branch '3.7': bpo-32836: Remove obsolete code from symtable pass (GH-5680)

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +5684 ___ Python tracker ___

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-26 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 3a087beddd9f0955eb9080a6fd1499ff89ca74bf by Nick Coghlan (Nitish Chandra) in branch 'master': bpo-32836: Remove obsolete code from symtable pass (GH-5680)

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Nitish
Change by Nitish : -- keywords: +patch pull_requests: +5476 stage: -> patch review ___ Python tracker ___

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: We still need to the ".0" style temporary variables that are used for argument names in the implicitly generated functions, but it's definitely plausible that we're not actually using the "_[1]" style hidden variables anywhere anymore.

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-12 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-12 Thread Martijn Pieters
New submission from Martijn Pieters : In Python 2.6, a list comprehension was implemented in the current scope using a temporary _[1] variable to hold the list object: >>> import dis >>> dis.dis(compile('[x for x in y]', '?', 'exec')) 1 0 BUILD_LIST 0