A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059625.html below:

[Python-Dev] [PATCH] Fix dictionary subclass semantics when used as global dictionaries

[Python-Dev] [PATCH] Fix dictionary subclass semantics when used as global dictionaries [Python-Dev] [PATCH] Fix dictionary subclass semantics when used as global dictionariesCrutcher Dunnavant crutcher at gmail.com
Wed Jan 11 00:47:18 CET 2006
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 
More information about the Python-Dev mailing list

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