[Python-3000] need help fixing broken tests in py3k-pep3137 branch
Nick Coghlan
ncoghlan at gmail.com
Sat Nov 3 14:50:42 CET 2007
Paul Moore wrote:
> I think this needs clarifying - if your interpretation is correct, the
> documentation needs an overhaul (and in the short term, the behaviour
> needs explicitly stating in the PEP).
I haven't checked the code to make sure, but I suspect that where the
documentation says "string" it actually means anything implementing the
buffer API at the C level, which will then be interpreted as a block of
memory. That job is being taken over by bytes/buffer objects in 3.0.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-3000
mailing list