[pypy-dev] Hacking at tarfile.py and gzip.py

Armin Rigo arigo at tunes.org
Wed Aug 31 13:39:23 CEST 2011


Re-hi,

On Wed, Aug 31, 2011 at 1:35 PM, Armin Rigo <arigo at tunes.org> wrote:
> If you do helpful performance fixes, they are probably helpful for
> CPython, too, and so they should go to the CPython issue tracker.

...or, I just saw this kind of check-in: "pypy doesn't like adding
empty strings."  Instead of "fixing" it in tarfile.py, this is really
an issue in PyPy: maybe the addition of an empty string and another
string is not special-cased to just return the other string, as it
would be in CPython.  If so, then tarfile.py is just a real-life
example of why it's a good idea, and we should fix PyPy's strings
instead.


A bientôt,

Armin.


More information about the pypy-dev mailing list