-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/04/2014 12:38 AM, Victor Stinner wrote:
> Last days, Donald Stufft spent time to investiage a tricky
> reference cycle bug in the pip project. The fix looks similar to
> your proposition: 
> https://github.com/dstufft/pip/commit/0bbc4ac2a92c264b8c7eacd5d619d17fdffefbc5
>
>  Similar but different because pip has a different design. In
> asyncio, there is no need to set _callback and _args to None at the
> end of _run(), because the handle is destroyed just after the call
> to _run().
> 
> Victor
> 

But what about this: we have 2 timers, t1 which kicks in 10s and t2
which kicks in 100s. If we cancel t1, we will hold on to its callback
and args until callbaks are run, which could take a long time.

- -- 
Saúl Ibarra Corretgé
bettercallsaghul.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTtd7aAAoJEEEOVVOum8BZWyMP/AsmDfBbOxReshjNkRF6FMVx
prU1UhE9UURzPVq7G7vvNxwcbnYB7bW4Wzhw1HJ9ng90xylvRi7UoVF5Fo7CUWBg
Mi4nDZXxYdicPYDfo9qumR7juFz32AfVXSrtKpDlM4LkrMwzM/A1uXqaQzulzSgZ
lRaNqG736o93YqYVgEEoZyfXOjKB1UagbdkplrZNbOd5TP2mC+ClOnrktXQRdV1u
fSbTb3kuXv3SS4SaInZaWFdsqVKV2GZM3BT0opN7OnyZiiSvbD2B6slz/dScFA9b
/TqAG1gh04I9rDILpKQwZrzifJoAOiFH9PCttmaQr64rYt4MiETJMnP1+zyORFzt
+ufkcN6yB4HVRzRd/eWLb1Gm+DICse8lzi3UZ13G49DAEM4nd/PyzPPcEFxlZPDh
90oaYmwAK5LlaN+2jKPXV1u4GEsiaLSKAeVpvEwIMA6XYxD6x7yNR2pMl03ZTdbT
mDrzFtumu6bMddu//NeK38S4LQGXl2/BesSxyUu1Q34sci5DLMXdDhITtcFeKD8r
iOMVReuuyShPqDn4aWcgvw89q3lvLkMnzZJbUNNZnijoTb6A3vg/nEF26dPCsrtq
//m5SLPslPPE8PfRJ9WokfNIUnptafhV0ZB20pyM8LNVEBkmn0OuccZmighKCxfl
73RBPjptJwz2YrhyGvGm
=wh8U
-----END PGP SIGNATURE-----

Reply via email to