8 Jan
2014
8 Jan
'14
10:12 a.m.
Hi, 2014/1/8 M.-A. Lemburg <mal@egenix.com>:
I'd simply copy over the Python 2 PyString code and start working from there.
It's not possible to reuse directly all Python 2 code because some helpers have been modified to work on Unicode. The PEP 460 adds also more work to other implementations of Python. IMO some formatting commands must not be implemented. For example, alignment is used to display something on screen, not in network protocols or binary file formats. It's also why the issue #3982 was stuck, we must define exactly the feature set of the new methods (bytes % args, bytes.format). Victor