Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I think I may have been merging add_ast_fields when I wrote the patch.
Here's a new patch that handles "global x, = (5,)". To do it, I added a new flag* to the Global and Nonlocal AST objects that indicates whether the value needs to be unpacked or not. * The flag is an int. The bool AST type was removed in py3k. Added file: http://bugs.python.org/file12254/global_nonlocal_shorthand2.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4199> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com