> > To check if Rob's program works better without it, you can comment > > out the "_flatten = _tkinter._flatten" line in Tkinter.py (it's line 70 or > > so, iirc). > > That fixes the crash as well. in other words, _PyTuple_Resize needs some work... (or does _flatten do something wrong? it starts by creating a tuple, and if it needs more space, it doubles the size one or more times, and ends by calling Resize again to set the final size...) ::: btw, the start of Resize looks a bit strange: should that DECREF really be there? should least be an XDECREF, or am I missing something? if (v == NULL || !PyTuple_Check(v) || v->ob_refcnt != 1) { *pv = 0; Py_DECREF(v); /* really? what if v is NULL? */ PyErr_BadInternalCall(); return -1; } </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4