Message172838
> 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.
Well, then I withdraw my patch.
But what if the sequence will be mutated and PySequence_Size(seq) will become
less seqlen? Then using PySequence_Fast_GET_ITEM() will be incorrect. |
|
Date |
User |
Action |
Args |
2012-10-13 22:40:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ezio.melotti, Arfrever, skrah |
2012-10-13 22:40:44 | serhiy.storchaka | link | issue15958 messages |
2012-10-13 22:40:44 | serhiy.storchaka | create | |
|