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 Numerlor, serhiy.storchaka
Date 2020-04-05.22:11:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586124702.2.0.566295848853.issue40199@roundup.psfhosted.org>
In-reply-to
Content
I get it printed two times.

Actually I get it printed four times: two time when compile the test script (use r"'\d'" or "'\\d'" to get rid of them), and other two times when call compile() inside a script.

$ ./python issue40199.py 
issue40199.py:3: DeprecationWarning: invalid escape sequence \d
  compile("'\d'", "<string>", "eval")
issue40199.py:5: DeprecationWarning: invalid escape sequence \d
  compile("'\d'", "<string>", "eval")
<string>:1: DeprecationWarning: invalid escape sequence \d
<string>:1: DeprecationWarning: invalid escape sequence \d
History
Date User Action Args
2020-04-05 22:11:42serhiy.storchakasetrecipients: + serhiy.storchaka, Numerlor
2020-04-05 22:11:42serhiy.storchakasetmessageid: <1586124702.2.0.566295848853.issue40199@roundup.psfhosted.org>
2020-04-05 22:11:42serhiy.storchakalinkissue40199 messages
2020-04-05 22:11:42serhiy.storchakacreate