Le 16/08/2014 01:17, Nick Coghlan a écrit :

* Deprecate passing single integer values to ``bytes`` and ``bytearray``

I'm neutral. Ideally we wouldn't have done that mistake at the beginning.

* Add ``bytes.zeros`` and ``bytearray.zeros`` alternative constructors
* Add ``bytes.byte`` and ``bytearray.byte`` alternative constructors
* Add ``bytes.iterbytes``, ``bytearray.iterbytes`` and
   ``memoryview.iterbytes`` alternative iterators

+0.5. "iterbytes" isn't really great as a name.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to