A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017830.html below:

Painful death in debug build

: [Python-Dev] RE: Painful death in debug build : [Python-Dev] RE: Painful death in debug buildGuido van Rossum guido@python.org
Sat, 06 Oct 2001 14:42:55 -0400
So the problem is that one size calculation rounds up to multiples of
a pointer size and the other doesn't; unfortunately the one that
doesn't gets passed to malloc.  The reason for the rounding up --a
recent addition-- is that when you derive a subclass from tuple,
string or long, the __dict__ of the subclass instance (and its weakref
list head) are allocated after the variable-length portion of the
instance.  I propose to fix the other size calculation to also round
up.  I'll leave it to you to fix this, since you've almost nailed this
already (and since I'm not feeling so great right now).

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4