-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
-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
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
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
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.
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,