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/005372.html below:

[Python-Dev] Sorry. No Release.

[Python-Dev] Sorry. No Release.Greg Stein gstein@lyra.org
Mon, 3 Jul 2000 16:20:43 -0700
On Mon, Jul 03, 2000 at 06:58:22PM -0400, Fred L. Drake, Jr. wrote:
> 
> Ka-Ping Yee writes:
>  > But what i'd really like is an IndentationError that shows
>  > up whenever there's an indentation problem.
> 
>   That's what I think of when I hear "IndentationError" -- TabError is
> a specialized case of that.
>   I think the general IndentationError will be hard to do, since many
> cases are just another parse error by the time they can be turned into
> exceptions.  Unless I'm misreading that code.

Speaking out of my butt here, without looking at code, I would suspect that
the parser can return specializations "syntax error" to indicate that a
problem with indentation occurred.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/



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