Meador Inge <mead...@gmail.com> added the comment: Verified that this is still broken in the main development branch. The base type should be checked for '_type_' or '_length_' before throwing an error. Attached is a patch that fixes the problem and adds covering tests. The full test suite passed on OS X 10.6.5 and I ran './python.exe -m test -R : -v test_ctype' to verify that I didn't introduce any resource leaks.
---------- assignee: theller -> keywords: +patch nosy: +amaury.forgeotdarc, belopolsky, meador.inge -theller stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21701/issue-11241.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com