Re: [pypy-dev] Partial Escape Analysis and Scalar Replacement

2016-02-17 Thread Amaury Forgeot d7;Arc
____________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] [pypy-commit] pypy py3.3: Fix unicode.capitalize() test to pass with CPython3.3,

2016-02-01 Thread Amaury Forgeot d7;Arc
uilder to unicodedb.toupper_full()? > > On Mon, Feb 1, 2016 at 12:42 AM, amauryfa wrote: > > Author: Amaury Forgeot d'Arc > > Branch: py3.3 > > Changeset: r82021:44aa48e4d16a > > Date: 2016-02-01 00:31 +0100 > > http://bitbucket.org/pypy/p

Re: [pypy-dev] Looking for clues to consistent Seg Fault in PyPy 2.6.1

2015-10-12 Thread Amaury Forgeot d7;Arc
ot;if the version of PyPy is <= 2.6.1"...) > We define it as a string (in pypy/module/cpyext/include/patchlevel.h) #define PYPY_VERSION "2.6.0-alpha0" -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Looking for clues to consistent Seg Fault in PyPy 2.6.1

2015-10-12 Thread Amaury Forgeot d7;Arc
ember how. But I'm sure nothing has changed in the last months. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-10-07 Thread Amaury Forgeot d7;Arc
__ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-10-07 Thread Amaury Forgeot d7;Arc
our pypy3.3. Help needed! You can track the progress here: http://buildbot.pypy.org/summary?branch=py3.3 -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Amaury Forgeot d7;Arc
y will work fine and you can expect average 7x performance gain , up to > 20-30x. > > > > > ___ > pypy-dev mailing > listpypy-dev@python.orghttps://mail.python.org/mailman/listinfo/pypy-dev > > > > ___ > pypy-de

Re: [pypy-dev] pypy 2.6 memory leak bug!! very importent

2015-09-14 Thread Amaury Forgeot d7;Arc
ction-strategies The solution is often to close resources explicitly or use "with" blocks. > > > > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.or

Re: [pypy-dev] pypy segment fault bug

2015-09-14 Thread Amaury Forgeot d7;Arc
the redis module, i use pypy 2.6. > > https://github.com/andymccurdy/redis-py > > > > > > > > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaur

Re: [pypy-dev] problems with pypy and pip

2015-07-08 Thread Amaury Forgeot d7;Arc
e are variables Can I set? > Thanks! > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > > > ___________ > pypy-dev mailing list > pypy-

Re: [pypy-dev] For Donations, List How Much is Left (or Spent)?

2015-06-25 Thread Amaury Forgeot d7;Arc
2015-06-25 9:11 GMT+02:00 Armin Rigo : > Hi Amaury, > > On 25 June 2015 at 01:10, Amaury Forgeot d'Arc wrote: > > Currently I'm kind of blocked on finishing the "more-rposix" branch > > (needed for the recent expansion of the posix module: > os.suppor

Re: [pypy-dev] For Donations, List How Much is Left (or Spent)?

2015-06-24 Thread Amaury Forgeot d7;Arc
;> too, but I am alone on consuming the funds and recently I've been >> "side-tracked" by CFFI 1.0 (coming back to STM now). >> >> >> A bientôt, >> >> Armin. >> _______ >> pypy-dev mailing list >>

Re: [pypy-dev] tkinter tests broken

2015-06-24 Thread Amaury Forgeot d7;Arc
Thanks Armin, 2015-06-23 9:48 GMT+02:00 Armin Rigo : > Hi Amaury, > > On 21 June 2015 at 14:11, Amaury Forgeot d'Arc wrote: > > 2015-06-21 12:33 GMT+02:00 Armin Rigo : > >> Can you fix the situation? Thanks! > > > > Should be fixed with 6453697f3a30. &

Re: [pypy-dev] rogue CFFI speedups #....@k....$...#

2015-06-23 Thread Amaury Forgeot d7;Arc
to check them out: > > https://github.com/HexDecimal/python-tdl/issues/5 > > -- > anatoly t. > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d

Re: [pypy-dev] tkinter tests broken

2015-06-21 Thread Amaury Forgeot d7;Arc
ase. Should be fixed with 6453697f3a30. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] pypy 2.6.0 failing with compile errors

2015-06-14 Thread Amaury Forgeot d7;Arc
gt; > can provide more info. > > Maybe you have an old version of openssl installed, too? One which > would not define the type 'EC_KEY'. Try to grep for 'EC_KEY' in > '/usr/include/openssl/*.h'. > Or this installation of openssl is built with "OPENSS

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-13 Thread Amaury Forgeot d7;Arc
Sorry, forget what I said. There is a big issue with the archive file, most stdlib files are missing. 2015-06-13 10:50 GMT+02:00 Amaury Forgeot d'Arc : > 2015-06-13 10:06 GMT+02:00 Ram Rachum : > >> Hello Armin, >> >> I already said I tried it 3 days ago and sh

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-13 Thread Amaury Forgeot d7;Arc
r.bz2, for some value of X >> >> - run: tar jxf pypy-c-jit-X.tar.bz2 >> >> - cd pypy-c-jit-X/bin >> >> - ./pypy >> >> >> A bientôt, >> >> Armin. >> > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Freezing the ".pypy-26.so" name?

2015-06-13 Thread Amaury Forgeot d7;Arc
t; important thing is that we'll make the SOABI part of the wheel filename > and use > it to select which wheel we'll download and install. You don't need to > worry > about that much other than the fact that defining one makes it better and > being conservative in changing it makes it better. > > --- > Donald Stufft > PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-09 Thread Amaury Forgeot d7;Arc
ess involved? > Just unpack the archive in any directory, and run pypy from there. http://pypy.org/download.html#installing I usually use a command like: tar xvaf /path/to/pypy-c.tar.bz2 . > > On Tue, Jun 9, 2015 at 8:15 PM, Amaury Forgeot d'Arc > wrote: > >> 201

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-09 Thread Amaury Forgeot d7;Arc
2015-06-09 19:11 GMT+02:00 Amaury Forgeot d'Arc : > 2015-06-09 19:03 GMT+02:00 Ram Rachum : > >> Ah... Can I get that in Windows please? >> > > I just started a translation. > Please be patient, and it's very possible that it breaks in the middle... > Actu

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-09 Thread Amaury Forgeot d7;Arc
2015-06-09 19:03 GMT+02:00 Ram Rachum : > Ah... Can I get that in Windows please? > I just started a translation. Please be patient, and it's very possible that it breaks in the middle... > > On Tue, Jun 9, 2015 at 8:02 PM, Amaury Forgeot d'Arc > wrote: > >&

Re: [pypy-dev] Working version of pypy3 that support Python 3.3

2015-06-09 Thread Amaury Forgeot d7;Arc
gt; run so I could test my package and find any bugs in it? (And possibly also > bugs in pypy.) > Sure, we have builds for the linux64 platform: http://buildbot.pypy.org/nightly/py3.3/ -- Amaury Forgeot d'Arc ___ pypy-dev mailing l

Re: [pypy-dev] How to use interperter level code from a module for app level code in another module

2015-06-09 Thread Amaury Forgeot d7;Arc
__pypy__ is always enabled, but other modules can >> be enabled or disabled (for example using "spaceconfig" if you're >> writing tests in the same style as ours). >> >> >> A bientôt, >> >> Armin. >> > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] How to use interperter level code from a module for app level code in another module

2015-06-09 Thread Amaury Forgeot d7;Arc
; But __pypy__ module is able to be imported. > some modules are always selected: sys, posix, __pypy__... that's why you see a difference here. Put usemodules=['select'], somewhere. > > On Tue, Jun 9, 2015 at 5:27 PM, Amaury Forgeot d'Arc > wrote: > >> 201

Re: [pypy-dev] How to use interperter level code from a module for app level code in another module

2015-06-09 Thread Amaury Forgeot d7;Arc
; > But I observed __pypy__ module is different. Interp functions of _pypy_ > module could be directly import in app code for other modules. > We are curious how does it work? > > > > On Tue, Jun 9, 2015 at 4:25 PM, Amaury Forgeot d'Arc > wrote: > >> 2015-06-09

Re: [pypy-dev] How to use interperter level code from a module for app level code in another module

2015-06-09 Thread Amaury Forgeot d7;Arc
.​ >> >> ​This is about exposing an integer rather than a function, it's probably >> not relevant to you. >> >> >> -- >> William Leslie >> >> Notice: >> Likely much of this email is, by the nature of copyright, covered under >> copyright law. You

Re: [pypy-dev] Is there similar PyEval_EvalFrameEx() function in PyPy?

2015-05-26 Thread Amaury Forgeot d7;Arc
thon.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Cannot instantiate ctype 'struct *' of unknown size

2015-05-20 Thread Amaury Forgeot d7;Arc
cdef(''' > struct api_ret { > char *ret1; > char *ret2; > char *ret3; > }; > ''') > > result = ffi.new('struct api_ret*') > > And we should put the function callback annotion below struct api_ret > definition. :) > > On

Re: [pypy-dev] Cannot instantiate ctype 'struct *' of unknown size

2015-05-20 Thread Amaury Forgeot d7;Arc
struct api_ret* (*pyudf)(char* str); > }; > ''') > > ffi.cdef(''' > struct api_ret2 { > char *ret1; > char *ret2; > char *ret3; > }; > ''') > #we used differen

Re: [pypy-dev] For embedding pypy, how to deal with None value

2015-05-20 Thread Amaury Forgeot d7;Arc
e needs to stay alive on the Python side, so a pool of returned handles is necessary, but it needs to be cleared sometimes, and there will be many helper functions... I once wrote some code to demonstrate this, I need to clean it a bit and put it in the docs. -- Amaury Forgeot d'Arc __

Re: [pypy-dev] How to get the return value from pypy function for C code

2015-05-13 Thread Amaury Forgeot d7;Arc
n CPython, there is 'PyObject_CallObject', which returns python > fucntion result. > Does pypy have similar API? > But don't you have it already? the func(3) above should return the integer 6! > > On Wed, May 13, 2015 at 3:25 PM, Amaury Forgeot d'Arc > wrot

Re: [pypy-dev] How to call the "same pypy function" from C for thousands of times?

2015-05-13 Thread Amaury Forgeot d7;Arc
cute_source_ptr(source, &api); // Now call this in a loop: api.add_numbers(12, 13); -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] How to get the return value from pypy function for C code

2015-05-13 Thread Amaury Forgeot d7;Arc
k you need to use the function "pypy_execute_source_ptr", and pass a pointer to a C variable. >From the Python side, it's turned into an int, that you can cast back to a ffi pointer. Something like this: import cffi ffi = cffi.FFI() result_ptr = ffi.cast('double *',

Re: [pypy-dev] (no subject)

2015-05-05 Thread Amaury Forgeot d7;Arc
t;> Sincerely yours, >> Yury V. Zaytsev >> >> >> ___ >> pypy-dev mailing list >> pypy-dev@python.org >> https://mail.python.org/mailman/listinfo/pypy-dev >> > > > >

Re: [pypy-dev] Porting PyPy/rpython to Python 3

2015-04-16 Thread Amaury Forgeot d7;Arc
ve a unique spelling that covers all cases? python{2|3} translating a pypy{2|3} interpreter -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Porting PyPy/rpython to Python 3

2015-04-16 Thread Amaury Forgeot d7;Arc
mple when the unicode is a constant. (maybe with a SomeAsciiString annotation) Otherwise, do we need to rewrite all calls like `space.call_method(w_x, "split")`? Another issue will be the int/long distinction. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Which pypy with >=3.3 Python compatibility

2015-04-13 Thread Amaury Forgeot d7;Arc
.4 feature, right? I guess we need to wait a bit more. Or get involved and help us finish the 3.3 port first... -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Which pypy with >=3.3 Python compatibility

2015-04-13 Thread Amaury Forgeot d7;Arc
g list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Release 2.5.1 binaries now available for download

2015-03-25 Thread Amaury Forgeot d7;Arc
rring any issues, the release notice should hit the blog by the > weekend, > >> and I will update the web sites appropriately before then. > >> Matti > >> ___ > >> pypy-dev mailing list > >> pypy-dev@python.org > >> https://mail.python.o

Re: [pypy-dev] How to help PyPy 3 ?

2015-03-23 Thread Amaury Forgeot d7;Arc
nd fix small issues like with > aiohttp.server if I've a clue to fix that. > Are you interested if I create issues on PyPy project for each problem, or > I will add only noise in PyPy project ? > > BTW, to help PyPy project not only with my brain time, I've did a small > recurring donation for PyPy 3. > > Regards. > -- > Ludovic Gasc (GMLudo) > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] UTF8 string passing in cffi and PyPy internal string optimizations

2015-03-18 Thread Amaury Forgeot d7;Arc
nicode strings... > > Above ideas are based on my understanding of the current status and the > future directions of PyPy. If i have misunderstood something i would be > glad to be set right :). > > Kind regards, > > l. > >

Re: [pypy-dev] Language Parser Ontology

2015-03-10 Thread Amaury Forgeot d7;Arc
MMENTSTART starts a COMMENT > > And I wonder, have anybody tried to apply this ontology > stuff to designing and analysing computer languages? > If yes, maybe there are some databases with such > information about parsers. I would like to query names of > all tokens that repres

Re: [pypy-dev] trsnslating pypy to another language besides C

2015-03-06 Thread Amaury Forgeot d7;Arc
; platform > sandbox > test > tool > > Which of those are backends? > Only one: c -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Windows: pypyw.exe?

2015-02-06 Thread Amaury Forgeot d7;Arc
2015-02-06 11:27 GMT+01:00 Armin Rigo : > Hi, > > On 6 February 2015 at 11:15, Amaury Forgeot d'Arc > wrote: > > This has other implications. > > For example, sys.stdout points to an invalid file descriptor, > > and I remember that old versions of pythonw.ex

Re: [pypy-dev] Windows: pypyw.exe?

2015-02-06 Thread Amaury Forgeot d7;Arc
ptor, and I remember that old versions of pythonw.exe used to freeze after printing 8192 characters. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] cppyy questions

2015-01-20 Thread Amaury Forgeot d7;Arc
fore calling SerializeToString. > בתאריך 20 בינו 2015 17:49, ‏"Amaury Forgeot d'Arc" > כתב: > > 2015-01-20 16:07 GMT+01:00 Omer Katz : >> >>> That's correct but can't we handle those cases in cppyy? >>> We should provide a native Python

Re: [pypy-dev] cppyy questions

2015-01-20 Thread Amaury Forgeot d7;Arc
he string (like swig's OUTPUT <http://www.swig.org/Doc3.0/Arguments.html#Arguments_nn5>) result, s = e.SerializeToString() I don't know which method is the most convenient with cppyy. > > 2015-01-20 15:40 GMT+02:00 Amaury Forgeot d'Arc : > >> Hi, >>

Re: [pypy-dev] cppyy questions

2015-01-20 Thread Amaury Forgeot d7;Arc
_ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Segmentation Fault

2015-01-07 Thread Amaury Forgeot d7;Arc
d signal SIGSEGV, Segmentation fault. > 0x7fffecdb686e in std::_Rb_tree const, std::pair >, std::_Select1st const, std::pair > >, std::less, > std::allocator > > > >::_M_get_insert_unique_pos(std::string const&) () >from /usr/lib/x86_64-linux-gnu/libprotobuf.so.8 > (gdb) > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] stdlib-2.7.9!

2014-12-15 Thread Amaury Forgeot d7;Arc
the py3k branch the work is just "already done"? > Something else? > > Feedback please! > Alex > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- A

Re: [pypy-dev] Unify lib_pypy by vendoring six

2014-12-05 Thread Amaury Forgeot d7;Arc
org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] GSoC 2015: cpyext project?

2014-12-03 Thread Amaury Forgeot d7;Arc
have often found -- the apparent relative immaturity of cpyext keeps > people away from PyPy, which is also a shame! > > [1] https://pypi.python.org/pypi/pyviennacl > [2] https://bitbucket.org/pypy/pypy/wiki/GSOC%202014 > > Best, > > Toby > > > -- > Toby St Clere Smithe

Re: [pypy-dev] Segfault in Hy for PyPy 2.4

2014-11-05 Thread Amaury Forgeot d7;Arc
ult. Why does this happen? > Probably a bug. Please file an issue here: https://bitbucket.org/pypy/pypy/issues Also, try to come with a smaller test, it will be much faster for us to fix it. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list

Re: [pypy-dev] Silly Question re PIP

2014-10-31 Thread Amaury Forgeot d7;Arc
s://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

[pypy-dev] PyPy Fractal Generator

2014-02-05 Thread Amaury Forgeot d7;Arc
It's implemented here: https://bitbucket.org/pypy/pypy/src/tip/rpython/tool/ansi_mandelbrot.py On Wed Feb 05 2014 at 7:04:01 AM, Kirk Liberty wrote: > Hi everyone, > > I never really email on the list, but I like to lurk and read what > other people have to say. I've been wondering, where is th

Re: [pypy-dev] Boost.Python and PyPy -- status?

2014-01-09 Thread Amaury Forgeot d7;Arc
_ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] clarification cffi vs _ffi_ vs _ffi vs libffi vs _rawffi vs rffi

2013-12-03 Thread Amaury Forgeot d7;Arc
-dev@python.org >> https://mail.python.org/mailman/listinfo/pypy-dev >> > > > > -- > Ryan > When your hammer is C++, everything begins to look like a thumb. > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Preparing for the release of PyPy 2.2

2013-11-12 Thread Amaury Forgeot d7;Arc
bientôt, >>> >>> Armin. >>> ___ >>> pypy-dev mailing list >>> pypy-dev@python.org <mailto:pypy-dev@python.org> >>> >>> https://mail.python.org/mailman/listinfo/pypy-dev >>&

Re: [pypy-dev] cffi python long

2013-11-08 Thread Amaury Forgeot d7;Arc
he right form. > In Python3 you could use the to_bytes() method of ints, but I could not find any way to have the same in python2. Or just use hex(). You might have endianness issues, though. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] More strategies

2013-11-07 Thread Amaury Forgeot d7;Arc
2013/11/7 Laurence Tratt > The patch itself is here: > > > https://bitbucket.org/pypy/pypy/commits/599ed4285a6de348c7e7e732e303336d3160ce78 > Hum, [1,2,3].__contains__(1.9)? -- Amaury Forgeot d'Arc ___ pypy-dev mailing list

Re: [pypy-dev] May we delete the pypy/tkinter repository?

2013-11-04 Thread Amaury Forgeot d7;Arc
ypy-dev > > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] pypy about c-extension

2013-11-04 Thread Amaury Forgeot d7;Arc
", line 4, in > import podpbpypy > ImportError: No module named podpbpypy > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc _

Re: [pypy-dev] RPython Environment Variables

2013-10-31 Thread Amaury Forgeot d7;Arc
the application. - only some methods are implemented, and redirect to some implementation that use the C primitives. Yes, I also found this "Controller" crazy the first time I saw it. But very clever and powerful. -- Amaury Forgeot d'Arc

Re: [pypy-dev] Question on installing pypy and the source code

2013-10-31 Thread Amaury Forgeot d7;Arc
#x27; IMO this is clear enough, but maybe you found another place where pypy cannot be replaced by python? -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] pip install rbtree fail in pypy env!

2013-10-31 Thread Amaury Forgeot d7;Arc
'd get much better results by running a pure Python > version of it. Check "rbtree" to see if it already has a pure Python > version. > > > A bientôt, > > Armin. > > ___ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] numpy repo under pypy on bitbucket

2013-10-30 Thread Amaury Forgeot d7;Arc
become the prefrered method of using numpy on pypy. Note > this is a git repo. > Will nightly builds and pypy release still contain a full numpy module? Or is it necessary to install it manually? -- Amaury Forgeot d'Arc ___ pypy-d

Re: [pypy-dev] trying out STM for some numbers on more cores

2013-10-30 Thread Amaury Forgeot d7;Arc
ms on PyPy-STM." JIT on PyPy-STM gives only a slight improvement so far, but it will definitely slow down things a lot during the tracing phase. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] trying out STM for some numbers on more cores

2013-10-30 Thread Amaury Forgeot d7;Arc
; completely different job). > Also, the process should perform 1000 iterations before you start the timings. The JIT needs a lot of iterations to be warm-up correctly. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] merging pypy-pyarray branch

2013-09-23 Thread Amaury Forgeot d7;Arc
Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy's PyDateTime_Delta definition

2013-09-07 Thread Amaury Forgeot d7;Arc
t;, and cpyext ties the C structs to those typedefs. See sliceobject.py for a simple example of filling the C struct; I don't know how to do this for datetime. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy's PyDateTime_Delta definition

2013-09-07 Thread Amaury Forgeot d7;Arc
ro I can check? > Now I feel embarrassed. I was the one who added these macros to CPython 3.3, exactly for this reason. see the patch we propose for cx_Oracle: https://bitbucket.org/pypy/pypy/src/tip/pypy/module/cpyext/patches/cx_Oracle.patch "#ifdef

Re: [pypy-dev] PyPy's PyDateTime_Delta definition

2013-09-06 Thread Amaury Forgeot d7;Arc
c question. > Not sure I understand. Or did you mean "why are those declarations not in datetime.h"? Then the answer is: because all these functions are generated during PyPy translation. The corresponding declarations are written in pypy_decl.h -- Amaury Forgeot d'Arc ___

Re: [pypy-dev] PyPy's PyDateTime_Delta definition

2013-09-06 Thread Amaury Forgeot d7;Arc
PyPy uses a pure Python implementation of datetime.py. So there is little chance we can implement some shortcut in C to directly reference some internal storage of the datetime types. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] [pypy-commit] pypy default: Unroll list.count() when the list is virtual or very small and constant lenght

2013-08-30 Thread Amaury Forgeot d7;Arc
2013/8/30 Carl Friedrich Bolz > Hi Alex, > > please revert this change, it can lead to combinatorial explosion: it > can give a bridge per pattern of where in the list the object is found. > Doesn't list.count() traverse all the list in all cases? --

Re: [pypy-dev] PyPy 2x slower using cpickle

2013-07-18 Thread Amaury Forgeot d7;Arc
+ flush() is better than an all-purpose object. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy 2x slower using cpickle

2013-07-18 Thread Amaury Forgeot d7;Arc
file uses a (RPython) list of strings, and does a final ''.join. This is probably much less efficient than the RStringIO implementation. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] ndarray-subtype branch looking for review

2013-07-17 Thread Amaury Forgeot d7;Arc
rg/pypy/pypy/pull-request/164/ndarray-subtype-branch-review/diff Easy to comment on each diff line. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] ndarray-subtype branch looking for review

2013-07-16 Thread Amaury Forgeot d7;Arc
2013/7/16 Amaury Forgeot d'Arc > I could do it. > Is there a way to get a full diff of the changes about to be merged? > Ok, found it. https://bitbucket.org/pypy/pypy/compare/ndarray-subtype..default#diff -- Amaury Forgeot d'Arc _

Re: [pypy-dev] ndarray-subtype branch looking for review

2013-07-16 Thread Amaury Forgeot d7;Arc
subclassing. > Matti > __**_ > pypy-dev mailing list > pypy-dev@python.org > http://mail.python.org/**mailman/listinfo/pypy-dev<http://mail.python.org/mailman/listinfo/pypy-dev> > -- Amaury Forgeot d'Arc

Re: [pypy-dev] subclassing ndarray, was Memap in numpypy

2013-07-04 Thread Amaury Forgeot d7;Arc
escribes the numpy way, so I did >> ndarray.view(subtype) >> as well, but I did not yet do the slice (they call it template) >> nor did I do __array_finalize__ >> >> Failing tests and patches are welcome >> >> Matti >> >> >> > _

Re: [pypy-dev] PyPy 2x slower using cpickle

2013-07-03 Thread Amaury Forgeot d7;Arc
py-dev mailing list > pypy-dev@python.org > http://mail.python.org/**mailman/listinfo/pypy-dev<http://mail.python.org/mailman/listinfo/pypy-dev> > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Memap in numpypy

2013-06-30 Thread Amaury Forgeot d7;Arc
as well, and is proably even easier to implement. And there is no standard that forbids named parameter! Some calls to from_shape() already use them... Do as you prefer, and what makes the code more natural to you. Cheers, -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Memap in numpypy

2013-06-30 Thread Amaury Forgeot d7;Arc
here are the __new__ methods that don't use "allocate_instance" and don't define "acceptable_as_base_class": clr._CliObject_internal _ffi.CDLL _ffi.WinDLL _ffi.Field _ffi._StructDescr numpypy.string_ numpypy.unicode_ numpypy.dtype numpypy.ndarray

Re: [pypy-dev] adding numpy test target to buildbot

2013-06-28 Thread Amaury Forgeot d7;Arc
2013/6/28 Maciej Fijalkowski > > - can buildbot parse output from nose? > > buildbot does not parse output "summary" is our custom hack. How are these summaries implemented btw? A custom pytest reporter? -- Amaury Forgeot d'Arc _

Re: [pypy-dev] installing after translating

2013-06-20 Thread Amaury Forgeot d7;Arc
r anything: to install, just unpack the .tgz somewhere and eventually add a link in /usr/local/bin: http://doc.pypy.org/en/latest/getting-started.html#installing-pypy -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Memap in numpypy

2013-06-20 Thread Amaury Forgeot d7;Arc
r than a > StringLikeBuffer object. > This was the third task I mentioned earlier. It turns out that Armin implemented it just this morning, thanks! :-) Mike, you are doing well. Please keep going. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Memap in numpypy

2013-06-16 Thread Amaury Forgeot d7;Arc
yPy is a wonderful platform with powerful tools, but they are often not documented enough. Pypy-dev traffic is not that high these days; to get immediate answers there many of us are hanging on IRC: #pypy at freenode.net. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Memap in numpypy

2013-06-14 Thread Amaury Forgeot d7;Arc
imArray.from_shape_and_storage() instead, it takes the raw address of the buffer. That's it! Of course I skipped over all the details, so the first thing to do is to write a unit test to be sure that everything works correctly before building a new PyPy. -- Amaury Forgeot d'Arc __

Re: [pypy-dev] Memap in numpypy

2013-06-14 Thread Amaury Forgeot d7;Arc
_ > pypy-dev mailing list > pypy-dev@python.org > http://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Compatibilidad with boost python

2013-06-07 Thread Amaury Forgeot d7;Arc
"handle" object needs to stay alive, and this can only be done from Python code) It's worth exploring though -- and no specific PyPy knowledge is needed for this. Help is welcome! -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pyp

Re: [pypy-dev] Compatibilidad with boost python

2013-06-06 Thread Amaury Forgeot d7;Arc
, the usual warnings about cpyext apply: The interface between C/C++ and Python is very slow, and not all of the CPython API is implemented. But it did pass a lot of the test suite. Sorry I don't have any turnkey solution. -- Amaury Forgeot d'Arc

Re: [pypy-dev] comparing strings using is does not works

2013-06-05 Thread Amaury Forgeot d7;Arc
g_Resize() won't replace the string being built with a shared object. Moreover those details completely changed with Python 3.3 and the new Unicode implementation. Don't use "is" with immutable objects (except with the singletons: None, Tr

Re: [pypy-dev] blist, was Re: pypy-dev Digest, Vol 26, Issue 5

2013-06-05 Thread Amaury Forgeot d7;Arc
2013/6/5 Phyo Arkar > or write CFFI version? Unfortunately there is no library to wrap. All the C code is deeply integrated with the CPython API. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org

Re: [pypy-dev] why does jit.backend.x86.test.test_fficall crash python on win32?

2013-06-02 Thread Amaury Forgeot d7;Arc
783 corresponds to 0xC029, which is STATUS_INVALID_UNWIND_TARGET, and suggests a corruption of the stack. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy doesn't make code written in C faster

2013-05-30 Thread Amaury Forgeot d7;Arc
ed to change. To get fair benchmarks, those extension modules should be rewritten, with cffi for example: its C calls have very little overhead, and it integrates very well with the rest of the PyPy interpreter. -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] RPython

2013-05-28 Thread Amaury Forgeot d7;Arc
l typos and also many mistakes a compiler wouldn't tell you. Cheers, -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] SSL version?

2013-05-14 Thread Amaury Forgeot d7;Arc
Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy 2.0 - Einstein Sandwich

2013-05-10 Thread Amaury Forgeot d7;Arc
o the case with pypy-1.9. On which system are you running? -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] x is y <=> id(x)==id(y)

2013-05-06 Thread Amaury Forgeot d7;Arc
ept for NaN... -- Amaury Forgeot d'Arc ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

  1   2   3   4   >