[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-07-27 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___ ___ Python-bugs-list

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-07-27 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I commited both patches to 3.2, but I splitted them in a different way: - r83191 fixes tests (remove implicit conversion) - r83195 removes the implicit conversion in ctypes So it's easier to review the commits and revert the

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I commited ctypes_s_set.patch in Python 3.2 (r81911) because it does fix a real bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Update ctypes_tests.patch against last changes: ctypes_tests-2.patch. -- Added file: http://bugs.python.org/file17634/ctypes_tests-2.patch ___ Python tracker rep...@bugs.python.org

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file17613/ctypes_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: ctypes doesn't have strict separation between bytes and characters, whereas Python3 splitted str/unicode of Python2 into bytes/str which a strict separation. The result is that sometimes it works (no error), sometimes it fails

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file17611/ctypes_conversion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file17612/ctypes_s_set.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file17613/ctypes_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file17610/ctypes_conversion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8966 ___