Message 172836 - Python tracker (original) (raw)

Message172836

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:25 pitrou set recipients: + pitrou, ezio.melotti, Arfrever, skrah, serhiy.storchaka
2012-10-13 22:23:25 pitrou set messageid: 1350167005.38.0.546504309562.issue15958@psf.upfronthosting.co.za
2012-10-13 22:23:25 pitrou link issue15958 messages
2012-10-13 22:23:25 pitrou create