On 21 February 2013 18:24, David Malcolm <dmalc...@redhat.com> wrote:
> On Wed, 2013-02-20 at 08:04 +0000, Ian Malone wrote:
>> On 19 February 2013 12:13, David Malcolm <dmalc...@redhat.com> wrote:

>>
>> Question: does a python segfault from a broken script indicate a
>> python bug as well? The scripting engine shouldn't really be crashing.
>
> python -c "from ctypes import string_at; string_at(0xDEADBEEF)"
>

Point. I could try and argue that a scripting language should stop you
doing this by catching it somehow, but that's unrealistic for this
case and, as you (sorry, not 100% sure, but going to guess you're the
same DMalcolm) say here, http://dmalcolm.livejournal.com/4545.html
it's a consequence of being able to run native code. Could also be
viewed as a bug in the bindings rather than python, but, again, it's
what they're supposed to do.

However hopefully most python programmes aren't doing things like
this. And of course it'll be better all round if the bugs go to the
programme that caused them.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to