[pypy-dev] rlib/runicode, python 3 and pypy

Maciej Fijalkowski fijall at gmail.com
Wed Sep 12 22:18:33 CEST 2012


Hi

This is mostly a mail to Antonio, but I'm interested in everyone's opinion.
Al
rlib/runicode.py differs on py3k branch from the default. IMO this is
a very very bad idea. This is a push towards more convoluted
interpreter/translator interaction rather than less. Also it makes
RPython a less defined language rather than more. I see the following
options:

* decide utf-8 encoding in RPython is a bad idea alltogether

* move codec somewhere else or patch unicodeobject in python 3 and
decide to keep the default version on py3k

* declare it a temporary hack, but then it confuses people and I'm
generally skeptical about the amount of temporary hacks on py3k
branch.

The one thing I *don't* want to do is to declare "meh, too bad,
RPython is a different language on py3k and on default" as long as
py3k branch stays as a part of PyPy project.

Cheers,
fijal


More information about the pypy-dev mailing list