[New-bugs-announce] [issue2725] Handle ASDLSyntaxErrors gracefully

Thomas Lee report at bugs.python.org
Wed Apr 30 14:08:08 CEST 2008

New submission from Thomas Lee <tom at vector-seven.com>:

The current code in Parser/asdl.py doesn't handle syntax errors very
well. A minor problem to be sure, since the net result is the same (i.e.
build fails), but the error message being displayed is entirely
unhelpful to the developer.

The attached patch will display the error message as was seemingly intended.

This probably affects earlier versions (including python-trunk), but I
haven't tested.

components: Build
files: fix-asdl-errors.patch
keywords: patch
messages: 65999
nosy: thomas.lee
severity: normal
status: open
title: Handle ASDLSyntaxErrors gracefully
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file10144/fix-asdl-errors.patch

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list