homepage

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 eric.snow
Recipients Yury.Selivanov, eric.snow, meador.inge, ncoghlan
Date 2011年09月29日.20:54:03
SpamBayes Score 0.26205757
Marked as misclassified No
Message-id <1317329644.79.0.613051731515.issue13062@psf.upfronthosting.co.za>
In-reply-to
Content
See:
http://hg.python.org/cpython/file/default/Include/funcobject.h#l34
http://hg.python.org/cpython/file/default/Objects/funcobject.c#l454
 454 /* func_new() maintains the following invariants for closures. The
 455 closure must correspond to the free variables of the code object.
 456 
 457 if len(code.co_freevars) == 0:
 458 closure = NULL
 459 else:
 460 len(closure) == len(code.co_freevars)
 461 for every elt in closure, type(elt) == cell
 462 */
History
Date User Action Args
2011年09月29日 20:54:04eric.snowsetrecipients: + eric.snow, ncoghlan, meador.inge, Yury.Selivanov
2011年09月29日 20:54:04eric.snowsetmessageid: <1317329644.79.0.613051731515.issue13062@psf.upfronthosting.co.za>
2011年09月29日 20:54:03eric.snowlinkissue13062 messages
2011年09月29日 20:54:03eric.snowcreate

AltStyle によって変換されたページ (->オリジナル) /