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 | jhylton |
|---|---|
| Recipients | akuchling, amaury.forgeotdarc, benjamin.peterson, georg.brandl, jhylton |
| Date | 2010年02月23日.23:41:08 |
| SpamBayes Score | 1.874596e-08 |
| Marked as misclassified | No |
| Message-id | <e8bf7a531002231541p2e4cb55cl45f9ed3ea564c846@mail.gmail.com> |
| In-reply-to | <1228588118.18.0.731519728687.issue4199@psf.upfronthosting.co.za> |
| Content | |
|---|---|
On Sat, Dec 6, 2008 at 1:28 PM, Benjamin Peterson <report@bugs.python.org> wrote: > > Benjamin Peterson <musiccomposition@gmail.com> 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. You shouldn't need to do this. The unpack is implied if the number of identifiers is greater than 1. Jeremy > * 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 <report@bugs.python.org> > <http://bugs.python.org/issue4199> > _______________________________________ > _______________________________________________ > Python-bugs-list mailing list > Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/jeremy%40alum.mit.edu > > |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010年02月23日 23:41:10 | jhylton | set | recipients: + jhylton, akuchling, georg.brandl, amaury.forgeotdarc, benjamin.peterson |
| 2010年02月23日 23:41:08 | jhylton | link | issue4199 messages |
| 2010年02月23日 23:41:08 | jhylton | create | |