Re: [pypy-dev] PyPy as part of a larger, bundled project?

2012-04-11 Thread Stefan Behnel
Leo Trottier, 11.04.2012 20:56: > Actually, my motivation was not to get Calibre to be faster -- I use it > only occasionally. All I knew was that Calibre was an application (1) built > on Python, that (2) the Python interpreter it used was baked-in to the > distribution, and (3) it seemed to perfo

Re: [pypy-dev] __exit__ not called in certain cases

2012-04-11 Thread Benjamin Peterson
2012/4/11 Hong Minhee : > I reported https://bugs.pypy.org/issue1126 which shows that __exit__ > is not called in certain cases when I think it should be.  The code to > reproduce the bug is there. The code works on CPython. > > It was closed as invalid saying this is a GC issue, but I don't think

[pypy-dev] __exit__ not called in certain cases

2012-04-11 Thread Hong Minhee
I reported https://bugs.pypy.org/issue1126 which shows that __exit__ is not called in certain cases when I think it should be. The code to reproduce the bug is there. The code works on CPython. It was closed as invalid saying this is a GC issue, but I don't think it is. This is about __exit__, n

Re: [pypy-dev] PyPy as part of a larger, bundled project?

2012-04-11 Thread Leo Trottier
Actually, my motivation was not to get Calibre to be faster -- I use it only occasionally. All I knew was that Calibre was an application (1) built on Python, that (2) the Python interpreter it used was baked-in to the distribution, and (3) it seemed to perform a number of operations somewhat slowl

Re: [pypy-dev] update (+patch) on embedding pypy

2012-04-11 Thread Max Lavrenov
Thank you! Finally I've built libpupy.so and uwsgi with it. On Wed, Apr 11, 2012 at 11:22, Amaury Forgeot d'Arc wrote: > Hi, > > 2012/4/11 Max Lavrenov > >> Hello everyone! >> >> I got some errors while i was building the embedded-pypy branch with >> python translate.py -Ojit --shared. >> Coul

Re: [pypy-dev] [pypy-commit] pypy win32-stdlib: fix close() and tests for file closing

2012-04-11 Thread Antonio Cuni
Hi Matti, On 04/11/2012 01:24 PM, mattip wrote: Author: Matti Picus Branch: win32-stdlib Changeset: r54283:2a8e4f56269f Date: 2012-04-11 13:26 +0300 http://bitbucket.org/pypy/pypy/changeset/2a8e4f56269f/ Log:fix close() and tests for file closing diff --git a/lib-python/2.7/mailbox.py b/li

Re: [pypy-dev] The Work Plan Re: STM proposal funding

2012-04-11 Thread Armin Rigo
Hi Andrew, On Sun, Apr 8, 2012 at 01:25, Andrew Francis wrote: > Question: without specific transaction_start() and transaction_commit() > calls, how does rstm know what the start and finish of transactions are? Please take a different point of view: if the proper adaptation is done, the users o

[pypy-dev] STM/AME for CPython?

2012-04-11 Thread Armin Rigo
Hi all, Countrary to what is written in the STM/AME proposal, since last week I believe it might be (reasonably) possible to apply the same techniques to CPython. For now I am experimenting with applying them in a simple CPython-like interpreter. If it works, it might end up as a patch to the co

Re: [pypy-dev] changing the stdlib tracking

2012-04-11 Thread Ronny Pfannschmidt
On 04/11/2012 11:08 AM, Amaury Forgeot d'Arc wrote: 2012/4/11 Ronny Pfannschmidt hi, since its kind of troublesome to deal with stdlib vs modified-stdlib, i'd like to propose an new model for tracking our changes to the stdlib the unmodified stdlib would be in a branch, say vendor/stdlib, wh

Re: [pypy-dev] changing the stdlib tracking

2012-04-11 Thread Amaury Forgeot d'Arc
2012/4/11 Ronny Pfannschmidt > hi, > > since its kind of troublesome to deal with stdlib vs modified-stdlib, > > i'd like to propose an new model for tracking our changes to the stdlib > > the unmodified stdlib would be in a branch, say vendor/stdlib, > while our modifications will get inlined in

[pypy-dev] changing the stdlib tracking

2012-04-11 Thread Ronny Pfannschmidt
hi, since its kind of troublesome to deal with stdlib vs modified-stdlib, i'd like to propose an new model for tracking our changes to the stdlib the unmodified stdlib would be in a branch, say vendor/stdlib, while our modifications will get inlined in the default branch that way we get easier

Re: [pypy-dev] PyPy as part of a larger, bundled project?

2012-04-11 Thread Stefan Behnel
Leo Trottier, 11.04.2012 02:23: > A number of Python applications (e.g. http://calibre-ebook.com/, > http://www.psychopy.org/ ... > http://en.wikipedia.org/wiki/List_of_Python_software#Applications) are > deployed together with the libraries and interpreter that they will use. > > Often, these app

Re: [pypy-dev] update (+patch) on embedding pypy

2012-04-11 Thread Amaury Forgeot d'Arc
Hi, 2012/4/11 Max Lavrenov > Hello everyone! > > I got some errors while i was building the embedded-pypy branch with > python translate.py -Ojit --shared. > Could anybody help me with it, please? > trackgcroot.py does not recognize some constructs used when compiling with -fPIC. I thought I f