larryhastings
larryhastings
I have been marinating on this for a while. And now I think I might be changing my mind. Back in the day, options were required to come before (positional)...
Thanks for doing this experiment! I'm not convinced that this will make any difference in real-world Python programs. As we all know, x.py is a bad benchmark; all it does...
Also, what will happen in your read/write lock if you read-lock the dictionary first then attempt a write-lock?
> I've implemented quite a basic locking here, but I believe it should make a difference for any program that accesses essentially any unicode-keyed dictionaries - those include builtins, globals,...
I've been contemplating this patch for a while now. Today I did another thorough review. I think the patch isn't safe--and I'm starting to worry that the current dict implementation...
From the Wikipedia page on seqlocks: "One subtle issue of using seqlocks for a time counter is that it is impossible to step through it with a debugger. The retry...
It's ironic that the _threading module isn't thread-safe ;-) But it's not that shocking. I'll read it over myself and get back to you. (p.s. good catch!)
I apologize for introducing conflicts into your merge request. But the whole platform abstraction was icky cubed.
I apologize for introducing conflicts into your merge request. But the whole platform abstraction was icky cubed.
FWIW, I'm guessing Christian has walked away from this work too. Unless there are any other suggestions, I'll do my own review and update the patch. (Eventually.)