2015-05-05 1:55 GMT+02:00 Leonardo Santagada <santag...@gmail.com>:

> As we are transitioning to internationalized messages should/could we also
> get more descritive error messages? It could always be just a phrase and a
> link, eg:
> instead of
> TypeError: x() takes no arguments (1 given)
> we output:
> TypeError: x() takes no arguments (1 given) (maybe you forgot the self
> attribute (https://docs.python.org/2/tutorial/classes.html#random-remarks
> ))
>
> I think for this to move forward someone (me) would need to write a pep
> about it, I just want to know if you think it is a good idea, or there is
> an obvious problem that I'm not seeing.
>

This could be implemented as a custom language ("en-DESCRIPTIVE") so that
you are free to experiment without changing any code...


>
>
> On Mon, May 4, 2015 at 5:26 PM, Yury V. Zaytsev <y...@shurup.com> wrote:
>
>> On Mon, 2015-05-04 at 22:24 +0200, Carl Friedrich Bolz wrote:
>> >
>> > Yes, well. It's precisely *not* about professional programmers in this
>> > issue.
>>
>> That's why, as I said, I'm totally +1 on it ;-)
>>
>> --
>> Sincerely yours,
>> Yury V. Zaytsev
>>
>>
>> _______________________________________________
>> pypy-dev mailing list
>> pypy-dev@python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
>>
>
>
>
> --
>
> Leonardo Santagada
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to