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 xiang.zhang
Recipients LawfulEvil, serhiy.storchaka, xiang.zhang
Date 2017-04-27.10:23:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493288622.94.0.132477589462.issue30103@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like perl has already encoded in this way:

[~]$ perl -e 'print pack("u","Ca\x00t")'
$0V$`=```

> Oddly, the uu.decode function does properly decode files encoded using "`", but encode is unable to create them.

The decoder source code explicitly states it could resolve backtick since some encoders use '`' instead of space.

To maintain backwards compatibility, I think we can add a keyword-only backtick parameter to binascii.b2a_uu and uuencode.
History
Date User Action Args
2017-04-27 10:23:42xiang.zhangsetrecipients: + xiang.zhang, serhiy.storchaka, LawfulEvil
2017-04-27 10:23:42xiang.zhangsetmessageid: <1493288622.94.0.132477589462.issue30103@psf.upfronthosting.co.za>
2017-04-27 10:23:42xiang.zhanglinkissue30103 messages
2017-04-27 10:23:42xiang.zhangcreate