[Python-Dev] Syntax error in python2.6

2008-07-21 Thread Bristow Thankachan
/Utilities.py. The same code when run in python2.4 and python2.5 didn't give any syntax errors. Can anybody suggest the reason for this syntax error in python2.6. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Jesse Noller
for this syntax error in python2.6. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/jnoller%40gmail.com

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Bristow Thankachan
didn't give any syntax errors. Can anybody suggest the reason for this syntax error in python2.6. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Lennart Regebro
On Mon, Jul 21, 2008 at 14:09, Bristow Thankachan [EMAIL PROTECTED] wrote: Can anybody tell me whether this implies it is backward compatible in python2.4? If you change the API it isn't backwards compatible. The question is if this is a problem or not, if anything outside Zope itself is using

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Malthe Borch
Lennart Regebro wrote: 2. Using **kw in the argument and looking for noth with and with_, that way, which will be backwards compatible. +1 \malthe ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malthe Borch wrote: Lennart Regebro wrote: 2. Using **kw in the argument and looking for noth with and with_, that way, which will be backwards compatible. +1 The implementation of this function is already so obscure that using keywords should