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 ThiefMaster
Recipients ThiefMaster, ezio.melotti, gvanrossum, mrabarnett
Date 2016-01-09.21:30:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452375012.36.0.405319089903.issue26068@psf.upfronthosting.co.za>
In-reply-to
Content
I think it's pretty ugly to have a repr that is valid python code in most cases and suddenly stops being so.

The repr of a string is not truncated, so why truncate it in a pattern object?

With the truncation, why not use a repr style that's clearly not executable to recreate the original object, e.g. `<re pattern %.200R>`
History
Date User Action Args
2016-01-09 21:30:12ThiefMastersetrecipients: + ThiefMaster, gvanrossum, ezio.melotti, mrabarnett
2016-01-09 21:30:12ThiefMastersetmessageid: <1452375012.36.0.405319089903.issue26068@psf.upfronthosting.co.za>
2016-01-09 21:30:12ThiefMasterlinkissue26068 messages
2016-01-09 21:30:12ThiefMastercreate