Re: [pypy-dev] What Causes An Ambiguous low-level helper specialization Error?

2012-01-23 Thread Benjamin Peterson
2012/1/23 Andrew Francis : >     ll_thread.start_new_thread(T1) >     ll_thread.start_new_thread(T2) Try this: ll_thread.ll_start_new_thread(T1) ll_thread.ll_start_new_thread(T2) -- Regards, Benjamin ___ pypy-dev mailing list pypy-dev@pyth

[pypy-dev] What Causes An Ambiguous low-level helper specialization Error?

2012-01-23 Thread Andrew Francis
Hi Folks: I am trying to write a simple RPython programme that uses the STM module. I am modelling my example after targetdemo.py. this is a code fragment def T1():     global fromAccount, toAccount, counter     transactionA(fromAccount, toAccount, counter) def T2():     global fromAccount, to

[pypy-dev] bitbucket slowness

2012-01-23 Thread Maciej Fijalkowski
Hi >From things I just learned: if you use ssh instead of https it's much faster, like: ssh://h...@bitbucket.org/pypy/pypy in .hg/hgrc in your pypy checkout cheers, fijal ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/list

Re: [pypy-dev] [pypy-commit] pypy merge-2.7.2: Implement CPython issue5057: do not const-fold a unicode.__getitem__

2012-01-23 Thread Amaury Forgeot d'Arc
2012/1/23 Maciej Fijalkowski > Why not? We have only wide build, don't we? > Our unicode is based on wchar_t, which is still 2 bytes on Windows... > On Sun, Jan 22, 2012 at 9:57 PM, amauryfa > wrote: > > Author: Amaury Forgeot d'Arc > > Branch: merge-2.7.2 > > Changeset: r51662:693b08144e00

Re: [pypy-dev] [pypy-commit] pypy py3k: The exception handler target "except ValueError as exc" was always compiled as a global variable. Test and fix.

2012-01-23 Thread Amaury Forgeot d'Arc
2012/1/23 Maciej Fijalkowski > Shouldn't that go to trunk as well? > No, this is a bug I introduced in the py3k branch. in 2.7 the exception target an be any assignment target: args = ['An exception', None, 'was raised'] try: raise ValueError(1, 2, 3) except ValueError as ar

Re: [pypy-dev] [pypy-commit] pypy merge-2.7.2: Implement CPython issue5057: do not const-fold a unicode.__getitem__

2012-01-23 Thread Maciej Fijalkowski
Why not? We have only wide build, don't we? On Sun, Jan 22, 2012 at 9:57 PM, amauryfa wrote: > Author: Amaury Forgeot d'Arc > Branch: merge-2.7.2 > Changeset: r51662:693b08144e00 > Date: 2012-01-22 20:24 +0100 > http://bitbucket.org/pypy/pypy/changeset/693b08144e00/ > > Log:    Implement CPython

Re: [pypy-dev] [pypy-commit] pypy py3k: The exception handler target "except ValueError as exc" was always compiled as a global variable. Test and fix.

2012-01-23 Thread Maciej Fijalkowski
Shouldn't that go to trunk as well? On Sun, Jan 22, 2012 at 1:10 PM, amauryfa wrote: > Author: Amaury Forgeot d'Arc > Branch: py3k > Changeset: r51639:e325e4d3227a > Date: 2012-01-22 12:02 +0100 > http://bitbucket.org/pypy/pypy/changeset/e325e4d3227a/ > > Log:    The exception handler target "ex