[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2017-01-03 Thread Claudio Freire
Claudio Freire added the comment: Nice ideas, will give them a try -- ___ Python tracker <http://bugs.python.org/issue25750> ___ ___ Python-bugs-list mailin

[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2017-01-03 Thread Claudio Freire
Claudio Freire added the comment: The crash (the one we're experiencing) still happens with 2.7.13. But at this point it's not clear whether it's a Python bug or a Cython bug, as jdemeyer's patch doesn't fix it. We're having a hard time getting accurate backtraces

[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2016-12-27 Thread Claudio Freire
Claudio Freire added the comment: I cannot be 100% sure, but we have ample evidence suggesting we're experiencing this same crash in production. We have a big system that mixes Cython and pure-python coroutines, and in one version we started seeing segfaults that strongly hint at this

[issue18144] FD leak in urllib2

2014-03-18 Thread Claudio Freire
Claudio Freire added the comment: Yes, seems it does. -- ___ Python tracker <http://bugs.python.org/issue18144> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18144] FD leak in urllib2

2014-03-18 Thread Claudio Freire
Claudio Freire added the comment: I can confirm the issue is in urllib's open: it fails to close() the HTTP connection, leaving it to the GC to do it. If addinfourl (and friends) is altered to carry a reference to the HTTP connection and close it on close(), the leak is fixed. I have a

[issue18493] make profile-opt fails with pre-existing python2.7 in path

2013-07-18 Thread Claudio Freire
New submission from Claudio Freire: When building with --enable-shared in an environment that already has a python2.7 (and I'd expect the same to happen to 3.x), make profile-opt fails because it attempts to load the existing libpython instead of the just-built one. run_profile_task s

[issue18144] FD leak in urllib2

2013-06-05 Thread Claudio Freire
New submission from Claudio Freire: While other issues already exist about this problem, this particular case is unlike other issues, and I didn't think it a good idea to merge with those. Under some very specific circumstances (sending a POST request with more data than an unknown thre