[pypy-dev] Error Messages

Sayth Renshaw flebber.crue at gmail.com
Wed Apr 27 07:23:23 EDT 2016


Thanks for the feedback, just wondering really what the potential was. I
sort of wish Ryan you hadn't used the word 'fine' its just a word that
usually indicates something really needs to be done abs i had better shut
up or its me; or it's about to break.

Cheers

Sayth

On Wed, 27 Apr 2016 1:22 am Carl Friedrich Bolz <cfbolz at gmx.de> wrote:

> Hi all,
>
> Some points:
>
> - in a couple of places pypy has better error messages than cpython, eg
> around calling functions with the wrong number of arguments, in complex
> cases.
>
> - we are certainly open to patches that improve the quality of our error
> messages, if that can be done with reasonable effort.
>
> - PyPy does not guarantee the same error messages as cpython, and it's a
> bug to rely on them.
>
> Cheers,
>
> Carl Friedrich
>
>
> On April 26, 2016 5:16:29 PM GMT+02:00, Ryan Gonzalez <rymg19 at gmail.com>
> wrote:
>>
>> I personally think it's fine:
>>
>> 1. CPython has pretty decent error messages. Other than long stack traces
>> with recursion errors, or maybe column offsets, there isn't really anything
>> that could be significantly improved.
>>
>> 2. Changing the actual errors would likely break...a *lot*!
>>
>> --
>> Ryan
>> [ERROR]: Your autotools build scripts are 200 lines longer than your
>> program. Something’s wrong.
>> http://kirbyfan64.github.io/
>> On Apr 26, 2016 4:54 AM, "Sayth Renshaw" <flebber.crue at gmail.com> wrote:
>>
>>> Hi
>>>
>>> Just wondering if PyPy error messages are or could be of a higher
>>> quality than the CPython error messages?
>>>
>>> One of the goals of Rubinius a former Ruby alternate implementation
>>> similar in intent to PyPy was improved developer feedback in error messages.
>>>
>>> Is this an area of opportunity for PyPy?
>>>
>>> Cheers
>>>
>>> Sayth
>>>
>>> _______________________________________________
>>> pypy-dev mailing list
>>> pypy-dev at python.org
>>> https://mail.python.org/mailman/listinfo/pypy-dev
>>>
>>> ------------------------------
>>
>> pypy-dev mailing list
>> pypy-dev at python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20160427/2211f5dc/attachment-0001.html>


More information about the pypy-dev mailing list