On Wed, Jan 17, 2001 at 01:27:04PM -0800, Guido van Rossum wrote: > Update of /cvsroot/python/python/dist/src/Objects > In directory usw-pr-cvs1:/tmp/cvs-serv14991 > > Modified Files: > object.c > Log Message: > Deal properly (?) with comparing recursive datastructures. >... > - Change the in-progress code to use static variables instead of > globals (both the nesting level and the key for the thread dict were > globals but have no reason to be globals; the key can even be a > function-static variable in get_inprogress_dict()). The "compare_nesting" variable is a bit troublesome long-term -- it will cause threading issues in a free-threaded implementation. The solution is to put the value into the thread-state. [ not sure if it matters right now, but just bringing it up ] Cheers, -g -- Greg Stein, http://www.lyra.org/
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