[Python-Dev] Syntax error in python2.6

Lennart Regebro regebro at gmail.com
Mon Jul 21 14:25:57 CEST 2008

On Mon, Jul 21, 2008 at 14:09, Bristow Thankachan
<bristow.thankachan at gmail.com> 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
this call, which is hard to say.

Options here are
1. Deprecating the "with" parameter for "with_" and supporting both in
2.12 but not supporting Python2.6.
2. Using **kw in the argument and looking for noth "with" and "with_",
that way, which will be backwards compatible.

Lennart Regebro: Zope and Plone consulting.
+33 661 58 14 64

More information about the Python-Dev mailing list