[Python-ideas] Better error messages [was: (no subject)]
Sebastian Kreft
skreft at gmail.com
Sun Dec 11 04:09:36 EST 2016
Note that there is a draft pep https://www.python.org/dev/peps/pep-0473/
that aims at adding structured data to bultin exceptions.
I've tried implementing some of those but had a couple of test failures
that weren't obvious to me how to solve.
On Dec 11, 2016 13:11, "Chris Barker" <chris.barker at noaa.gov> wrote:
> On Sun, Dec 4, 2016 at 6:35 PM, Chris Angelico <rosuav at gmail.com> wrote:
>
>> I have no specific qualifications, but I teach online;
>
>
> nor do I, and I teach for a continuing ed program -- not in high school.
>
> But anyway, regardless of official qualifications, good programmers are
> not neccesray good teachers of programming. At all.
>
> If it takes a credentialed teacher to get a job in a school, so
>> be it - but at least make sure it's someone who knows how to interpret
>> the error messages, so that any student who runs into trouble can ask
>> the prof.
>>
>
> Exactly -- you can't be credentialed to teach Biology, or French, or....
> without knowing the subject. That may not yet be true for computer science,
> as it is still "new" in high school curriculum, but it's still not Python's
> job to overcome that.
>
> All the being said -- I don't think we should try to tailor error messages
> specifically for newbies in the core interpreter, and the error messages
> have gotten a lot better with py3, but they could still use some
> improvement -- I would say that suggestions are welcome.
>
> And if they can be made (more) machine readable, so that an beginners IDE
> would enhance them, that would be great.
>
> -CHB
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161211/595533c7/attachment.html>
More information about the Python-ideas
mailing list