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'
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
>>
Changes by Peter Ingebretson :
--
nosy: +pingebretson
___
Python tracker
<http://bugs.python.org/issue16465>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
___
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
Changes by Peter Ingebretson :
Removed file: http://bugs.python.org/file19361/python_remap.diff
___
Python tracker
<http://bugs.python.org/issue10194>
___
___
Python-bug
Changes by Peter Ingebretson :
Added file: http://bugs.python.org/file19362/issue10194_gc_remap.diff
___
Python tracker
<http://bugs.python.org/issue10194>
___
___
Pytho
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