[issue7018] Recommend "*" over "#" in getargs.c typecodes
Antoine Pitrou
report at bugs.python.org
Tue Sep 29 13:14:50 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
This only really applies in 2.x, actually. In 3.x, "#" should be
discouraged for another reason: it is overly strict and will only accept
pure read-only objects (which don't have a bf_releasebuffer method);
even bytearrays will be rejected.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7018>
_______________________________________
More information about the Python-bugs-list
mailing list