- 11 Tem, 2013 21 kayıt (commit)
-
-
Victor Stinner yazdı
type->tp_str must not point to slot_tp_str() if type has no __str__ attribute, so there is no reason for slot_tp_str() to fallback on slot_tp_str() on lookup error. Moreover, calling PyErr_Clear() may hide a real bug like MemoryError. If __str__ attribute is removed, slots must be updated (which is done by type_setattro()).
-
Victor Stinner yazdı
-
R David Murray yazdı
-
R David Murray yazdı
The problem was I was only checking for decimal digits after the third '?', not for *hex* digits :(. This changeset also fixes a couple of comment typos, deletes an unused function relating to encoded word parsing, and removed an invalid 'if' test from the folding function that was revealed by the tests written to validate this issue.
-
Serhiy Storchaka yazdı
more bytes than requested.
-
Serhiy Storchaka yazdı
more bytes than requested.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
-
Serhiy Storchaka yazdı
do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
-
Serhiy Storchaka yazdı
not to stderr. Patch by Berker Peksag and Michael Dickens.
-
R David Murray yazdı
-
R David Murray yazdı
Patch by Dmi Baranov.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
PyModule_GetDef() returns an error.
-
Christian Heimes yazdı
PyModule_GetDef() returns an error.
-
- 10 Tem, 2013 6 kayıt (commit)
-
-
R David Murray yazdı
Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.)
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
Patch by Andrew Rowe.
-
Victor Stinner yazdı
building the tuple (type, value, traceback) passed to the callback. PyTuple_Pack() does crash if an argument is NULL.
-
- 09 Tem, 2013 5 kayıt (commit)
-
-
Charles-François Natali yazdı
addresses.
-
Charles-François Natali yazdı
addresses.
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Raymond Hettinger yazdı
-
- 08 Tem, 2013 8 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.
-