Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ad40e commit 5f7e8daCopy full SHA for 5f7e8da
2 files changed
Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1?
10
Core and Builtins
11
-----------------
12
13
+- Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation
14
+ failure.
15
+
16
- Issue #16546: Fix: ast.YieldFrom argument is now mandatory.
17
18
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
Objects/stringlib/join.h
@@ -43,6 +43,7 @@ STRINGLIB(bytes_join)(PyObject *sep, PyObject *iterable)
43
buffers = PyMem_NEW(Py_buffer, seqlen);
44
if (buffers == NULL) {
45
Py_DECREF(seq);
46
+ PyErr_NoMemory();
47
return NULL;
48
}
49
0 commit comments