Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Guido van Rossum
> On Tue, Nov 19, 2002 at 01:54:56PM -0500, Guido van Rossum wrote: > > > > > Since I don't actually use Zope 2.6, does anyone have an idea on > > > where the problem may come from ? > > > > You're using restricted mode (the rexec module) and this apparently > > doesn't provide sys.hexversion.

Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Jerome Alet
Hi, On Tue, Nov 19, 2002 at 01:54:56PM -0500, Guido van Rossum wrote: > > > Since I don't actually use Zope 2.6, does anyone have an idea on > > where the problem may come from ? > > You're using restricted mode (the rexec module) and this apparently > doesn't provide sys.hexversion. This is a

Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Guido van Rossum
> Module sre, line 168, in ? > AttributeError: 'module' object has no attribute 'hexversion' > * > > This seems to be deep in Python standard library. Not that deep actually. sre.py line 168 is this: if sys.hexversion >= 0x0202: > Since I don't actually use Zope 2.6, does anyone

[Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Jerome Alet
Hi, Someone has reported to me a problem when running ZShell's latest version (1.5) under Zope 2.6 CVS and Python 2.2.2 Here's the traceback : * Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Pu