[Python-Dev] rationale for the no-new-features approach

Bob Ippolito bob at redivi.com
Sat Mar 12 00:47:11 CET 2005


On Mar 11, 2005, at 2:26 PM, Skip Montanaro wrote:

>
>     Bob> try:
>     Bob>      set
>     Bob> except NameError:
>     Bob>      from sets import Set as set
>
>     Bob> You don't need the rest.
>
> Sure, but then pychecker bitches about a statement that appears to 
> have no
> effect. ;-)

Well then fix PyChecker to look for this pattern :)

-bob



More information about the Python-Dev mailing list