You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.15 is now in feature freeze (whatsnew), though it won't come out for another 5 months. Once it does, here are the features we should consider for Hypothesis:
Replace our usage of bytes(bytearray(...)) with bytearray.take_bytes, where appropriate
This will resolve a long-standing pain point with type narrowing a UniqueIdentifier, because you cannot narrow against a specific instance of a UniqueIdentifier (but can against a sentinel).
I need to read the lazy imports PEP more. Is there any downside if we move all of Hypothesis to lazy imports? The upside of faster import time is clear.
Python 3.15 is now in feature freeze (whatsnew), though it won't come out for another 5 months. Once it does, here are the features we should consider for Hypothesis:
bytes(bytearray(...))withbytearray.take_bytes, where appropriateUniqueIdentifierwithsentinel.UniqueIdentifier, because you cannot narrow against a specific instance of aUniqueIdentifier(but can against asentinel).