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 | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com