[issue12029] Allow catching virtual subclasses in except clauses
Change by Simon Charette : -- nosy: +charettes ___ Python tracker <https://bugs.python.org/issue12029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3692] improper scope in list comprehension, when used in class declaration
Simon Charette added the comment: I stumble upon this bug when porting a Python 2 codebase to 3 and suddenly got a NameError for the following code. class Foo: a = [1,2,3] b = [4,5,6] c = [x * y for x in a for y in b] NameError: name 'b' is not defined Not sure what could be done at this point but I thought I'd leave some feedback given I was surprised this would break given it works just fine if not defined at the class level. a = [1,2,3] b = [4,5,6] c = [x * y for x in a for y in b] -- nosy: +charettes ___ Python tracker <https://bugs.python.org/issue3692> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11798] Test cases not garbage collected after run
Changes by Simon Charette : -- nosy: +charettes ___ Python tracker <http://bugs.python.org/issue11798> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25137] Behavioral change / regression? with nested functools.partial
Changes by Simon Charette : -- nosy: +charettes ___ Python tracker <http://bugs.python.org/issue25137> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25935] OrderedDict prevents garbage collection if a circulary referenced class is used as key
New submission from Simon Charette: I attached a file with a reproduction test case that passes on Python 2.7 and 3.4 but fails on 3.5.0 and 3.5.1 This might be solved by the improvement planed in #25410. -- components: Extension Modules files: test.py messages: 256945 nosy: charettes priority: normal severity: normal status: open title: OrderedDict prevents garbage collection if a circulary referenced class is used as key type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file41399/test.py ___ Python tracker <http://bugs.python.org/issue25935> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com