Author Segev Finer
Recipients Segev Finer, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-12-19.00:24:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513643091.19.0.213398074469.issue32370@psf.upfronthosting.co.za>
In-reply-to
Content
The following test is failing randomly for me (python -m test test_uuid -v):
======================================================================
ERROR: test_ipconfig_getnode (test.test_uuid.TestInternalsWithoutExtModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "cpython\lib\test\test_uuid.py", line 551, in test_ipconfig_getnode
    node = self.uuid._ipconfig_getnode()
  File "cpython\lib\uuid.py", line 487, in _ipconfig_getnode
    for line in pipe:
  File "cpython\lib\encodings\cp1255.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 682: character maps to <undefined>

This is caused by trying to decode the output of "ipconfig" using cp1255, while the output really uses cp862 and annoyingly it started to print times using the current locale (Which displays broken in the console anyhow, question mark boxes... *sigh*) in some Windows version (Using Windows 10.0.16299 ATM).
History
Date User Action Args
2017-12-19 00:24:51Segev Finersetrecipients: + Segev Finer, paul.moore, tim.golden, zach.ware, steve.dower
2017-12-19 00:24:51Segev Finersetmessageid: <1513643091.19.0.213398074469.issue32370@psf.upfronthosting.co.za>
2017-12-19 00:24:51Segev Finerlinkissue32370 messages
2017-12-19 00:24:51Segev Finercreate