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 amaury.forgeotdarc
Recipients Suzumizaki, amaury.forgeotdarc, brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, vstinner
Date 2014-02-02.17:53:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'd use a much simpler encoding.
Maybe something like
    name.encode('unicode-escape').replace(b'\\', b'_')
As you said, simplicity is important for tools which generate code!
Date User Action Args
2014-02-02 17:53:05amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, brett.cannon, ncoghlan, vstinner, Suzumizaki, eric.snow, serhiy.storchaka
2014-02-02 17:53:05amaury.forgeotdarcsetmessageid: <>
2014-02-02 17:53:05amaury.forgeotdarclinkissue20485 messages
2014-02-02 17:53:05amaury.forgeotdarccreate