]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Commit strict str/bytes distinction.
authorGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 04:05:57 +0000 (04:05 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 04:05:57 +0000 (04:05 +0000)
commita74184eb1d1ed8c1c139ea692b6037a7563d5540
treeffa099c584ab7857a1ac61d6cd8b8f872c49ffb0
parent245b42ec4b07682dd44bb92dbde328c7ce78d90b
Commit strict str/bytes distinction.
From now on, trying to write str to a binary stream
is an error (I'm still working on the reverse).
There are still (at least) two failing tests:
- test_asynchat
- test_urllib2_localnet
but I'm sure these will be fixed by someone.
Lib/io.py
Objects/bytesobject.c
Objects/unicodeobject.c