[Python-checkins] r71369 - python/branches/release30-maint/setup.py
matthias.klose
python-checkins at python.org
Tue Apr 7 18:11:56 CEST 2009
Author: matthias.klose
Date: Tue Apr 7 18:11:56 2009
New Revision: 71369
Log:
Merged revisions 71368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71368 | matthias.klose | 2009-04-07 18:08:29 +0200 (Di, 07 Apr 2009) | 4 lines
Don't check for broken Berkley-DB versions on some platforms; the
test was required for the _bsddb3 extension, not necessary for the
_dbm extension.
........
Modified:
python/branches/release30-maint/setup.py
Modified: python/branches/release30-maint/setup.py
==============================================================================
--- python/branches/release30-maint/setup.py (original)
+++ python/branches/release30-maint/setup.py Tue Apr 7 18:11:56 2009
@@ -5,7 +5,6 @@
import sys, os, imp, re, optparse
from glob import glob
-from platform import machine as platform_machine
from distutils import log
from distutils import sysconfig
@@ -686,13 +685,6 @@
"""
if not (min_db_ver <= db_ver <= max_db_ver):
return False
- # Use this function to filter out known bad configurations.
- if (4, 6) == db_ver[:2]:
- # BerkeleyDB 4.6.x is not stable on many architectures.
- arch = platform_machine()
- if arch not in ('i386', 'i486', 'i586', 'i686',
- 'x86_64', 'ia64'):
- return False
return True
def gen_db_minor_ver_nums(major):
More information about the Python-checkins
mailing list