[issue6071] no longer possible to hash arrays
Antoine Pitrou
report at bugs.python.org
Tue Sep 29 12:56:47 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
After thinking about it, we should remover the bf_releasebuffer checks
when using the old typecodes '#' (the doc should also clearly state that
these are unsafe and '*' is preferred).
If a type chooses to implement the /old/ buffer API and if a method
requires the /old/ buffer API instead of the new one (that is, by using
a '#' typecode), we have to accept these choices.
Here's a patch for trunk, combining the new buffer API for `array` and
the checks removal in getargs.c.
----------
Added file: http://bugs.python.org/file14995/hasharray.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6071>
_______________________________________
More information about the Python-bugs-list
mailing list