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, vstinner, wg
Date 2018-09-07.22:07:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536358038.64.0.56676864532.issue34604@psf.upfronthosting.co.za>
In-reply-to
Content
Wouldn't be better to use %R? The name can contain invisible characters or trailing whitespaces, in which case the traceback can look confusing. Since names are likely created with PyUnicode_DecodeFSDefault(), they can contain undecodable bytes represented as surrogates U+D8XX if the current filesystem encoding doesn't match the filesystem encoding used for creating entries.
History
Date User Action Args
2018-09-07 22:07:18serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, wg
2018-09-07 22:07:18serhiy.storchakasetmessageid: <1536358038.64.0.56676864532.issue34604@psf.upfronthosting.co.za>
2018-09-07 22:07:18serhiy.storchakalinkissue34604 messages
2018-09-07 22:07:18serhiy.storchakacreate