Xiang Zhang added the comment:

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.

----------
nosy: +serhiy.storchaka, xiang.zhang

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30103>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to