summaryrefslogtreecommitdiffstats
path: root/Include/compile.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-01-23 23:29:44 (GMT)
committerGuido van Rossum <guido@python.org>1997-01-23 23:29:44 (GMT)
commitf2b2dac5eb84fbfb410e5066d24faa2f27423146 (patch)
treea8e4e5433d02481bf32cd2605f526c158ae13a07 /Include/compile.h
parentca756f2a1d8353812223af380166c826ffefcc2c (diff)
downloadcpython-f2b2dac5eb84fbfb410e5066d24faa2f27423146.zip
cpython-f2b2dac5eb84fbfb410e5066d24faa2f27423146.tar.gz
cpython-f2b2dac5eb84fbfb410e5066d24faa2f27423146.tar.bz2
Initialize the ob_type field of PyAST_Type dynamically (in
initparser()) instead of statically (in the initializer). The static initialization, using the address of an object in a different DLL, is too much for the Microsoft VC++ compiler, and we want to be able to build this module as a separate DLL (it's nice to have but we don't want to increase the core DLL's size by 25K). This same trick has been applied to a number of modules, e.g. NumPy and _tkinter.
Diffstat (limited to 'Include/compile.h')
0 files changed, 0 insertions, 0 deletions