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 pitrou
Recipients Arfrever, ezio.melotti, pitrou, serhiy.storchaka, skrah
Date 2012-10-13.22:23:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350167005.38.0.546504309562.issue15958@psf.upfronthosting.co.za>
In-reply-to
Content
The problem with your approach is that the sequence could be mutated while another thread is running (_getbuffer() may release the GIL). Then the pre-computed size gets wrong.
History
Date User Action Args
2012-10-13 22:23:25pitrousetrecipients: + pitrou, ezio.melotti, Arfrever, skrah, serhiy.storchaka
2012-10-13 22:23:25pitrousetmessageid: <1350167005.38.0.546504309562.issue15958@psf.upfronthosting.co.za>
2012-10-13 22:23:25pitroulinkissue15958 messages
2012-10-13 22:23:25pitroucreate