Message320307
| Author | vstinner |
|---|---|
| Recipients | ZackerySpytz, methane, miss-islington, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware |
| Date | 2018-06-23.13:07:46 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1529759266.4.0.56676864532.issue33916@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It seems like Python 2.7 is inaffected by the bug:
static int
BZ2File_init(BZ2FileObject *self, PyObject *args, PyObject *kwargs)
{
...
#ifdef WITH_THREAD
if (!self->lock) {
self->lock = PyThread_allocate_lock();
}
if (!self->lock) {
PyErr_SetString(PyExc_MemoryError, "unable to allocate lock");
goto error;
}
#endif
...
}
I fixed the leak in Python 3.6, 3.7 and master. I close the issue. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-23 13:07:46 | vstinner | set | recipients: + vstinner, paul.moore, tim.golden, methane, zach.ware, serhiy.storchaka, steve.dower, ZackerySpytz, miss-islington |
| 2018-06-23 13:07:46 | vstinner | set | messageid: <1529759266.4.0.56676864532.issue33916@psf.upfronthosting.co.za> |
| 2018-06-23 13:07:46 | vstinner | link | issue33916 messages |
| 2018-06-23 13:07:46 | vstinner | create | |