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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2020-06-19.20:06:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592597202.88.0.995685925684.issue41040@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-06-19 20:06:42serhiy.storchakasetrecipients: + serhiy.storchaka
2020-06-19 20:06:42serhiy.storchakasetmessageid: <1592597202.88.0.995685925684.issue41040@roundup.psfhosted.org>
2020-06-19 20:06:42serhiy.storchakalinkissue41040 messages
2020-06-19 20:06:42serhiy.storchakacreate