Re: [pypy-dev] Pypy friendly to get pointer enclosed in python object ?

2019-03-17 Thread Stuart Axon via pypy-dev
Realised I should ask this on the CFFI list, apologies for the noise. On Saturday, March 16, 2019, 3:05:03 PM GMT, Stuart Axon wrote: PyCairo has a struct like `    typedef struct { |    PyObject_HEAD | | | cairo_t *ctx; | | |     PyObject *base; /* base object used to create

[pypy-dev] Pypy friendly to get pointer enclosed in python object ?

2019-03-16 Thread Stuart Axon via pypy-dev
PyCairo has a struct like `    typedef struct { |    PyObject_HEAD | | | cairo_t *ctx; | | |     PyObject *base; /* base object used to create context, or NULL */ | |     } PycairoContext; ` And a #define that you can use to get pointer to ctx: `    #define PycairoContext_GET(obj)

Re: [pypy-dev] Tkinter ?

2017-09-30 Thread Stuart Axon via pypy-dev
def operator==(): I can't paste the whole compile output on pastebin as it is > 512k On Saturday, September 30, 2017, 8:56:48 PM GMT+1, Matti Picus <matti.pi...@gmail.com> wrote: #yiv9103688383 body p {margin-bottom:0cm;margin-top:0pt;} On 30/09/17 03:32, Stuart Axon via pypy-dev wr

Re: [pypy-dev] Tkinter ?

2017-09-29 Thread Stuart Axon via pypy-dev
f91300.dirty-py2.7-linux-x86_64.egg/matplotlib/backends/backend_wx.py", line 1818 SyntaxError: return outside function On Wednesday, September 13, 2017, 12:53:16 PM GMT+1, Stuart Axon <stua...@yahoo.com> wrote: Hi all,   Is TkInter pypy still a thing ?   I was trying some demos from aub

[pypy-dev] Numpy or Numpypy

2017-09-29 Thread Stuart Axon via pypy-dev
Hi,   I'm trying out aubio and pysoundcard with pypy nightly.    They use numpy, should I still be using numpypy or is upstream numpy the way to go ? S++___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

[pypy-dev] Tkinter ?

2017-09-13 Thread Stuart Axon via pypy-dev
Hi all,   Is TkInter pypy still a thing ?   I was trying some demos from aubio from pypy but they didn't work [1].My first thought was to try and install tkinter-pypy but that doens't seem to exist any more. I'm testing with pypy-nightly trunk on Ubuntu 17.04 64 bit. [1]$ python

[pypy-dev] PyBaseExceptionObject has no member named ‘args’

2017-08-14 Thread Stuart Axon via pypy-dev
Found this trying to compile pycairo, is it worth opening a bug about? (I realise there is CairoCFFI, but they don't have feature parity - OTOH, CFFI probably is the way to go eventually). $ python setup.py install running install running build running build_py creating build creating

[pypy-dev] Cocos2D - works for me.

2017-08-10 Thread Stuart Axon via pypy-dev
Hi,   Today I was trying out Cocos2D in PyPy, it seems work :) I don't have any of my own projects to try, but all the examples that come with it seem to work, I also tried some tutorials which seemed to work as well. Not sure if I use use it enough to be able to say "it works", but I wasn't

Re: [pypy-dev] sysconfig.get_path('include') incorrect in virtualenv

2016-09-03 Thread Stuart Axon via pypy-dev
Moved to issue 2392 - I probably need to do a bit more testing on sysconfig of the different paths:https://bitbucket.org/pypy/pypy/issues/2392/differences-with-sysconfig  S++ On Saturday, September 3, 2016 4:02 PM, Stuart Axon <stua...@yahoo.com> wrote: A bit more info: sys

Re: [pypy-dev] sysconfig.get_path('include') incorrect in virtualenv

2016-09-03 Thread Stuart Axon via pypy-dev
A bit more info: sysconfig._get_default_scheme() returns 'pypy-local'.    If I change this to return 'pypy' then the include path is correct. I'm not fully sure how it supposed to decide between the two ? S++ On Saturday, September 3, 2016 2:56 PM, Stuart Axon via pypy-dev <pypy-

[pypy-dev] sysconfig.get_path('include') incorrect in virtualenv

2016-09-03 Thread Stuart Axon via pypy-dev
If I create a virtualenv:  /mnt/data/home/stu/.virtualenvs/pypy-venv Then run try and get the include path using sysconfig it is incorrect: import sysconfig sysconfig.get_path('include')'/mnt/data/home/stu/local/include'  It should

Re: [pypy-dev] PyPy2 v5.3.0 released, help us get the word out

2016-06-09 Thread Stuart Axon via pypy-dev
Awesome work, I ask this every time (on one site or another) - is cpyext complete enough to use Gtk3 (gi.repository) yet. ?  S++ On Wednesday, June 8, 2016 10:14 PM, Phyo Arkar wrote: Nice to see nim guys on PyPy too , Kirbyfan! On Thu, Jun 9, 2016 at 3:09

Re: [pypy-dev] vmprof compression

2015-03-27 Thread Stuart Axon
Hi,   It's worth adding lzop to the list, of compressors to test, as it's built specifically to have a low CPU overhead, at the cost of some compression ratio. http://www.lzop.org/  S++ On Thursday, March 26, 2015 11:29 PM, John Camara john.m.cam...@gmail.com wrote: Hi Fijal, To

Re: [pypy-dev] Segmentation Fault

2015-01-07 Thread Stuart Axon
of the failure. 2015-01-07 16:06 GMT+01:00 Stuart Axon stua...@yahoo.com.dmarc.invalid: Hi,   I'm running pypy 2.4.0 on Ubuntu Utopic. Running the pypy works OK (though it outputs 'trusty' weirdly):  $ pypyPython 2.7.8 (2.4.0+dfsg-1~ppa2+trusty, Sep 25 2014, 04:35:04)[PyPy 2.4.0 with GCC 4.8.2

[pypy-dev] trying to install aubio

2014-11-14 Thread Stuart Axon
Hi, I've been trying to install aubio .. + it looks like it gets stuck because of numpy, and possibly python c bindings .. any idea whats going on ? S++___ pypy-dev mailing list pypy-dev@python.org

Re: [pypy-dev] trying to install aubio

2014-11-14 Thread Stuart Axon
Sorry didn't mean to send that :) Here is a link to the output when I try to install it piem/aubio S++ On Friday, November 14, 2014 11:14 PM, Stuart Axon stua...@yahoo.com wrote: Hi, I've been trying to install aubio .. + it looks like it gets stuck because of numpy, and possibly

[pypy-dev] Chocolatey package for windows ?

2014-01-30 Thread Stuart Axon
http://chocolatey.org/ bills itself as apt-get for windows, it's fairly convenient - any chance of adding a pypy package ? If so, then one could install with cinst pypy S++___ pypy-dev mailing list pypy-dev@python.org

Re: [pypy-dev] Chocolatey package for windows ?

2014-01-30 Thread Stuart Axon
30, 2014 at 5:56 AM, Stuart Axon stua...@yahoo.com wrote: http://chocolatey.org/ bills itself as apt-get for windows, it's fairly convenient - any chance of adding a pypy package ? If so, then one could install with cinst pypy S++ ___ pypy-dev