The asyncore and asynchat modules are in a difficult position when it
comes to Python 3000. None of the core developers use it or
particularly care about it (AFAIK), and the API has problems because
it wasn't written to deal with bytes vs. unicode. E.g. in
http://bugs.python.org/issue1067, Thomas suggests that these modules
need to be rewritten to use bytes internally and have separate APIs to
handle (unicode) text as desired, similar to the way file I/O was
redesigned. Another alternative would be to make these modules deal
strictly in bytes, but that would probably vastly reduce their
usefulness (though I don't know -- as I said, I don't use them).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to