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

2013-01-27 Thread Lex Trotman
[...] +1 What do other Python users think? My 2¢ as a themer and Python user is that True, False, None, and nonlocal should be in 'primary' keywords list and 'print' and 'exec' should go should into 'identifiers' keywords list (with other built-in functions). Even if it's Py3 way, it

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

2013-01-25 Thread Colomban Wendling
Le 23/01/2013 06:17, Lex Trotman a écrit : Hi All, We have only one Python filetype, but Python has two versions. There are some differences between them in terms of keywords and builtins. For example exec, nonlocal, True, False and None are not keywords for Python 2 but are for 3.

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

2013-01-25 Thread Matthew Brush
On 13-01-22 09:17 PM, Lex Trotman wrote: Hi All, We have only one Python filetype, but Python has two versions. There are some differences between them in terms of keywords and builtins. For example exec, nonlocal, True, False and None are not keywords for Python 2 but are for 3. And print

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

2013-01-23 Thread Thomas Young
Hi Lex, For myself, yes, I'd definitely say that missing keywords is worse than extras. And just including all of these as keywords seems fine. As an aside note that I quite often find myself getting stuff like local variables and parameters coloured as keywords in wing, not because of

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

2013-01-23 Thread Lex Trotman
On 23 January 2013 20:14, Thomas Young thomasyo...@free.fr wrote: Hi Lex, For myself, yes, I'd definitely say that missing keywords is worse than extras. And just including all of these as keywords seems fine. As an aside note that I quite often find myself getting stuff like local

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

2013-01-23 Thread Thomas Young
Sorry, wasn't asking you to solve this issue. Just noting that python programmers are likely to be more used to seeing stuff 'incorrectly' coloured as keywords. I know I am used to accepting this when writing python. So including 'extra' keywords for colouring is not such a big deal IMHO..

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

2013-01-23 Thread Lex Trotman
On 23 January 2013 21:32, Thomas Young thomasyo...@free.fr wrote: Sorry, wasn't asking you to solve this issue. Just noting that python programmers are likely to be more used to seeing stuff 'incorrectly' coloured as keywords. I know I am used to accepting this when writing python. So