[issue20637] Support key-sharing dictionaries in subclasses

2014-02-16 Thread Peter Ingebretson
Peter Ingebretson added the comment: Thanks Mark, I agree. I thought that assigning to tp_dictoffset in inherit_special was redundant with the assignment in inherit_slot and the assignment I added, but I see that COPYSLOT and COPYVAL are slightly different and extension types won'

[issue20637] Support key-sharing dictionaries in subclasses

2014-02-15 Thread Peter Ingebretson
New submission from Peter Ingebretson: PEP 412 shared keys are not created for subclasses in Python 3.3 and 3.4: >>> import sys >>> class A: ... pass ... >>> class B(A): ... pass ... >>> a, b = A(), B() >>> sys.getsizeof(vars(a)) 96 >>

[issue16465] dict creation performance regression

2014-02-14 Thread Peter Ingebretson
Changes by Peter Ingebretson : -- nosy: +pingebretson ___ Python tracker <http://bugs.python.org/issue16465> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10194] Add gc.remap() function to the gc module.

2010-10-26 Thread Peter Ingebretson
Peter Ingebretson added the comment: Closing due to general lack of support on python-dev. Some portion of this implementation may come back as part of a PEP reference implementation. -- resolution: -> rejected status: open -> closed ___

[issue10194] Add gc.remap() function to the gc module.

2010-10-26 Thread Peter Ingebretson
Peter Ingebretson added the comment: Thanks, I've started a thread on python-dev to discuss the patch. -- ___ Python tracker <http://bugs.python.org/is

[issue10194] Add gc.remap() function to the gc module.

2010-10-25 Thread Peter Ingebretson
Changes by Peter Ingebretson : Removed file: http://bugs.python.org/file19361/python_remap.diff ___ Python tracker <http://bugs.python.org/issue10194> ___ ___ Python-bug

[issue10194] Add gc.remap() function to the gc module.

2010-10-25 Thread Peter Ingebretson
Changes by Peter Ingebretson : Added file: http://bugs.python.org/file19362/issue10194_gc_remap.diff ___ Python tracker <http://bugs.python.org/issue10194> ___ ___ Pytho

[issue10194] Add gc.remap() function to the gc module.

2010-10-25 Thread Peter Ingebretson
New submission from Peter Ingebretson : This patch implements the gc.remap() function as described in the following document: http://doublestar.org/in-place-python-reloading/ The intended use is an enhanced module reloading mechanism, a prototype of which is described here: http