[issue25135] Deques to adopt the standard clearing procedure for mutable objects
Serhiy Storchaka
report at bugs.python.org
Fri Sep 25 11:10:13 CEST 2015
Serhiy Storchaka added the comment:
Here is a patch that copies only used part of the block.
I don't see an actual bug in patch 2 besides that it fallbacks to current popping behavior.
----------
Added file: http://bugs.python.org/file40572/deque_nonreentrant_clear4.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25135>
_______________________________________
More information about the Python-bugs-list
mailing list