This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年03月02日 09:42 by scoder, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| marshalbufs.patch | pitrou, 2012年03月02日 16:22 | |||
| Messages (4) | |||
|---|---|---|---|
| msg154755 - (view) | Author: Stefan Behnel (scoder) * (Python committer) | Date: 2012年03月02日 09:42 | |
Line 428 in Python/marshal.c calls pb->bf_releasebuffer() without dec-refing the view.obj field afterwards. I don't think this is really so truly performance critical that it can't accept the couple of nanoseconds that it takes to go through PyBuffer_Release() instead. |
|||
| msg154775 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年03月02日 16:22 | |
Here is a patch. |
|||
| msg154783 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年03月02日 17:21 | |
New changeset 185a6ae76479 by Antoine Pitrou in branch '3.2': Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object). http://hg.python.org/cpython/rev/185a6ae76479 New changeset b1303cf15e01 by Antoine Pitrou in branch 'default': Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object). http://hg.python.org/cpython/rev/b1303cf15e01 |
|||
| msg154784 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年03月02日 17:23 | |
Fixed. Apparently 2.7 isn't affected. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:27 | admin | set | github: 58380 |
| 2012年03月02日 17:23:45 | pitrou | set | status: open -> closed resolution: fixed messages: + msg154784 stage: patch review -> resolved |
| 2012年03月02日 17:21:13 | python-dev | set | nosy:
+ python-dev messages: + msg154783 |
| 2012年03月02日 16:22:51 | pitrou | set | stage: patch review versions: - Python 3.1 |
| 2012年03月02日 16:22:44 | pitrou | set | files:
+ marshalbufs.patch nosy: + skrah, pitrou messages: + msg154775 keywords: + patch |
| 2012年03月02日 09:42:58 | scoder | create | |