2016-10-12 11:34 GMT+02:00 INADA Naoki <[email protected]>: > I see. My proposal should be another PEP (if PEP is required).
I don't think that adding a single method deserves its own method. I like the idea with Serhiy's API (as Python 2 buffer constructor): bytes.frombuf(buffer, [offset, size]) bytearray.frombuf(buffer, [offset, size]) memoryview.frombuf(buffer, [offset, size]) Victor _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
