Are Python's reserved words reserved in places they dont need tobe?

Diez B. Roggisch deets at nospam.web.de
Wed Sep 13 06:23:33 EDT 2006


>> Exactly how am I supposed to use my text editor to make words bold? Is
>> every text editor supposed to understand a "python format" for code?
> 
> The standard answer here to people complaining about their editor not
> working well with python is that they should use a better editor.

In general, that is true for the 21st century. But under certain
circumstances, one might be forced to use a vi over a limited b/w terminal
to fix that goddamn bug on the live system.

Even though you don't care about the pesky details, it boils down to
introducing an escape mechanism that will surround whatever identifiers
there are. Which looks crap in anything except and python-aware editor. 

But I bet you don't work with e.g. subversion to display diffs and the
like...

Diez



More information about the Python-list mailing list