Re: [Python-Dev] Python 3000: confused about str8, str, bytes

2007-08-13 Thread Guido van Rossum
When I said it wasn't decided I was totally serious. No decision has been reached. However, I strongly recommend that you try to write all your code using PyUnicode and PyBytes, avoiding PyString completely. Even if str8/PyString will remain in existence, it will be a last resort type for backward

[Python-Dev] Python 3000: confused about str8, str, bytes

2007-08-13 Thread Gerhard Häring
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I maintain the sqlite module in the standard library, which makes heavy use of PyString_* C API. Now I've made it work under Python 3000 insofar as tests pass, but the new Python string semantics mean I have more work to do here and make some API choic