[issue29328] struct module should support variable-length strings

2017-01-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the existence of netstruct https://github.com/stendec/netstruct does at least show that a coherent proposal is possible (the docs provide an API, motivation and examples). One question is whether this could be implemented in the stdlib struct module

[issue28999] Use Py_RETURN_NONE and like

2017-01-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Raymond. I didn't expect to get an approval from you and were ready to withdraw the patch. I myself were just +0 on pushing these changes. Omitted changes in Modules/xx*.c and added few changes which Coccinelle missed. -- resolution: ->

[issue28999] Use Py_RETURN_NONE and like

2017-01-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c724f45f23f by Serhiy Storchaka in branch 'default': Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever https://hg.python.org/cpython/rev/2c724f45f23f -- ___ Python tracker

<    1   2