On 25 February 2011 11:03, Laurence Rowe <[email protected]> wrote: > On 25 February 2011 10:58, Godefroid Chapelle <[email protected]> wrote: >> Hi, >> >> I find a few string exceptions leftover in Zope 2.13 code. >> >> However, they are not allowed anymore in Python 2.6. >> >> I guess that the remaining string exceptions are in dead/semidead code. >> >> What practice has been followed until now regarding fixing those >> exceptions ? > > According to this doc, > http://docs.python.org/c-api/exceptions.html#deprecation-of-string-exceptions > > "String exceptions are still supported in the interpreter to allow > existing code to run unmodified, but this will also change in a future > release." > > It will of course be important to fix these before we move to Python > 3.x, but I would expect that the dead/semidead code will not be > ported.
I take that back, that documentation is incorrect, they have indeed stopped working. Laurence _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
