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

[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] sysconfig.get_path('include') incorrect in virtualenv

2016-09-03 Thread Stuart Axon via pypy-dev
config._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-dev@python.org> wrote:

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] 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

[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

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

[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

Re: [pypy-dev] Tkinter ?

2017-09-29 Thread Stuart Axon via pypy-dev
Cheers for the suggestons on TKinter and matplotlib - mplcairo is out, since it uses pycairo (as opposed to cairocffi).  Wx-CFFI looks interesting, however all the matplotlib tutorials give me errors like the one below, so that is probably out as well for now - I'll definitely keep an eye on

[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] 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