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/2017-September/149612.html below:

[Python-Dev] Does Cygwin still have broken slot initialization?

[Python-Dev] Does Cygwin still have broken slot initialization? [Python-Dev] Does Cygwin still have broken slot initialization?Stefan Krah stefan at bytereef.org
Wed Sep 20 14:01:56 EDT 2017
Hi,

The docs have this rule for slot initialization for the benefit of Cygwin:

   https://github.com/python/cpython/commit/db6a569de7ae595ada53b618fce6bbbd1c98d350

Synopsis
--------

  -    PyType_GenericNew,         /* tp_new */
  +    noddy_NoddyType.tp_new = PyType_GenericNew;
  +    if (PyType_Ready(&noddy_NoddyType) < 0)
  +        return;



This is absolutely not required by C99 (and probably never was).

'PyType_GenericNew' is an address constant, and MSVC supports it just
fine -- at least since VS 2008.


Does anyone know if Cygwin still misbehaves? I would like to get rid
of this arcane rule.

   https://bugs.python.org/issue31443


Stefan Krah



More information about the Python-Dev mailing list

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