[Python-Dev] Encoding of PyFrameObject members

Victor Stinner victor.stinner at gmail.com
Mon Feb 9 07:35:46 CET 2015


This is exactly how signals are implemented in Python :-)

Victor

Le lundi 9 février 2015, Robert Collins <robertc at robertcollins.net> a
écrit :

> On 9 February 2015 at 09:11, Maciej Fijalkowski <fijall at gmail.com
> <javascript:;>> 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 background thread or something
>
> What about setting a flag when the signal arrives and checking it at
> the next bytecode evaluation or something?
>
> -Rob
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org <javascript:;>
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150209/15bda3de/attachment.html>


More information about the Python-Dev mailing list