Re: [pypy-dev] cppyy on Ubuntu 14.04

2014-10-06 Thread exarkun
On 04:59 am, wlavrij...@lbl.gov wrote: Jean-Paul, Type "help", "copyright", "credits" or "license" for more information. And now for something completely different: ``Is it a cactus bug or problem with my war?'' import cppyy Traceback (most recent call last): File "", line 1, in Import

[pypy-dev] cppyy on Ubuntu 14.04

2014-10-05 Thread exarkun
Hello, I've been looking at cppyy a bit (with the goal of using an existing project based on it). I haven't gotten far though. When I try to use cppyy with the Ubuntu-packaged PyPy (on Ubuntu 14.04), I get this: Python 2.7.3 (2.2.1+dfsg-1, Nov 28 2013, 05:13:10) [PyPy 2.2.1 with GCC 4.8.

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-03 Thread exarkun
On 05:39 pm, john.m.cam...@gmail.com wrote: I have been noticing a pattern where many who are writing Python code to run on PyPy are relying more and more on using the jitviewer to help them write faster code. Unfortunately, many of them who do so don't look at improving the design of their co

[pypy-dev] FreeBSD 9-STABLE

2013-01-24 Thread exarkun
Hello all, Looking at PyPy's buildbot, it appears that the current FreeBSD builder is a FreeBSD 7 system. I'm curious who out there is interested in FreeBSD 7 in particular, and whether anyone is interested in newer versions (say, FreeBSD 9, recently released). If there's interest, I think

Re: [pypy-dev] pypy-dev Digest, Vol 13, Issue 21

2012-05-15 Thread exarkun
On 03:11 pm, pypy-dev-requ...@python.org wrote: Hi all, Fijal and me would like to raise interest among various groups of people about building a better ctypes replacement for Python. The general background first, at least as far as we know it. People generally agree that CPython extension mo

Re: [pypy-dev] when will pypy support psycopg2?

2012-01-07 Thread exarkun
On 10:07 am, springri...@gmail.com wrote: based on the irc chat here: http://www.tismer.com/pypy/irc-logs/pypy/pypy.2011-11-02.log.html PyByteArray_Type, PyMemoryView_Type and PyInterpreterState are missing from the headers. http://codepad.org/FYkhcZKf just wonder is there any schedule about

Re: [pypy-dev] Where is `float.is_integer`?

2011-10-28 Thread exarkun
On 01:03 am, r...@rachum.com wrote: I guess a script could be made that would go over *all* the classes in CPython, see all their methods, compare to those of PyPy, and point out which ones we forgot. One could also examine a test coverage report from CPython and add unit tests for all of th

Re: [pypy-dev] PyPy 1.7 coming

2011-10-08 Thread exarkun
On 09:06 pm, fij...@gmail.com wrote: Hi I would like to start thinking about PyPy 1.7 and I volunteer for being a release manager. It seems modulo few failing tests we're generally in a good shape. Things I would like to get into. * my json improvements branch * justin's memory pressure branch

Re: [pypy-dev] STM on CPython

2011-08-26 Thread exarkun
On 07:09 am, ar...@tunes.org wrote: Hi, A follow-up to the blog post about Software Transactional Memory (STM) at http://morepypy.blogspot.com/ . [snio[ So, all this to say: 8 years later, I implemented that on CPython: https://bitbucket.org/arigo/cpython-withatomic/overview (on the 2.7 branch

Re: [pypy-dev] python 3

2011-08-17 Thread exarkun
On 02:54 am, yselivanov...@gmail.com wrote: Yes, but that is kind of a weak argument, since the situation with python 3 changes quickly. More and more libraries are being ported each month. Supporting python 2 obviously just harms the python ecosystem, as nobody interested in having two langu

Re: [pypy-dev] newbie needs pypy setup help

2011-07-30 Thread exarkun
On 12:32 am, tom_ro...@pobox.com wrote: Tom Roche Sat, 30 Jul 2011 18:17:34 -0400 my current ubuntu me@it:~$ lsb_release -ds > Ubuntu 10.04.3 LTS # yes, I am planning to upgrade Real Soon Now me@it:~$ uname -rv > 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 is too down-le

Re: [pypy-dev] Object identity and dict strategies

2011-07-08 Thread exarkun
On 02:17 pm, fij...@gmail.com wrote: On Fri, Jul 8, 2011 at 4:14 PM, Amaury Forgeot d'Arc wrote: 2011/7/8 Cesare Di Mauro : I fully agree. It's not an issue, but an implementation-specific detail which programmers don't have to assume always true. CPython can be compiled without "smallints"

Re: [pypy-dev] PyPy is much slower than CPython example / question

2011-07-07 Thread exarkun
On 12:38 am, alex.gay...@gmail.com wrote: repeat itself is not slow, it's just that when it's used it iterates over it, in RPython (meaning it's not jit'd) which results in a dictionary lookup for the next() method at every iteration, which is slowish, list hits a special case so it doesn' thav