[issue11302] Add more tests to test_ast.py
Éric Araujo
report at bugs.python.org
Mon Jun 27 17:08:45 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
> I think pypy wants to be as compliant as possible with cpython, and
> IMHO that include exception msgs as far as possible. I don't see any
> reason to be different just for the sake of it.
>
> As a user I'd find strange not to get same exc msgs from different
> implementations, and it'll make me loose some time digging why those
> difference exist...
The language reference purposefully makes no guarantee about the error messages, and in some cases about exception types too (AttributeError vs. TypeError), so your feeling contradict Python’s rules.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11302>
_______________________________________
More information about the Python-bugs-list
mailing list