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 taleinat
Recipients Cédric Cabessa, Windson Yang, josh.r, taleinat
Date 2019-08-05.10:21:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565000464.03.0.831371056073.issue36757@roundup.psfhosted.org>
In-reply-to
Content
I too find this surprising, especially given how thoroughly UUID validates inputs of types other than "hex".

The documentation simply states that for hex input, hypens, curly braces and a URN prefix are optional.  In practice, though, it is much more lenient than that, as described here.

Since the UUID has no expert listed, we'll have to decide whether to make the input validation stricter and break backwards-compatibility, or simply make the docs clearer.  Clarifying the docs certainly seems simpler, safer and more user-friendly.  It also seems reasonable, given that this issue apparently hasn't affected many users.
History
Date User Action Args
2019-08-05 10:21:04taleinatsetrecipients: + taleinat, josh.r, Windson Yang, Cédric Cabessa
2019-08-05 10:21:04taleinatsetmessageid: <1565000464.03.0.831371056073.issue36757@roundup.psfhosted.org>
2019-08-05 10:21:04taleinatlinkissue36757 messages
2019-08-05 10:21:03taleinatcreate