Message 325758 - Python tracker

Message325758

Author conqp
Recipients David MacIver, conqp, vstinner, xtreak
Date 2018-09-19.13:06:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537362385.63.0.956365154283.issue31958@psf.upfronthosting.co.za>
In-reply-to
Content
@xtreak Indeed. It fails on _windll_getnode().

======================================================================
ERROR: test_windll_getnode (test.test_uuid.TestInternalsWithoutExtModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\test_uuid.py", line 748, in test_windll_getnode
    node = self.uuid._windll_getnode()
  File "C:\projects\cpython\lib\uuid.py", line 659, in _windll_getnode
    return UUID(bytes=bytes_(_buffer.raw)).node
  File "C:\projects\cpython\lib\uuid.py", line 208, in __init__
    raise ValueError('illegal version number')
ValueError: illegal version number
----------------------------------------------------------------------

Apparently on Windows systems, there are UUIDs of type RFC_4122 being used which have versions not in 1..5, which actually makes them non-RFC 4122 compliant.
Unfortunately I cannot investigate this further, since I do not have a windows machine available right now.
History
Date User Action Args
2018-09-19 13:06:25conqpsetrecipients: + conqp, vstinner, David MacIver, xtreak
2018-09-19 13:06:25conqpsetmessageid: <1537362385.63.0.956365154283.issue31958@psf.upfronthosting.co.za>
2018-09-19 13:06:25conqplinkissue31958 messages
2018-09-19 13:06:25conqpcreate