Larry Hastings added the comment: Py_buffer is currently inflexible. The only default value it accepts is None. If you want it to be required, give it no default value. If you want it to be optional, give it a default value of None.
Do you have a use case for any other default value? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com