- 08 Tem, 2013 21 kayıt (commit)
-
-
Victor Stinner yazdı
in set2list()
-
Victor Stinner yazdı
Don't mark old extra memory dead before calling realloc(). realloc() can fail and realloc() must not touch the original buffer on failure. So mark old extra memory dead only on success if the new buffer did not move (has the same address).
-
Victor Stinner yazdı
cases, so _PyUnicodeWriter_Dealloc() can be called after finish.
-
Victor Stinner yazdı
_PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);".
-
Victor Stinner yazdı
failure.
-
Victor Stinner yazdı
(MemoryError).
-
Victor Stinner yazdı
(MemoryError).
-
Ned Deily yazdı
for a framework install, the python shared library is installed in the frameworkinstallstructure target, not in altbininstall.
-
Victor Stinner yazdı
so _PyUnicodeWriter_Dealloc() can be called on the writer after finish.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
(in load_args()), ex: MemoryError.
-
Victor Stinner yazdı
PyWeakref_NewRef() failure (ex: MemoryError).
-
Victor Stinner yazdı
PyUnicode_DecodeUTF8() failure (ex: MemoryError).
-
Victor Stinner yazdı
-
Victor Stinner yazdı
(MemoryError).
-
Victor Stinner yazdı
is negative
-
Victor Stinner yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
- 07 Tem, 2013 19 kayıt (commit)
-
-
Victor Stinner yazdı
Replace strdup() with _PyMem_RawStrdup() or _PyMem_Strdup(), depending if the GIL is held or not.
-
Victor Stinner yazdı
-
Christian Heimes yazdı
Issue #18227: pyexpat now uses a static XML_Memory_Handling_Suite. cElementTree uses the same approach since at least Python 2.6
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Modules/posixmodule.c: In function 'posix_sendfile': Modules/posixmodule.c:7700: warning: ISO C90 forbids mixed declarations and code
-
Victor Stinner yazdı
Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise.
-
Victor Stinner yazdı
* Replace malloc() with PyMem_RawMalloc() * Replace PyMem_Malloc() with PyMem_RawMalloc() where the GIL is not held. * _Py_char2wchar() now returns a buffer allocated by PyMem_RawMalloc(), instead of PyMem_Malloc()
-
Victor Stinner yazdı
PyMem_Malloc() or PyObject_Malloc(). For example, PyCFunction_Fini() calls PyObject_GC_Del() which calls PyObject_FREE().
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* Add comment explaining the endpoint checks * Only do the checks in a debug build * Simplify newblock() to only require a length argument and leave the link updates to the calling code. * Also add comment for the freelisting logic.
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-