mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
More bug #1077106 stuff, sorry -- modem induced impatiece!
This should go on whatever bugfix branches the other fetches up on.
This commit is contained in:
parent
9867ced6c2
commit
faa7648ffe
2 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,7 @@ PyObject *
|
|||
PyString_FromStringAndSize(const char *str, int size)
|
||||
{
|
||||
register PyStringObject *op;
|
||||
assert(size >= 0);
|
||||
if (size == 0 && (op = nullstring) != NULL) {
|
||||
#ifdef COUNT_ALLOCS
|
||||
null_strings++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue