[Python-Dev] r85559 - in python/branches/py3k: Doc/library/sys.rst Lib/distutils/command/build_ext.py Lib/distutils/tests/test_build_ext.py Lib/test/test_sys.py Makefile.pre.in Misc/python-config.in Python/sysmodule.c configure configure.in (original) (raw)

Georg Brandl g.brandl at gmx.net
Sat Oct 16 13:50:30 CEST 2010


Am 16.10.2010 03:04, schrieb barry.warsaw:

Author: barry.warsaw Date: Sat Oct 16 03:04:07 2010 New Revision: 85559

Log: First (uncontroversial) part of issue 9807. * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.

Modified: python/branches/py3k/Doc/library/sys.rst python/branches/py3k/Lib/distutils/command/buildext.py python/branches/py3k/Lib/distutils/tests/testbuildext.py python/branches/py3k/Lib/test/testsys.py python/branches/py3k/Makefile.pre.in python/branches/py3k/Misc/python-config.in python/branches/py3k/Python/sysmodule.c python/branches/py3k/configure python/branches/py3k/configure.in Modified: python/branches/py3k/Doc/library/sys.rst ============================================================================== --- python/branches/py3k/Doc/library/sys.rst (original) +++ python/branches/py3k/Doc/library/sys.rst Sat Oct 16 03:04:07 2010 @@ -955,6 +955,11 @@ module for informational purposes; modifying this value has no effect on the registry keys used by Python. Availability: Windows. +.. data:: abiflags + + On POSIX systems where Python is build with the standard configure + script, this contains the ABI flags as specified by :pep:3149. +

Needs a versionadded. Also, I think we at least tried to maintain a rough alphabetical order of sys members...

Georg

-- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list