Message371897
There is a bug in test_modulefinder. The bytes string literal contains \u2090.
1. Since \u is not recognized escape sequence in bytes literals, compiling the file emits a deprecation warning:
/home/serhiy/py/cpython/Lib/test/test_modulefinder.py:281: DeprecationWarning: invalid escape sequence \u
b"""\
2. b"\u2090" is interpreted as b"\\u2090", but actually the test implies that it should be a bytes sequence b'\xe2\x82\x90' which is valid in UTF-8 but is not a valid in CP1252. |
|
Date |
User |
Action |
Args |
2020-06-19 20:06:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2020-06-19 20:06:42 | serhiy.storchaka | set | messageid: <1592597202.88.0.995685925684.issue41040@roundup.psfhosted.org> |
2020-06-19 20:06:42 | serhiy.storchaka | link | issue41040 messages |
2020-06-19 20:06:42 | serhiy.storchaka | create | |
|