• Guido van Rossum's avatar
    Commit strict str/bytes distinction. · a74184eb
    Guido van Rossum authored
    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.
    a74184eb
unicodeobject.c 242 KB