On Sun Feb 08 2015 at 12:21:36 AM Victor Stinner
wrote:
>
> Le 8 févr. 2015 05:39, "Gregory P. Smith" a écrit :
> > From there, in your signal handler you must try to acquire the newly
> exposed keymutex and (...)
>
> Stop! Acquiring a lock in a signal handler is just a crazy idea. It's very
> f
This is exactly how signals are implemented in Python :-)
Victor
Le lundi 9 février 2015, Robert Collins a
écrit :
> On 9 February 2015 at 09:11, Maciej Fijalkowski > wrote:
> > Hi Francis
> >
> > Feel free to steal most of vmprof code, it should generally work
> > without requiring to patch c
On 9 February 2015 at 09:11, Maciej Fijalkowski wrote:
> Hi Francis
>
> Feel free to steal most of vmprof code, it should generally work
> without requiring to patch cpython (python 3 patches appreciated :-).
> As far as timer goes - it seems not to be going anywhere, I would
> rather use a backgr
On behalf of the Python development community and the Python 3.5 release
team, I'm also pleased to announce the availability of Python 3.5.0a1.
Python 3.5.0a1 is the first alpha release of Python 3.5, which will be
the next major release of Python. Python 3.5 is still under heavy
developm
On behalf of the Python development community and the Python 3.4 release
team, I'm happy to announce the availability of Python 3.4.3rc1.
Python 3.4.3rc1 has many bugfixes and other small improvements over 3.4.2.
You can download it here:
https://www.python.org/download/releases/3.4.3
2015-02-08 4:01 GMT-05:00 Maciej Fijalkowski :
> I'm working on vmprof (github.com/vmprof/vmprof-python) which works
> for both cpython and pypy (pypy has special support, cpython is
> patched on-the fly)
This looks interesting. I'm working on a profiler that is similar, but not
based on timer.
Hi Francis
Feel free to steal most of vmprof code, it should generally work
without requiring to patch cpython (python 3 patches appreciated :-).
As far as timer goes - it seems not to be going anywhere, I would
rather use a background thread or something
On Sun, Feb 8, 2015 at 10:03 PM, Francis
I'm working on vmprof (github.com/vmprof/vmprof-python) which works
for both cpython and pypy (pypy has special support, cpython is
patched on-the fly)
On Sun, Feb 8, 2015 at 6:39 AM, Gregory P. Smith wrote:
> To get at the Python thread state from a signal handler (using 2.7 as a
> reference her
Le 8 févr. 2015 05:39, "Gregory P. Smith" a écrit :
> From there, in your signal handler you must try to acquire the newly
exposed keymutex and (...)
Stop! Acquiring a lock in a signal handler is just a crazy idea. It's very
far from an async signal-safe function.
> So until those are fixed (hoo
Le 7 févr. 2015 22:34, "Greg Ewing" a écrit :
with --shared)
> You might be able to use Py_AddPendingCall to schedule
> what you want done outside the context of the signal
> handler.
I don't how it could work. You have to increment the reference counting,
but also maybe increment references to o
10 matches
Mail list logo