[Python-Dev] Syntax error in python2.6

2008-07-21 Thread Bristow Thankachan
Hi everybody, During the porting of Zope2 to Python2.6, I am stuck with a syntax error in the module AccessControl, which is given below. def reorder(s, with=None, without=()): ^ SyntaxError: invalid syntax in line 56 of

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

2008-07-21 Thread Bristow Thankachan
Thank you for the quick response. I made the change and got the syntax error corrected. with regards Bristow. On Mon, Jul 21, 2008 at 4:57 PM, Tino Wildenhain [EMAIL PROTECTED] wrote: Bristow Thankachan wrote: Hi everybody, During the porting of Zope2 to Python2.6, I am stuck

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

2008-07-21 Thread Bristow Thankachan
tests, 0 failures, 0 errors in 1.044 seconds. Can anybody tell me whether this implies it is backward compatible in python2.4? with regards Bristow On Mon, Jul 21, 2008 at 4:43 PM, Bristow Thankachan [EMAIL PROTECTED] wrote: Hi everybody, During the porting of Zope2 to Python2.6, I am stuck

[Python-Dev] import error in python2.6

2008-07-21 Thread Bristow Thankachan
Hi all, During the porting of Zope2, I am stuck with import errors in many modules. The same code works well in python2.5 and 2.4. Can anybody give the details of this import error in python2.6 and how to get the error corrected? with regards Bristow

[Python-Dev] import error in python2.6

2008-07-21 Thread Bristow Thankachan
Hi all, I asked about the import error in python2.6 while trying to port zope2. The error message is given below. File /home/zope/ztrunk26/lib/python/AccessControl/ImplC.py, line 30, in module from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy ImportError: No module