[Geany-Devel] Python filetype 2 or 3 or both?

Enrico Tröger enrico.troeger at uvena.de
Fri Jan 25 18:14:49 UTC 2013


> differences in python versions, but because it actually seems to be ok
> to 'hide' built in stuff with your own definitions.
> See, for example, the following:
> python 2.7.3 (default, Sep 26 2012, 21:51:14)
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> False = True
>>>> print False
> True

Even if possible, nobody wants to do this :).
Luckily, we already all agreed on this.

Back to Lex' initial question:

I write Python code all day long at work and love it. I'd say let's have
the keywords of Python 2 and 3 in the config, as Lex suggested.
In an ideal world, all people would switch to Python 3 shortly.
Unfortunately, we don't live in an ideal world and I already know that I
will have to continue writing Python 2 code for a long, long time.

I completely agree that a few extra keywords is less worse than missing
ones. And if users are really disturbed by the extra keywords, they can
adjust the list of keywords in their own config.


Get my GPG key from http://www.uvena.de/pub.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geany.org/pipermail/devel/attachments/20130125/a0e730e0/attachment.pgp>

More information about the Devel mailing list