2 new comment-like characters in Python to aid development?
Diez B. Roggisch
deets at nospam.web.de
Fri Mar 9 09:05:29 EST 2007
> It sounds like other Python users *do* like to do the kind of things I
> suggested, but seasoned users would rather rely on macros and features
> of specific editors. Unfortunately, to a newbie like myself, these
> seem like obscure 'tricks' to be mastered rather than simple built-in
> conveniences that any newbie can profit from.
But you _can't_ profit from these conveniences, at least not the ?
character. It's just garbage put in there for some others to interpret,
meaningless to the interpreter. So it _always_ boils down to
editor-support.
Now obviously _one_ scheme supported by all editors would be a great thing -
so one could argue that a well-defined PEP that suggests a certain comment
style that allows for your desired functionality would be a good thing.
Diez
More information about the Python-list
mailing list