Python-checkins
Threads by month
- ----- 2024 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
November 2007
- 16 participants
- 533 discussions
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
r58901 - in python/branches/release25-maint: Lib/contextlib.py Lib/test/test_with.py Misc/NEWS
by nick.coghlan 07 Nov '07
by nick.coghlan 07 Nov '07
07 Nov '07
Author: nick.coghlan
Date: Wed Nov 7 13:26:40 2007
New Revision: 58901
Modified:
python/branches/release25-maint/Lib/contextlib.py
python/branches/release25-maint/Lib/test/test_with.py
python/branches/release25-maint/Misc/NEWS
Log:
Fix issue #1705170 (backport from trunk)
Modified: python/branches/release25-maint/Lib/contextlib.py
==============================================================================
--- python/branches/release25-maint/Lib/contextlib.py (original)
+++ python/branches/release25-maint/Lib/contextlib.py Wed Nov 7 13:26:40 2007
@@ -25,6 +25,10 @@
else:
raise RuntimeError("generator didn't stop")
else:
+ if value is None:
+ # Need to force instantiation so we can reliably
+ # tell if we get the same exception back
+ value = type()
try:
self.gen.throw(type, value, traceback)
raise RuntimeError("generator didn't stop after throw()")
Modified: python/branches/release25-maint/Lib/test/test_with.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_with.py (original)
+++ python/branches/release25-maint/Lib/test/test_with.py Wed Nov 7 13:26:40 2007
@@ -440,6 +440,7 @@
self.assertAfterWithGeneratorInvariantsNoError(self.bar)
def testRaisedStopIteration1(self):
+ # From bug 1462485
@contextmanager
def cm():
yield
@@ -451,6 +452,7 @@
self.assertRaises(StopIteration, shouldThrow)
def testRaisedStopIteration2(self):
+ # From bug 1462485
class cm(object):
def __enter__(self):
pass
@@ -463,7 +465,21 @@
self.assertRaises(StopIteration, shouldThrow)
+ def testRaisedStopIteration3(self):
+ # Another variant where the exception hasn't been instantiated
+ # From bug 1705170
+ @contextmanager
+ def cm():
+ yield
+
+ def shouldThrow():
+ with cm():
+ raise iter([]).next()
+
+ self.assertRaises(StopIteration, shouldThrow)
+
def testRaisedGeneratorExit1(self):
+ # From bug 1462485
@contextmanager
def cm():
yield
@@ -475,6 +491,7 @@
self.assertRaises(GeneratorExit, shouldThrow)
def testRaisedGeneratorExit2(self):
+ # From bug 1462485
class cm (object):
def __enter__(self):
pass
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Wed Nov 7 13:26:40 2007
@@ -32,6 +32,9 @@
Library
-------
+- Issue #1705170: contextlib.contextmanager was still swallowing
+ StopIteration in some cases. This should no longer happen.
+
- Bug #1307: Fix smtpd so it doesn't raise an exception when there is no arg.
- ctypes will now work correctly on 32-bit systems when Python is
1
0
Author: nick.coghlan
Date: Wed Nov 7 12:57:51 2007
New Revision: 58900
Modified:
python/trunk/Misc/NEWS
Log:
Add missing NEWS entry
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Nov 7 12:57:51 2007
@@ -274,6 +274,9 @@
Library
-------
+- Issue #1705170: contextlib.contextmanager was still swallowing
+ StopIteration in some cases. This should no longer happen.
+
- Issue #1292: On alpha, arm, ppc, and s390 linux systems the
--with-system-ffi configure option defaults to "yes".
1
0
The Buildbot has detected a new failure of amd64 XP 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%203.0/builds/211
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason: The web-page 'force build' button was pressed by '':
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist:
BUILD FAILED: failed compile
sincerely,
-The Buildbot
1
0
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_aepack
test_aepack skipped -- No module named aepack
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test test_bsddb3 failed -- errors occurred; run in verbose mode for details
test_buffer
test_bufio
test_bz2
test_cProfile
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compiler
testCompileLibrary still working, be patient...
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test_ctypes
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_difflib
test_dircache
test_dis
test_distutils
test_dl
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_gc
test_gdbm
test_generators
test_genericpath
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imageop
test_imageop skipped -- No module named imgfile
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_index
test_inspect
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_largefile
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_normalization
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test_popen
[7357 refs]
[7357 refs]
[7357 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
[7732 refs]
[7732 refs]
test_random
test_re
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
test_slice
test_smtplib
test_socket
test_socket_ssl
/tmp/python-test/local/lib/python2.6/test/test_socket_ssl.py:94: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
ssl_sock = socket.ssl(s)
/tmp/python-test/local/lib/python2.6/test/test_socket_ssl.py:60: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
ss = socket.ssl(s)
test_socketserver
test_softspace
test_sort
test_sqlite
test_ssl
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_struct
test_structmembers
test_structseq
test_subprocess
[7352 refs]
[7353 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7353 refs]
[8966 refs]
[7568 refs]
[7353 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
.
[7352 refs]
[7352 refs]
this bit of output is from a test of stdout in a different process ...
[7352 refs]
[7352 refs]
[7568 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7352 refs]
[7352 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7356 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
test_threading_local
test_threadsignals
test_time
test_timeout
test_tokenize
test_trace
test_traceback
test_transformer
test_tuple
test_typechecks
test_ucn
test_unary
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_unpack
test_urllib
test_urllib2
test_urllib2_localnet
test_urllib2net
test_urllibnet
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_uuid
WARNING: uuid.getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._unixdll_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
test_wait3
test_wait4
test_warnings
test_wave
test_weakref
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zlib
307 tests OK.
1 test failed:
test_bsddb3
21 tests skipped:
test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
test_gl test_imageop test_imgfile test_ioctl test_macostools
test_pep277 test_plistlib test_scriptpackages test_startfile
test_sunaudiodev test_tcl test_unicode_file test_winreg
test_winsound test_zipfile64
1 skip unexpected on linux2:
test_ioctl
[518046 refs]
1
0
The Buildbot has detected a new failure of alpha Tru64 5.1 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/alpha%20Tru64%205.1%202.5/builds/345
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-tru64
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
1
0
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
r58897 - in python/branches/release25-maint: Lib/bsddb/test/test_recno.py Modules/_bsddb.c
by gregory.p.smith 07 Nov '07
by gregory.p.smith 07 Nov '07
07 Nov '07
Author: gregory.p.smith
Date: Wed Nov 7 08:25:20 2007
New Revision: 58897
Modified:
python/branches/release25-maint/Lib/bsddb/test/test_recno.py
python/branches/release25-maint/Modules/_bsddb.c
Log:
* fix failing test_recno.py - backport from trunk.
* bump _bsddb patch version number.
Modified: python/branches/release25-maint/Lib/bsddb/test/test_recno.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_recno.py (original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_recno.py Wed Nov 7 08:25:20 2007
@@ -118,7 +118,7 @@
assert not d.has_key(13)
data = d.get_both(26, "z" * 60)
- assert data == "z" * 60
+ assert data == "z" * 60, 'was %r' % data
if verbose:
print data
@@ -203,10 +203,10 @@
just a line in the file, but you can set a different record delimiter
if needed.
"""
- source = os.path.join(os.path.dirname(sys.argv[0]),
- 'db_home/test_recno.txt')
- if not os.path.isdir('db_home'):
- os.mkdir('db_home')
+ homeDir = os.path.join(tempfile.gettempdir(), 'db_home')
+ source = os.path.join(homeDir, 'test_recno.txt')
+ if not os.path.isdir(homeDir):
+ os.mkdir(homeDir)
f = open(source, 'w') # create the file
f.close()
Modified: python/branches/release25-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release25-maint/Modules/_bsddb.c (original)
+++ python/branches/release25-maint/Modules/_bsddb.c Wed Nov 7 08:25:20 2007
@@ -98,7 +98,7 @@
#error "eek! DBVER can't handle minor versions > 9"
#endif
-#define PY_BSDDB_VERSION "4.4.5.2"
+#define PY_BSDDB_VERSION "4.4.5.3"
static char *rcs_id = "$Id$";
1
0
The Buildbot has detected a new failure of hppa Ubuntu trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/hppa%20Ubuntu%20trunk/builds/267
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-hppa
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_bsddb3 test_ssl
======================================================================
ERROR: test00_associateDBError (bsddb.test.test_associate.AssociateErrorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 104, in setUp
self.env.open(homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.AssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.AssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.AssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.AssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.AssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.AssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.AssociateBTreeTxnTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.AssociateBTreeTxnTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test13_associate_in_transaction (bsddb.test.test_associate.AssociateBTreeTxnTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ShelveAssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ShelveAssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateHashTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateBTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_associateWithDB (bsddb.test.test_associate.ThreadedAssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_associateAfterDB (bsddb.test.test_associate.ThreadedAssociateRecnoTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_associate.py", line 165, in setUp
db.DB_INIT_LOCK | db.DB_THREAD | self.envFlags)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test07_EnvRemoveAndRename (bsddb.test.test_basics.BasicBTreeWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test07_EnvRemoveAndRename (bsddb.test.test_basics.BasicHashWithEnvTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Transactions (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test07_TxnTruncate (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test08_TxnLateUse (bsddb.test.test_basics.BTreeTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Transactions (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test07_TxnTruncate (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test08_TxnLateUse (bsddb.test.test_basics.HashTransactionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test09_MultiDB (bsddb.test.test_basics.BTreeMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_GetsAndPuts (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_DictionaryMethods (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_SimpleCursorStuff (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithGetReturnsNone1 (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03b_SimpleCursorWithoutGetReturnsNone0 (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03c_SimpleCursorGetReturnsNone2 (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_PartialGetAndPut (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test05_GetSize (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test06_Truncate (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test09_MultiDB (bsddb.test.test_basics.HashMultiDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_basics.py", line 71, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_both (bsddb.test.test_dbobj.dbobjTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbobj.py", line 45, in test01_both
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbobj.py", line 39, in open
return apply(self._cobj.open, args, kwargs)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_dbobj_dict_interface (bsddb.test.test_dbobj.dbobjTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbobj.py", line 58, in test02_dbobj_dict_interface
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbobj.py", line 39, in open
return apply(self._cobj.open, args, kwargs)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_basics (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_cursors (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_append (bsddb.test.test_dbshelve.EnvBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_basics (bsddb.test.test_dbshelve.EnvHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_cursors (bsddb.test.test_dbshelve.EnvHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_append (bsddb.test.test_dbshelve.EnvHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_basics (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_cursors (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_append (bsddb.test.test_dbshelve.EnvThreadBTreeShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_basics (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_cursors (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_append (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 253, in do_open
self.env.open(homeDir, self.envflags | db.DB_INIT_MPOOL | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test04_MultiCondSelect (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_CondObjs (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_CreateOrExtend (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_Delete (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 57, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/dbtables.py", line 161, in __init__
self.env.open(dbhome, myflags | flagsforenv)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_close_dbenv_before_db (bsddb.test.test_env_close.DBEnvClosedEarlyCrash)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_env_close.py", line 53, in test01_close_dbenv_before_db
0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_close_dbenv_delete_db_success (bsddb.test.test_env_close.DBEnvClosedEarlyCrash)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_env_close.py", line 78, in test02_close_dbenv_delete_db_success
0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_join (bsddb.test.test_join.JoinTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_join.py", line 57, in setUp
self.env.open(homeDir, db.DB_CREATE | db.DB_INIT_MPOOL | db.DB_INIT_LOCK )
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_simple (bsddb.test.test_lock.LockingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 38, in setUp
db.DB_INIT_LOCK | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_threaded (bsddb.test.test_lock.LockingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 38, in setUp
db.DB_INIT_LOCK | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_set_timeout (bsddb.test.test_lock.LockingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 38, in setUp
db.DB_INIT_LOCK | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_db_home (bsddb.test.test_misc.MiscTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_misc.py", line 45, in test02_db_home
env.open(self.homeDir, db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_1WriterMultiReaders (bsddb.test.test_thread.BTreeConcurrentDataStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test01_1WriterMultiReaders (bsddb.test.test_thread.HashConcurrentDataStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_SimpleLocks (bsddb.test.test_thread.BTreeSimpleThreaded)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test02_SimpleLocks (bsddb.test.test_thread.HashSimpleThreaded)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_ThreadedTransactions (bsddb.test.test_thread.BTreeThreadedTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_ThreadedTransactions (bsddb.test.test_thread.HashThreadedTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_ThreadedTransactions (bsddb.test.test_thread.BTreeThreadedNoWaitTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test03_ThreadedTransactions (bsddb.test.test_thread.HashThreadedNoWaitTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_thread.py", line 64, in setUp
self.env.open(homeDir, self.envflags | db.DB_CREATE)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_cachesize (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_flags (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_get (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_get_dbp (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_get_key (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_range (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_remove (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_stat (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py", line 29, in setUp
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
======================================================================
ERROR: test_pget (bsddb.test.test_cursor_pget_bug.pget_bugTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_cursor_pget_bug.py", line 25, in setUp
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
DBInvalidArgError: (22, 'Invalid argument -- Berkeley DB library configured to support only private environments')
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
Author: raymond.hettinger
Date: Wed Nov 7 03:45:46 2007
New Revision: 58896
Modified:
python/trunk/Misc/NEWS
python/trunk/Python/ceval.c
Log:
Add build option for faster loop execution.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Nov 7 03:45:46 2007
@@ -1042,6 +1042,11 @@
Build
-----
+- Add a FAST_LOOPS build option that speeds-up looping by trading away
+ periodic threadstate and signal checking in tight loops. By default,
+ this option is turned-off. It should only be enabled in debugged,
+ performance critical applications.
+
- Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c (original)
+++ python/trunk/Python/ceval.c Wed Nov 7 03:45:46 2007
@@ -2159,7 +2159,18 @@
PREDICTED_WITH_ARG(JUMP_ABSOLUTE);
case JUMP_ABSOLUTE:
JUMPTO(oparg);
+#if FAST_LOOPS
+ /* Enabling this path speeds-up all while and for-loops by bypassing
+ the per-loop checks for signals. By default, this should be turned-off
+ because it prevents detection of a control-break in tight loops like
+ "while 1: pass". Compile with this option turned-on when you need
+ the speed-up and do not need break checking inside tight loops (ones
+ that contain only instructions ending with goto fast_next_opcode).
+ */
+ goto fast_next_opcode;
+#else
continue;
+#endif
case GET_ITER:
/* before: [obj]; after [getiter(obj)] */
1
0
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_aepack
test_aepack skipped -- No module named aepack
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test test_asynchat failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 169, in test_simple_producer
self.assertEqual(c.contents, ["hello world", "I'm not dead yet!"])
AssertionError: [] != ['hello world', "I'm not dead yet!"]
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_buffer
test_bufio
test_bz2
test_cProfile
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_hk
test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_jp
test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_kr
test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_tw
test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compiler
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test_ctypes
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_difflib
test_dircache
test_dis
test_distutils
test_dl
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_gc
test_gdbm
test_generators
test_genericpath
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imageop
test_imageop skipped -- No module named imgfile
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_index
test_inspect
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_largefile
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_normalization
test_normalization skipped -- Use of the `urlfetch' resource not enabled
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test_popen
[7357 refs]
[7357 refs]
[7357 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
[7732 refs]
[7732 refs]
test_random
test_re
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
test_slice
test_smtplib
test_socket
test_socket_ssl
/tmp/python-test/local/lib/python2.6/test/test_socket_ssl.py:94: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
ssl_sock = socket.ssl(s)
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_ssl
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_struct
test_structmembers
test_structseq
test_subprocess
[7352 refs]
[7353 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7353 refs]
[8966 refs]
[7568 refs]
[7353 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
[7352 refs]
.
[7352 refs]
[7352 refs]
this bit of output is from a test of stdout in a different process ...
[7352 refs]
[7352 refs]
[7568 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7352 refs]
[7352 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7356 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tokenize
test_trace
test_traceback
test_transformer
test_tuple
test_typechecks
test_ucn
test_unary
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_unpack
test_urllib
test_urllib2
test_urllib2_localnet
test_urllib2net
test_urllib2net skipped -- Use of the `network' resource not enabled
test_urllibnet
test_urllibnet skipped -- Use of the `network' resource not enabled
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_uuid
WARNING: uuid.getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._unixdll_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
test_wait3
test_wait4
test_warnings
test_wave
test_weakref
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zlib
296 tests OK.
1 test failed:
test_asynchat
35 tests skipped:
test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_gl test_imageop test_imgfile test_ioctl test_linuxaudiodev
test_macostools test_normalization test_ossaudiodev test_pep277
test_plistlib test_scriptpackages test_socketserver test_startfile
test_sunaudiodev test_tcl test_timeout test_unicode_file
test_urllib2net test_urllibnet test_winreg test_winsound
test_zipfile64
1 skip unexpected on linux2:
test_ioctl
[507800 refs]
1
0
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
r58895 - in python/trunk: Lib/test/test_dict.py Objects/dictobject.c
by raymond.hettinger 07 Nov '07
by raymond.hettinger 07 Nov '07
07 Nov '07
Author: raymond.hettinger
Date: Wed Nov 7 03:26:17 2007
New Revision: 58895
Modified:
python/trunk/Lib/test/test_dict.py
python/trunk/Objects/dictobject.c
Log:
Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset counts for example.
Modified: python/trunk/Lib/test/test_dict.py
==============================================================================
--- python/trunk/Lib/test/test_dict.py (original)
+++ python/trunk/Lib/test/test_dict.py Wed Nov 7 03:26:17 2007
@@ -243,6 +243,10 @@
self.assertRaises(Exc, baddict2.fromkeys, [1])
+ # test fast path for dictionary inputs
+ d = dict(zip(range(6), range(6)))
+ self.assertEqual(dict.fromkeys(d, 0), dict(zip(range(6), [0]*6)))
+
def test_copy(self):
d = {1:1, 2:2, 3:3}
self.assertEqual(d.copy(), {1:1, 2:2, 3:3})
Modified: python/trunk/Objects/dictobject.c
==============================================================================
--- python/trunk/Objects/dictobject.c (original)
+++ python/trunk/Objects/dictobject.c Wed Nov 7 03:26:17 2007
@@ -1184,6 +1184,25 @@
if (d == NULL)
return NULL;
+ if (PyDict_CheckExact(d) && PyDict_CheckExact(seq)) {
+ PyDictObject *mp = (PyDictObject *)d;
+ PyObject *oldvalue;
+ Py_ssize_t pos = 0;
+ PyObject *key;
+ long hash;
+
+ if (dictresize(mp, ((PyDictObject *)seq)->ma_used))
+ return NULL;
+
+ while (_PyDict_Next(seq, &pos, &key, &oldvalue, &hash)) {
+ Py_INCREF(key);
+ Py_INCREF(value);
+ if (insertdict(mp, key, hash, value))
+ return NULL;
+ }
+ return d;
+ }
+
if (PyDict_CheckExact(d) && PyAnySet_CheckExact(seq)) {
PyDictObject *mp = (PyDictObject *)d;
Py_ssize_t pos = 0;
1
0