[docs] [issue31443] Possibly out of date C extension documentation

Stefan Krah report at bugs.python.org
Sun Sep 17 17:32:15 EDT 2017


Stefan Krah added the comment:

FWIW, I've been using

  https://github.com/python/cpython/blob/master/Modules/_decimal/_decimal.c#L689


the static initialization on problematic platforms like Windows and
AIX for years, without any problems.


I'm sure this is valid C, and people here agree:

https://stackoverflow.com/questions/6989107/cant-initialize-static-structure-with-function-pointer-from-another-translation


Perhaps this was an issue on very old IRIX systems or similar?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31443>
_______________________________________


More information about the docs mailing list