[Python-Dev] PEP 467: last round (?) (original) (raw)
Martin Panter vadmium+py at gmail.com
Sat Sep 3 07:26:06 EDT 2016
- Previous message (by thread): [Python-Dev] PEP 467: last round (?)
- Next message (by thread): [Python-Dev] PEP 467: last round (?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2 September 2016 at 17:54, Koos Zevenhoven <k7hoven at gmail.com> wrote:
On Thu, Sep 1, 2016 at 10:36 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
* Deprecate passing single integer values to
bytes
andbytearray
* Addbytes.fromsize
andbytearray.fromsize
alternative constructors * Addbytes.fromord
andbytearray.fromord
alternative constructors * Addbytes.getbyte
andbytearray.getbyte
byte retrieval methods * Addbytes.iterbytes
andbytearray.iterbytes
alternative iterators I wonder if fromsomething with an underscore is more consistent (according to a quick search perhaps yes).
That would not be too inconsistent with the sister constructor bytes.fromhex().
- Previous message (by thread): [Python-Dev] PEP 467: last round (?)
- Next message (by thread): [Python-Dev] PEP 467: last round (?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]