A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006279.html below:

[Python-Dev] more SyntaxError subclasses!

[Python-Dev] more SyntaxError subclasses! [Python-Dev] more SyntaxError subclasses!David Ascher DavidA@ActiveState.com
Wed, 12 Jul 2000 09:32:43 -0700 (Pacific Daylight Time)
On Wed, 12 Jul 2000, Fredrik Lundh wrote:

> here are a bunch of other syntax error subclasses that
> might be useful:

+1.

> (I'm extra interested in arguments from people who think TabError
> and IndentationError is a good idea, but that this one sucks.  I'm
> not sure I want to hear from people who thinks that this one is a
> great idea ;-)

Sorry. =)

> on a more serious note, I think it would be great to add a distinct
> attribute to the SyntaxError instance (an error number, most likely).
> this could be used by an IDE to provide concise info without having
> to parse the error message.

Indeed. 




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4