-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
keywor
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-d
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 usi
hi all,
I changed the attribute 'with' in
/home/zope/ztrunk26/lib/python/RestrictedPython/Utilities.py
to 'wit' and I ran the tests in python2.4 and I got the following result.
Running tests at level 1
Running unit tests:
Running:
Ran 285 tests with 0 failures and 0 errors in 6.587 seconds
Because as of 2.6 the 'with' word is now part of the with statement,
see pep 343.
On Jul 21, 2008, at 7:13 AM, "Bristow Thankachan" <[EMAIL PROTECTED]
> wrote:
Hi everybody,
During the porting of Zope2 to Python2.6, I am stuck with a syntax
error in the module AccessControl, which is gi
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 /home/zope/ztrunk26/lib/python/RestrictedPython/