New submission from Rafał Dowgird <dowg...@gmail.com>: The ctypes module seems to truncate NUL-containing strings when assigning to structure fields of type c_char*1024. Reproduced on a 2.7.2 compiled from tarball. Script to reproduce attached.
---------- components: ctypes files: reproduce.py messages: 142274 nosy: Rafal.Dowgird priority: normal severity: normal status: open title: String with NUL characters truncated by ctypes when assigning to a char array type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file22920/reproduce.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com