raise None

Marko Rauhamaa marko at pacujo.net
Thu Dec 31 19:29:41 EST 2015


Ben Finney <ben+python at benfinney.id.au>:

> Chris Angelico <rosuav at gmail.com> writes:
>> What Steven's actually advocating is removing a difference between
>> Python code and native code.
>
> Sure, but his proposal is to move in the direction of *less* debugging
> information.
>
> If I could have the traceback continue into the C code and tell me the
> line of C code that raised the exception, *that's* what I'd choose.
>
> The debugging information barrier of the C–Python boundary is a
> practical limitation, not a desirable one. I think those barriers
> should be as few as possible, and don't agree with enabling more of
> them.

I think I agree with you. Don't check anything; let it crash and burn if
the input spec is violated.


Marko



More information about the Python-list mailing list