Yury Selivanov <yseliva...@gmail.com> added the comment:

> The patch causes crashes.

Yes, that's known.  

First, we need to check, that we can only write tuple of cell objects or None 
in __closure__ (that's easy to add).  Secondly, perhaps, we can check 
__closure__ correctness each time we start evaluating a code object.  The 
latter would offer us better stability, but may also introduce some slowdowns 
-- need to find some time to implement and benchmark this.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14369>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to