This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, pabstersac, vstinner
Date 2016-03-09.09:03:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457514199.1.0.591654866854.issue26508@psf.upfronthosting.co.za>
In-reply-to
Content
"Then it is no bug that it crashes python?"

The bug is your program creating inconsistent data. Without ctypes, you cannot create such inconsistent data.

"Is a crash not a bug?"

There are various ways to "crash" Python, but most of them are deliberate bugs. For example:

haypo@selma$ python3
Python 3.4.3 (default, Jun 29 2015, 12:16:01) 
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> ctypes.string_at(0)
Erreur de segmentation (core dumped)

The ctypes doesn't prevent you from making mistakes. If you use ctypes, you must be very careful and understand what you are doing.
History
Date User Action Args
2016-03-09 09:03:19vstinnersetrecipients: + vstinner, brett.cannon, pabstersac
2016-03-09 09:03:19vstinnersetmessageid: <1457514199.1.0.591654866854.issue26508@psf.upfronthosting.co.za>
2016-03-09 09:03:19vstinnerlinkissue26508 messages
2016-03-09 09:03:18vstinnercreate