Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Pieters wrote: > On Fri, Aug 29, 2008 at 14:05, Stefan H. Holek <[EMAIL PROTECTED]> wrote: >> What I have found out now is that in my Python 2.3.6 encodings/ >> __init__.py does not contain 'import aliases' at module level, >> whereas the Pytho

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan H. Holek wrote: > What I have found out now is that in my Python 2.3.6 encodings/ > __init__.py does not contain 'import aliases' at module level, > whereas the Python 2.4 lib has this import. The patch does this: > > import encodings > enco

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Martijn Pieters
On Fri, Aug 29, 2008 at 14:05, Stefan H. Holek <[EMAIL PROTECTED]> wrote: > What I have found out now is that in my Python 2.3.6 encodings/ > __init__.py does not contain 'import aliases' at module level, > whereas the Python 2.4 lib has this import. The patch does this: > > import encodings > enco

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Stefan H. Holek
What I have found out now is that in my Python 2.3.6 encodings/ __init__.py does not contain 'import aliases' at module level, whereas the Python 2.4 lib has this import. The patch does this: import encodings encodings._aliases = encoding.aliases.aliases which does therefore not work in 2.3. S

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Stefan H. Holek
The Python 2.3 on that box hasn't changed in a while, and the encodings module works, at least interactively. $ /usr/local/python2.3/bin/python Python 2.3.6 (#1, Nov 11 2006, 11:08:56) [GCC 4.0.2 (Debian 4.0.2-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information.

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-21 Thread Stefan H. Holek
It is a "hand-compiled" Python 2.3, not the one coming with the distro. I'll have to look into it, maybe ./configure missed something... Stefan On 20. Aug 2008, at 19:57, Tres Seaver wrote: > Tests are blowing up on that box becaues the 'encodings' module has no > attribute 'aliases': AFAICT,