[New-bugs-announce] [issue18254] Accessing attr dict at definition time of a class from a metaclass results in changed type.
Archard Lias
report at bugs.python.org
Tue Jun 18 12:21:45 CEST 2013
New submission from Archard Lias:
Accessing (just iterating or accessing in any way) the dict_proxy to the attribute dictionary in the `MessageMeta` metaclass, results in a change of "type" in any metaclass inheriting class definitions.
Reproducible in CPython versions (tested so far):
3.2.2
3.2.3
Works as of, or at least behaves as I subjectively intended to use it (only version tested)
3.3.2
----------
components: Interpreter Core
files: bugreport_cpython3.2.3.py
messages: 191394
nosy: archardlias
priority: normal
severity: normal
status: open
title: Accessing attr dict at definition time of a class from a metaclass results in changed type.
versions: Python 3.2
Added file: http://bugs.python.org/file30636/bugreport_cpython3.2.3.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18254>
_______________________________________
More information about the New-bugs-announce
mailing list