STINNER Victor <victor.stin...@haypocalc.com> added the comment: amaury> Your patch should handle the case when name2 is a bytearray.
Ok, fixed. I also tested None: Python does segfault :-) New patch rejects None value. ---------- Added file: http://bugs.python.org/file16937/ctypes_dlopen_surrogates-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com