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

[Python-Dev] GC and ExtensionClass - a summary of the problem and a workaround

[Python-Dev] GC and ExtensionClass - a summary of the problem and a workaround [Python-Dev] GC and ExtensionClass - a summary of the problem and a workaroundGordon McMillan gmcm@hypernet.com
Thu, 17 May 2001 09:00:27 -0400
[Skip] 

> Note that the parameter to the PyObject_HEAD_INIT macro is NULL. 
> It would normally be the address of a type object (e.g.
> &PyType_Type).  However, Jim Fulton pointed out that on Windows
> you can't get the address of &PyType_Type object at compile time.

This is MS being passive-aggressive. If you tell MSVC the 
source is C++, it will magically find the address of 
PyType_Type at compile time, but their language lawyers 
apparently  believe the C spec disallows this. Standards 
conformant and incompatible -

what-MS-calls-"win-win"-ly y'rs

- Gordon



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