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

Crutcher Dunnavant crutcher at gmail.com
Wed Jan 11 01:25:07 CET 2006


1402289

On 1/10/06, Aahz <aahz at pythoncraft.com> wrote:
> On Tue, Jan 10, 2006, Crutcher Dunnavant wrote:
> >
> > 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.
>
> Please submit the patch to SourceForge and report back with the SF ID.
> --
> Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/
>
> "19. A language that doesn't affect the way you think about programming,
> is not worth knowing."  --Alan Perlis
>


--
Crutcher Dunnavant <crutcher at gmail.com>
monket.samedi-studios.com


More information about the Python-Dev mailing list