[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: "needs patch" doesn't mean it has been accepted, it's just a common state for issues where nobody has written any code even as a proof of concept. Christian - is this still desired? -- nosy: +gregory.p.smith ___

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2019-06-09 Thread Batuhan
Batuhan added the comment: Don't we need to discuss it more before triage it as "patch required"? -- nosy: +BTaskaya ___ Python tracker ___ ___

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2014-10-14 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Where do you plan to use this new format? Can you please give examples? > (other unicode representations may not allow you to take a Py_buffer to the > ASCII data). Py_buffer and PyArg_ParseTuple() are very specific to CPython. -- ___

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2013-11-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2013-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: It seems this would add a dependency to the unicode implementation (other unicode representations may not allow you to take a Py_buffer to the ASCII data). -- nosy: +pitrou ___ Python tracker

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2013-11-20 Thread Christian Heimes
New submission from Christian Heimes: I could use a format string for either ASCII unicode or bytes buffer in a few places, e.g. a* (bytes, bytearray, bytes-like object or ASCII unicode) [Py_buffer] Like y* it should handle PyBUF_SIMPLE with 'C' contiguous but it should only accept one dimen