There is an inconsistancy in the way that dictionary subclasses behave when they are used as as namespaces in execs. Basically, while python 2.4 permits the usage of dictionary subclasses for local environments, it still bypasses the subclass functions and uses the C API for global environments. The attached patch (and unittest!) addresses this issue. I'm pretty sure we keep the fast path in this. -- Crutcher Dunnavant <crutcher at gmail.com> monket.samedi-studios.com -------------- next part -------------- A non-text attachment was scrubbed... Name: dictsubclassexec.patch Type: application/octet-stream Size: 6621 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20060110/34be979a/attachment.obj
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