New submission from Jim Nasby:
Attached patch fixes two comments in dictobject.c referring to no longer
exposed _PyThreadState_Current variable. I also tweaked the grammar for that
issue in NEWS, since it came up in my search. Apologies if that's considered
gratuitous
Jim Nasby added the comment:
This is still affecting me on 2.7, even with the new changes. 3.7 seems to be
OK (I'm getting a different error on 3.7, but it seems unrelated to this.)
OS X 10.11.6.
--
nosy: +Jim Nasby
___
Python tracker
Jim Nasby added the comment:
I take it back... turns out I was building with the unsupported macports gcc.
--
___
Python tracker
<http://bugs.python.org/issue29
New submission from Jim Nasby:
In PyTuple_New, if the new tuple won't go on the free_list:
/* Check for overflow */
if (nbytes / sizeof(PyObject *) != (size_t)size ||
(nbytes > PY_SSIZE_T_MAX - sizeof(PyTupleObject) -
sizeof(
New submission from Jim Nasby:
The code for the set_all() example has a formatting bug:
return -1;
}
Py_DECREF(index);
}
it should be
return -1;
}
Py_DECREF(index);
}
--
assignee: docs@python
components: Documentation
New submission from Jim Nasby:
A '*' in fnmatch.translate is converted into '.*', which will greedily match
directory separators. This doesn't match shell behavior, which is that * will
only match file names:
decibel@decina:[14:07]~$ls ~/tmp/*/1|head
ls: /Users/deci