New submission from Carl Friedrich Bolz: When trying to delete the .value member of ctypes simple types my python interpreter segfaults:
$ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ctypes import c_long >>> c = c_long(1) >>> c.value 1 >>> del c.value Segmentation fault (core dumped) Admittedly there is no good usecase for this, but it should raise an exception and not segfault. ---------- components: Extension Modules messages: 58705 nosy: cfbolz severity: normal status: open title: segfault when deleting value member in ctypes types type: crash versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1642> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com