[New-bugs-announce] [issue3974] collections.namedtuple uses exec to create new classes

Jens Kadenbach report at bugs.python.org
Fri Sep 26 14:01:54 CEST 2008


New submission from Jens Kadenbach <j.kadenbach at gmx.de>:

Rewrite of the namedtuple implementation to avoid the use of exec for
class generation.  The new code uses a custom class dictionary and the
builtin type to create new classes dynamically.

----------
components: Library (Lib)
files: new_namedtuples.diff
keywords: patch
messages: 73844
nosy: audax
severity: normal
status: open
title: collections.namedtuple uses exec to create new classes
versions: Python 2.6
Added file: http://bugs.python.org/file11608/new_namedtuples.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3974>
_______________________________________


More information about the New-bugs-announce mailing list