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 conqp
Recipients conqp, jophine pranjal, xtreak
Date 2018-09-19.12:11:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537359110.48.0.956365154283.issue34732@psf.upfronthosting.co.za>
In-reply-to
Content
@xtreak RFC 4122, section 4.1.3. specifies only versions 1 to 5.
For explicitely checking the version, there is already a test in UUID.__init__, raising a ValueError on not 1<= verision 1<=5.
I moved it to the bottom of __init__, i.e. after setting the "int" property, causing the test to run on the actual instance's property value.
History
Date User Action Args
2018-09-19 12:11:50conqpsetrecipients: + conqp, xtreak, jophine pranjal
2018-09-19 12:11:50conqpsetmessageid: <1537359110.48.0.956365154283.issue34732@psf.upfronthosting.co.za>
2018-09-19 12:11:50conqplinkissue34732 messages
2018-09-19 12:11:50conqpcreate