[issue28280] Always return a list from PyMapping_Keys/PyMapping_Values/PyMapping_Items

Serhiy Storchaka report at bugs.python.org
Fri Sep 29 14:00:34 EDT 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PySequence_List() is the simplest way in C. I don't know whether we need special error messages now. But for compatibility keep them.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28280>
_______________________________________


More information about the Python-bugs-list mailing list