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-May/014737.html below:

[Python-Dev] GC and ExtensionClass

[Python-Dev] GC and ExtensionClass [Python-Dev] GC and ExtensionClassMartin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 12 May 2001 21:16:58 +0200
> Has anyone investigated interactions between ExtensionClass objects
> and GC?

At some point, extension classes used a literal copy of
PyTypeObject. Unfortunately, that copy was made with Python 1.4 or so,
and only had the spare fields that were expected then. Today,
PyTypeObject has much more fields, so extension objects produce random
errors (eg. with GC) when used in a modern interpreter (where the copy
has not been synchronized). Whatever immediately follows the type
object in memory may be interpreted as GC flag.

Regards,
Martin



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