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 matpi
Recipients ezio.melotti, matpi, mrabarnett, serhiy.storchaka, xtreak
Date 2020-06-16.10:26:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
All in all, it is simply a matter of compliance. The doc of repr says that a repr is either

- a string that can be eval()'ed back to (an equivalent of) the original object
- or a "more loose" angle-bracket representation.

re.compile with small patterns falls in the first category. The other bug report corresponds to the second one, no problem.

However, re.compile with large patterns doesn't fall in either category, nor would it if changed to use an ellipsis.
Date User Action Args
2020-06-16 10:26:05matpisetrecipients: + matpi, ezio.melotti, mrabarnett, serhiy.storchaka, xtreak
2020-06-16 10:26:05matpisetmessageid: <>
2020-06-16 10:26:05matpilinkissue40984 messages
2020-06-16 10:26:04matpicreate