byte/bytearray refactoring is (likely) upon us

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

byte/bytearray refactoring is (likely) upon us

Post by pfalcon » Sun Apr 13, 2014 4:42 pm

I'm trying to try to report issues seen during MicroPython development, and which affect Python API in general, to CPython bug tracker. I submitted http://bugs.python.org/issue21180 and in response was pointed to http://legacy.python.org/dev/peps/pep-0467 "Improved API consistency for bytes and bytearray", which calls for deprecating bytes(3) syntax for creating zero-filled object of given size and instead introducing a factory method of bytes.zero(3). FYI.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Post Reply