[issue18408] Fixes crashes found by pyfailmalloc

2015-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset b742c1c5c0bf by Victor Stinner in branch 'default': PEP 490: add issue 18408 https://hg.python.org/peps/rev/b742c1c5c0bf -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408

[issue18408] Fixes crashes found by pyfailmalloc

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f556ee0f6ba by Antoine Pitrou in branch 'default': Fix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by 95eea8624d05 (issue #16596). http://hg.python.org/cpython/rev/8f556ee0f6ba --

[issue18408] Fixes crashes found by pyfailmalloc

2013-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ef4578db38a by Victor Stinner in branch 'default': Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle http://hg.python.org/cpython/rev/4ef4578db38a -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-10-28 Thread STINNER Victor
STINNER Victor added the comment: Ok, most critical bugs have been fixed. If I find new bugs, I will open new issues. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408

[issue18408] Fixes crashes found by pyfailmalloc

2013-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1d51c42e5a1 by Victor Stinner in branch 'default': Issue #18408: Fix PyUnicode_AsUTF8AndSize(), raise MemoryError exception on http://hg.python.org/cpython/rev/e1d51c42e5a1 New changeset 7f4a976829f1 by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4749c3ac0654 by Victor Stinner in branch 'default': Issue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failure http://hg.python.org/cpython/rev/4749c3ac0654 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 549cd815bf8d by Victor Stinner in branch 'default': Issue #18408: Fix error handling in PyBytes_FromObject() http://hg.python.org/cpython/rev/549cd815bf8d New changeset 9d9371d4ff7b by Victor Stinner in branch 'default': Issue #18408: Fix

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79ce25c70795 by Victor Stinner in branch 'default': Issue #18408: _PyObject_Dump() now saves/restores the current exception http://hg.python.org/cpython/rev/79ce25c70795 New changeset e63f19d0a651 by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42aecc601a41 by Antoine Pitrou in branch 'default': Back out 5bd9db528aed (issue #18408). It caused unsolved buildbot failures. http://hg.python.org/cpython/rev/42aecc601a41 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Victor, I'll let you find out how to improve your debug checks, but in the meantime I've reverted the commit that randomly broke some Windows buildbots. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-23 Thread STINNER Victor
STINNER Victor added the comment: I didn't know that buildbots are failing. Do you have at least an example? An error message, anything? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's reported in issue18664 (you're nosied there :-)). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-13 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/98/steps/test/logs/stdio FAIL: test_finalize_runnning_thread (test.test_threading.ThreadTests) -- Traceback (most

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-13 Thread STINNER Victor
STINNER Victor added the comment: TODO: - review and integrate frame_fasttolocals.patch - #18507: import_init() should not use Py_FatalError() but return an error - #18509: CJK decoders should return MBERR_EXCEPTION on PyUnicodeWriter error - fix tests hang when an exception occurs in a thread

[issue18408] Fixes crashes found by pyfailmalloc

2013-08-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset de1ea7f84e08 by Victor Stinner in branch 'default': Issue #18609, #18408: _ctypes_add_traceback() now clears the current exception http://hg.python.org/cpython/rev/de1ea7f84e08 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 026593cbc006 by Victor Stinner in branch 'default': Issue #18519, #18408: Fix sqlite authorizer callback http://hg.python.org/cpython/rev/026593cbc006 -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-19 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: -- nosy: -scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___ ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-19 Thread Stefan Behnel
Stefan Behnel added the comment: @Victor: yes, the Cython project has CI tests running against debug builds of all CPython branches since 2.4, updated daily. lxml is part of an extended set of tests for Cython, and the test suite of lxml includes several compatibility tests for ElementTree.

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f25a7dd8346 by Victor Stinner in branch 'default': Issue #18408: Fix list_ass_slice(), handle list_resize() failure http://hg.python.org/cpython/rev/3f25a7dd8346 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-19 Thread STINNER Victor
STINNER Victor added the comment: import_init() calls Py_FatalError() at any error. This is not kind for Py_NewInterpreter() which calls import_init(): Py_NewInterpreter() exits Python with a fatal error, instead of returning NULL, on import_init() failure. I created the issue #18507 for

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-19 Thread STINNER Victor
STINNER Victor added the comment: fix CJK codecs: using UNIINV to report _PyUnicodeWriter_WriteChar() failure in Modules/cjkcodecs/cjkcodecs.h does not work. The caller is not aware of the failure: multibytecodec_decerror() receives e=1, whereas it should get MBERR_EXCEPTION I created the

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-18 Thread Stefan Behnel
Stefan Behnel added the comment: This test from lxml's ElementTree test suite crashes for me now when run against (c)ElementTree: def test_parser_target_error_in_start(self): assertEqual = self.assertEqual events = [] class Target(object): def

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6ec0e9347dd4 by Victor Stinner in branch 'default': Issue #18408: Fix _elementtree.c, don't call Python function from an expat http://hg.python.org/cpython/rev/6ec0e9347dd4 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-18 Thread STINNER Victor
STINNER Victor added the comment: This test from lxml's ElementTree test suite crashes for me now when run against (c)ElementTree: (...) Thanks for the quick report! Are you testing automatically lxml with the Python HEAD? The issue should be fixed by the changeset 6ec0e9347dd4. I also

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a6cdc0d7de1 by Victor Stinner in branch 'default': Issue #18501, #18408: Fix expat handlers in pyexpat, don't call Python http://hg.python.org/cpython/rev/5a6cdc0d7de1 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-18 Thread STINNER Victor
STINNER Victor added the comment: I created the issue #18488: sqlite: finalize() method of user function may be called with an exception set if a call to step() method failed. -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: listpop.patch: list_resize(a, Py_SIZE(a) + d) for d 0 fails only when PyMem_Realloc(p, n) returns NULL if n allocated size. Is it possible? Is it desired behavior? Perhaps we should declare that PyMem_Realloc() should return the original pointer if it

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Charles-François Natali
Charles-François Natali added the comment: Victor, how about adding pyfailmalloc to the main repo (maybe under Tools), with a script making it easy to run the tests suite with it enabled? This way, it'll make it easier to run it from time to time (one could eve imagine making it part of the

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor, how about adding pyfailmalloc to the main repo (maybe under Tools), with a script making it easy to run the tests suite with it enabled? Seconded. -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: 2013/7/17 Serhiy Storchaka rep...@bugs.python.org: listpop.patch: list_resize(a, Py_SIZE(a) + d) for d 0 fails only when PyMem_Realloc(p, n) returns NULL if n allocated size. Is it possible? Is it desired behavior? Perhaps we should declare that

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: 2013/7/17 Charles-François Natali rep...@bugs.python.org: Victor, how about adding pyfailmalloc to the main repo (maybe under Tools), with a script making it easy to run the tests suite with it enabled? This way, it'll make it easier to run it from time to

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: Open issues (TODO list): - review and apply listpop.patch and frame_fasttolocals.patch - fix CJK codecs: using UNIINV to report _PyUnicodeWriter_WriteChar() failure in Modules/cjkcodecs/cjkcodecs.h does not work. The caller is not aware of the failure:

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b81a535ad14 by Victor Stinner in branch 'default': Issue #18408: Fix structseq_reduce(), handle PyDict_SetItemString() failure http://hg.python.org/cpython/rev/7b81a535ad14 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d3bb9763bf9 by Victor Stinner in branch 'default': Issue #18408: Fix time.tzset(), detect exception when calling PyInit_timezone() http://hg.python.org/cpython/rev/4d3bb9763bf9 New changeset 563b27bef79f by Victor Stinner in branch 'default':

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 736514fb7b52 by Victor Stinner in branch 'default': Issue #18408: Rewrite NEGATE() macro in longobject.c to handle PyLong_FromLong() failure http://hg.python.org/cpython/rev/736514fb7b52 -- ___ Python

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset d85b0c355052 by Victor Stinner in branch 'default': Issue #18408: Fix array_index(), handle getarrayitem() failure http://hg.python.org/cpython/rev/d85b0c355052 New changeset b05a6a6eb525 by Victor Stinner in branch 'default': Issue #18408: Fix

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bae7696951f by Victor Stinner in branch 'default': Issue #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't call http://hg.python.org/cpython/rev/9bae7696951f New changeset 5bd9db528aed by Victor Stinner in branch 'default': Issue #18408:

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ddff866d820d by Victor Stinner in branch 'default': Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure http://hg.python.org/cpython/rev/ddff866d820d -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: Changesets 48a869a39e2d and 5bd9db528aed adding assert(!PyErr_Occurred()); broke some buildbots. I fixed the issue on OpenSolaris, I'm unable to reproduce the 2 remaining issues (I tested on Fedora 18 and FreeBSD 9).

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: Another buildbot failure: [150/375/4] test_ctypes Assertion failed: __EX, file Python/ceval.c, line 4064 Fatal Python error: Aborted Current thread 0x0001: File

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/310/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 533eb9ab895a by Victor Stinner in branch 'default': Issue #18408: Fix fileio_read() on _PyBytes_Resize() failure http://hg.python.org/cpython/rev/533eb9ab895a New changeset f0efd7ea1627 by Victor Stinner in branch 'default': Issue #18408: Fix

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You are great! -- assignee: - haypo nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8696ee49291 by Victor Stinner in branch 'default': Issue #18408: Fix typo in build_node_tree() of the parser module http://hg.python.org/cpython/rev/c8696ee49291 New changeset cf8f42eadbd0 by Victor Stinner in branch 'default': Issue #18408: Fix

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1872555a2f4e by Victor Stinner in branch 'default': Issue #18408: Mention changes in Misc/NEWS http://hg.python.org/cpython/rev/1872555a2f4e -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread STINNER Victor
STINNER Victor added the comment: @Serhiy: Would like to review attached patches listpop.patch (msg193130) and frame_fasttolocals.patch (msg193131)? (Other are already commited) -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-16 Thread STINNER Victor
STINNER Victor added the comment: Oops. @Serhiy: Would *you* like to review attached patches ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread STINNER Victor
STINNER Victor added the comment: listpop.patch: list_ass_slice() now handles listresize() failure when items are deleted. -- Added file: http://bugs.python.org/file30932/listpop.patch ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread STINNER Victor
STINNER Victor added the comment: frame_fasttolocals.patch: Add a new PyFrame_FastToLocalsWithError() function, same than PyFrame_FastToLocals(), except that errors are reported. This function is not atomic: if an error occurs in the middle of map_to_dict(), the frame can enter an

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 735e3c43e61c by Victor Stinner in branch 'default': Issue #18408: Fix pyexpat.ParserCreate() http://hg.python.org/cpython/rev/735e3c43e61c New changeset 27f8ccce687d by Victor Stinner in branch 'default': Issue #18408: Fix CJK decoders, raise

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e42c0a39321 by Victor Stinner in branch 'default': Issue #18408: Fix _Py_DisplaySourceLine() http://hg.python.org/cpython/rev/2e42c0a39321 New changeset 92a9ccb2a521 by Victor Stinner in branch 'default': Issue #18408: add more assertions on

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread STINNER Victor
STINNER Victor added the comment: I created the issue #18469: PyStructSequence does not handle exceptions correctly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread STINNER Victor
STINNER Victor added the comment: import_init() calls Py_FatalError() at any error. This is not kind for Py_NewInterpreter() which calls import_init(): Py_NewInterpreter() exits Python with a fatal error, instead of returning NULL, on import_init() failure. --

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-15 Thread STINNER Victor
STINNER Victor added the comment: New issue #18470: tokenizer.c does not handle new_string() failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01a46dc00fc8 by Victor Stinner in branch 'default': Issue #18408: slot_tp_str() must not fallback on slot_tp_repr() on error http://hg.python.org/cpython/rev/01a46dc00fc8 -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39eb1ce5f377 by Victor Stinner in branch 'default': Issue #18408: ste_new() initialize all attributes before handling error http://hg.python.org/cpython/rev/39eb1ce5f377 New changeset aaa6e8b8a5c9 by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51eddca9dd6f by Victor Stinner in branch 'default': Issue #18408: parsetok() must not write into stderr on memory allocation error http://hg.python.org/cpython/rev/51eddca9dd6f New changeset 5e50f1a0c985 by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4975bcd67aa7 by Victor Stinner in branch 'default': Issue #18408: normalizestring() now raises MemoryError on memory allocation failure http://hg.python.org/cpython/rev/4975bcd67aa7 New changeset 1eac89af9acf by Victor Stinner in branch 'default':

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89c6495d1ff2 by Victor Stinner in branch 'default': Issue #18408: Fix parser.sequence2st() and parser.tuple2st(): raise MemoryError http://hg.python.org/cpython/rev/89c6495d1ff2 New changeset c80a9705803a by Victor Stinner in branch 'default':

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60b1d7967ef8 by Victor Stinner in branch 'default': Issue #18408: Fix create_extra() of _elementtree.c, raise MemoryError on memory http://hg.python.org/cpython/rev/60b1d7967ef8 New changeset 1e0afd558ba3 by Victor Stinner in branch 'default':

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f730c045f5f by Victor Stinner in branch 'default': Issue #18408: Fix call_exc_trace(): if the traceback is NULL, use None when http://hg.python.org/cpython/rev/4f730c045f5f -- ___ Python tracker

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-09 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18408 ___ ___

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
New submission from STINNER Victor: I created a first toy based on the PEP 445 to test of Python handles MemoryError: in short, Python handles them badly... Home page of the project: https://pypi.python.org/pypi/pyfailmalloc I will use this issue to track crashes found by this tool.

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 111c2a070f28 by Victor Stinner in branch 'default': Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitems http://hg.python.org/cpython/rev/111c2a070f28 New changeset ba766323b53a by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: I created a first toy based on the PEP 445 to test of Python handles MemoryError: in short, Python handles them badly... Ooops: to test *how* Python handles.. -- ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba79f6a86300 by Victor Stinner in branch 'default': Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure http://hg.python.org/cpython/rev/ba79f6a86300 New changeset 2ef2edfd1a4c by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: use_failmalloc.patch: Patch to use pyfailmalloc on the Python test suite. Command to run test suite: gdb -args ./python -m test -F. -- keywords: +patch Added file: http://bugs.python.org/file30866/use_failmalloc.patch

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: call_exc_trace.patch: Fix for the call_exc_trace() function when the traceback is not set. -- Added file: http://bugs.python.org/file30867/call_exc_trace.patch ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: type_slot_tp_str.patch: Fix for the __str__ slot of types (slot_tp_str() in typeobject.c). -- Added file: http://bugs.python.org/file30868/type_slot_tp_str.patch ___ Python tracker rep...@bugs.python.org

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: misc_fixes.patch: Misc bugfixes related to MemoryError, this patch should be read carefully. The changes in unicodeobject.c may be written differently. I wrote them to fix a failing assertion (assert(data != NULL);) in _PyUnicode_CheckConsistency(), called