strict python?

Erik Max Francis max at alcyone.com
Fri Dec 7 02:36:18 EST 2001


Hans Nowak wrote:

> Well, 'self.func' is a perfectly valid Python expression,
> just like '3'. Not very useful when used like this, but
> still, perfectly valid.

Seems like now there are warning facilities built into the language it
might be useful to have warnings emitted in situations like this (a
statement with no side effects) -- things that are truly not error but
are genuinely not useful either.

Or is the general approach of the core Python team to relegate that to
third-party developers (such as PyChecker)?

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list