[Python-checkins] r80076 - in python/branches/py3k-issue4970: Lib/test/test_issue4970.py Modules/posixmodule.c

mark.dickinson python-checkins at python.org
Wed Apr 14 19:26:09 CEST 2010


Author: mark.dickinson
Date: Wed Apr 14 19:26:09 2010
New Revision: 80076

Log:
Get glibc and pthread versions on gentoo buildbot.

Modified:
   python/branches/py3k-issue4970/Lib/test/test_issue4970.py
   python/branches/py3k-issue4970/Modules/posixmodule.c

Modified: python/branches/py3k-issue4970/Lib/test/test_issue4970.py
==============================================================================
--- python/branches/py3k-issue4970/Lib/test/test_issue4970.py	(original)
+++ python/branches/py3k-issue4970/Lib/test/test_issue4970.py	Wed Apr 14 19:26:09 2010
@@ -7,6 +7,9 @@
 import _thread
 
 pprint.pprint(os.confstr_names)
+print(os.confstr('CS_GNU_LIBC_VERSION'))
+print(os.confstr('CS_GNU_LIBPTHREAD_VERSION'))
+
 
 try:
     os.execv('/usr/bin/dorothyq', ['dorothyq'])

Modified: python/branches/py3k-issue4970/Modules/posixmodule.c
==============================================================================
--- python/branches/py3k-issue4970/Modules/posixmodule.c	(original)
+++ python/branches/py3k-issue4970/Modules/posixmodule.c	Wed Apr 14 19:26:09 2010
@@ -5981,6 +5981,9 @@
 #ifdef _CS_ARCHITECTURE
     {"CS_ARCHITECTURE",	_CS_ARCHITECTURE},
 #endif
+#ifdef _CS_GNU_LIBC_VERSION
+    {"CS_GNU_LIBC_VERSION", _CS_GNU_LIBC_VERSION},
+#endif
 #ifdef _CS_GNU_LIBPTHREAD_VERSION
     {"CS_GNU_LIBPTHREAD_VERSION", _CS_GNU_LIBPTHREAD_VERSION},
 #endif


More information about the Python-checkins mailing list