[Python-Dev] cpython: Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Wed Jul 17 00:25:15 CEST 2013
- Previous message: [Python-Dev] cpython: Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure
- Next message: [Python-Dev] cpython: Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
17.07.13 01:03, Victor Stinner написав(ла):
2013/7/16 Serhiy Storchaka <storchaka at gmail.com>:
http://hg.python.org/cpython/rev/533eb9ab895a summary: Issue #18408: Fix fileioread() on PyBytesResize() failure
bytes is NULL on PyBytesResize() failure Why not PyDECREF? Because PyDECREF(NULL) does crash.
Oh, I meaned Py_XDECREF.
- Previous message: [Python-Dev] cpython: Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure
- Next message: [Python-Dev] cpython: Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]