Author serhiy.storchaka
Recipients python-dev, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2015-02-20.10:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424429490.42.0.648148933287.issue23018@psf.upfronthosting.co.za>
In-reply-to
Content
PC/python_ver_rc.h now is not compatible with clinic.py.

$ ./python Tools/clinic/clinic.py --make
Traceback (most recent call last):
  File "Tools/clinic/clinic.py", line 4204, in <module>
    sys.exit(main(sys.argv[1:]))
  File "Tools/clinic/clinic.py", line 4184, in main
    parse_file(path, force=ns.force, verify=not ns.force)
  File "Tools/clinic/clinic.py", line 1743, in parse_file
    raw = f.read()
  File "/home/serhiy/py/cpython/Lib/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 199: invalid start byte

Either convert PC/python_ver_rc.h to UTF-8, or escape copyright sign "©" as "\xa9" (if Latin1 is needed), or replace it witch ASCII "(c)".
History
Date User Action Args
2015-02-20 10:51:30serhiy.storchakasetrecipients: + serhiy.storchaka, tim.golden, python-dev, zach.ware, steve.dower
2015-02-20 10:51:30serhiy.storchakasetmessageid: <1424429490.42.0.648148933287.issue23018@psf.upfronthosting.co.za>
2015-02-20 10:51:30serhiy.storchakalinkissue23018 messages
2015-02-20 10:51:30serhiy.storchakacreate