PEP scepticism

Alex Martelli aleaxit at yahoo.com
Mon Jul 2 11:19:34 EDT 2001


"Steve Horne" <sh at ttsoftware.co.uk> wrote in message
news:3321ktcs45ising3j022jk85m4s7t2i015 at 4ax.com...
    ...
> I'd also consider whether /# and #/ are better markers - more directly
> related to the existing #.

...but breaking existing working code, no...?

def trick()
    return (2 /# rest of line commented anyway
        2      # but is this also commented...?
        #/
        )

In current Python, trick() returns 1.  Wouldn't
it silently change to return 2 under your proposal?
Horrid as /* ... */ may be in other respects, it
seems to me it can't break existing working Python
code, at least.


Alex






More information about the Python-list mailing list