Fred L. Drake, Jr. <fdrake@beopen.com>: > > Skip Montanaro wrote: > > My guess is that -tt triggered a SyntaxError (maybe we should create an > > IndentationError that is a subclass of SyntaxError?) > > Paul Prescod writes: > > +1 > > > > That would be great for newbies! > > Yes, but the name is confusing, because it isn't raised for every > sort of indentation error if it's only used for tab/space problems: > > try: > 1/0 > 1/0 > finally: > pass > > still would raise SyntaxError. Should that raise an IndentationError > as well? Or should IndentationError be named something else? WhitespaceError -- <a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a> Morality is always the product of terror; its chains and strait-waistcoats are fashioned by those who dare not trust others, because they dare not trust themselves, to walk in liberty. -- Aldous Huxley
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