
Hi, So just to get a quick sanity check before I start. We are missing lzma in py3.3 (or to be more precise we have the beginnings of the module, but it's not passing any tests yet). Philip hinted to me recently that it would make sense to integrate lzmaffi. I would like to work on that, but I will probably get stuck a few times, so I'm planning to do some writeups on my blog as I go along (both for note taking and debugging). Since it's an external project I was planning to follow the same procedure that we use for stdlib, which is described in stdlib-upgrade.txt. So start out with vendor/lzmaffi, then branch off to py3.3-lzmaffi for integration work, finally merge into py3.3. Does that seem like a good approach? Martin 2014-07-23 19:20 GMT+02:00 Peter Cock <p.j.a.cock@googlemail.com>:
Thanks - that will be a useful companion to my backport for using lzma on C Python 2.6, 2.7 and early Python 3 :) https://pypi.python.org/pypi/backports.lzma
Peter
On Wed, Jul 23, 2014 at 5:14 PM, Armin Rigo <arigo@tunes.org> wrote:
Hi all,
A module mentioned today in a EuroPython lightning talk: "lzma" reimplemented in cffi (compatible with the one from Python 3.3's stdlib).
https://pypi.python.org/pypi/lzmaffi
A bientôt,
Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Hi Martin, On 23 August 2014 22:03, Martin Matusiak <numerodix@gmail.com> wrote:
Since it's an external project I was planning to follow the same procedure that we use for stdlib, which is described in stdlib-upgrade.txt. So start out with vendor/lzmaffi, then branch off to py3.3-lzmaffi for integration work, finally merge into py3.3.
No, that's unnecessarily complicated. Depending on the level of completion of lzmaffi, you either don't need a lot more, or you do; if you do, then first complete it independently of PyPy, e.g. in a fork of lzmaffi or in your own repository. Import the py3.3 tests, test on top of CPython and PyPy, and so on. When it's done, you can simply copy it into pypy in the branch py3.3 and kill the beginnings of pypy/module/lzma/. It's probably just a pull request at this point. A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Martin Matusiak