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
Date 2020-06-15.13:29:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This seems somewhat arbitrary and yields unusable results, going against the doc:

> repr(object)
> Return a string containing a printable representation of an object. For many types, this function makes an attempt to return a string that would yield an object with the same value when passed to eval(), otherwise the representation is a string enclosed in angle brackets that contains the name of the type of the object together with additional information often including the name and address of the object. A class can control what this function returns for its instances by defining a __repr__() method.

The truncated representation neither "yields an object with the same value" (it raises a SyntaxError, of course, due to the missing quote and closing parenthesis), nor is "enclosed in angle brackets".

>>> import re
>>> re.compile("()"*99)
>>> re.compile("()"*100)
Date User Action Args
2020-06-15 13:29:52matpisetrecipients: + matpi, ezio.melotti, mrabarnett
2020-06-15 13:29:51matpisetmessageid: <>
2020-06-15 13:29:51matpilinkissue40984 messages
2020-06-15 13:29:51matpicreate