Re: [pypy-dev] Debugging SegFaults

2017-04-05 Thread Armin Rigo
Hi, On 4 April 2017 at 17:31, Frank Wang wrote: > I made some modifications to pypy, but the new pypy-c binary results in a > segfault on certain instructions. What's the easiest way to do a traceback > to see what led to the segfault? There's also "pypy -X faulthandler" if all you're interested

Re: [pypy-dev] Visual Studio 2015 build strange behavior

2017-04-05 Thread Sergey Kurdakov
Hi, btw seems I got why error 10035 appears in VS 2015 build network calls, in pypy code there is check for EWOULDBLOCK and required steps are made to deal with situation. but in VS 2015 EWOULDBLOCK is defined as #define EWOULDBLOCK 140 while 10035 error is defined as #define WSAEWOULDBLO

Re: [pypy-dev] Visual Studio 2015 build strange behavior

2017-04-05 Thread Armin Rigo
Hi Sergey, On 5 April 2017 at 16:56, Sergey Kurdakov wrote: > with additionally changed pypy\rpython\rlib\_rsocket_rffi.py file > (see attachment) Cool! But it would be more useful for us if you could open a pull request on the bitbucket project page, https://bitbucket.org/pypy/pypy . Failing

Re: [pypy-dev] Visual Studio 2015 build strange behavior

2017-04-05 Thread Sergey Kurdakov
Hi Armin, ok, I will prepare pull request, though there are other things to change. somehow openssl crashes on callback openssl is compiled by default with __cdecl, but export win32 functions in pypy are defined as __stdcall so callback to openssl is sent as stdcall but it expects __cdecl ( may

Re: [pypy-dev] Visual Studio 2015 build strange behavior

2017-04-05 Thread Matti Picus
On 05/04/17 22:54, Sergey Kurdakov wrote: Hi Armin, ok, I will prepare pull request, though there are other things to change. somehow openssl crashes on callback openssl is compiled by default with __cdecl, but export win32 functions in pypy are defined as __stdcall so callback to openssl is

Re: [pypy-dev] Visual Studio 2015 build strange behavior

2017-04-05 Thread Sergey Kurdakov
Hi Matti, >How are you coping with third party packages? I built them myself, >Were these directions at all useful they were useful to the extent, for example openssl won't build with these instructions ( nasm step was missing ) also opensssl will use /MT library option by default after ms/do_m

[pypy-dev] performance benchmark suite

2017-04-05 Thread Victor Stinner
Hi, I'm working on speed.python.org, CPython benchmark. I reworked the benchmark suite which is now called "performance": http://pyperformance.readthedocs.io/ performance contains 54 benchmarks and works on Python 2.7 and 3.x. It creates a virtual environment with pinned versions of requireme