From python-checkins at python.org Mon Oct 1 01:19:14 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 1 Oct 2007 01:19:14 +0200 (CEST)
Subject: [Python-checkins] r58290 - peps/trunk/pep-3137.txt
Message-ID: <20070930231914.BA3D31E4007@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 1 01:19:14 2007
New Revision: 58290
Modified:
peps/trunk/pep-3137.txt
Log:
Changed my mind on comparing bytes to str.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 1 01:19:14 2007
@@ -8,7 +8,7 @@
Content-Type: text/x-rst
Created: 26-Sep-2007
Python-Version: 3.0
-Post-History: 26-Sep-2007
+Post-History: 26-Sep-2007, 30-Sep-2007
Introduction
============
@@ -124,8 +124,18 @@
The bytes and buffer types are comparable with each other and
orderable, so that e.g. b'abc' == buffer(b'abc') < b'abd'.
-Comparing either type to a str object raises an exception. This
-turned out to be necessary to catch common mistakes.
+Comparing either type to a str object for equality returns False
+regardless of the contents of either operand. Ordering comparisons
+with str raise TypeError. This is all conformant to the standard
+rules for comparison and ordering between objects of incompatible
+types.
+
+(**Note:** in Python 3.0a1, comparing a bytes instance with a str
+instance would raise TypeError, on the premise that this would catch
+the occasional mistake quicker, especially in code ported from Python
+2.x. However, a long discussion on the python-3000 list pointed out
+so many problems with this that it is clearly a bad idea, to be rolled
+back in 3.0a2 regardless of the fate of the rest of this PEP.)
Slicing
-------
From python-checkins at python.org Mon Oct 1 04:58:22 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 1 Oct 2007 04:58:22 +0200 (CEST)
Subject: [Python-checkins] r58291 - peps/trunk/pep-3137.txt
Message-ID: <20071001025822.8DB571E400C@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 1 04:58:22 2007
New Revision: 58291
Modified:
peps/trunk/pep-3137.txt
Log:
Fix another paragraph that was referring to bytes()==str() raising TypeError.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 1 04:58:22 2007
@@ -234,12 +234,11 @@
----------------------
Like the bytes type in Python 3.0a1, and unlike the relationship
-between str and unicode in Python 2.x, any attempt to mix bytes (or
+between str and unicode in Python 2.x, attempts to mix bytes (or
buffer) objects and str objects without specifying an encoding will
-raise a TypeError exception. This is the case even for simply
-comparing a bytes or buffer object to a str object (even violating the
-general rule that comparing objects of different types for equality
-should just return False).
+raise a TypeError exception. (However, comparing bytes/buffer and str
+objects for equality will simply return False; see the section on
+Comparisons above.)
Conversions between bytes or buffer objects and str objects must
always be explicit, using an encoding. There are two equivalent APIs:
From python-checkins at python.org Mon Oct 1 16:43:58 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 1 Oct 2007 16:43:58 +0200 (CEST)
Subject: [Python-checkins] r58292 - peps/trunk/pep-3137.txt
Message-ID: <20071001144358.47C9D1E4013@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 1 16:43:57 2007
New Revision: 58292
Modified:
peps/trunk/pep-3137.txt
Log:
Typo reported by Mark Summerfield.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 1 16:43:57 2007
@@ -143,7 +143,7 @@
Slicing a bytes object returns a bytes object. Slicing a buffer
object returns a buffer object.
-Slice assignment to a mutable buffer object accept anything that
+Slice assignment to a mutable buffer object accepts anything that
implements the PEP 3118 buffer API, or an iterable of integers in
range(256).
From python-checkins at python.org Tue Oct 2 19:01:25 2007
From: python-checkins at python.org (facundo.batista)
Date: Tue, 2 Oct 2007 19:01:25 +0200 (CEST)
Subject: [Python-checkins] r58294 - in python/trunk/Lib: decimal.py
test/decimaltestdata/extra.decTest test/test_decimal.py
Message-ID: <20071002170125.682001E4016@bag.python.org>
Author: facundo.batista
Date: Tue Oct 2 19:01:24 2007
New Revision: 58294
Modified:
python/trunk/Lib/decimal.py
python/trunk/Lib/test/decimaltestdata/extra.decTest
python/trunk/Lib/test/test_decimal.py
Log:
Made the various is_* operations return booleans. This was discussed
with Cawlishaw by mail, and he basically confirmed that to these is_*
operations, there's no need to return Decimal(0) and Decimal(1) if
the language supports the False and True booleans.
Also added a few tests for the these functions in extra.decTest, since
they are mostly untested (apart from the doctests).
Thanks Mark Dickinson
Modified: python/trunk/Lib/decimal.py
==============================================================================
--- python/trunk/Lib/decimal.py (original)
+++ python/trunk/Lib/decimal.py Tue Oct 2 19:01:24 2007
@@ -679,14 +679,11 @@
return 0
def __nonzero__(self):
- """Is the number non-zero?
+ """Return True if self is nonzero; otherwise return False.
- 0 if self == 0
- 1 if self != 0
+ NaNs and infinities are considered nonzero.
"""
- if self._is_special:
- return True
- return sum(self._int) != 0
+ return self._is_special or self._int[0] != 0
def __cmp__(self, other):
other = _convert_other(other)
@@ -2239,15 +2236,18 @@
return ans
def same_quantum(self, other):
- """Test whether self and other have the same exponent.
+ """Return True if self and other have the same exponent; otherwise
+ return False.
- same as self._exp == other._exp, except NaN == sNaN
+ If either operand is a special value, the following rules are used:
+ * return True if both operands are infinities
+ * return True if both operands are NaNs
+ * otherwise, return False.
"""
+ other = _convert_other(other, raiseit=True)
if self._is_special or other._is_special:
- if self._isnan() or other._isnan():
- return self._isnan() and other._isnan() and True
- if self._isinfinity() or other._isinfinity():
- return self._isinfinity() and other._isinfinity() and True
+ return (self.is_nan() and other.is_nan() or
+ self.is_infinite() and other.is_infinite())
return self._exp == other._exp
def _rescale(self, exp, rounding):
@@ -2730,84 +2730,60 @@
return ans
def is_canonical(self):
- """Returns 1 if self is canonical; otherwise returns 0."""
- return Dec_p1
+ """Return True if self is canonical; otherwise return False.
+
+ Currently, the encoding of a Decimal instance is always
+ canonical, so this method returns True for any Decimal.
+ """
+ return True
def is_finite(self):
- """Returns 1 if self is finite, otherwise returns 0.
+ """Return True if self is finite; otherwise return False.
- For it to be finite, it must be neither infinite nor a NaN.
+ A Decimal instance is considered finite if it is neither
+ infinite nor a NaN.
"""
- if self._is_special:
- return Dec_0
- else:
- return Dec_p1
+ return not self._is_special
def is_infinite(self):
- """Returns 1 if self is an Infinite, otherwise returns 0."""
- if self._isinfinity():
- return Dec_p1
- else:
- return Dec_0
+ """Return True if self is infinite; otherwise return False."""
+ return self._exp == 'F'
def is_nan(self):
- """Returns 1 if self is qNaN or sNaN, otherwise returns 0."""
- if self._isnan():
- return Dec_p1
- else:
- return Dec_0
+ """Return True if self is a qNaN or sNaN; otherwise return False."""
+ return self._exp in ('n', 'N')
def is_normal(self, context=None):
- """Returns 1 if self is a normal number, otherwise returns 0."""
- if self._is_special:
- return Dec_0
- if not self:
- return Dec_0
+ """Return True if self is a normal number; otherwise return False."""
+ if self._is_special or not self:
+ return False
if context is None:
context = getcontext()
- if context.Emin <= self.adjusted() <= context.Emax:
- return Dec_p1
- else:
- return Dec_0
+ return context.Emin <= self.adjusted() <= context.Emax
def is_qnan(self):
- """Returns 1 if self is a quiet NaN, otherwise returns 0."""
- if self._isnan() == 1:
- return Dec_p1
- else:
- return Dec_0
+ """Return True if self is a quiet NaN; otherwise return False."""
+ return self._exp == 'n'
def is_signed(self):
- """Returns 1 if self is negative, otherwise returns 0."""
- return Decimal(self._sign)
+ """Return True if self is negative; otherwise return False."""
+ return self._sign == 1
def is_snan(self):
- """Returns 1 if self is a signaling NaN, otherwise returns 0."""
- if self._isnan() == 2:
- return Dec_p1
- else:
- return Dec_0
+ """Return True if self is a signaling NaN; otherwise return False."""
+ return self._exp == 'N'
def is_subnormal(self, context=None):
- """Returns 1 if self is subnormal, otherwise returns 0."""
- if self._is_special:
- return Dec_0
- if not self:
- return Dec_0
+ """Return True if self is subnormal; otherwise return False."""
+ if self._is_special or not self:
+ return False
if context is None:
context = getcontext()
-
- r = self._exp + len(self._int)
- if r <= context.Emin:
- return Dec_p1
- return Dec_0
+ return self.adjusted() < context.Emin
def is_zero(self):
- """Returns 1 if self is a zero, otherwise returns 0."""
- if self:
- return Dec_0
- else:
- return Dec_p1
+ """Return True if self is a zero; otherwise return False."""
+ return not self._is_special and self._int[0] == 0
def _ln_exp_bound(self):
"""Compute a lower bound for the adjusted exponent of self.ln().
@@ -3871,138 +3847,145 @@
return a.fma(b, c, context=self)
def is_canonical(self, a):
- """Returns 1 if the operand is canonical; otherwise returns 0.
+ """Return True if the operand is canonical; otherwise return False.
+
+ Currently, the encoding of a Decimal instance is always
+ canonical, so this method returns True for any Decimal.
>>> ExtendedContext.is_canonical(Decimal('2.50'))
- Decimal("1")
+ True
"""
- return Dec_p1
+ return a.is_canonical()
def is_finite(self, a):
- """Returns 1 if the operand is finite, otherwise returns 0.
+ """Return True if the operand is finite; otherwise return False.
- For it to be finite, it must be neither infinite nor a NaN.
+ A Decimal instance is considered finite if it is neither
+ infinite nor a NaN.
>>> ExtendedContext.is_finite(Decimal('2.50'))
- Decimal("1")
+ True
>>> ExtendedContext.is_finite(Decimal('-0.3'))
- Decimal("1")
+ True
>>> ExtendedContext.is_finite(Decimal('0'))
- Decimal("1")
+ True
>>> ExtendedContext.is_finite(Decimal('Inf'))
- Decimal("0")
+ False
>>> ExtendedContext.is_finite(Decimal('NaN'))
- Decimal("0")
+ False
"""
return a.is_finite()
def is_infinite(self, a):
- """Returns 1 if the operand is an Infinite, otherwise returns 0.
+ """Return True if the operand is infinite; otherwise return False.
>>> ExtendedContext.is_infinite(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_infinite(Decimal('-Inf'))
- Decimal("1")
+ True
>>> ExtendedContext.is_infinite(Decimal('NaN'))
- Decimal("0")
+ False
"""
return a.is_infinite()
def is_nan(self, a):
- """Returns 1 if the operand is qNaN or sNaN, otherwise returns 0.
+ """Return True if the operand is a qNaN or sNaN;
+ otherwise return False.
>>> ExtendedContext.is_nan(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_nan(Decimal('NaN'))
- Decimal("1")
+ True
>>> ExtendedContext.is_nan(Decimal('-sNaN'))
- Decimal("1")
+ True
"""
return a.is_nan()
def is_normal(self, a):
- """Returns 1 if the operand is a normal number, otherwise returns 0.
+ """Return True if the operand is a normal number;
+ otherwise return False.
>>> c = ExtendedContext.copy()
>>> c.Emin = -999
>>> c.Emax = 999
>>> c.is_normal(Decimal('2.50'))
- Decimal("1")
+ True
>>> c.is_normal(Decimal('0.1E-999'))
- Decimal("0")
+ False
>>> c.is_normal(Decimal('0.00'))
- Decimal("0")
+ False
>>> c.is_normal(Decimal('-Inf'))
- Decimal("0")
+ False
>>> c.is_normal(Decimal('NaN'))
- Decimal("0")
+ False
"""
return a.is_normal(context=self)
def is_qnan(self, a):
- """Returns 1 if the operand is a quiet NaN, otherwise returns 0.
+ """Return True if the operand is a quiet NaN; otherwise return False.
>>> ExtendedContext.is_qnan(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_qnan(Decimal('NaN'))
- Decimal("1")
+ True
>>> ExtendedContext.is_qnan(Decimal('sNaN'))
- Decimal("0")
+ False
"""
return a.is_qnan()
def is_signed(self, a):
- """Returns 1 if the operand is negative, otherwise returns 0.
+ """Return True if the operand is negative; otherwise return False.
>>> ExtendedContext.is_signed(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_signed(Decimal('-12'))
- Decimal("1")
+ True
>>> ExtendedContext.is_signed(Decimal('-0'))
- Decimal("1")
+ True
"""
return a.is_signed()
def is_snan(self, a):
- """Returns 1 if the operand is a signaling NaN, otherwise returns 0.
+ """Return True if the operand is a signaling NaN;
+ otherwise return False.
>>> ExtendedContext.is_snan(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_snan(Decimal('NaN'))
- Decimal("0")
+ False
>>> ExtendedContext.is_snan(Decimal('sNaN'))
- Decimal("1")
+ True
"""
return a.is_snan()
def is_subnormal(self, a):
- """Returns 1 if the operand is subnormal, otherwise returns 0.
+ """Return True if the operand is subnormal; otherwise return False.
>>> c = ExtendedContext.copy()
>>> c.Emin = -999
>>> c.Emax = 999
>>> c.is_subnormal(Decimal('2.50'))
- Decimal("0")
+ False
>>> c.is_subnormal(Decimal('0.1E-999'))
- Decimal("1")
+ True
>>> c.is_subnormal(Decimal('0.00'))
- Decimal("0")
+ False
>>> c.is_subnormal(Decimal('-Inf'))
- Decimal("0")
+ False
>>> c.is_subnormal(Decimal('NaN'))
- Decimal("0")
+ False
"""
return a.is_subnormal(context=self)
def is_zero(self, a):
- """Returns 1 if the operand is a zero, otherwise returns 0.
+ """Return True if the operand is a zero; otherwise return False.
>>> ExtendedContext.is_zero(Decimal('0'))
- Decimal("1")
+ True
>>> ExtendedContext.is_zero(Decimal('2.50'))
- Decimal("0")
+ False
>>> ExtendedContext.is_zero(Decimal('-0E+2'))
- Decimal("1")
+ True
"""
return a.is_zero()
Modified: python/trunk/Lib/test/decimaltestdata/extra.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/extra.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/extra.decTest Tue Oct 2 19:01:24 2007
@@ -154,6 +154,2112 @@
extr1302 fma 0E123 -Inf sNaN789 -> NaN Invalid_operation
extr1302 fma -Inf 0E-456 sNaN148 -> NaN Invalid_operation
+-- Tests for the is_* boolean operations
+precision: 9
+maxExponent: 999
+minExponent: -999
+
+bool0000 iscanonical 0E-2000 -> 1
+bool0001 iscanonical -0E-2000 -> 1
+bool0002 iscanonical 0E-1008 -> 1
+bool0003 iscanonical -0E-1008 -> 1
+bool0004 iscanonical 0E-1007 -> 1
+bool0005 iscanonical -0E-1007 -> 1
+bool0006 iscanonical 0E-1006 -> 1
+bool0007 iscanonical -0E-1006 -> 1
+bool0008 iscanonical 0E-1000 -> 1
+bool0009 iscanonical -0E-1000 -> 1
+bool0010 iscanonical 0E-999 -> 1
+bool0011 iscanonical -0E-999 -> 1
+bool0012 iscanonical 0E-998 -> 1
+bool0013 iscanonical -0E-998 -> 1
+bool0014 iscanonical 0E-100 -> 1
+bool0015 iscanonical -0E-100 -> 1
+bool0016 iscanonical 0.000000 -> 1
+bool0017 iscanonical -0.000000 -> 1
+bool0018 iscanonical 0.000 -> 1
+bool0019 iscanonical -0.000 -> 1
+bool0020 iscanonical 0.00 -> 1
+bool0021 iscanonical -0.00 -> 1
+bool0022 iscanonical 0.0 -> 1
+bool0023 iscanonical -0.0 -> 1
+bool0024 iscanonical 0 -> 1
+bool0025 iscanonical -0 -> 1
+bool0026 iscanonical 0E+1 -> 1
+bool0027 iscanonical -0E+1 -> 1
+bool0028 iscanonical 0E+2 -> 1
+bool0029 iscanonical -0E+2 -> 1
+bool0030 iscanonical 0E+3 -> 1
+bool0031 iscanonical -0E+3 -> 1
+bool0032 iscanonical 0E+6 -> 1
+bool0033 iscanonical -0E+6 -> 1
+bool0034 iscanonical 0E+100 -> 1
+bool0035 iscanonical -0E+100 -> 1
+bool0036 iscanonical 0E+990 -> 1
+bool0037 iscanonical -0E+990 -> 1
+bool0038 iscanonical 0E+991 -> 1
+bool0039 iscanonical -0E+991 -> 1
+bool0040 iscanonical 0E+992 -> 1
+bool0041 iscanonical -0E+992 -> 1
+bool0042 iscanonical 0E+998 -> 1
+bool0043 iscanonical -0E+998 -> 1
+bool0044 iscanonical 0E+999 -> 1
+bool0045 iscanonical -0E+999 -> 1
+bool0046 iscanonical 0E+1000 -> 1
+bool0047 iscanonical -0E+1000 -> 1
+bool0048 iscanonical 0E+2000 -> 1
+bool0049 iscanonical -0E+2000 -> 1
+bool0050 iscanonical 1E-2000 -> 1
+bool0051 iscanonical -1E-2000 -> 1
+bool0052 iscanonical 1E-1008 -> 1
+bool0053 iscanonical -1E-1008 -> 1
+bool0054 iscanonical 1E-1007 -> 1
+bool0055 iscanonical -1E-1007 -> 1
+bool0056 iscanonical 1E-1006 -> 1
+bool0057 iscanonical -1E-1006 -> 1
+bool0058 iscanonical 1E-1000 -> 1
+bool0059 iscanonical -1E-1000 -> 1
+bool0060 iscanonical 1E-999 -> 1
+bool0061 iscanonical -1E-999 -> 1
+bool0062 iscanonical 1E-998 -> 1
+bool0063 iscanonical -1E-998 -> 1
+bool0064 iscanonical 1E-100 -> 1
+bool0065 iscanonical -1E-100 -> 1
+bool0066 iscanonical 0.000001 -> 1
+bool0067 iscanonical -0.000001 -> 1
+bool0068 iscanonical 0.001 -> 1
+bool0069 iscanonical -0.001 -> 1
+bool0070 iscanonical 0.01 -> 1
+bool0071 iscanonical -0.01 -> 1
+bool0072 iscanonical 0.1 -> 1
+bool0073 iscanonical -0.1 -> 1
+bool0074 iscanonical 1 -> 1
+bool0075 iscanonical -1 -> 1
+bool0076 iscanonical 1E+1 -> 1
+bool0077 iscanonical -1E+1 -> 1
+bool0078 iscanonical 1E+2 -> 1
+bool0079 iscanonical -1E+2 -> 1
+bool0080 iscanonical 1E+3 -> 1
+bool0081 iscanonical -1E+3 -> 1
+bool0082 iscanonical 1E+6 -> 1
+bool0083 iscanonical -1E+6 -> 1
+bool0084 iscanonical 1E+100 -> 1
+bool0085 iscanonical -1E+100 -> 1
+bool0086 iscanonical 1E+990 -> 1
+bool0087 iscanonical -1E+990 -> 1
+bool0088 iscanonical 1E+991 -> 1
+bool0089 iscanonical -1E+991 -> 1
+bool0090 iscanonical 1E+992 -> 1
+bool0091 iscanonical -1E+992 -> 1
+bool0092 iscanonical 1E+998 -> 1
+bool0093 iscanonical -1E+998 -> 1
+bool0094 iscanonical 1E+999 -> 1
+bool0095 iscanonical -1E+999 -> 1
+bool0096 iscanonical 1E+1000 -> 1
+bool0097 iscanonical -1E+1000 -> 1
+bool0098 iscanonical 1E+2000 -> 1
+bool0099 iscanonical -1E+2000 -> 1
+bool0100 iscanonical 9E-2000 -> 1
+bool0101 iscanonical -9E-2000 -> 1
+bool0102 iscanonical 9E-1008 -> 1
+bool0103 iscanonical -9E-1008 -> 1
+bool0104 iscanonical 9E-1007 -> 1
+bool0105 iscanonical -9E-1007 -> 1
+bool0106 iscanonical 9E-1006 -> 1
+bool0107 iscanonical -9E-1006 -> 1
+bool0108 iscanonical 9E-1000 -> 1
+bool0109 iscanonical -9E-1000 -> 1
+bool0110 iscanonical 9E-999 -> 1
+bool0111 iscanonical -9E-999 -> 1
+bool0112 iscanonical 9E-998 -> 1
+bool0113 iscanonical -9E-998 -> 1
+bool0114 iscanonical 9E-100 -> 1
+bool0115 iscanonical -9E-100 -> 1
+bool0116 iscanonical 0.000009 -> 1
+bool0117 iscanonical -0.000009 -> 1
+bool0118 iscanonical 0.009 -> 1
+bool0119 iscanonical -0.009 -> 1
+bool0120 iscanonical 0.09 -> 1
+bool0121 iscanonical -0.09 -> 1
+bool0122 iscanonical 0.9 -> 1
+bool0123 iscanonical -0.9 -> 1
+bool0124 iscanonical 9 -> 1
+bool0125 iscanonical -9 -> 1
+bool0126 iscanonical 9E+1 -> 1
+bool0127 iscanonical -9E+1 -> 1
+bool0128 iscanonical 9E+2 -> 1
+bool0129 iscanonical -9E+2 -> 1
+bool0130 iscanonical 9E+3 -> 1
+bool0131 iscanonical -9E+3 -> 1
+bool0132 iscanonical 9E+6 -> 1
+bool0133 iscanonical -9E+6 -> 1
+bool0134 iscanonical 9E+100 -> 1
+bool0135 iscanonical -9E+100 -> 1
+bool0136 iscanonical 9E+990 -> 1
+bool0137 iscanonical -9E+990 -> 1
+bool0138 iscanonical 9E+991 -> 1
+bool0139 iscanonical -9E+991 -> 1
+bool0140 iscanonical 9E+992 -> 1
+bool0141 iscanonical -9E+992 -> 1
+bool0142 iscanonical 9E+998 -> 1
+bool0143 iscanonical -9E+998 -> 1
+bool0144 iscanonical 9E+999 -> 1
+bool0145 iscanonical -9E+999 -> 1
+bool0146 iscanonical 9E+1000 -> 1
+bool0147 iscanonical -9E+1000 -> 1
+bool0148 iscanonical 9E+2000 -> 1
+bool0149 iscanonical -9E+2000 -> 1
+bool0150 iscanonical 9.99999999E-2000 -> 1
+bool0151 iscanonical -9.99999999E-2000 -> 1
+bool0152 iscanonical 9.99999999E-1008 -> 1
+bool0153 iscanonical -9.99999999E-1008 -> 1
+bool0154 iscanonical 9.99999999E-1007 -> 1
+bool0155 iscanonical -9.99999999E-1007 -> 1
+bool0156 iscanonical 9.99999999E-1006 -> 1
+bool0157 iscanonical -9.99999999E-1006 -> 1
+bool0158 iscanonical 9.99999999E-1000 -> 1
+bool0159 iscanonical -9.99999999E-1000 -> 1
+bool0160 iscanonical 9.99999999E-999 -> 1
+bool0161 iscanonical -9.99999999E-999 -> 1
+bool0162 iscanonical 9.99999999E-998 -> 1
+bool0163 iscanonical -9.99999999E-998 -> 1
+bool0164 iscanonical 9.99999999E-100 -> 1
+bool0165 iscanonical -9.99999999E-100 -> 1
+bool0166 iscanonical 0.00000999999999 -> 1
+bool0167 iscanonical -0.00000999999999 -> 1
+bool0168 iscanonical 0.00999999999 -> 1
+bool0169 iscanonical -0.00999999999 -> 1
+bool0170 iscanonical 0.0999999999 -> 1
+bool0171 iscanonical -0.0999999999 -> 1
+bool0172 iscanonical 0.999999999 -> 1
+bool0173 iscanonical -0.999999999 -> 1
+bool0174 iscanonical 9.99999999 -> 1
+bool0175 iscanonical -9.99999999 -> 1
+bool0176 iscanonical 99.9999999 -> 1
+bool0177 iscanonical -99.9999999 -> 1
+bool0178 iscanonical 999.999999 -> 1
+bool0179 iscanonical -999.999999 -> 1
+bool0180 iscanonical 9999.99999 -> 1
+bool0181 iscanonical -9999.99999 -> 1
+bool0182 iscanonical 9999999.99 -> 1
+bool0183 iscanonical -9999999.99 -> 1
+bool0184 iscanonical 9.99999999E+100 -> 1
+bool0185 iscanonical -9.99999999E+100 -> 1
+bool0186 iscanonical 9.99999999E+990 -> 1
+bool0187 iscanonical -9.99999999E+990 -> 1
+bool0188 iscanonical 9.99999999E+991 -> 1
+bool0189 iscanonical -9.99999999E+991 -> 1
+bool0190 iscanonical 9.99999999E+992 -> 1
+bool0191 iscanonical -9.99999999E+992 -> 1
+bool0192 iscanonical 9.99999999E+998 -> 1
+bool0193 iscanonical -9.99999999E+998 -> 1
+bool0194 iscanonical 9.99999999E+999 -> 1
+bool0195 iscanonical -9.99999999E+999 -> 1
+bool0196 iscanonical 9.99999999E+1000 -> 1
+bool0197 iscanonical -9.99999999E+1000 -> 1
+bool0198 iscanonical 9.99999999E+2000 -> 1
+bool0199 iscanonical -9.99999999E+2000 -> 1
+bool0200 iscanonical Infinity -> 1
+bool0201 iscanonical -Infinity -> 1
+bool0202 iscanonical NaN -> 1
+bool0203 iscanonical -NaN -> 1
+bool0204 iscanonical NaN123 -> 1
+bool0205 iscanonical -NaN123 -> 1
+bool0206 iscanonical sNaN -> 1
+bool0207 iscanonical -sNaN -> 1
+bool0208 iscanonical sNaN123 -> 1
+bool0209 iscanonical -sNaN123 -> 1
+bool0210 isfinite 0E-2000 -> 1
+bool0211 isfinite -0E-2000 -> 1
+bool0212 isfinite 0E-1008 -> 1
+bool0213 isfinite -0E-1008 -> 1
+bool0214 isfinite 0E-1007 -> 1
+bool0215 isfinite -0E-1007 -> 1
+bool0216 isfinite 0E-1006 -> 1
+bool0217 isfinite -0E-1006 -> 1
+bool0218 isfinite 0E-1000 -> 1
+bool0219 isfinite -0E-1000 -> 1
+bool0220 isfinite 0E-999 -> 1
+bool0221 isfinite -0E-999 -> 1
+bool0222 isfinite 0E-998 -> 1
+bool0223 isfinite -0E-998 -> 1
+bool0224 isfinite 0E-100 -> 1
+bool0225 isfinite -0E-100 -> 1
+bool0226 isfinite 0.000000 -> 1
+bool0227 isfinite -0.000000 -> 1
+bool0228 isfinite 0.000 -> 1
+bool0229 isfinite -0.000 -> 1
+bool0230 isfinite 0.00 -> 1
+bool0231 isfinite -0.00 -> 1
+bool0232 isfinite 0.0 -> 1
+bool0233 isfinite -0.0 -> 1
+bool0234 isfinite 0 -> 1
+bool0235 isfinite -0 -> 1
+bool0236 isfinite 0E+1 -> 1
+bool0237 isfinite -0E+1 -> 1
+bool0238 isfinite 0E+2 -> 1
+bool0239 isfinite -0E+2 -> 1
+bool0240 isfinite 0E+3 -> 1
+bool0241 isfinite -0E+3 -> 1
+bool0242 isfinite 0E+6 -> 1
+bool0243 isfinite -0E+6 -> 1
+bool0244 isfinite 0E+100 -> 1
+bool0245 isfinite -0E+100 -> 1
+bool0246 isfinite 0E+990 -> 1
+bool0247 isfinite -0E+990 -> 1
+bool0248 isfinite 0E+991 -> 1
+bool0249 isfinite -0E+991 -> 1
+bool0250 isfinite 0E+992 -> 1
+bool0251 isfinite -0E+992 -> 1
+bool0252 isfinite 0E+998 -> 1
+bool0253 isfinite -0E+998 -> 1
+bool0254 isfinite 0E+999 -> 1
+bool0255 isfinite -0E+999 -> 1
+bool0256 isfinite 0E+1000 -> 1
+bool0257 isfinite -0E+1000 -> 1
+bool0258 isfinite 0E+2000 -> 1
+bool0259 isfinite -0E+2000 -> 1
+bool0260 isfinite 1E-2000 -> 1
+bool0261 isfinite -1E-2000 -> 1
+bool0262 isfinite 1E-1008 -> 1
+bool0263 isfinite -1E-1008 -> 1
+bool0264 isfinite 1E-1007 -> 1
+bool0265 isfinite -1E-1007 -> 1
+bool0266 isfinite 1E-1006 -> 1
+bool0267 isfinite -1E-1006 -> 1
+bool0268 isfinite 1E-1000 -> 1
+bool0269 isfinite -1E-1000 -> 1
+bool0270 isfinite 1E-999 -> 1
+bool0271 isfinite -1E-999 -> 1
+bool0272 isfinite 1E-998 -> 1
+bool0273 isfinite -1E-998 -> 1
+bool0274 isfinite 1E-100 -> 1
+bool0275 isfinite -1E-100 -> 1
+bool0276 isfinite 0.000001 -> 1
+bool0277 isfinite -0.000001 -> 1
+bool0278 isfinite 0.001 -> 1
+bool0279 isfinite -0.001 -> 1
+bool0280 isfinite 0.01 -> 1
+bool0281 isfinite -0.01 -> 1
+bool0282 isfinite 0.1 -> 1
+bool0283 isfinite -0.1 -> 1
+bool0284 isfinite 1 -> 1
+bool0285 isfinite -1 -> 1
+bool0286 isfinite 1E+1 -> 1
+bool0287 isfinite -1E+1 -> 1
+bool0288 isfinite 1E+2 -> 1
+bool0289 isfinite -1E+2 -> 1
+bool0290 isfinite 1E+3 -> 1
+bool0291 isfinite -1E+3 -> 1
+bool0292 isfinite 1E+6 -> 1
+bool0293 isfinite -1E+6 -> 1
+bool0294 isfinite 1E+100 -> 1
+bool0295 isfinite -1E+100 -> 1
+bool0296 isfinite 1E+990 -> 1
+bool0297 isfinite -1E+990 -> 1
+bool0298 isfinite 1E+991 -> 1
+bool0299 isfinite -1E+991 -> 1
+bool0300 isfinite 1E+992 -> 1
+bool0301 isfinite -1E+992 -> 1
+bool0302 isfinite 1E+998 -> 1
+bool0303 isfinite -1E+998 -> 1
+bool0304 isfinite 1E+999 -> 1
+bool0305 isfinite -1E+999 -> 1
+bool0306 isfinite 1E+1000 -> 1
+bool0307 isfinite -1E+1000 -> 1
+bool0308 isfinite 1E+2000 -> 1
+bool0309 isfinite -1E+2000 -> 1
+bool0310 isfinite 9E-2000 -> 1
+bool0311 isfinite -9E-2000 -> 1
+bool0312 isfinite 9E-1008 -> 1
+bool0313 isfinite -9E-1008 -> 1
+bool0314 isfinite 9E-1007 -> 1
+bool0315 isfinite -9E-1007 -> 1
+bool0316 isfinite 9E-1006 -> 1
+bool0317 isfinite -9E-1006 -> 1
+bool0318 isfinite 9E-1000 -> 1
+bool0319 isfinite -9E-1000 -> 1
+bool0320 isfinite 9E-999 -> 1
+bool0321 isfinite -9E-999 -> 1
+bool0322 isfinite 9E-998 -> 1
+bool0323 isfinite -9E-998 -> 1
+bool0324 isfinite 9E-100 -> 1
+bool0325 isfinite -9E-100 -> 1
+bool0326 isfinite 0.000009 -> 1
+bool0327 isfinite -0.000009 -> 1
+bool0328 isfinite 0.009 -> 1
+bool0329 isfinite -0.009 -> 1
+bool0330 isfinite 0.09 -> 1
+bool0331 isfinite -0.09 -> 1
+bool0332 isfinite 0.9 -> 1
+bool0333 isfinite -0.9 -> 1
+bool0334 isfinite 9 -> 1
+bool0335 isfinite -9 -> 1
+bool0336 isfinite 9E+1 -> 1
+bool0337 isfinite -9E+1 -> 1
+bool0338 isfinite 9E+2 -> 1
+bool0339 isfinite -9E+2 -> 1
+bool0340 isfinite 9E+3 -> 1
+bool0341 isfinite -9E+3 -> 1
+bool0342 isfinite 9E+6 -> 1
+bool0343 isfinite -9E+6 -> 1
+bool0344 isfinite 9E+100 -> 1
+bool0345 isfinite -9E+100 -> 1
+bool0346 isfinite 9E+990 -> 1
+bool0347 isfinite -9E+990 -> 1
+bool0348 isfinite 9E+991 -> 1
+bool0349 isfinite -9E+991 -> 1
+bool0350 isfinite 9E+992 -> 1
+bool0351 isfinite -9E+992 -> 1
+bool0352 isfinite 9E+998 -> 1
+bool0353 isfinite -9E+998 -> 1
+bool0354 isfinite 9E+999 -> 1
+bool0355 isfinite -9E+999 -> 1
+bool0356 isfinite 9E+1000 -> 1
+bool0357 isfinite -9E+1000 -> 1
+bool0358 isfinite 9E+2000 -> 1
+bool0359 isfinite -9E+2000 -> 1
+bool0360 isfinite 9.99999999E-2000 -> 1
+bool0361 isfinite -9.99999999E-2000 -> 1
+bool0362 isfinite 9.99999999E-1008 -> 1
+bool0363 isfinite -9.99999999E-1008 -> 1
+bool0364 isfinite 9.99999999E-1007 -> 1
+bool0365 isfinite -9.99999999E-1007 -> 1
+bool0366 isfinite 9.99999999E-1006 -> 1
+bool0367 isfinite -9.99999999E-1006 -> 1
+bool0368 isfinite 9.99999999E-1000 -> 1
+bool0369 isfinite -9.99999999E-1000 -> 1
+bool0370 isfinite 9.99999999E-999 -> 1
+bool0371 isfinite -9.99999999E-999 -> 1
+bool0372 isfinite 9.99999999E-998 -> 1
+bool0373 isfinite -9.99999999E-998 -> 1
+bool0374 isfinite 9.99999999E-100 -> 1
+bool0375 isfinite -9.99999999E-100 -> 1
+bool0376 isfinite 0.00000999999999 -> 1
+bool0377 isfinite -0.00000999999999 -> 1
+bool0378 isfinite 0.00999999999 -> 1
+bool0379 isfinite -0.00999999999 -> 1
+bool0380 isfinite 0.0999999999 -> 1
+bool0381 isfinite -0.0999999999 -> 1
+bool0382 isfinite 0.999999999 -> 1
+bool0383 isfinite -0.999999999 -> 1
+bool0384 isfinite 9.99999999 -> 1
+bool0385 isfinite -9.99999999 -> 1
+bool0386 isfinite 99.9999999 -> 1
+bool0387 isfinite -99.9999999 -> 1
+bool0388 isfinite 999.999999 -> 1
+bool0389 isfinite -999.999999 -> 1
+bool0390 isfinite 9999.99999 -> 1
+bool0391 isfinite -9999.99999 -> 1
+bool0392 isfinite 9999999.99 -> 1
+bool0393 isfinite -9999999.99 -> 1
+bool0394 isfinite 9.99999999E+100 -> 1
+bool0395 isfinite -9.99999999E+100 -> 1
+bool0396 isfinite 9.99999999E+990 -> 1
+bool0397 isfinite -9.99999999E+990 -> 1
+bool0398 isfinite 9.99999999E+991 -> 1
+bool0399 isfinite -9.99999999E+991 -> 1
+bool0400 isfinite 9.99999999E+992 -> 1
+bool0401 isfinite -9.99999999E+992 -> 1
+bool0402 isfinite 9.99999999E+998 -> 1
+bool0403 isfinite -9.99999999E+998 -> 1
+bool0404 isfinite 9.99999999E+999 -> 1
+bool0405 isfinite -9.99999999E+999 -> 1
+bool0406 isfinite 9.99999999E+1000 -> 1
+bool0407 isfinite -9.99999999E+1000 -> 1
+bool0408 isfinite 9.99999999E+2000 -> 1
+bool0409 isfinite -9.99999999E+2000 -> 1
+bool0410 isfinite Infinity -> 0
+bool0411 isfinite -Infinity -> 0
+bool0412 isfinite NaN -> 0
+bool0413 isfinite -NaN -> 0
+bool0414 isfinite NaN123 -> 0
+bool0415 isfinite -NaN123 -> 0
+bool0416 isfinite sNaN -> 0
+bool0417 isfinite -sNaN -> 0
+bool0418 isfinite sNaN123 -> 0
+bool0419 isfinite -sNaN123 -> 0
+bool0420 isinfinite 0E-2000 -> 0
+bool0421 isinfinite -0E-2000 -> 0
+bool0422 isinfinite 0E-1008 -> 0
+bool0423 isinfinite -0E-1008 -> 0
+bool0424 isinfinite 0E-1007 -> 0
+bool0425 isinfinite -0E-1007 -> 0
+bool0426 isinfinite 0E-1006 -> 0
+bool0427 isinfinite -0E-1006 -> 0
+bool0428 isinfinite 0E-1000 -> 0
+bool0429 isinfinite -0E-1000 -> 0
+bool0430 isinfinite 0E-999 -> 0
+bool0431 isinfinite -0E-999 -> 0
+bool0432 isinfinite 0E-998 -> 0
+bool0433 isinfinite -0E-998 -> 0
+bool0434 isinfinite 0E-100 -> 0
+bool0435 isinfinite -0E-100 -> 0
+bool0436 isinfinite 0.000000 -> 0
+bool0437 isinfinite -0.000000 -> 0
+bool0438 isinfinite 0.000 -> 0
+bool0439 isinfinite -0.000 -> 0
+bool0440 isinfinite 0.00 -> 0
+bool0441 isinfinite -0.00 -> 0
+bool0442 isinfinite 0.0 -> 0
+bool0443 isinfinite -0.0 -> 0
+bool0444 isinfinite 0 -> 0
+bool0445 isinfinite -0 -> 0
+bool0446 isinfinite 0E+1 -> 0
+bool0447 isinfinite -0E+1 -> 0
+bool0448 isinfinite 0E+2 -> 0
+bool0449 isinfinite -0E+2 -> 0
+bool0450 isinfinite 0E+3 -> 0
+bool0451 isinfinite -0E+3 -> 0
+bool0452 isinfinite 0E+6 -> 0
+bool0453 isinfinite -0E+6 -> 0
+bool0454 isinfinite 0E+100 -> 0
+bool0455 isinfinite -0E+100 -> 0
+bool0456 isinfinite 0E+990 -> 0
+bool0457 isinfinite -0E+990 -> 0
+bool0458 isinfinite 0E+991 -> 0
+bool0459 isinfinite -0E+991 -> 0
+bool0460 isinfinite 0E+992 -> 0
+bool0461 isinfinite -0E+992 -> 0
+bool0462 isinfinite 0E+998 -> 0
+bool0463 isinfinite -0E+998 -> 0
+bool0464 isinfinite 0E+999 -> 0
+bool0465 isinfinite -0E+999 -> 0
+bool0466 isinfinite 0E+1000 -> 0
+bool0467 isinfinite -0E+1000 -> 0
+bool0468 isinfinite 0E+2000 -> 0
+bool0469 isinfinite -0E+2000 -> 0
+bool0470 isinfinite 1E-2000 -> 0
+bool0471 isinfinite -1E-2000 -> 0
+bool0472 isinfinite 1E-1008 -> 0
+bool0473 isinfinite -1E-1008 -> 0
+bool0474 isinfinite 1E-1007 -> 0
+bool0475 isinfinite -1E-1007 -> 0
+bool0476 isinfinite 1E-1006 -> 0
+bool0477 isinfinite -1E-1006 -> 0
+bool0478 isinfinite 1E-1000 -> 0
+bool0479 isinfinite -1E-1000 -> 0
+bool0480 isinfinite 1E-999 -> 0
+bool0481 isinfinite -1E-999 -> 0
+bool0482 isinfinite 1E-998 -> 0
+bool0483 isinfinite -1E-998 -> 0
+bool0484 isinfinite 1E-100 -> 0
+bool0485 isinfinite -1E-100 -> 0
+bool0486 isinfinite 0.000001 -> 0
+bool0487 isinfinite -0.000001 -> 0
+bool0488 isinfinite 0.001 -> 0
+bool0489 isinfinite -0.001 -> 0
+bool0490 isinfinite 0.01 -> 0
+bool0491 isinfinite -0.01 -> 0
+bool0492 isinfinite 0.1 -> 0
+bool0493 isinfinite -0.1 -> 0
+bool0494 isinfinite 1 -> 0
+bool0495 isinfinite -1 -> 0
+bool0496 isinfinite 1E+1 -> 0
+bool0497 isinfinite -1E+1 -> 0
+bool0498 isinfinite 1E+2 -> 0
+bool0499 isinfinite -1E+2 -> 0
+bool0500 isinfinite 1E+3 -> 0
+bool0501 isinfinite -1E+3 -> 0
+bool0502 isinfinite 1E+6 -> 0
+bool0503 isinfinite -1E+6 -> 0
+bool0504 isinfinite 1E+100 -> 0
+bool0505 isinfinite -1E+100 -> 0
+bool0506 isinfinite 1E+990 -> 0
+bool0507 isinfinite -1E+990 -> 0
+bool0508 isinfinite 1E+991 -> 0
+bool0509 isinfinite -1E+991 -> 0
+bool0510 isinfinite 1E+992 -> 0
+bool0511 isinfinite -1E+992 -> 0
+bool0512 isinfinite 1E+998 -> 0
+bool0513 isinfinite -1E+998 -> 0
+bool0514 isinfinite 1E+999 -> 0
+bool0515 isinfinite -1E+999 -> 0
+bool0516 isinfinite 1E+1000 -> 0
+bool0517 isinfinite -1E+1000 -> 0
+bool0518 isinfinite 1E+2000 -> 0
+bool0519 isinfinite -1E+2000 -> 0
+bool0520 isinfinite 9E-2000 -> 0
+bool0521 isinfinite -9E-2000 -> 0
+bool0522 isinfinite 9E-1008 -> 0
+bool0523 isinfinite -9E-1008 -> 0
+bool0524 isinfinite 9E-1007 -> 0
+bool0525 isinfinite -9E-1007 -> 0
+bool0526 isinfinite 9E-1006 -> 0
+bool0527 isinfinite -9E-1006 -> 0
+bool0528 isinfinite 9E-1000 -> 0
+bool0529 isinfinite -9E-1000 -> 0
+bool0530 isinfinite 9E-999 -> 0
+bool0531 isinfinite -9E-999 -> 0
+bool0532 isinfinite 9E-998 -> 0
+bool0533 isinfinite -9E-998 -> 0
+bool0534 isinfinite 9E-100 -> 0
+bool0535 isinfinite -9E-100 -> 0
+bool0536 isinfinite 0.000009 -> 0
+bool0537 isinfinite -0.000009 -> 0
+bool0538 isinfinite 0.009 -> 0
+bool0539 isinfinite -0.009 -> 0
+bool0540 isinfinite 0.09 -> 0
+bool0541 isinfinite -0.09 -> 0
+bool0542 isinfinite 0.9 -> 0
+bool0543 isinfinite -0.9 -> 0
+bool0544 isinfinite 9 -> 0
+bool0545 isinfinite -9 -> 0
+bool0546 isinfinite 9E+1 -> 0
+bool0547 isinfinite -9E+1 -> 0
+bool0548 isinfinite 9E+2 -> 0
+bool0549 isinfinite -9E+2 -> 0
+bool0550 isinfinite 9E+3 -> 0
+bool0551 isinfinite -9E+3 -> 0
+bool0552 isinfinite 9E+6 -> 0
+bool0553 isinfinite -9E+6 -> 0
+bool0554 isinfinite 9E+100 -> 0
+bool0555 isinfinite -9E+100 -> 0
+bool0556 isinfinite 9E+990 -> 0
+bool0557 isinfinite -9E+990 -> 0
+bool0558 isinfinite 9E+991 -> 0
+bool0559 isinfinite -9E+991 -> 0
+bool0560 isinfinite 9E+992 -> 0
+bool0561 isinfinite -9E+992 -> 0
+bool0562 isinfinite 9E+998 -> 0
+bool0563 isinfinite -9E+998 -> 0
+bool0564 isinfinite 9E+999 -> 0
+bool0565 isinfinite -9E+999 -> 0
+bool0566 isinfinite 9E+1000 -> 0
+bool0567 isinfinite -9E+1000 -> 0
+bool0568 isinfinite 9E+2000 -> 0
+bool0569 isinfinite -9E+2000 -> 0
+bool0570 isinfinite 9.99999999E-2000 -> 0
+bool0571 isinfinite -9.99999999E-2000 -> 0
+bool0572 isinfinite 9.99999999E-1008 -> 0
+bool0573 isinfinite -9.99999999E-1008 -> 0
+bool0574 isinfinite 9.99999999E-1007 -> 0
+bool0575 isinfinite -9.99999999E-1007 -> 0
+bool0576 isinfinite 9.99999999E-1006 -> 0
+bool0577 isinfinite -9.99999999E-1006 -> 0
+bool0578 isinfinite 9.99999999E-1000 -> 0
+bool0579 isinfinite -9.99999999E-1000 -> 0
+bool0580 isinfinite 9.99999999E-999 -> 0
+bool0581 isinfinite -9.99999999E-999 -> 0
+bool0582 isinfinite 9.99999999E-998 -> 0
+bool0583 isinfinite -9.99999999E-998 -> 0
+bool0584 isinfinite 9.99999999E-100 -> 0
+bool0585 isinfinite -9.99999999E-100 -> 0
+bool0586 isinfinite 0.00000999999999 -> 0
+bool0587 isinfinite -0.00000999999999 -> 0
+bool0588 isinfinite 0.00999999999 -> 0
+bool0589 isinfinite -0.00999999999 -> 0
+bool0590 isinfinite 0.0999999999 -> 0
+bool0591 isinfinite -0.0999999999 -> 0
+bool0592 isinfinite 0.999999999 -> 0
+bool0593 isinfinite -0.999999999 -> 0
+bool0594 isinfinite 9.99999999 -> 0
+bool0595 isinfinite -9.99999999 -> 0
+bool0596 isinfinite 99.9999999 -> 0
+bool0597 isinfinite -99.9999999 -> 0
+bool0598 isinfinite 999.999999 -> 0
+bool0599 isinfinite -999.999999 -> 0
+bool0600 isinfinite 9999.99999 -> 0
+bool0601 isinfinite -9999.99999 -> 0
+bool0602 isinfinite 9999999.99 -> 0
+bool0603 isinfinite -9999999.99 -> 0
+bool0604 isinfinite 9.99999999E+100 -> 0
+bool0605 isinfinite -9.99999999E+100 -> 0
+bool0606 isinfinite 9.99999999E+990 -> 0
+bool0607 isinfinite -9.99999999E+990 -> 0
+bool0608 isinfinite 9.99999999E+991 -> 0
+bool0609 isinfinite -9.99999999E+991 -> 0
+bool0610 isinfinite 9.99999999E+992 -> 0
+bool0611 isinfinite -9.99999999E+992 -> 0
+bool0612 isinfinite 9.99999999E+998 -> 0
+bool0613 isinfinite -9.99999999E+998 -> 0
+bool0614 isinfinite 9.99999999E+999 -> 0
+bool0615 isinfinite -9.99999999E+999 -> 0
+bool0616 isinfinite 9.99999999E+1000 -> 0
+bool0617 isinfinite -9.99999999E+1000 -> 0
+bool0618 isinfinite 9.99999999E+2000 -> 0
+bool0619 isinfinite -9.99999999E+2000 -> 0
+bool0620 isinfinite Infinity -> 1
+bool0621 isinfinite -Infinity -> 1
+bool0622 isinfinite NaN -> 0
+bool0623 isinfinite -NaN -> 0
+bool0624 isinfinite NaN123 -> 0
+bool0625 isinfinite -NaN123 -> 0
+bool0626 isinfinite sNaN -> 0
+bool0627 isinfinite -sNaN -> 0
+bool0628 isinfinite sNaN123 -> 0
+bool0629 isinfinite -sNaN123 -> 0
+bool0630 isnan 0E-2000 -> 0
+bool0631 isnan -0E-2000 -> 0
+bool0632 isnan 0E-1008 -> 0
+bool0633 isnan -0E-1008 -> 0
+bool0634 isnan 0E-1007 -> 0
+bool0635 isnan -0E-1007 -> 0
+bool0636 isnan 0E-1006 -> 0
+bool0637 isnan -0E-1006 -> 0
+bool0638 isnan 0E-1000 -> 0
+bool0639 isnan -0E-1000 -> 0
+bool0640 isnan 0E-999 -> 0
+bool0641 isnan -0E-999 -> 0
+bool0642 isnan 0E-998 -> 0
+bool0643 isnan -0E-998 -> 0
+bool0644 isnan 0E-100 -> 0
+bool0645 isnan -0E-100 -> 0
+bool0646 isnan 0.000000 -> 0
+bool0647 isnan -0.000000 -> 0
+bool0648 isnan 0.000 -> 0
+bool0649 isnan -0.000 -> 0
+bool0650 isnan 0.00 -> 0
+bool0651 isnan -0.00 -> 0
+bool0652 isnan 0.0 -> 0
+bool0653 isnan -0.0 -> 0
+bool0654 isnan 0 -> 0
+bool0655 isnan -0 -> 0
+bool0656 isnan 0E+1 -> 0
+bool0657 isnan -0E+1 -> 0
+bool0658 isnan 0E+2 -> 0
+bool0659 isnan -0E+2 -> 0
+bool0660 isnan 0E+3 -> 0
+bool0661 isnan -0E+3 -> 0
+bool0662 isnan 0E+6 -> 0
+bool0663 isnan -0E+6 -> 0
+bool0664 isnan 0E+100 -> 0
+bool0665 isnan -0E+100 -> 0
+bool0666 isnan 0E+990 -> 0
+bool0667 isnan -0E+990 -> 0
+bool0668 isnan 0E+991 -> 0
+bool0669 isnan -0E+991 -> 0
+bool0670 isnan 0E+992 -> 0
+bool0671 isnan -0E+992 -> 0
+bool0672 isnan 0E+998 -> 0
+bool0673 isnan -0E+998 -> 0
+bool0674 isnan 0E+999 -> 0
+bool0675 isnan -0E+999 -> 0
+bool0676 isnan 0E+1000 -> 0
+bool0677 isnan -0E+1000 -> 0
+bool0678 isnan 0E+2000 -> 0
+bool0679 isnan -0E+2000 -> 0
+bool0680 isnan 1E-2000 -> 0
+bool0681 isnan -1E-2000 -> 0
+bool0682 isnan 1E-1008 -> 0
+bool0683 isnan -1E-1008 -> 0
+bool0684 isnan 1E-1007 -> 0
+bool0685 isnan -1E-1007 -> 0
+bool0686 isnan 1E-1006 -> 0
+bool0687 isnan -1E-1006 -> 0
+bool0688 isnan 1E-1000 -> 0
+bool0689 isnan -1E-1000 -> 0
+bool0690 isnan 1E-999 -> 0
+bool0691 isnan -1E-999 -> 0
+bool0692 isnan 1E-998 -> 0
+bool0693 isnan -1E-998 -> 0
+bool0694 isnan 1E-100 -> 0
+bool0695 isnan -1E-100 -> 0
+bool0696 isnan 0.000001 -> 0
+bool0697 isnan -0.000001 -> 0
+bool0698 isnan 0.001 -> 0
+bool0699 isnan -0.001 -> 0
+bool0700 isnan 0.01 -> 0
+bool0701 isnan -0.01 -> 0
+bool0702 isnan 0.1 -> 0
+bool0703 isnan -0.1 -> 0
+bool0704 isnan 1 -> 0
+bool0705 isnan -1 -> 0
+bool0706 isnan 1E+1 -> 0
+bool0707 isnan -1E+1 -> 0
+bool0708 isnan 1E+2 -> 0
+bool0709 isnan -1E+2 -> 0
+bool0710 isnan 1E+3 -> 0
+bool0711 isnan -1E+3 -> 0
+bool0712 isnan 1E+6 -> 0
+bool0713 isnan -1E+6 -> 0
+bool0714 isnan 1E+100 -> 0
+bool0715 isnan -1E+100 -> 0
+bool0716 isnan 1E+990 -> 0
+bool0717 isnan -1E+990 -> 0
+bool0718 isnan 1E+991 -> 0
+bool0719 isnan -1E+991 -> 0
+bool0720 isnan 1E+992 -> 0
+bool0721 isnan -1E+992 -> 0
+bool0722 isnan 1E+998 -> 0
+bool0723 isnan -1E+998 -> 0
+bool0724 isnan 1E+999 -> 0
+bool0725 isnan -1E+999 -> 0
+bool0726 isnan 1E+1000 -> 0
+bool0727 isnan -1E+1000 -> 0
+bool0728 isnan 1E+2000 -> 0
+bool0729 isnan -1E+2000 -> 0
+bool0730 isnan 9E-2000 -> 0
+bool0731 isnan -9E-2000 -> 0
+bool0732 isnan 9E-1008 -> 0
+bool0733 isnan -9E-1008 -> 0
+bool0734 isnan 9E-1007 -> 0
+bool0735 isnan -9E-1007 -> 0
+bool0736 isnan 9E-1006 -> 0
+bool0737 isnan -9E-1006 -> 0
+bool0738 isnan 9E-1000 -> 0
+bool0739 isnan -9E-1000 -> 0
+bool0740 isnan 9E-999 -> 0
+bool0741 isnan -9E-999 -> 0
+bool0742 isnan 9E-998 -> 0
+bool0743 isnan -9E-998 -> 0
+bool0744 isnan 9E-100 -> 0
+bool0745 isnan -9E-100 -> 0
+bool0746 isnan 0.000009 -> 0
+bool0747 isnan -0.000009 -> 0
+bool0748 isnan 0.009 -> 0
+bool0749 isnan -0.009 -> 0
+bool0750 isnan 0.09 -> 0
+bool0751 isnan -0.09 -> 0
+bool0752 isnan 0.9 -> 0
+bool0753 isnan -0.9 -> 0
+bool0754 isnan 9 -> 0
+bool0755 isnan -9 -> 0
+bool0756 isnan 9E+1 -> 0
+bool0757 isnan -9E+1 -> 0
+bool0758 isnan 9E+2 -> 0
+bool0759 isnan -9E+2 -> 0
+bool0760 isnan 9E+3 -> 0
+bool0761 isnan -9E+3 -> 0
+bool0762 isnan 9E+6 -> 0
+bool0763 isnan -9E+6 -> 0
+bool0764 isnan 9E+100 -> 0
+bool0765 isnan -9E+100 -> 0
+bool0766 isnan 9E+990 -> 0
+bool0767 isnan -9E+990 -> 0
+bool0768 isnan 9E+991 -> 0
+bool0769 isnan -9E+991 -> 0
+bool0770 isnan 9E+992 -> 0
+bool0771 isnan -9E+992 -> 0
+bool0772 isnan 9E+998 -> 0
+bool0773 isnan -9E+998 -> 0
+bool0774 isnan 9E+999 -> 0
+bool0775 isnan -9E+999 -> 0
+bool0776 isnan 9E+1000 -> 0
+bool0777 isnan -9E+1000 -> 0
+bool0778 isnan 9E+2000 -> 0
+bool0779 isnan -9E+2000 -> 0
+bool0780 isnan 9.99999999E-2000 -> 0
+bool0781 isnan -9.99999999E-2000 -> 0
+bool0782 isnan 9.99999999E-1008 -> 0
+bool0783 isnan -9.99999999E-1008 -> 0
+bool0784 isnan 9.99999999E-1007 -> 0
+bool0785 isnan -9.99999999E-1007 -> 0
+bool0786 isnan 9.99999999E-1006 -> 0
+bool0787 isnan -9.99999999E-1006 -> 0
+bool0788 isnan 9.99999999E-1000 -> 0
+bool0789 isnan -9.99999999E-1000 -> 0
+bool0790 isnan 9.99999999E-999 -> 0
+bool0791 isnan -9.99999999E-999 -> 0
+bool0792 isnan 9.99999999E-998 -> 0
+bool0793 isnan -9.99999999E-998 -> 0
+bool0794 isnan 9.99999999E-100 -> 0
+bool0795 isnan -9.99999999E-100 -> 0
+bool0796 isnan 0.00000999999999 -> 0
+bool0797 isnan -0.00000999999999 -> 0
+bool0798 isnan 0.00999999999 -> 0
+bool0799 isnan -0.00999999999 -> 0
+bool0800 isnan 0.0999999999 -> 0
+bool0801 isnan -0.0999999999 -> 0
+bool0802 isnan 0.999999999 -> 0
+bool0803 isnan -0.999999999 -> 0
+bool0804 isnan 9.99999999 -> 0
+bool0805 isnan -9.99999999 -> 0
+bool0806 isnan 99.9999999 -> 0
+bool0807 isnan -99.9999999 -> 0
+bool0808 isnan 999.999999 -> 0
+bool0809 isnan -999.999999 -> 0
+bool0810 isnan 9999.99999 -> 0
+bool0811 isnan -9999.99999 -> 0
+bool0812 isnan 9999999.99 -> 0
+bool0813 isnan -9999999.99 -> 0
+bool0814 isnan 9.99999999E+100 -> 0
+bool0815 isnan -9.99999999E+100 -> 0
+bool0816 isnan 9.99999999E+990 -> 0
+bool0817 isnan -9.99999999E+990 -> 0
+bool0818 isnan 9.99999999E+991 -> 0
+bool0819 isnan -9.99999999E+991 -> 0
+bool0820 isnan 9.99999999E+992 -> 0
+bool0821 isnan -9.99999999E+992 -> 0
+bool0822 isnan 9.99999999E+998 -> 0
+bool0823 isnan -9.99999999E+998 -> 0
+bool0824 isnan 9.99999999E+999 -> 0
+bool0825 isnan -9.99999999E+999 -> 0
+bool0826 isnan 9.99999999E+1000 -> 0
+bool0827 isnan -9.99999999E+1000 -> 0
+bool0828 isnan 9.99999999E+2000 -> 0
+bool0829 isnan -9.99999999E+2000 -> 0
+bool0830 isnan Infinity -> 0
+bool0831 isnan -Infinity -> 0
+bool0832 isnan NaN -> 1
+bool0833 isnan -NaN -> 1
+bool0834 isnan NaN123 -> 1
+bool0835 isnan -NaN123 -> 1
+bool0836 isnan sNaN -> 1
+bool0837 isnan -sNaN -> 1
+bool0838 isnan sNaN123 -> 1
+bool0839 isnan -sNaN123 -> 1
+bool0840 isnormal 0E-2000 -> 0
+bool0841 isnormal -0E-2000 -> 0
+bool0842 isnormal 0E-1008 -> 0
+bool0843 isnormal -0E-1008 -> 0
+bool0844 isnormal 0E-1007 -> 0
+bool0845 isnormal -0E-1007 -> 0
+bool0846 isnormal 0E-1006 -> 0
+bool0847 isnormal -0E-1006 -> 0
+bool0848 isnormal 0E-1000 -> 0
+bool0849 isnormal -0E-1000 -> 0
+bool0850 isnormal 0E-999 -> 0
+bool0851 isnormal -0E-999 -> 0
+bool0852 isnormal 0E-998 -> 0
+bool0853 isnormal -0E-998 -> 0
+bool0854 isnormal 0E-100 -> 0
+bool0855 isnormal -0E-100 -> 0
+bool0856 isnormal 0.000000 -> 0
+bool0857 isnormal -0.000000 -> 0
+bool0858 isnormal 0.000 -> 0
+bool0859 isnormal -0.000 -> 0
+bool0860 isnormal 0.00 -> 0
+bool0861 isnormal -0.00 -> 0
+bool0862 isnormal 0.0 -> 0
+bool0863 isnormal -0.0 -> 0
+bool0864 isnormal 0 -> 0
+bool0865 isnormal -0 -> 0
+bool0866 isnormal 0E+1 -> 0
+bool0867 isnormal -0E+1 -> 0
+bool0868 isnormal 0E+2 -> 0
+bool0869 isnormal -0E+2 -> 0
+bool0870 isnormal 0E+3 -> 0
+bool0871 isnormal -0E+3 -> 0
+bool0872 isnormal 0E+6 -> 0
+bool0873 isnormal -0E+6 -> 0
+bool0874 isnormal 0E+100 -> 0
+bool0875 isnormal -0E+100 -> 0
+bool0876 isnormal 0E+990 -> 0
+bool0877 isnormal -0E+990 -> 0
+bool0878 isnormal 0E+991 -> 0
+bool0879 isnormal -0E+991 -> 0
+bool0880 isnormal 0E+992 -> 0
+bool0881 isnormal -0E+992 -> 0
+bool0882 isnormal 0E+998 -> 0
+bool0883 isnormal -0E+998 -> 0
+bool0884 isnormal 0E+999 -> 0
+bool0885 isnormal -0E+999 -> 0
+bool0886 isnormal 0E+1000 -> 0
+bool0887 isnormal -0E+1000 -> 0
+bool0888 isnormal 0E+2000 -> 0
+bool0889 isnormal -0E+2000 -> 0
+bool0890 isnormal 1E-2000 -> 0
+bool0891 isnormal -1E-2000 -> 0
+bool0892 isnormal 1E-1008 -> 0
+bool0893 isnormal -1E-1008 -> 0
+bool0894 isnormal 1E-1007 -> 0
+bool0895 isnormal -1E-1007 -> 0
+bool0896 isnormal 1E-1006 -> 0
+bool0897 isnormal -1E-1006 -> 0
+bool0898 isnormal 1E-1000 -> 0
+bool0899 isnormal -1E-1000 -> 0
+bool0900 isnormal 1E-999 -> 1
+bool0901 isnormal -1E-999 -> 1
+bool0902 isnormal 1E-998 -> 1
+bool0903 isnormal -1E-998 -> 1
+bool0904 isnormal 1E-100 -> 1
+bool0905 isnormal -1E-100 -> 1
+bool0906 isnormal 0.000001 -> 1
+bool0907 isnormal -0.000001 -> 1
+bool0908 isnormal 0.001 -> 1
+bool0909 isnormal -0.001 -> 1
+bool0910 isnormal 0.01 -> 1
+bool0911 isnormal -0.01 -> 1
+bool0912 isnormal 0.1 -> 1
+bool0913 isnormal -0.1 -> 1
+bool0914 isnormal 1 -> 1
+bool0915 isnormal -1 -> 1
+bool0916 isnormal 1E+1 -> 1
+bool0917 isnormal -1E+1 -> 1
+bool0918 isnormal 1E+2 -> 1
+bool0919 isnormal -1E+2 -> 1
+bool0920 isnormal 1E+3 -> 1
+bool0921 isnormal -1E+3 -> 1
+bool0922 isnormal 1E+6 -> 1
+bool0923 isnormal -1E+6 -> 1
+bool0924 isnormal 1E+100 -> 1
+bool0925 isnormal -1E+100 -> 1
+bool0926 isnormal 1E+990 -> 1
+bool0927 isnormal -1E+990 -> 1
+bool0928 isnormal 1E+991 -> 1
+bool0929 isnormal -1E+991 -> 1
+bool0930 isnormal 1E+992 -> 1
+bool0931 isnormal -1E+992 -> 1
+bool0932 isnormal 1E+998 -> 1
+bool0933 isnormal -1E+998 -> 1
+bool0934 isnormal 1E+999 -> 1
+bool0935 isnormal -1E+999 -> 1
+bool0936 isnormal 1E+1000 -> 0
+bool0937 isnormal -1E+1000 -> 0
+bool0938 isnormal 1E+2000 -> 0
+bool0939 isnormal -1E+2000 -> 0
+bool0940 isnormal 9E-2000 -> 0
+bool0941 isnormal -9E-2000 -> 0
+bool0942 isnormal 9E-1008 -> 0
+bool0943 isnormal -9E-1008 -> 0
+bool0944 isnormal 9E-1007 -> 0
+bool0945 isnormal -9E-1007 -> 0
+bool0946 isnormal 9E-1006 -> 0
+bool0947 isnormal -9E-1006 -> 0
+bool0948 isnormal 9E-1000 -> 0
+bool0949 isnormal -9E-1000 -> 0
+bool0950 isnormal 9E-999 -> 1
+bool0951 isnormal -9E-999 -> 1
+bool0952 isnormal 9E-998 -> 1
+bool0953 isnormal -9E-998 -> 1
+bool0954 isnormal 9E-100 -> 1
+bool0955 isnormal -9E-100 -> 1
+bool0956 isnormal 0.000009 -> 1
+bool0957 isnormal -0.000009 -> 1
+bool0958 isnormal 0.009 -> 1
+bool0959 isnormal -0.009 -> 1
+bool0960 isnormal 0.09 -> 1
+bool0961 isnormal -0.09 -> 1
+bool0962 isnormal 0.9 -> 1
+bool0963 isnormal -0.9 -> 1
+bool0964 isnormal 9 -> 1
+bool0965 isnormal -9 -> 1
+bool0966 isnormal 9E+1 -> 1
+bool0967 isnormal -9E+1 -> 1
+bool0968 isnormal 9E+2 -> 1
+bool0969 isnormal -9E+2 -> 1
+bool0970 isnormal 9E+3 -> 1
+bool0971 isnormal -9E+3 -> 1
+bool0972 isnormal 9E+6 -> 1
+bool0973 isnormal -9E+6 -> 1
+bool0974 isnormal 9E+100 -> 1
+bool0975 isnormal -9E+100 -> 1
+bool0976 isnormal 9E+990 -> 1
+bool0977 isnormal -9E+990 -> 1
+bool0978 isnormal 9E+991 -> 1
+bool0979 isnormal -9E+991 -> 1
+bool0980 isnormal 9E+992 -> 1
+bool0981 isnormal -9E+992 -> 1
+bool0982 isnormal 9E+998 -> 1
+bool0983 isnormal -9E+998 -> 1
+bool0984 isnormal 9E+999 -> 1
+bool0985 isnormal -9E+999 -> 1
+bool0986 isnormal 9E+1000 -> 0
+bool0987 isnormal -9E+1000 -> 0
+bool0988 isnormal 9E+2000 -> 0
+bool0989 isnormal -9E+2000 -> 0
+bool0990 isnormal 9.99999999E-2000 -> 0
+bool0991 isnormal -9.99999999E-2000 -> 0
+bool0992 isnormal 9.99999999E-1008 -> 0
+bool0993 isnormal -9.99999999E-1008 -> 0
+bool0994 isnormal 9.99999999E-1007 -> 0
+bool0995 isnormal -9.99999999E-1007 -> 0
+bool0996 isnormal 9.99999999E-1006 -> 0
+bool0997 isnormal -9.99999999E-1006 -> 0
+bool0998 isnormal 9.99999999E-1000 -> 0
+bool0999 isnormal -9.99999999E-1000 -> 0
+bool1000 isnormal 9.99999999E-999 -> 1
+bool1001 isnormal -9.99999999E-999 -> 1
+bool1002 isnormal 9.99999999E-998 -> 1
+bool1003 isnormal -9.99999999E-998 -> 1
+bool1004 isnormal 9.99999999E-100 -> 1
+bool1005 isnormal -9.99999999E-100 -> 1
+bool1006 isnormal 0.00000999999999 -> 1
+bool1007 isnormal -0.00000999999999 -> 1
+bool1008 isnormal 0.00999999999 -> 1
+bool1009 isnormal -0.00999999999 -> 1
+bool1010 isnormal 0.0999999999 -> 1
+bool1011 isnormal -0.0999999999 -> 1
+bool1012 isnormal 0.999999999 -> 1
+bool1013 isnormal -0.999999999 -> 1
+bool1014 isnormal 9.99999999 -> 1
+bool1015 isnormal -9.99999999 -> 1
+bool1016 isnormal 99.9999999 -> 1
+bool1017 isnormal -99.9999999 -> 1
+bool1018 isnormal 999.999999 -> 1
+bool1019 isnormal -999.999999 -> 1
+bool1020 isnormal 9999.99999 -> 1
+bool1021 isnormal -9999.99999 -> 1
+bool1022 isnormal 9999999.99 -> 1
+bool1023 isnormal -9999999.99 -> 1
+bool1024 isnormal 9.99999999E+100 -> 1
+bool1025 isnormal -9.99999999E+100 -> 1
+bool1026 isnormal 9.99999999E+990 -> 1
+bool1027 isnormal -9.99999999E+990 -> 1
+bool1028 isnormal 9.99999999E+991 -> 1
+bool1029 isnormal -9.99999999E+991 -> 1
+bool1030 isnormal 9.99999999E+992 -> 1
+bool1031 isnormal -9.99999999E+992 -> 1
+bool1032 isnormal 9.99999999E+998 -> 1
+bool1033 isnormal -9.99999999E+998 -> 1
+bool1034 isnormal 9.99999999E+999 -> 1
+bool1035 isnormal -9.99999999E+999 -> 1
+bool1036 isnormal 9.99999999E+1000 -> 0
+bool1037 isnormal -9.99999999E+1000 -> 0
+bool1038 isnormal 9.99999999E+2000 -> 0
+bool1039 isnormal -9.99999999E+2000 -> 0
+bool1040 isnormal Infinity -> 0
+bool1041 isnormal -Infinity -> 0
+bool1042 isnormal NaN -> 0
+bool1043 isnormal -NaN -> 0
+bool1044 isnormal NaN123 -> 0
+bool1045 isnormal -NaN123 -> 0
+bool1046 isnormal sNaN -> 0
+bool1047 isnormal -sNaN -> 0
+bool1048 isnormal sNaN123 -> 0
+bool1049 isnormal -sNaN123 -> 0
+bool1050 isqnan 0E-2000 -> 0
+bool1051 isqnan -0E-2000 -> 0
+bool1052 isqnan 0E-1008 -> 0
+bool1053 isqnan -0E-1008 -> 0
+bool1054 isqnan 0E-1007 -> 0
+bool1055 isqnan -0E-1007 -> 0
+bool1056 isqnan 0E-1006 -> 0
+bool1057 isqnan -0E-1006 -> 0
+bool1058 isqnan 0E-1000 -> 0
+bool1059 isqnan -0E-1000 -> 0
+bool1060 isqnan 0E-999 -> 0
+bool1061 isqnan -0E-999 -> 0
+bool1062 isqnan 0E-998 -> 0
+bool1063 isqnan -0E-998 -> 0
+bool1064 isqnan 0E-100 -> 0
+bool1065 isqnan -0E-100 -> 0
+bool1066 isqnan 0.000000 -> 0
+bool1067 isqnan -0.000000 -> 0
+bool1068 isqnan 0.000 -> 0
+bool1069 isqnan -0.000 -> 0
+bool1070 isqnan 0.00 -> 0
+bool1071 isqnan -0.00 -> 0
+bool1072 isqnan 0.0 -> 0
+bool1073 isqnan -0.0 -> 0
+bool1074 isqnan 0 -> 0
+bool1075 isqnan -0 -> 0
+bool1076 isqnan 0E+1 -> 0
+bool1077 isqnan -0E+1 -> 0
+bool1078 isqnan 0E+2 -> 0
+bool1079 isqnan -0E+2 -> 0
+bool1080 isqnan 0E+3 -> 0
+bool1081 isqnan -0E+3 -> 0
+bool1082 isqnan 0E+6 -> 0
+bool1083 isqnan -0E+6 -> 0
+bool1084 isqnan 0E+100 -> 0
+bool1085 isqnan -0E+100 -> 0
+bool1086 isqnan 0E+990 -> 0
+bool1087 isqnan -0E+990 -> 0
+bool1088 isqnan 0E+991 -> 0
+bool1089 isqnan -0E+991 -> 0
+bool1090 isqnan 0E+992 -> 0
+bool1091 isqnan -0E+992 -> 0
+bool1092 isqnan 0E+998 -> 0
+bool1093 isqnan -0E+998 -> 0
+bool1094 isqnan 0E+999 -> 0
+bool1095 isqnan -0E+999 -> 0
+bool1096 isqnan 0E+1000 -> 0
+bool1097 isqnan -0E+1000 -> 0
+bool1098 isqnan 0E+2000 -> 0
+bool1099 isqnan -0E+2000 -> 0
+bool1100 isqnan 1E-2000 -> 0
+bool1101 isqnan -1E-2000 -> 0
+bool1102 isqnan 1E-1008 -> 0
+bool1103 isqnan -1E-1008 -> 0
+bool1104 isqnan 1E-1007 -> 0
+bool1105 isqnan -1E-1007 -> 0
+bool1106 isqnan 1E-1006 -> 0
+bool1107 isqnan -1E-1006 -> 0
+bool1108 isqnan 1E-1000 -> 0
+bool1109 isqnan -1E-1000 -> 0
+bool1110 isqnan 1E-999 -> 0
+bool1111 isqnan -1E-999 -> 0
+bool1112 isqnan 1E-998 -> 0
+bool1113 isqnan -1E-998 -> 0
+bool1114 isqnan 1E-100 -> 0
+bool1115 isqnan -1E-100 -> 0
+bool1116 isqnan 0.000001 -> 0
+bool1117 isqnan -0.000001 -> 0
+bool1118 isqnan 0.001 -> 0
+bool1119 isqnan -0.001 -> 0
+bool1120 isqnan 0.01 -> 0
+bool1121 isqnan -0.01 -> 0
+bool1122 isqnan 0.1 -> 0
+bool1123 isqnan -0.1 -> 0
+bool1124 isqnan 1 -> 0
+bool1125 isqnan -1 -> 0
+bool1126 isqnan 1E+1 -> 0
+bool1127 isqnan -1E+1 -> 0
+bool1128 isqnan 1E+2 -> 0
+bool1129 isqnan -1E+2 -> 0
+bool1130 isqnan 1E+3 -> 0
+bool1131 isqnan -1E+3 -> 0
+bool1132 isqnan 1E+6 -> 0
+bool1133 isqnan -1E+6 -> 0
+bool1134 isqnan 1E+100 -> 0
+bool1135 isqnan -1E+100 -> 0
+bool1136 isqnan 1E+990 -> 0
+bool1137 isqnan -1E+990 -> 0
+bool1138 isqnan 1E+991 -> 0
+bool1139 isqnan -1E+991 -> 0
+bool1140 isqnan 1E+992 -> 0
+bool1141 isqnan -1E+992 -> 0
+bool1142 isqnan 1E+998 -> 0
+bool1143 isqnan -1E+998 -> 0
+bool1144 isqnan 1E+999 -> 0
+bool1145 isqnan -1E+999 -> 0
+bool1146 isqnan 1E+1000 -> 0
+bool1147 isqnan -1E+1000 -> 0
+bool1148 isqnan 1E+2000 -> 0
+bool1149 isqnan -1E+2000 -> 0
+bool1150 isqnan 9E-2000 -> 0
+bool1151 isqnan -9E-2000 -> 0
+bool1152 isqnan 9E-1008 -> 0
+bool1153 isqnan -9E-1008 -> 0
+bool1154 isqnan 9E-1007 -> 0
+bool1155 isqnan -9E-1007 -> 0
+bool1156 isqnan 9E-1006 -> 0
+bool1157 isqnan -9E-1006 -> 0
+bool1158 isqnan 9E-1000 -> 0
+bool1159 isqnan -9E-1000 -> 0
+bool1160 isqnan 9E-999 -> 0
+bool1161 isqnan -9E-999 -> 0
+bool1162 isqnan 9E-998 -> 0
+bool1163 isqnan -9E-998 -> 0
+bool1164 isqnan 9E-100 -> 0
+bool1165 isqnan -9E-100 -> 0
+bool1166 isqnan 0.000009 -> 0
+bool1167 isqnan -0.000009 -> 0
+bool1168 isqnan 0.009 -> 0
+bool1169 isqnan -0.009 -> 0
+bool1170 isqnan 0.09 -> 0
+bool1171 isqnan -0.09 -> 0
+bool1172 isqnan 0.9 -> 0
+bool1173 isqnan -0.9 -> 0
+bool1174 isqnan 9 -> 0
+bool1175 isqnan -9 -> 0
+bool1176 isqnan 9E+1 -> 0
+bool1177 isqnan -9E+1 -> 0
+bool1178 isqnan 9E+2 -> 0
+bool1179 isqnan -9E+2 -> 0
+bool1180 isqnan 9E+3 -> 0
+bool1181 isqnan -9E+3 -> 0
+bool1182 isqnan 9E+6 -> 0
+bool1183 isqnan -9E+6 -> 0
+bool1184 isqnan 9E+100 -> 0
+bool1185 isqnan -9E+100 -> 0
+bool1186 isqnan 9E+990 -> 0
+bool1187 isqnan -9E+990 -> 0
+bool1188 isqnan 9E+991 -> 0
+bool1189 isqnan -9E+991 -> 0
+bool1190 isqnan 9E+992 -> 0
+bool1191 isqnan -9E+992 -> 0
+bool1192 isqnan 9E+998 -> 0
+bool1193 isqnan -9E+998 -> 0
+bool1194 isqnan 9E+999 -> 0
+bool1195 isqnan -9E+999 -> 0
+bool1196 isqnan 9E+1000 -> 0
+bool1197 isqnan -9E+1000 -> 0
+bool1198 isqnan 9E+2000 -> 0
+bool1199 isqnan -9E+2000 -> 0
+bool1200 isqnan 9.99999999E-2000 -> 0
+bool1201 isqnan -9.99999999E-2000 -> 0
+bool1202 isqnan 9.99999999E-1008 -> 0
+bool1203 isqnan -9.99999999E-1008 -> 0
+bool1204 isqnan 9.99999999E-1007 -> 0
+bool1205 isqnan -9.99999999E-1007 -> 0
+bool1206 isqnan 9.99999999E-1006 -> 0
+bool1207 isqnan -9.99999999E-1006 -> 0
+bool1208 isqnan 9.99999999E-1000 -> 0
+bool1209 isqnan -9.99999999E-1000 -> 0
+bool1210 isqnan 9.99999999E-999 -> 0
+bool1211 isqnan -9.99999999E-999 -> 0
+bool1212 isqnan 9.99999999E-998 -> 0
+bool1213 isqnan -9.99999999E-998 -> 0
+bool1214 isqnan 9.99999999E-100 -> 0
+bool1215 isqnan -9.99999999E-100 -> 0
+bool1216 isqnan 0.00000999999999 -> 0
+bool1217 isqnan -0.00000999999999 -> 0
+bool1218 isqnan 0.00999999999 -> 0
+bool1219 isqnan -0.00999999999 -> 0
+bool1220 isqnan 0.0999999999 -> 0
+bool1221 isqnan -0.0999999999 -> 0
+bool1222 isqnan 0.999999999 -> 0
+bool1223 isqnan -0.999999999 -> 0
+bool1224 isqnan 9.99999999 -> 0
+bool1225 isqnan -9.99999999 -> 0
+bool1226 isqnan 99.9999999 -> 0
+bool1227 isqnan -99.9999999 -> 0
+bool1228 isqnan 999.999999 -> 0
+bool1229 isqnan -999.999999 -> 0
+bool1230 isqnan 9999.99999 -> 0
+bool1231 isqnan -9999.99999 -> 0
+bool1232 isqnan 9999999.99 -> 0
+bool1233 isqnan -9999999.99 -> 0
+bool1234 isqnan 9.99999999E+100 -> 0
+bool1235 isqnan -9.99999999E+100 -> 0
+bool1236 isqnan 9.99999999E+990 -> 0
+bool1237 isqnan -9.99999999E+990 -> 0
+bool1238 isqnan 9.99999999E+991 -> 0
+bool1239 isqnan -9.99999999E+991 -> 0
+bool1240 isqnan 9.99999999E+992 -> 0
+bool1241 isqnan -9.99999999E+992 -> 0
+bool1242 isqnan 9.99999999E+998 -> 0
+bool1243 isqnan -9.99999999E+998 -> 0
+bool1244 isqnan 9.99999999E+999 -> 0
+bool1245 isqnan -9.99999999E+999 -> 0
+bool1246 isqnan 9.99999999E+1000 -> 0
+bool1247 isqnan -9.99999999E+1000 -> 0
+bool1248 isqnan 9.99999999E+2000 -> 0
+bool1249 isqnan -9.99999999E+2000 -> 0
+bool1250 isqnan Infinity -> 0
+bool1251 isqnan -Infinity -> 0
+bool1252 isqnan NaN -> 1
+bool1253 isqnan -NaN -> 1
+bool1254 isqnan NaN123 -> 1
+bool1255 isqnan -NaN123 -> 1
+bool1256 isqnan sNaN -> 0
+bool1257 isqnan -sNaN -> 0
+bool1258 isqnan sNaN123 -> 0
+bool1259 isqnan -sNaN123 -> 0
+bool1260 issigned 0E-2000 -> 0
+bool1261 issigned -0E-2000 -> 1
+bool1262 issigned 0E-1008 -> 0
+bool1263 issigned -0E-1008 -> 1
+bool1264 issigned 0E-1007 -> 0
+bool1265 issigned -0E-1007 -> 1
+bool1266 issigned 0E-1006 -> 0
+bool1267 issigned -0E-1006 -> 1
+bool1268 issigned 0E-1000 -> 0
+bool1269 issigned -0E-1000 -> 1
+bool1270 issigned 0E-999 -> 0
+bool1271 issigned -0E-999 -> 1
+bool1272 issigned 0E-998 -> 0
+bool1273 issigned -0E-998 -> 1
+bool1274 issigned 0E-100 -> 0
+bool1275 issigned -0E-100 -> 1
+bool1276 issigned 0.000000 -> 0
+bool1277 issigned -0.000000 -> 1
+bool1278 issigned 0.000 -> 0
+bool1279 issigned -0.000 -> 1
+bool1280 issigned 0.00 -> 0
+bool1281 issigned -0.00 -> 1
+bool1282 issigned 0.0 -> 0
+bool1283 issigned -0.0 -> 1
+bool1284 issigned 0 -> 0
+bool1285 issigned -0 -> 1
+bool1286 issigned 0E+1 -> 0
+bool1287 issigned -0E+1 -> 1
+bool1288 issigned 0E+2 -> 0
+bool1289 issigned -0E+2 -> 1
+bool1290 issigned 0E+3 -> 0
+bool1291 issigned -0E+3 -> 1
+bool1292 issigned 0E+6 -> 0
+bool1293 issigned -0E+6 -> 1
+bool1294 issigned 0E+100 -> 0
+bool1295 issigned -0E+100 -> 1
+bool1296 issigned 0E+990 -> 0
+bool1297 issigned -0E+990 -> 1
+bool1298 issigned 0E+991 -> 0
+bool1299 issigned -0E+991 -> 1
+bool1300 issigned 0E+992 -> 0
+bool1301 issigned -0E+992 -> 1
+bool1302 issigned 0E+998 -> 0
+bool1303 issigned -0E+998 -> 1
+bool1304 issigned 0E+999 -> 0
+bool1305 issigned -0E+999 -> 1
+bool1306 issigned 0E+1000 -> 0
+bool1307 issigned -0E+1000 -> 1
+bool1308 issigned 0E+2000 -> 0
+bool1309 issigned -0E+2000 -> 1
+bool1310 issigned 1E-2000 -> 0
+bool1311 issigned -1E-2000 -> 1
+bool1312 issigned 1E-1008 -> 0
+bool1313 issigned -1E-1008 -> 1
+bool1314 issigned 1E-1007 -> 0
+bool1315 issigned -1E-1007 -> 1
+bool1316 issigned 1E-1006 -> 0
+bool1317 issigned -1E-1006 -> 1
+bool1318 issigned 1E-1000 -> 0
+bool1319 issigned -1E-1000 -> 1
+bool1320 issigned 1E-999 -> 0
+bool1321 issigned -1E-999 -> 1
+bool1322 issigned 1E-998 -> 0
+bool1323 issigned -1E-998 -> 1
+bool1324 issigned 1E-100 -> 0
+bool1325 issigned -1E-100 -> 1
+bool1326 issigned 0.000001 -> 0
+bool1327 issigned -0.000001 -> 1
+bool1328 issigned 0.001 -> 0
+bool1329 issigned -0.001 -> 1
+bool1330 issigned 0.01 -> 0
+bool1331 issigned -0.01 -> 1
+bool1332 issigned 0.1 -> 0
+bool1333 issigned -0.1 -> 1
+bool1334 issigned 1 -> 0
+bool1335 issigned -1 -> 1
+bool1336 issigned 1E+1 -> 0
+bool1337 issigned -1E+1 -> 1
+bool1338 issigned 1E+2 -> 0
+bool1339 issigned -1E+2 -> 1
+bool1340 issigned 1E+3 -> 0
+bool1341 issigned -1E+3 -> 1
+bool1342 issigned 1E+6 -> 0
+bool1343 issigned -1E+6 -> 1
+bool1344 issigned 1E+100 -> 0
+bool1345 issigned -1E+100 -> 1
+bool1346 issigned 1E+990 -> 0
+bool1347 issigned -1E+990 -> 1
+bool1348 issigned 1E+991 -> 0
+bool1349 issigned -1E+991 -> 1
+bool1350 issigned 1E+992 -> 0
+bool1351 issigned -1E+992 -> 1
+bool1352 issigned 1E+998 -> 0
+bool1353 issigned -1E+998 -> 1
+bool1354 issigned 1E+999 -> 0
+bool1355 issigned -1E+999 -> 1
+bool1356 issigned 1E+1000 -> 0
+bool1357 issigned -1E+1000 -> 1
+bool1358 issigned 1E+2000 -> 0
+bool1359 issigned -1E+2000 -> 1
+bool1360 issigned 9E-2000 -> 0
+bool1361 issigned -9E-2000 -> 1
+bool1362 issigned 9E-1008 -> 0
+bool1363 issigned -9E-1008 -> 1
+bool1364 issigned 9E-1007 -> 0
+bool1365 issigned -9E-1007 -> 1
+bool1366 issigned 9E-1006 -> 0
+bool1367 issigned -9E-1006 -> 1
+bool1368 issigned 9E-1000 -> 0
+bool1369 issigned -9E-1000 -> 1
+bool1370 issigned 9E-999 -> 0
+bool1371 issigned -9E-999 -> 1
+bool1372 issigned 9E-998 -> 0
+bool1373 issigned -9E-998 -> 1
+bool1374 issigned 9E-100 -> 0
+bool1375 issigned -9E-100 -> 1
+bool1376 issigned 0.000009 -> 0
+bool1377 issigned -0.000009 -> 1
+bool1378 issigned 0.009 -> 0
+bool1379 issigned -0.009 -> 1
+bool1380 issigned 0.09 -> 0
+bool1381 issigned -0.09 -> 1
+bool1382 issigned 0.9 -> 0
+bool1383 issigned -0.9 -> 1
+bool1384 issigned 9 -> 0
+bool1385 issigned -9 -> 1
+bool1386 issigned 9E+1 -> 0
+bool1387 issigned -9E+1 -> 1
+bool1388 issigned 9E+2 -> 0
+bool1389 issigned -9E+2 -> 1
+bool1390 issigned 9E+3 -> 0
+bool1391 issigned -9E+3 -> 1
+bool1392 issigned 9E+6 -> 0
+bool1393 issigned -9E+6 -> 1
+bool1394 issigned 9E+100 -> 0
+bool1395 issigned -9E+100 -> 1
+bool1396 issigned 9E+990 -> 0
+bool1397 issigned -9E+990 -> 1
+bool1398 issigned 9E+991 -> 0
+bool1399 issigned -9E+991 -> 1
+bool1400 issigned 9E+992 -> 0
+bool1401 issigned -9E+992 -> 1
+bool1402 issigned 9E+998 -> 0
+bool1403 issigned -9E+998 -> 1
+bool1404 issigned 9E+999 -> 0
+bool1405 issigned -9E+999 -> 1
+bool1406 issigned 9E+1000 -> 0
+bool1407 issigned -9E+1000 -> 1
+bool1408 issigned 9E+2000 -> 0
+bool1409 issigned -9E+2000 -> 1
+bool1410 issigned 9.99999999E-2000 -> 0
+bool1411 issigned -9.99999999E-2000 -> 1
+bool1412 issigned 9.99999999E-1008 -> 0
+bool1413 issigned -9.99999999E-1008 -> 1
+bool1414 issigned 9.99999999E-1007 -> 0
+bool1415 issigned -9.99999999E-1007 -> 1
+bool1416 issigned 9.99999999E-1006 -> 0
+bool1417 issigned -9.99999999E-1006 -> 1
+bool1418 issigned 9.99999999E-1000 -> 0
+bool1419 issigned -9.99999999E-1000 -> 1
+bool1420 issigned 9.99999999E-999 -> 0
+bool1421 issigned -9.99999999E-999 -> 1
+bool1422 issigned 9.99999999E-998 -> 0
+bool1423 issigned -9.99999999E-998 -> 1
+bool1424 issigned 9.99999999E-100 -> 0
+bool1425 issigned -9.99999999E-100 -> 1
+bool1426 issigned 0.00000999999999 -> 0
+bool1427 issigned -0.00000999999999 -> 1
+bool1428 issigned 0.00999999999 -> 0
+bool1429 issigned -0.00999999999 -> 1
+bool1430 issigned 0.0999999999 -> 0
+bool1431 issigned -0.0999999999 -> 1
+bool1432 issigned 0.999999999 -> 0
+bool1433 issigned -0.999999999 -> 1
+bool1434 issigned 9.99999999 -> 0
+bool1435 issigned -9.99999999 -> 1
+bool1436 issigned 99.9999999 -> 0
+bool1437 issigned -99.9999999 -> 1
+bool1438 issigned 999.999999 -> 0
+bool1439 issigned -999.999999 -> 1
+bool1440 issigned 9999.99999 -> 0
+bool1441 issigned -9999.99999 -> 1
+bool1442 issigned 9999999.99 -> 0
+bool1443 issigned -9999999.99 -> 1
+bool1444 issigned 9.99999999E+100 -> 0
+bool1445 issigned -9.99999999E+100 -> 1
+bool1446 issigned 9.99999999E+990 -> 0
+bool1447 issigned -9.99999999E+990 -> 1
+bool1448 issigned 9.99999999E+991 -> 0
+bool1449 issigned -9.99999999E+991 -> 1
+bool1450 issigned 9.99999999E+992 -> 0
+bool1451 issigned -9.99999999E+992 -> 1
+bool1452 issigned 9.99999999E+998 -> 0
+bool1453 issigned -9.99999999E+998 -> 1
+bool1454 issigned 9.99999999E+999 -> 0
+bool1455 issigned -9.99999999E+999 -> 1
+bool1456 issigned 9.99999999E+1000 -> 0
+bool1457 issigned -9.99999999E+1000 -> 1
+bool1458 issigned 9.99999999E+2000 -> 0
+bool1459 issigned -9.99999999E+2000 -> 1
+bool1460 issigned Infinity -> 0
+bool1461 issigned -Infinity -> 1
+bool1462 issigned NaN -> 0
+bool1463 issigned -NaN -> 1
+bool1464 issigned NaN123 -> 0
+bool1465 issigned -NaN123 -> 1
+bool1466 issigned sNaN -> 0
+bool1467 issigned -sNaN -> 1
+bool1468 issigned sNaN123 -> 0
+bool1469 issigned -sNaN123 -> 1
+bool1470 issnan 0E-2000 -> 0
+bool1471 issnan -0E-2000 -> 0
+bool1472 issnan 0E-1008 -> 0
+bool1473 issnan -0E-1008 -> 0
+bool1474 issnan 0E-1007 -> 0
+bool1475 issnan -0E-1007 -> 0
+bool1476 issnan 0E-1006 -> 0
+bool1477 issnan -0E-1006 -> 0
+bool1478 issnan 0E-1000 -> 0
+bool1479 issnan -0E-1000 -> 0
+bool1480 issnan 0E-999 -> 0
+bool1481 issnan -0E-999 -> 0
+bool1482 issnan 0E-998 -> 0
+bool1483 issnan -0E-998 -> 0
+bool1484 issnan 0E-100 -> 0
+bool1485 issnan -0E-100 -> 0
+bool1486 issnan 0.000000 -> 0
+bool1487 issnan -0.000000 -> 0
+bool1488 issnan 0.000 -> 0
+bool1489 issnan -0.000 -> 0
+bool1490 issnan 0.00 -> 0
+bool1491 issnan -0.00 -> 0
+bool1492 issnan 0.0 -> 0
+bool1493 issnan -0.0 -> 0
+bool1494 issnan 0 -> 0
+bool1495 issnan -0 -> 0
+bool1496 issnan 0E+1 -> 0
+bool1497 issnan -0E+1 -> 0
+bool1498 issnan 0E+2 -> 0
+bool1499 issnan -0E+2 -> 0
+bool1500 issnan 0E+3 -> 0
+bool1501 issnan -0E+3 -> 0
+bool1502 issnan 0E+6 -> 0
+bool1503 issnan -0E+6 -> 0
+bool1504 issnan 0E+100 -> 0
+bool1505 issnan -0E+100 -> 0
+bool1506 issnan 0E+990 -> 0
+bool1507 issnan -0E+990 -> 0
+bool1508 issnan 0E+991 -> 0
+bool1509 issnan -0E+991 -> 0
+bool1510 issnan 0E+992 -> 0
+bool1511 issnan -0E+992 -> 0
+bool1512 issnan 0E+998 -> 0
+bool1513 issnan -0E+998 -> 0
+bool1514 issnan 0E+999 -> 0
+bool1515 issnan -0E+999 -> 0
+bool1516 issnan 0E+1000 -> 0
+bool1517 issnan -0E+1000 -> 0
+bool1518 issnan 0E+2000 -> 0
+bool1519 issnan -0E+2000 -> 0
+bool1520 issnan 1E-2000 -> 0
+bool1521 issnan -1E-2000 -> 0
+bool1522 issnan 1E-1008 -> 0
+bool1523 issnan -1E-1008 -> 0
+bool1524 issnan 1E-1007 -> 0
+bool1525 issnan -1E-1007 -> 0
+bool1526 issnan 1E-1006 -> 0
+bool1527 issnan -1E-1006 -> 0
+bool1528 issnan 1E-1000 -> 0
+bool1529 issnan -1E-1000 -> 0
+bool1530 issnan 1E-999 -> 0
+bool1531 issnan -1E-999 -> 0
+bool1532 issnan 1E-998 -> 0
+bool1533 issnan -1E-998 -> 0
+bool1534 issnan 1E-100 -> 0
+bool1535 issnan -1E-100 -> 0
+bool1536 issnan 0.000001 -> 0
+bool1537 issnan -0.000001 -> 0
+bool1538 issnan 0.001 -> 0
+bool1539 issnan -0.001 -> 0
+bool1540 issnan 0.01 -> 0
+bool1541 issnan -0.01 -> 0
+bool1542 issnan 0.1 -> 0
+bool1543 issnan -0.1 -> 0
+bool1544 issnan 1 -> 0
+bool1545 issnan -1 -> 0
+bool1546 issnan 1E+1 -> 0
+bool1547 issnan -1E+1 -> 0
+bool1548 issnan 1E+2 -> 0
+bool1549 issnan -1E+2 -> 0
+bool1550 issnan 1E+3 -> 0
+bool1551 issnan -1E+3 -> 0
+bool1552 issnan 1E+6 -> 0
+bool1553 issnan -1E+6 -> 0
+bool1554 issnan 1E+100 -> 0
+bool1555 issnan -1E+100 -> 0
+bool1556 issnan 1E+990 -> 0
+bool1557 issnan -1E+990 -> 0
+bool1558 issnan 1E+991 -> 0
+bool1559 issnan -1E+991 -> 0
+bool1560 issnan 1E+992 -> 0
+bool1561 issnan -1E+992 -> 0
+bool1562 issnan 1E+998 -> 0
+bool1563 issnan -1E+998 -> 0
+bool1564 issnan 1E+999 -> 0
+bool1565 issnan -1E+999 -> 0
+bool1566 issnan 1E+1000 -> 0
+bool1567 issnan -1E+1000 -> 0
+bool1568 issnan 1E+2000 -> 0
+bool1569 issnan -1E+2000 -> 0
+bool1570 issnan 9E-2000 -> 0
+bool1571 issnan -9E-2000 -> 0
+bool1572 issnan 9E-1008 -> 0
+bool1573 issnan -9E-1008 -> 0
+bool1574 issnan 9E-1007 -> 0
+bool1575 issnan -9E-1007 -> 0
+bool1576 issnan 9E-1006 -> 0
+bool1577 issnan -9E-1006 -> 0
+bool1578 issnan 9E-1000 -> 0
+bool1579 issnan -9E-1000 -> 0
+bool1580 issnan 9E-999 -> 0
+bool1581 issnan -9E-999 -> 0
+bool1582 issnan 9E-998 -> 0
+bool1583 issnan -9E-998 -> 0
+bool1584 issnan 9E-100 -> 0
+bool1585 issnan -9E-100 -> 0
+bool1586 issnan 0.000009 -> 0
+bool1587 issnan -0.000009 -> 0
+bool1588 issnan 0.009 -> 0
+bool1589 issnan -0.009 -> 0
+bool1590 issnan 0.09 -> 0
+bool1591 issnan -0.09 -> 0
+bool1592 issnan 0.9 -> 0
+bool1593 issnan -0.9 -> 0
+bool1594 issnan 9 -> 0
+bool1595 issnan -9 -> 0
+bool1596 issnan 9E+1 -> 0
+bool1597 issnan -9E+1 -> 0
+bool1598 issnan 9E+2 -> 0
+bool1599 issnan -9E+2 -> 0
+bool1600 issnan 9E+3 -> 0
+bool1601 issnan -9E+3 -> 0
+bool1602 issnan 9E+6 -> 0
+bool1603 issnan -9E+6 -> 0
+bool1604 issnan 9E+100 -> 0
+bool1605 issnan -9E+100 -> 0
+bool1606 issnan 9E+990 -> 0
+bool1607 issnan -9E+990 -> 0
+bool1608 issnan 9E+991 -> 0
+bool1609 issnan -9E+991 -> 0
+bool1610 issnan 9E+992 -> 0
+bool1611 issnan -9E+992 -> 0
+bool1612 issnan 9E+998 -> 0
+bool1613 issnan -9E+998 -> 0
+bool1614 issnan 9E+999 -> 0
+bool1615 issnan -9E+999 -> 0
+bool1616 issnan 9E+1000 -> 0
+bool1617 issnan -9E+1000 -> 0
+bool1618 issnan 9E+2000 -> 0
+bool1619 issnan -9E+2000 -> 0
+bool1620 issnan 9.99999999E-2000 -> 0
+bool1621 issnan -9.99999999E-2000 -> 0
+bool1622 issnan 9.99999999E-1008 -> 0
+bool1623 issnan -9.99999999E-1008 -> 0
+bool1624 issnan 9.99999999E-1007 -> 0
+bool1625 issnan -9.99999999E-1007 -> 0
+bool1626 issnan 9.99999999E-1006 -> 0
+bool1627 issnan -9.99999999E-1006 -> 0
+bool1628 issnan 9.99999999E-1000 -> 0
+bool1629 issnan -9.99999999E-1000 -> 0
+bool1630 issnan 9.99999999E-999 -> 0
+bool1631 issnan -9.99999999E-999 -> 0
+bool1632 issnan 9.99999999E-998 -> 0
+bool1633 issnan -9.99999999E-998 -> 0
+bool1634 issnan 9.99999999E-100 -> 0
+bool1635 issnan -9.99999999E-100 -> 0
+bool1636 issnan 0.00000999999999 -> 0
+bool1637 issnan -0.00000999999999 -> 0
+bool1638 issnan 0.00999999999 -> 0
+bool1639 issnan -0.00999999999 -> 0
+bool1640 issnan 0.0999999999 -> 0
+bool1641 issnan -0.0999999999 -> 0
+bool1642 issnan 0.999999999 -> 0
+bool1643 issnan -0.999999999 -> 0
+bool1644 issnan 9.99999999 -> 0
+bool1645 issnan -9.99999999 -> 0
+bool1646 issnan 99.9999999 -> 0
+bool1647 issnan -99.9999999 -> 0
+bool1648 issnan 999.999999 -> 0
+bool1649 issnan -999.999999 -> 0
+bool1650 issnan 9999.99999 -> 0
+bool1651 issnan -9999.99999 -> 0
+bool1652 issnan 9999999.99 -> 0
+bool1653 issnan -9999999.99 -> 0
+bool1654 issnan 9.99999999E+100 -> 0
+bool1655 issnan -9.99999999E+100 -> 0
+bool1656 issnan 9.99999999E+990 -> 0
+bool1657 issnan -9.99999999E+990 -> 0
+bool1658 issnan 9.99999999E+991 -> 0
+bool1659 issnan -9.99999999E+991 -> 0
+bool1660 issnan 9.99999999E+992 -> 0
+bool1661 issnan -9.99999999E+992 -> 0
+bool1662 issnan 9.99999999E+998 -> 0
+bool1663 issnan -9.99999999E+998 -> 0
+bool1664 issnan 9.99999999E+999 -> 0
+bool1665 issnan -9.99999999E+999 -> 0
+bool1666 issnan 9.99999999E+1000 -> 0
+bool1667 issnan -9.99999999E+1000 -> 0
+bool1668 issnan 9.99999999E+2000 -> 0
+bool1669 issnan -9.99999999E+2000 -> 0
+bool1670 issnan Infinity -> 0
+bool1671 issnan -Infinity -> 0
+bool1672 issnan NaN -> 0
+bool1673 issnan -NaN -> 0
+bool1674 issnan NaN123 -> 0
+bool1675 issnan -NaN123 -> 0
+bool1676 issnan sNaN -> 1
+bool1677 issnan -sNaN -> 1
+bool1678 issnan sNaN123 -> 1
+bool1679 issnan -sNaN123 -> 1
+bool1680 issubnormal 0E-2000 -> 0
+bool1681 issubnormal -0E-2000 -> 0
+bool1682 issubnormal 0E-1008 -> 0
+bool1683 issubnormal -0E-1008 -> 0
+bool1684 issubnormal 0E-1007 -> 0
+bool1685 issubnormal -0E-1007 -> 0
+bool1686 issubnormal 0E-1006 -> 0
+bool1687 issubnormal -0E-1006 -> 0
+bool1688 issubnormal 0E-1000 -> 0
+bool1689 issubnormal -0E-1000 -> 0
+bool1690 issubnormal 0E-999 -> 0
+bool1691 issubnormal -0E-999 -> 0
+bool1692 issubnormal 0E-998 -> 0
+bool1693 issubnormal -0E-998 -> 0
+bool1694 issubnormal 0E-100 -> 0
+bool1695 issubnormal -0E-100 -> 0
+bool1696 issubnormal 0.000000 -> 0
+bool1697 issubnormal -0.000000 -> 0
+bool1698 issubnormal 0.000 -> 0
+bool1699 issubnormal -0.000 -> 0
+bool1700 issubnormal 0.00 -> 0
+bool1701 issubnormal -0.00 -> 0
+bool1702 issubnormal 0.0 -> 0
+bool1703 issubnormal -0.0 -> 0
+bool1704 issubnormal 0 -> 0
+bool1705 issubnormal -0 -> 0
+bool1706 issubnormal 0E+1 -> 0
+bool1707 issubnormal -0E+1 -> 0
+bool1708 issubnormal 0E+2 -> 0
+bool1709 issubnormal -0E+2 -> 0
+bool1710 issubnormal 0E+3 -> 0
+bool1711 issubnormal -0E+3 -> 0
+bool1712 issubnormal 0E+6 -> 0
+bool1713 issubnormal -0E+6 -> 0
+bool1714 issubnormal 0E+100 -> 0
+bool1715 issubnormal -0E+100 -> 0
+bool1716 issubnormal 0E+990 -> 0
+bool1717 issubnormal -0E+990 -> 0
+bool1718 issubnormal 0E+991 -> 0
+bool1719 issubnormal -0E+991 -> 0
+bool1720 issubnormal 0E+992 -> 0
+bool1721 issubnormal -0E+992 -> 0
+bool1722 issubnormal 0E+998 -> 0
+bool1723 issubnormal -0E+998 -> 0
+bool1724 issubnormal 0E+999 -> 0
+bool1725 issubnormal -0E+999 -> 0
+bool1726 issubnormal 0E+1000 -> 0
+bool1727 issubnormal -0E+1000 -> 0
+bool1728 issubnormal 0E+2000 -> 0
+bool1729 issubnormal -0E+2000 -> 0
+bool1730 issubnormal 1E-2000 -> 1
+bool1731 issubnormal -1E-2000 -> 1
+bool1732 issubnormal 1E-1008 -> 1
+bool1733 issubnormal -1E-1008 -> 1
+bool1734 issubnormal 1E-1007 -> 1
+bool1735 issubnormal -1E-1007 -> 1
+bool1736 issubnormal 1E-1006 -> 1
+bool1737 issubnormal -1E-1006 -> 1
+bool1738 issubnormal 1E-1000 -> 1
+bool1739 issubnormal -1E-1000 -> 1
+bool1740 issubnormal 1E-999 -> 0
+bool1741 issubnormal -1E-999 -> 0
+bool1742 issubnormal 1E-998 -> 0
+bool1743 issubnormal -1E-998 -> 0
+bool1744 issubnormal 1E-100 -> 0
+bool1745 issubnormal -1E-100 -> 0
+bool1746 issubnormal 0.000001 -> 0
+bool1747 issubnormal -0.000001 -> 0
+bool1748 issubnormal 0.001 -> 0
+bool1749 issubnormal -0.001 -> 0
+bool1750 issubnormal 0.01 -> 0
+bool1751 issubnormal -0.01 -> 0
+bool1752 issubnormal 0.1 -> 0
+bool1753 issubnormal -0.1 -> 0
+bool1754 issubnormal 1 -> 0
+bool1755 issubnormal -1 -> 0
+bool1756 issubnormal 1E+1 -> 0
+bool1757 issubnormal -1E+1 -> 0
+bool1758 issubnormal 1E+2 -> 0
+bool1759 issubnormal -1E+2 -> 0
+bool1760 issubnormal 1E+3 -> 0
+bool1761 issubnormal -1E+3 -> 0
+bool1762 issubnormal 1E+6 -> 0
+bool1763 issubnormal -1E+6 -> 0
+bool1764 issubnormal 1E+100 -> 0
+bool1765 issubnormal -1E+100 -> 0
+bool1766 issubnormal 1E+990 -> 0
+bool1767 issubnormal -1E+990 -> 0
+bool1768 issubnormal 1E+991 -> 0
+bool1769 issubnormal -1E+991 -> 0
+bool1770 issubnormal 1E+992 -> 0
+bool1771 issubnormal -1E+992 -> 0
+bool1772 issubnormal 1E+998 -> 0
+bool1773 issubnormal -1E+998 -> 0
+bool1774 issubnormal 1E+999 -> 0
+bool1775 issubnormal -1E+999 -> 0
+bool1776 issubnormal 1E+1000 -> 0
+bool1777 issubnormal -1E+1000 -> 0
+bool1778 issubnormal 1E+2000 -> 0
+bool1779 issubnormal -1E+2000 -> 0
+bool1780 issubnormal 9E-2000 -> 1
+bool1781 issubnormal -9E-2000 -> 1
+bool1782 issubnormal 9E-1008 -> 1
+bool1783 issubnormal -9E-1008 -> 1
+bool1784 issubnormal 9E-1007 -> 1
+bool1785 issubnormal -9E-1007 -> 1
+bool1786 issubnormal 9E-1006 -> 1
+bool1787 issubnormal -9E-1006 -> 1
+bool1788 issubnormal 9E-1000 -> 1
+bool1789 issubnormal -9E-1000 -> 1
+bool1790 issubnormal 9E-999 -> 0
+bool1791 issubnormal -9E-999 -> 0
+bool1792 issubnormal 9E-998 -> 0
+bool1793 issubnormal -9E-998 -> 0
+bool1794 issubnormal 9E-100 -> 0
+bool1795 issubnormal -9E-100 -> 0
+bool1796 issubnormal 0.000009 -> 0
+bool1797 issubnormal -0.000009 -> 0
+bool1798 issubnormal 0.009 -> 0
+bool1799 issubnormal -0.009 -> 0
+bool1800 issubnormal 0.09 -> 0
+bool1801 issubnormal -0.09 -> 0
+bool1802 issubnormal 0.9 -> 0
+bool1803 issubnormal -0.9 -> 0
+bool1804 issubnormal 9 -> 0
+bool1805 issubnormal -9 -> 0
+bool1806 issubnormal 9E+1 -> 0
+bool1807 issubnormal -9E+1 -> 0
+bool1808 issubnormal 9E+2 -> 0
+bool1809 issubnormal -9E+2 -> 0
+bool1810 issubnormal 9E+3 -> 0
+bool1811 issubnormal -9E+3 -> 0
+bool1812 issubnormal 9E+6 -> 0
+bool1813 issubnormal -9E+6 -> 0
+bool1814 issubnormal 9E+100 -> 0
+bool1815 issubnormal -9E+100 -> 0
+bool1816 issubnormal 9E+990 -> 0
+bool1817 issubnormal -9E+990 -> 0
+bool1818 issubnormal 9E+991 -> 0
+bool1819 issubnormal -9E+991 -> 0
+bool1820 issubnormal 9E+992 -> 0
+bool1821 issubnormal -9E+992 -> 0
+bool1822 issubnormal 9E+998 -> 0
+bool1823 issubnormal -9E+998 -> 0
+bool1824 issubnormal 9E+999 -> 0
+bool1825 issubnormal -9E+999 -> 0
+bool1826 issubnormal 9E+1000 -> 0
+bool1827 issubnormal -9E+1000 -> 0
+bool1828 issubnormal 9E+2000 -> 0
+bool1829 issubnormal -9E+2000 -> 0
+bool1830 issubnormal 9.99999999E-2000 -> 1
+bool1831 issubnormal -9.99999999E-2000 -> 1
+bool1832 issubnormal 9.99999999E-1008 -> 1
+bool1833 issubnormal -9.99999999E-1008 -> 1
+bool1834 issubnormal 9.99999999E-1007 -> 1
+bool1835 issubnormal -9.99999999E-1007 -> 1
+bool1836 issubnormal 9.99999999E-1006 -> 1
+bool1837 issubnormal -9.99999999E-1006 -> 1
+bool1838 issubnormal 9.99999999E-1000 -> 1
+bool1839 issubnormal -9.99999999E-1000 -> 1
+bool1840 issubnormal 9.99999999E-999 -> 0
+bool1841 issubnormal -9.99999999E-999 -> 0
+bool1842 issubnormal 9.99999999E-998 -> 0
+bool1843 issubnormal -9.99999999E-998 -> 0
+bool1844 issubnormal 9.99999999E-100 -> 0
+bool1845 issubnormal -9.99999999E-100 -> 0
+bool1846 issubnormal 0.00000999999999 -> 0
+bool1847 issubnormal -0.00000999999999 -> 0
+bool1848 issubnormal 0.00999999999 -> 0
+bool1849 issubnormal -0.00999999999 -> 0
+bool1850 issubnormal 0.0999999999 -> 0
+bool1851 issubnormal -0.0999999999 -> 0
+bool1852 issubnormal 0.999999999 -> 0
+bool1853 issubnormal -0.999999999 -> 0
+bool1854 issubnormal 9.99999999 -> 0
+bool1855 issubnormal -9.99999999 -> 0
+bool1856 issubnormal 99.9999999 -> 0
+bool1857 issubnormal -99.9999999 -> 0
+bool1858 issubnormal 999.999999 -> 0
+bool1859 issubnormal -999.999999 -> 0
+bool1860 issubnormal 9999.99999 -> 0
+bool1861 issubnormal -9999.99999 -> 0
+bool1862 issubnormal 9999999.99 -> 0
+bool1863 issubnormal -9999999.99 -> 0
+bool1864 issubnormal 9.99999999E+100 -> 0
+bool1865 issubnormal -9.99999999E+100 -> 0
+bool1866 issubnormal 9.99999999E+990 -> 0
+bool1867 issubnormal -9.99999999E+990 -> 0
+bool1868 issubnormal 9.99999999E+991 -> 0
+bool1869 issubnormal -9.99999999E+991 -> 0
+bool1870 issubnormal 9.99999999E+992 -> 0
+bool1871 issubnormal -9.99999999E+992 -> 0
+bool1872 issubnormal 9.99999999E+998 -> 0
+bool1873 issubnormal -9.99999999E+998 -> 0
+bool1874 issubnormal 9.99999999E+999 -> 0
+bool1875 issubnormal -9.99999999E+999 -> 0
+bool1876 issubnormal 9.99999999E+1000 -> 0
+bool1877 issubnormal -9.99999999E+1000 -> 0
+bool1878 issubnormal 9.99999999E+2000 -> 0
+bool1879 issubnormal -9.99999999E+2000 -> 0
+bool1880 issubnormal Infinity -> 0
+bool1881 issubnormal -Infinity -> 0
+bool1882 issubnormal NaN -> 0
+bool1883 issubnormal -NaN -> 0
+bool1884 issubnormal NaN123 -> 0
+bool1885 issubnormal -NaN123 -> 0
+bool1886 issubnormal sNaN -> 0
+bool1887 issubnormal -sNaN -> 0
+bool1888 issubnormal sNaN123 -> 0
+bool1889 issubnormal -sNaN123 -> 0
+bool1890 iszero 0E-2000 -> 1
+bool1891 iszero -0E-2000 -> 1
+bool1892 iszero 0E-1008 -> 1
+bool1893 iszero -0E-1008 -> 1
+bool1894 iszero 0E-1007 -> 1
+bool1895 iszero -0E-1007 -> 1
+bool1896 iszero 0E-1006 -> 1
+bool1897 iszero -0E-1006 -> 1
+bool1898 iszero 0E-1000 -> 1
+bool1899 iszero -0E-1000 -> 1
+bool1900 iszero 0E-999 -> 1
+bool1901 iszero -0E-999 -> 1
+bool1902 iszero 0E-998 -> 1
+bool1903 iszero -0E-998 -> 1
+bool1904 iszero 0E-100 -> 1
+bool1905 iszero -0E-100 -> 1
+bool1906 iszero 0.000000 -> 1
+bool1907 iszero -0.000000 -> 1
+bool1908 iszero 0.000 -> 1
+bool1909 iszero -0.000 -> 1
+bool1910 iszero 0.00 -> 1
+bool1911 iszero -0.00 -> 1
+bool1912 iszero 0.0 -> 1
+bool1913 iszero -0.0 -> 1
+bool1914 iszero 0 -> 1
+bool1915 iszero -0 -> 1
+bool1916 iszero 0E+1 -> 1
+bool1917 iszero -0E+1 -> 1
+bool1918 iszero 0E+2 -> 1
+bool1919 iszero -0E+2 -> 1
+bool1920 iszero 0E+3 -> 1
+bool1921 iszero -0E+3 -> 1
+bool1922 iszero 0E+6 -> 1
+bool1923 iszero -0E+6 -> 1
+bool1924 iszero 0E+100 -> 1
+bool1925 iszero -0E+100 -> 1
+bool1926 iszero 0E+990 -> 1
+bool1927 iszero -0E+990 -> 1
+bool1928 iszero 0E+991 -> 1
+bool1929 iszero -0E+991 -> 1
+bool1930 iszero 0E+992 -> 1
+bool1931 iszero -0E+992 -> 1
+bool1932 iszero 0E+998 -> 1
+bool1933 iszero -0E+998 -> 1
+bool1934 iszero 0E+999 -> 1
+bool1935 iszero -0E+999 -> 1
+bool1936 iszero 0E+1000 -> 1
+bool1937 iszero -0E+1000 -> 1
+bool1938 iszero 0E+2000 -> 1
+bool1939 iszero -0E+2000 -> 1
+bool1940 iszero 1E-2000 -> 0
+bool1941 iszero -1E-2000 -> 0
+bool1942 iszero 1E-1008 -> 0
+bool1943 iszero -1E-1008 -> 0
+bool1944 iszero 1E-1007 -> 0
+bool1945 iszero -1E-1007 -> 0
+bool1946 iszero 1E-1006 -> 0
+bool1947 iszero -1E-1006 -> 0
+bool1948 iszero 1E-1000 -> 0
+bool1949 iszero -1E-1000 -> 0
+bool1950 iszero 1E-999 -> 0
+bool1951 iszero -1E-999 -> 0
+bool1952 iszero 1E-998 -> 0
+bool1953 iszero -1E-998 -> 0
+bool1954 iszero 1E-100 -> 0
+bool1955 iszero -1E-100 -> 0
+bool1956 iszero 0.000001 -> 0
+bool1957 iszero -0.000001 -> 0
+bool1958 iszero 0.001 -> 0
+bool1959 iszero -0.001 -> 0
+bool1960 iszero 0.01 -> 0
+bool1961 iszero -0.01 -> 0
+bool1962 iszero 0.1 -> 0
+bool1963 iszero -0.1 -> 0
+bool1964 iszero 1 -> 0
+bool1965 iszero -1 -> 0
+bool1966 iszero 1E+1 -> 0
+bool1967 iszero -1E+1 -> 0
+bool1968 iszero 1E+2 -> 0
+bool1969 iszero -1E+2 -> 0
+bool1970 iszero 1E+3 -> 0
+bool1971 iszero -1E+3 -> 0
+bool1972 iszero 1E+6 -> 0
+bool1973 iszero -1E+6 -> 0
+bool1974 iszero 1E+100 -> 0
+bool1975 iszero -1E+100 -> 0
+bool1976 iszero 1E+990 -> 0
+bool1977 iszero -1E+990 -> 0
+bool1978 iszero 1E+991 -> 0
+bool1979 iszero -1E+991 -> 0
+bool1980 iszero 1E+992 -> 0
+bool1981 iszero -1E+992 -> 0
+bool1982 iszero 1E+998 -> 0
+bool1983 iszero -1E+998 -> 0
+bool1984 iszero 1E+999 -> 0
+bool1985 iszero -1E+999 -> 0
+bool1986 iszero 1E+1000 -> 0
+bool1987 iszero -1E+1000 -> 0
+bool1988 iszero 1E+2000 -> 0
+bool1989 iszero -1E+2000 -> 0
+bool1990 iszero 9E-2000 -> 0
+bool1991 iszero -9E-2000 -> 0
+bool1992 iszero 9E-1008 -> 0
+bool1993 iszero -9E-1008 -> 0
+bool1994 iszero 9E-1007 -> 0
+bool1995 iszero -9E-1007 -> 0
+bool1996 iszero 9E-1006 -> 0
+bool1997 iszero -9E-1006 -> 0
+bool1998 iszero 9E-1000 -> 0
+bool1999 iszero -9E-1000 -> 0
+bool2000 iszero 9E-999 -> 0
+bool2001 iszero -9E-999 -> 0
+bool2002 iszero 9E-998 -> 0
+bool2003 iszero -9E-998 -> 0
+bool2004 iszero 9E-100 -> 0
+bool2005 iszero -9E-100 -> 0
+bool2006 iszero 0.000009 -> 0
+bool2007 iszero -0.000009 -> 0
+bool2008 iszero 0.009 -> 0
+bool2009 iszero -0.009 -> 0
+bool2010 iszero 0.09 -> 0
+bool2011 iszero -0.09 -> 0
+bool2012 iszero 0.9 -> 0
+bool2013 iszero -0.9 -> 0
+bool2014 iszero 9 -> 0
+bool2015 iszero -9 -> 0
+bool2016 iszero 9E+1 -> 0
+bool2017 iszero -9E+1 -> 0
+bool2018 iszero 9E+2 -> 0
+bool2019 iszero -9E+2 -> 0
+bool2020 iszero 9E+3 -> 0
+bool2021 iszero -9E+3 -> 0
+bool2022 iszero 9E+6 -> 0
+bool2023 iszero -9E+6 -> 0
+bool2024 iszero 9E+100 -> 0
+bool2025 iszero -9E+100 -> 0
+bool2026 iszero 9E+990 -> 0
+bool2027 iszero -9E+990 -> 0
+bool2028 iszero 9E+991 -> 0
+bool2029 iszero -9E+991 -> 0
+bool2030 iszero 9E+992 -> 0
+bool2031 iszero -9E+992 -> 0
+bool2032 iszero 9E+998 -> 0
+bool2033 iszero -9E+998 -> 0
+bool2034 iszero 9E+999 -> 0
+bool2035 iszero -9E+999 -> 0
+bool2036 iszero 9E+1000 -> 0
+bool2037 iszero -9E+1000 -> 0
+bool2038 iszero 9E+2000 -> 0
+bool2039 iszero -9E+2000 -> 0
+bool2040 iszero 9.99999999E-2000 -> 0
+bool2041 iszero -9.99999999E-2000 -> 0
+bool2042 iszero 9.99999999E-1008 -> 0
+bool2043 iszero -9.99999999E-1008 -> 0
+bool2044 iszero 9.99999999E-1007 -> 0
+bool2045 iszero -9.99999999E-1007 -> 0
+bool2046 iszero 9.99999999E-1006 -> 0
+bool2047 iszero -9.99999999E-1006 -> 0
+bool2048 iszero 9.99999999E-1000 -> 0
+bool2049 iszero -9.99999999E-1000 -> 0
+bool2050 iszero 9.99999999E-999 -> 0
+bool2051 iszero -9.99999999E-999 -> 0
+bool2052 iszero 9.99999999E-998 -> 0
+bool2053 iszero -9.99999999E-998 -> 0
+bool2054 iszero 9.99999999E-100 -> 0
+bool2055 iszero -9.99999999E-100 -> 0
+bool2056 iszero 0.00000999999999 -> 0
+bool2057 iszero -0.00000999999999 -> 0
+bool2058 iszero 0.00999999999 -> 0
+bool2059 iszero -0.00999999999 -> 0
+bool2060 iszero 0.0999999999 -> 0
+bool2061 iszero -0.0999999999 -> 0
+bool2062 iszero 0.999999999 -> 0
+bool2063 iszero -0.999999999 -> 0
+bool2064 iszero 9.99999999 -> 0
+bool2065 iszero -9.99999999 -> 0
+bool2066 iszero 99.9999999 -> 0
+bool2067 iszero -99.9999999 -> 0
+bool2068 iszero 999.999999 -> 0
+bool2069 iszero -999.999999 -> 0
+bool2070 iszero 9999.99999 -> 0
+bool2071 iszero -9999.99999 -> 0
+bool2072 iszero 9999999.99 -> 0
+bool2073 iszero -9999999.99 -> 0
+bool2074 iszero 9.99999999E+100 -> 0
+bool2075 iszero -9.99999999E+100 -> 0
+bool2076 iszero 9.99999999E+990 -> 0
+bool2077 iszero -9.99999999E+990 -> 0
+bool2078 iszero 9.99999999E+991 -> 0
+bool2079 iszero -9.99999999E+991 -> 0
+bool2080 iszero 9.99999999E+992 -> 0
+bool2081 iszero -9.99999999E+992 -> 0
+bool2082 iszero 9.99999999E+998 -> 0
+bool2083 iszero -9.99999999E+998 -> 0
+bool2084 iszero 9.99999999E+999 -> 0
+bool2085 iszero -9.99999999E+999 -> 0
+bool2086 iszero 9.99999999E+1000 -> 0
+bool2087 iszero -9.99999999E+1000 -> 0
+bool2088 iszero 9.99999999E+2000 -> 0
+bool2089 iszero -9.99999999E+2000 -> 0
+bool2090 iszero Infinity -> 0
+bool2091 iszero -Infinity -> 0
+bool2092 iszero NaN -> 0
+bool2093 iszero -NaN -> 0
+bool2094 iszero NaN123 -> 0
+bool2095 iszero -NaN123 -> 0
+bool2096 iszero sNaN -> 0
+bool2097 iszero -sNaN -> 0
+bool2098 iszero sNaN123 -> 0
+bool2099 iszero -sNaN123 -> 0
+
------------------------------------------------------------------------
-- The following tests (pwmx0 through pwmx440) are for the --
-- three-argument version of power: --
Modified: python/trunk/Lib/test/test_decimal.py
==============================================================================
--- python/trunk/Lib/test/test_decimal.py (original)
+++ python/trunk/Lib/test/test_decimal.py Tue Oct 2 19:01:24 2007
@@ -95,35 +95,61 @@
# Name adapter to be able to change the Decimal and Context
# interface without changing the test files from Cowlishaw
-nameAdapter = {'toeng':'to_eng_string',
- 'tosci':'to_sci_string',
- 'samequantum':'same_quantum',
- 'tointegral':'to_integral_value',
- 'tointegralx':'to_integral_exact',
- 'remaindernear':'remainder_near',
- 'divideint':'divide_int',
- 'squareroot':'sqrt',
+nameAdapter = {'and':'logical_and',
'apply':'_apply',
'class':'number_class',
'comparesig':'compare_signal',
'comparetotal':'compare_total',
'comparetotmag':'compare_total_mag',
- 'copyabs':'copy_abs',
'copy':'copy_decimal',
+ 'copyabs':'copy_abs',
'copynegate':'copy_negate',
'copysign':'copy_sign',
- 'and':'logical_and',
- 'or':'logical_or',
- 'xor':'logical_xor',
+ 'divideint':'divide_int',
'invert':'logical_invert',
+ 'iscanonical':'is_canonical',
+ 'isfinite':'is_finite',
+ 'isinfinite':'is_infinite',
+ 'isnan':'is_nan',
+ 'isnormal':'is_normal',
+ 'isqnan':'is_qnan',
+ 'issigned':'is_signed',
+ 'issnan':'is_snan',
+ 'issubnormal':'is_subnormal',
+ 'iszero':'is_zero',
'maxmag':'max_mag',
'minmag':'min_mag',
'nextminus':'next_minus',
'nextplus':'next_plus',
'nexttoward':'next_toward',
+ 'or':'logical_or',
'reduce':'normalize',
+ 'remaindernear':'remainder_near',
+ 'samequantum':'same_quantum',
+ 'squareroot':'sqrt',
+ 'toeng':'to_eng_string',
+ 'tointegral':'to_integral_value',
+ 'tointegralx':'to_integral_exact',
+ 'tosci':'to_sci_string',
+ 'xor':'logical_xor',
}
+# The following functions return True/False rather than a Decimal instance
+
+LOGICAL_FUNCTIONS = (
+ 'is_canonical',
+ 'is_finite',
+ 'is_infinite',
+ 'is_nan',
+ 'is_normal',
+ 'is_qnan',
+ 'is_signed',
+ 'is_snan',
+ 'is_subnormal',
+ 'is_zero',
+ 'same_quantum',
+ )
+
# For some operations (currently exp, ln, log10, power), the decNumber
# reference implementation imposes additional restrictions on the
# context and operands. These restrictions are not part of the
@@ -321,7 +347,7 @@
print "--", self.context
try:
result = str(funct(*vals))
- if fname == 'same_quantum':
+ if fname in LOGICAL_FUNCTIONS:
result = str(int(eval(result))) # 'True', 'False' -> '1', '0'
except Signals, error:
self.fail("Raised %s in %s" % (error, s))
From buildbot at python.org Tue Oct 2 19:48:24 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 02 Oct 2007 17:48:24 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071002174824.7A3621E400A@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/237
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
======================================================================
ERROR: test_fail_no_info (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/test/test_xmlrpc.py", line 497, in test_fail_no_info
p.pow(6,8)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1157, in __call__
return self.__send(self.__name, args)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1447, in __request
verbose=self.__verbose
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1195, in request
errcode, errmsg, headers = h.getreply()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 1005, in getreply
response = self._conn.getresponse()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 931, in getresponse
response.begin()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 415, in begin
self.msg = HTTPMessage(self.fp, 0)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/rfc822.py", line 104, in __init__
self.readheaders()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 271, in readheaders
line = self.fp.readline()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/socket.py", line 351, in readline
data = recv(1)
error: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_fail_with_info (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/test/test_xmlrpc.py", line 517, in test_fail_with_info
p.pow(6,8)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1157, in __call__
return self.__send(self.__name, args)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1447, in __request
verbose=self.__verbose
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1195, in request
errcode, errmsg, headers = h.getreply()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 1005, in getreply
response = self._conn.getresponse()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 931, in getresponse
response.begin()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 415, in begin
self.msg = HTTPMessage(self.fp, 0)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/rfc822.py", line 104, in __init__
self.readheaders()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 271, in readheaders
line = self.fp.readline()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/socket.py", line 351, in readline
data = recv(1)
error: [Errno 104] Connection reset by peer
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 2 20:21:19 2007
From: python-checkins at python.org (facundo.batista)
Date: Tue, 2 Oct 2007 20:21:19 +0200 (CEST)
Subject: [Python-checkins] r58295 - python/trunk/Lib/decimal.py
Message-ID: <20071002182119.2D5B41E4019@bag.python.org>
Author: facundo.batista
Date: Tue Oct 2 20:21:18 2007
New Revision: 58295
Modified:
python/trunk/Lib/decimal.py
Log:
Added a class to store the digits of log(10), so that they can be made
available when necessary without recomputing. Thanks Mark Dickinson
Modified: python/trunk/Lib/decimal.py
==============================================================================
--- python/trunk/Lib/decimal.py (original)
+++ python/trunk/Lib/decimal.py Tue Oct 2 20:21:18 2007
@@ -4908,7 +4908,7 @@
c = _div_nearest(c, 10**-k)
log_d = _ilog(c, M) # error < 5 + 22 = 27
- log_10 = _ilog(10*M, M) # error < 15
+ log_10 = _log10_digits(p) # error < 1
log_d = _div_nearest(log_d*M, log_10)
log_tenpower = f*M # exact
else:
@@ -4946,24 +4946,58 @@
# p <= 0: just approximate the whole thing by 0; error < 2.31
log_d = 0
- # compute approximation to 10**p*f*log(10), with error < 17
+ # compute approximation to f*10**p*log(10), with error < 11.
if f:
- sign_f = [-1, 1][f > 0]
- if p >= 0:
- M = 10**p * abs(f)
- else:
- M = _div_nearest(abs(f), 10**-p) # M = 10**p*|f|, error <= 0.5
-
- if M:
- f_log_ten = sign_f*_ilog(10*M, M) # M*log(10), error <= 1.2 + 15 < 17
+ extra = len(str(abs(f)))-1
+ if p + extra >= 0:
+ # error in f * _log10_digits(p+extra) < |f| * 1 = |f|
+ # after division, error < |f|/10**extra + 0.5 < 10 + 0.5 < 11
+ f_log_ten = _div_nearest(f*_log10_digits(p+extra), 10**extra)
else:
f_log_ten = 0
else:
f_log_ten = 0
- # error in sum < 17+27 = 44; error after division < 0.44 + 0.5 < 1
+ # error in sum < 11+27 = 38; error after division < 0.38 + 0.5 < 1
return _div_nearest(f_log_ten + log_d, 100)
+class _Log10Memoize(object):
+ """Class to compute, store, and allow retrieval of, digits of the
+ constant log(10) = 2.302585.... This constant is needed by
+ Decimal.ln, Decimal.log10, Decimal.exp and Decimal.__pow__."""
+ def __init__(self):
+ self.digits = "23025850929940456840179914546843642076011014886"
+
+ def getdigits(self, p):
+ """Given an integer p >= 0, return floor(10**p)*log(10).
+
+ For example, self.getdigits(3) returns 2302.
+ """
+ # digits are stored as a string, for quick conversion to
+ # integer in the case that we've already computed enough
+ # digits; the stored digits should always be correct
+ # (truncated, not rounded to nearest).
+ if p < 0:
+ raise ValueError("p should be nonnegative")
+
+ if p >= len(self.digits):
+ # compute p+3, p+6, p+9, ... digits; continue until at
+ # least one of the extra digits is nonzero
+ extra = 3
+ while True:
+ # compute p+extra digits, correct to within 1ulp
+ M = 10**(p+extra+2)
+ digits = str(_div_nearest(_ilog(10*M, M), 100))
+ if digits[-extra:] != '0'*extra:
+ break
+ extra += 3
+ # keep all reliable digits so far; remove trailing zeros
+ # and next nonzero digit
+ self.digits = digits.rstrip('0')[:-1]
+ return int(self.digits[:p+1])
+
+_log10_digits = _Log10Memoize().getdigits
+
def _iexp(x, M, L=8):
"""Given integers x and M, M > 0, such that x/M is small in absolute
value, compute an integer approximation to M*exp(x/M). For 0 <=
@@ -5005,7 +5039,7 @@
"""Compute an approximation to exp(c*10**e), with p decimal places of
precision.
- Returns d, f such that:
+ Returns integers d, f such that:
10**(p-1) <= d <= 10**p, and
(d-1)*10**f < exp(c*10**e) < (d+1)*10**f
@@ -5018,19 +5052,18 @@
# we'll call iexp with M = 10**(p+2), giving p+3 digits of precision
p += 2
- # compute log10 with extra precision = adjusted exponent of c*10**e
+ # compute log(10) with extra precision = adjusted exponent of c*10**e
extra = max(0, e + len(str(c)) - 1)
q = p + extra
- log10 = _dlog(10, 0, q) # error <= 1
- # compute quotient c*10**e/(log10/10**q) = c*10**(e+q)/log10,
+ # compute quotient c*10**e/(log(10)) = c*10**(e+q)/(log(10)*10**q),
# rounding down
shift = e+q
if shift >= 0:
cshift = c*10**shift
else:
cshift = c//10**-shift
- quot, rem = divmod(cshift, log10)
+ quot, rem = divmod(cshift, _log10_digits(q))
# reduce remainder back to original precision
rem = _div_nearest(rem, 10**extra)
From buildbot at python.org Tue Oct 2 20:51:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 02 Oct 2007 18:51:33 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071002185133.A21D91E401E@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2507
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
1 test failed:
test_urllib2net
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 2 20:53:39 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 02 Oct 2007 18:53:39 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071002185339.83FF61E400A@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/847
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 2 21:00:07 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 02 Oct 2007 19:00:07 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071002190007.7FF861E4016@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/277
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 3 10:53:21 2007
From: python-checkins at python.org (mark.summerfield)
Date: Wed, 3 Oct 2007 10:53:21 +0200 (CEST)
Subject: [Python-checkins] r58299 -
python/trunk/Doc/reference/expressions.rst
Message-ID: <20071003085321.6D8C81E401A@bag.python.org>
Author: mark.summerfield
Date: Wed Oct 3 10:53:21 2007
New Revision: 58299
Modified:
python/trunk/Doc/reference/expressions.rst
Log:
Added note in footnote about string comparisons about
unicodedata.normalize().
Modified: python/trunk/Doc/reference/expressions.rst
==============================================================================
--- python/trunk/Doc/reference/expressions.rst (original)
+++ python/trunk/Doc/reference/expressions.rst Wed Oct 3 10:53:21 2007
@@ -1330,9 +1330,10 @@
.. [#] While comparisons between unicode strings make sense at the byte
level, they may be counter-intuitive to users. For example, the
- strings ``u"\u00C7"`` and ``u"\u0327\u0043"`` compare differently,
+ strings ``u"\u00C7"`` and ``u"\u0043\u0327"`` compare differently,
even though they both represent the same unicode character (LATIN
- CAPTITAL LETTER C WITH CEDILLA).
+ CAPTITAL LETTER C WITH CEDILLA). To compare strings in a human
+ recognizable way, compare using :func:`unicodedata.normalize`.
.. [#] The implementation computes this efficiently, without constructing lists or
sorting.
From python-checkins at python.org Wed Oct 3 13:24:10 2007
From: python-checkins at python.org (andrew.kuchling)
Date: Wed, 3 Oct 2007 13:24:10 +0200 (CEST)
Subject: [Python-checkins] r58300 - peps/trunk/pep-0000.txt
peps/trunk/pep-3100.txt
Message-ID: <20071003112410.34E061E400A@bag.python.org>
Author: andrew.kuchling
Date: Wed Oct 3 13:24:09 2007
New Revision: 58300
Modified:
peps/trunk/pep-0000.txt
peps/trunk/pep-3100.txt
Log:
Remove name from PEP 3100; no time to follow 3.0
Modified: peps/trunk/pep-0000.txt
==============================================================================
--- peps/trunk/pep-0000.txt (original)
+++ peps/trunk/pep-0000.txt Wed Oct 3 13:24:09 2007
@@ -70,7 +70,7 @@
IF 356 Python 2.5 Release Schedule Norwitz, et al
I 360 Externally Maintained Packages Cannon
I 361 Python 2.6 Release Schedule Norwitz, et al
- I 3100 Python 3.0 Plans Kuchling, Cannon
+ I 3100 Python 3.0 Plans Cannon
Accepted PEPs (accepted; may not be implemented yet)
@@ -473,7 +473,7 @@
P 3001 Reviewing and improving stdlib modules Brandl
P 3002 Procedure for Backwards-Incompatible Changes Bethard
I 3099 Things that will Not Change in Python 3000 Brandl
- I 3100 Python 3.0 Plans Kuchling, Cannon
+ I 3100 Python 3.0 Plans Cannon
SA 3101 Advanced String Formatting Talin
SF 3102 Keyword-Only Arguments Talin
SR 3103 A Switch/Case Statement GvR
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Wed Oct 3 13:24:09 2007
@@ -2,8 +2,7 @@
Title: Miscellaneous Python 3.0 Plans
Version: $Revision$
Last-Modified: $Date$
-Author: A.M. Kuchling ,
- Brett Cannon
+Author: Brett Cannon
Status: Draft
Type: Informational
Content-Type: text/x-rst
From python-checkins at python.org Wed Oct 3 18:04:53 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Wed, 3 Oct 2007 18:04:53 +0200 (CEST)
Subject: [Python-checkins] r58301 - peps/trunk/pep-0000.txt
peps/trunk/pep-0358.txt peps/trunk/pep-3137.txt
Message-ID: <20071003160453.8B4E31E400A@bag.python.org>
Author: guido.van.rossum
Date: Wed Oct 3 18:04:53 2007
New Revision: 58301
Modified:
peps/trunk/pep-0000.txt
peps/trunk/pep-0358.txt
peps/trunk/pep-3137.txt
Log:
Mark PEP 3137 as accepted.
Mark Summerfield sent some comments on PEP 358 (I also referenced PEP 3137).
Modified: peps/trunk/pep-0000.txt
==============================================================================
--- peps/trunk/pep-0000.txt (original)
+++ peps/trunk/pep-0000.txt Wed Oct 3 18:04:53 2007
@@ -80,6 +80,7 @@
SA 3118 Revising the buffer protocol Oliphant, Banks
SA 3119 Introducing Abstract Base Classes GvR, Talin
SA 3121 Extension Module Initialization & Finalization von L?wis
+ SA 3137 Immutable Bytes and Mutable Buffer GvR
Open PEPs (under consideration)
@@ -96,7 +97,6 @@
S 3116 New I/O Stutzbach, Verdone, GvR
S 3134 Exception Chaining and Embedded Tracebacks Yee
S 3135 New Super Spealman, Delaney
- S 3137 Immutable Bytes and Mutable Buffer GvR
S 3141 A Type Hierarchy for Numbers Yasskin
Finished PEPs (done, implemented in Subversion)
@@ -510,7 +510,7 @@
S 3134 Exception Chaining and Embedded Tracebacks Yee
S 3135 New Super Spealman, Delaney
SR 3136 Labeled break and continue Chisholm
- S 3137 Immutable Bytes and Mutable Buffer GvR
+ SA 3137 Immutable Bytes and Mutable Buffer GvR
S 3141 A Type Hierarchy for Numbers Yasskin
Modified: peps/trunk/pep-0358.txt
==============================================================================
--- peps/trunk/pep-0358.txt (original)
+++ peps/trunk/pep-0358.txt Wed Oct 3 18:04:53 2007
@@ -11,6 +11,11 @@
Post-History:
+Update
+
+ This PEP has partially been superseded by PEP 3137.
+
+
Abstract
This PEP outlines the introduction of a raw bytes sequence type.
@@ -32,15 +37,15 @@
overloading of purpose leads to confusion and bugs. In future
versions of Python, string objects will be used for holding
character data. The bytes object will fulfil the role of a byte
- container. Eventually the unicode built-in will be renamed to str
- and the str object will be removed.
+ container. Eventually the unicode type will be renamed to str
+ and the old str type will be removed.
Specification
A bytes object stores a mutable sequence of integers that are in
the range 0 to 255. Unlike string objects, indexing a bytes
- object returns an integer. Assigning or comparin an object that
+ object returns an integer. Assigning or comparing an object that
is not an integer to an element causes a TypeError exception.
Assigning an element to a value outside the range 0 to 255 causes
a ValueError exception. The .__len__() method of bytes returns
@@ -58,10 +63,10 @@
(optimized for clear semantics, not for speed) is:
def bytes(initializer=0, encoding=None):
- if isinstance(initializer, int): # In 2.6, (int, long)
+ if isinstance(initializer, int): # In 2.6, int -> (int, long)
initializer = [0]*initializer
elif isinstance(initializer, basestring):
- if isinstance(initializer, unicode): # In 3.0, always
+ if isinstance(initializer, unicode): # In 3.0, "if True"
if encoding is None:
# In 3.0, raise TypeError("explicit encoding required")
encoding = sys.getdefaultencoding()
@@ -106,7 +111,7 @@
>> bytes([92, 83, 80, 255]).hex()
'5c5350ff'
- The bytes object has some methods similar to list method, and
+ The bytes object has some methods similar to list methods, and
others similar to str methods. Here is a complete list of
methods, with their approximate signatures:
@@ -176,8 +181,8 @@
support bytes objects.
* It has been suggested that a special method named .__bytes__()
- be added to language to allow objects to be converted into byte
- arrays. This decision is out of scope.
+ be added to the language to allow objects to be converted into
+ byte arrays. This decision is out of scope.
* A bytes literal of the form b"..." is also proposed. This is
the subject of PEP 3112.
@@ -236,7 +241,7 @@
A: There is no sane meaning that the encoding can have in that case.
str objects *are* byte arrays and they know nothing about the
encoding of character data they contain. We need to assume that
- the programmer has provided str object that already uses the
+ the programmer has provided a str object that already uses the
desired encoding. If you need something other than a pure copy of
the bytes then you need to first decode the string. For example:
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Wed Oct 3 18:04:53 2007
@@ -3,7 +3,7 @@
Version: $Revision$
Last-Modified: $Date$
Author: Guido van Rossum
-Status: Draft
+Status: Accepted
Type: Standards Track
Content-Type: text/x-rst
Created: 26-Sep-2007
From python-checkins at python.org Wed Oct 3 20:51:50 2007
From: python-checkins at python.org (brett.cannon)
Date: Wed, 3 Oct 2007 20:51:50 +0200 (CEST)
Subject: [Python-checkins] r58302 - peps/trunk/pep-3100.txt
Message-ID: <20071003185150.BB9B31E4021@bag.python.org>
Author: brett.cannon
Date: Wed Oct 3 20:51:50 2007
New Revision: 58302
Modified:
peps/trunk/pep-3100.txt
Log:
Remove duplicate entry for the removal of md5.
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Wed Oct 3 20:51:50 2007
@@ -216,7 +216,6 @@
``multifile``,
``rfc822``,
``sha``,
- ``md5``,
[to do]
- ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``, ``statcache``,
``sv``, ``TERMIOS``, ``timing`` [done]
From buildbot at python.org Wed Oct 3 21:36:12 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 03 Oct 2007 19:36:12 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux trunk
Message-ID: <20071003193612.2C64D1E4016@bag.python.org>
The Buildbot has detected a new failure of ARM Linux trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20trunk/builds/3
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: brett.cannon,facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Aborted
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 3 21:59:58 2007
From: python-checkins at python.org (brett.cannon)
Date: Wed, 3 Oct 2007 21:59:58 +0200 (CEST)
Subject: [Python-checkins] r58303 - peps/trunk/pep-0352.txt
Message-ID: <20071003195958.09D911E400C@bag.python.org>
Author: brett.cannon
Date: Wed Oct 3 21:59:57 2007
New Revision: 58303
Modified:
peps/trunk/pep-0352.txt
Log:
Fix/clarify stuff based on suggestions from Mark Summerfield.
Modified: peps/trunk/pep-0352.txt
==============================================================================
--- peps/trunk/pep-0352.txt (original)
+++ peps/trunk/pep-0352.txt Wed Oct 3 21:59:57 2007
@@ -67,12 +67,9 @@
"""
def __init__(self, *args):
- """Set the 'args' attribute'"""
self.args = args
def __str__(self):
- """Return the str of
- ``args[0] if len(args) == 1 else args``."""
if len(self.args) == 1:
return str(self.args[0])
else:
@@ -137,7 +134,7 @@
propagate up and allow the interpreter to terminate.
KeyboardInterrupt has been moved since users typically expect an
-application to exit when the press the interrupt key (usually Ctrl-C).
+application to exit when they press the interrupt key (usually Ctrl-C).
If people have overly broad ``except`` clauses the expected behaviour
does not occur.
@@ -176,11 +173,9 @@
"""
def __init__(self, *args):
- """Set the 'args' attribute."""
self.args = args
def __str__(self):
- """Return the str of args[0] or args, depending on length."""
return str(self.args[0]
if len(self.args) <= 1
else self.args)
@@ -204,9 +199,10 @@
"since Python 2.6")
return self.args[0] if len(args) == 1 else ''
- message = property(_get_message)
-
-
+ message = property(_get_message,
+ doc="access the 'message' attribute; "
+ "deprecated and provided only for "
+ "backwards-compatibility")
Deprecation of features in Python 2.9 is optional. This is because it
@@ -216,7 +212,7 @@
will be used in 2.9 since there could be such a difference between 2.9
and 3.0 that it would make 2.9 too "noisy" in terms of warnings. Thus
the proposed deprecation warnings for Python 2.9 will be revisited
-when development of that version begins to determine if they are still
+when development of that version begins, to determine if they are still
desired.
* Python 2.5 [done]
From python-checkins at python.org Wed Oct 3 23:18:11 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Wed, 3 Oct 2007 23:18:11 +0200 (CEST)
Subject: [Python-checkins] r58304 - in python/trunk: Misc/NEWS
Objects/enumobject.c
Message-ID: <20071003211811.DE0741E4020@bag.python.org>
Author: raymond.hettinger
Date: Wed Oct 3 23:18:11 2007
New Revision: 58304
Modified:
python/trunk/Misc/NEWS
python/trunk/Objects/enumobject.c
Log:
enumerate() is no longer bounded to using sequences shorter than LONG_MAX. The possibility of overflow was sending some newsgroup posters into a tizzy.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Oct 3 23:18:11 2007
@@ -12,6 +12,10 @@
Core and builtins
-----------------
+- The enumerate() builtin function is no longer bounded to sequences smaller
+ than LONG_MAX. Formerly, it raised an OverflowError. Now, automatically
+ shifts from ints to longs.
+
- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
having a self-referential tuple, which is possible from C code. Nor did
object's tp_str consider that a type's tp_str could do something that could
Modified: python/trunk/Objects/enumobject.c
==============================================================================
--- python/trunk/Objects/enumobject.c (original)
+++ python/trunk/Objects/enumobject.c Wed Oct 3 23:18:11 2007
@@ -7,6 +7,7 @@
long en_index; /* current index of enumeration */
PyObject* en_sit; /* secondary iterator of enumeration */
PyObject* en_result; /* result tuple */
+ PyObject* en_longindex; /* index for sequences >= LONG_MAX */
} enumobject;
static PyObject *
@@ -25,6 +26,7 @@
return NULL;
en->en_index = 0;
en->en_sit = PyObject_GetIter(seq);
+ en->en_longindex = NULL;
if (en->en_sit == NULL) {
Py_DECREF(en);
return NULL;
@@ -43,6 +45,7 @@
PyObject_GC_UnTrack(en);
Py_XDECREF(en->en_sit);
Py_XDECREF(en->en_result);
+ Py_XDECREF(en->en_longindex);
Py_Type(en)->tp_free(en);
}
@@ -51,10 +54,53 @@
{
Py_VISIT(en->en_sit);
Py_VISIT(en->en_result);
+ Py_VISIT(en->en_longindex);
return 0;
}
static PyObject *
+enum_next_long(enumobject *en, PyObject* next_item)
+{
+ static PyObject *one = NULL;
+ PyObject *result = en->en_result;
+ PyObject *next_index;
+ PyObject *stepped_up;
+
+ if (en->en_longindex == NULL) {
+ en->en_longindex = PyInt_FromLong(LONG_MAX);
+ if (en->en_longindex == NULL)
+ return NULL;
+ }
+ if (one == NULL) {
+ one = PyInt_FromLong(1);
+ if (one == NULL)
+ return NULL;
+ }
+ next_index = en->en_longindex;
+ assert(next_index != NULL);
+ stepped_up = PyNumber_Add(next_index, one);
+ if (stepped_up == NULL)
+ return NULL;
+ en->en_longindex = stepped_up;
+
+ if (result->ob_refcnt == 1) {
+ Py_INCREF(result);
+ Py_DECREF(PyTuple_GET_ITEM(result, 0));
+ Py_DECREF(PyTuple_GET_ITEM(result, 1));
+ } else {
+ result = PyTuple_New(2);
+ if (result == NULL) {
+ Py_DECREF(next_index);
+ Py_DECREF(next_item);
+ return NULL;
+ }
+ }
+ PyTuple_SET_ITEM(result, 0, next_index);
+ PyTuple_SET_ITEM(result, 1, next_item);
+ return result;
+}
+
+static PyObject *
enum_next(enumobject *en)
{
PyObject *next_index;
@@ -62,16 +108,13 @@
PyObject *result = en->en_result;
PyObject *it = en->en_sit;
- if (en->en_index == LONG_MAX) {
- PyErr_SetString(PyExc_OverflowError,
- "enumerate() is limited to LONG_MAX items");
- return NULL;
- }
-
next_item = (*Py_Type(it)->tp_iternext)(it);
if (next_item == NULL)
return NULL;
+ if (en->en_index == LONG_MAX)
+ return enum_next_long(en, next_item);
+
next_index = PyInt_FromLong(en->en_index);
if (next_index == NULL) {
Py_DECREF(next_item);
From buildbot at python.org Wed Oct 3 23:47:32 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 03 Oct 2007 21:47:32 +0000
Subject: [Python-checkins] buildbot failure in alpha Tru64 5.1 trunk
Message-ID: <20071003214732.8641B1E401F@bag.python.org>
The Buildbot has detected a new failure of alpha Tru64 5.1 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/alpha%20Tru64%205.1%20trunk/builds/1915
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-tru64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: mark.summerfield,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 4 00:44:26 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 03 Oct 2007 22:44:26 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071003224427.050601E4010@bag.python.org>
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/186
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: mark.summerfield,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From python-checkins at python.org Thu Oct 4 02:20:28 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Thu, 4 Oct 2007 02:20:28 +0200 (CEST)
Subject: [Python-checkins] r58305 - in python/trunk:
Doc/library/itertools.rst Lib/test/test_itertools.py
Misc/NEWS Modules/itertoolsmodule.c
Message-ID: <20071004002028.2F9081E401B@bag.python.org>
Author: raymond.hettinger
Date: Thu Oct 4 02:20:27 2007
New Revision: 58305
Modified:
python/trunk/Doc/library/itertools.rst
python/trunk/Lib/test/test_itertools.py
python/trunk/Misc/NEWS
python/trunk/Modules/itertoolsmodule.c
Log:
itertools.count() no longer limited to sys.maxint.
Modified: python/trunk/Doc/library/itertools.rst
==============================================================================
--- python/trunk/Doc/library/itertools.rst (original)
+++ python/trunk/Doc/library/itertools.rst Thu Oct 4 02:20:27 2007
@@ -79,19 +79,15 @@
.. function:: count([n])
Make an iterator that returns consecutive integers starting with *n*. If not
- specified *n* defaults to zero. Does not currently support python long
- integers. Often used as an argument to :func:`imap` to generate consecutive
- data points. Also, used with :func:`izip` to add sequence numbers. Equivalent
- to::
+ specified *n* defaults to zero. Often used as an argument to :func:`imap` to
+ generate consecutive data points. Also, used with :func:`izip` to add sequence
+ numbers. Equivalent to::
def count(n=0):
while True:
yield n
n += 1
- Note, :func:`count` does not check for overflow and will return negative numbers
- after exceeding ``sys.maxint``. This behavior may change in the future.
-
.. function:: cycle(iterable)
Modified: python/trunk/Lib/test/test_itertools.py
==============================================================================
--- python/trunk/Lib/test/test_itertools.py (original)
+++ python/trunk/Lib/test/test_itertools.py Thu Oct 4 02:20:27 2007
@@ -52,9 +52,12 @@
self.assertEqual(zip('abc',count()), [('a', 0), ('b', 1), ('c', 2)])
self.assertEqual(zip('abc',count(3)), [('a', 3), ('b', 4), ('c', 5)])
self.assertEqual(take(2, zip('abc',count(3))), [('a', 3), ('b', 4)])
+ self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)])
+ self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)])
self.assertRaises(TypeError, count, 2, 3)
self.assertRaises(TypeError, count, 'a')
- self.assertRaises(OverflowError, list, islice(count(maxsize-5), 10))
+ self.assertEqual(list(islice(count(maxsize-5), 10)), range(maxsize-5, maxsize+5))
+ self.assertEqual(list(islice(count(-maxsize-5), 10)), range(-maxsize-5, -maxsize+5))
c = count(3)
self.assertEqual(repr(c), 'count(3)')
c.next()
@@ -63,6 +66,8 @@
self.assertEqual(repr(c), 'count(-9)')
c.next()
self.assertEqual(c.next(), -8)
+ for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5):
+ self.assertEqual(repr(count(i)), 'count(%r)' % i)
def test_cycle(self):
self.assertEqual(take(10, cycle('abc')), list('abcabcabca'))
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu Oct 4 02:20:27 2007
@@ -270,6 +270,9 @@
Library
-------
+- itertools.count() is no longer bounded to LONG_MAX. Formerly, it raised
+ an OverflowError. Now, automatically shifts from ints to longs.
+
- Patch #1541463: optimize performance of cgi.FieldStorage operations.
- Decimal is fully updated to the latest Decimal Specification (v1.66).
Modified: python/trunk/Modules/itertoolsmodule.c
==============================================================================
--- python/trunk/Modules/itertoolsmodule.c (original)
+++ python/trunk/Modules/itertoolsmodule.c Thu Oct 4 02:20:27 2007
@@ -2032,6 +2032,7 @@
typedef struct {
PyObject_HEAD
Py_ssize_t cnt;
+ PyObject *long_cnt; /* Arbitrarily large count when cnt >= PY_SSIZE_T_MAX */
} countobject;
static PyTypeObject count_type;
@@ -2041,37 +2042,97 @@
{
countobject *lz;
Py_ssize_t cnt = 0;
+ PyObject *cnt_arg = NULL;
+ PyObject *long_cnt = NULL;
if (type == &count_type && !_PyArg_NoKeywords("count()", kwds))
return NULL;
- if (!PyArg_ParseTuple(args, "|n:count", &cnt))
+ if (!PyArg_UnpackTuple(args, "count", 0, 1, &cnt_arg))
return NULL;
+ if (cnt_arg != NULL) {
+ cnt = PyInt_AsSsize_t(cnt_arg);
+ if (cnt == -1 && PyErr_Occurred()) {
+ PyErr_Clear();
+ if (!PyLong_Check(cnt_arg)) {
+ PyErr_SetString(PyExc_TypeError, "an integer is required");
+ return NULL;
+ }
+ long_cnt = cnt_arg;
+ Py_INCREF(long_cnt);
+ cnt = PY_SSIZE_T_MAX;
+ }
+ }
+
/* create countobject structure */
lz = (countobject *)PyObject_New(countobject, &count_type);
- if (lz == NULL)
+ if (lz == NULL) {
+ Py_XDECREF(long_cnt);
return NULL;
+ }
lz->cnt = cnt;
+ lz->long_cnt = long_cnt;
return (PyObject *)lz;
}
+static void
+count_dealloc(countobject *lz)
+{
+ Py_XDECREF(lz->long_cnt);
+ PyObject_Del(lz);
+}
+
+static PyObject *
+count_nextlong(countobject *lz)
+{
+ static PyObject *one = NULL;
+ PyObject *cnt;
+ PyObject *stepped_up;
+
+ if (lz->long_cnt == NULL) {
+ lz->long_cnt = PyInt_FromSsize_t(PY_SSIZE_T_MAX);
+ if (lz->long_cnt == NULL)
+ return NULL;
+ }
+ if (one == NULL) {
+ one = PyInt_FromLong(1);
+ if (one == NULL)
+ return NULL;
+ }
+ cnt = lz->long_cnt;
+ assert(cnt != NULL);
+ stepped_up = PyNumber_Add(cnt, one);
+ if (stepped_up == NULL)
+ return NULL;
+ lz->long_cnt = stepped_up;
+ return cnt;
+}
+
static PyObject *
count_next(countobject *lz)
{
- if (lz->cnt == PY_SSIZE_T_MAX) {
- PyErr_SetString(PyExc_OverflowError,
- "cannot count beyond PY_SSIZE_T_MAX");
- return NULL;
- }
+ if (lz->cnt == PY_SSIZE_T_MAX)
+ return count_nextlong(lz);
return PyInt_FromSsize_t(lz->cnt++);
}
static PyObject *
count_repr(countobject *lz)
{
- return PyString_FromFormat("count(%zd)", lz->cnt);
+ PyObject *cnt_repr;
+ PyObject *result;
+
+ if (lz->cnt != PY_SSIZE_T_MAX)
+ return PyString_FromFormat("count(%zd)", lz->cnt);
+
+ cnt_repr = PyObject_Repr(lz->long_cnt);
+ if (cnt_repr == NULL)
+ return NULL;
+ result = PyString_FromFormat("count(%s)", PyString_AS_STRING(cnt_repr));
+ Py_DECREF(cnt_repr);
+ return result;
}
PyDoc_STRVAR(count_doc,
@@ -2086,7 +2147,7 @@
sizeof(countobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- (destructor)PyObject_Del, /* tp_dealloc */
+ (destructor)count_dealloc, /* tp_dealloc */
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
From python-checkins at python.org Thu Oct 4 03:49:54 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Thu, 4 Oct 2007 03:49:54 +0200 (CEST)
Subject: [Python-checkins] r58306 - python/trunk/Lib/idlelib/AutoComplete.py
python/trunk/Lib/idlelib/AutoCompleteWindow.py
Message-ID: <20071004014954.BB0B31E4011@bag.python.org>
Author: kurt.kaiser
Date: Thu Oct 4 03:49:54 2007
New Revision: 58306
Modified:
python/trunk/Lib/idlelib/AutoComplete.py
python/trunk/Lib/idlelib/AutoCompleteWindow.py
Log:
Assume that the user knows when he wants to end the line; don't insert
something he didn't select or complete.
Modified: python/trunk/Lib/idlelib/AutoComplete.py
==============================================================================
--- python/trunk/Lib/idlelib/AutoComplete.py (original)
+++ python/trunk/Lib/idlelib/AutoComplete.py Thu Oct 4 03:49:54 2007
@@ -27,7 +27,7 @@
menudefs = [
('edit', [
- ("Show completions", "<>"),
+ ("Show Completions", "<>"),
])
]
Modified: python/trunk/Lib/idlelib/AutoCompleteWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/AutoCompleteWindow.py (original)
+++ python/trunk/Lib/idlelib/AutoCompleteWindow.py Thu Oct 4 03:49:54 2007
@@ -283,20 +283,9 @@
self._selection_changed()
return "break"
- elif keysym == "Return" and not state:
- # If start is a prefix of the selection, or there was an indication
- # that the user used the completion window, put the selected
- # completion in the text, and close the list.
- # Otherwise, close the window and let the event through.
- cursel = int(self.listbox.curselection()[0])
- if self.completions[cursel][:len(self.start)] == self.start or \
- self.userwantswindow:
- self._change_start(self.completions[cursel])
- self.hide_window()
- return "break"
- else:
- self.hide_window()
- return
+ elif keysym == "Return":
+ self.hide_window()
+ return
elif (self.mode == AutoComplete.COMPLETE_ATTRIBUTES and keysym in
("period", "space", "parenleft", "parenright", "bracketleft",
From python-checkins at python.org Thu Oct 4 04:07:51 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Thu, 4 Oct 2007 04:07:51 +0200 (CEST)
Subject: [Python-checkins] r58307 - python/trunk/Lib/idlelib/PyShell.py
Message-ID: <20071004020751.39B1A1E4011@bag.python.org>
Author: kurt.kaiser
Date: Thu Oct 4 04:07:50 2007
New Revision: 58307
Modified:
python/trunk/Lib/idlelib/PyShell.py
Log:
Remove unused theme that was causing a fault in p3k.
Modified: python/trunk/Lib/idlelib/PyShell.py
==============================================================================
--- python/trunk/Lib/idlelib/PyShell.py (original)
+++ python/trunk/Lib/idlelib/PyShell.py Thu Oct 4 04:07:50 2007
@@ -299,7 +299,6 @@
"stdout": idleConf.GetHighlight(theme, "stdout"),
"stderr": idleConf.GetHighlight(theme, "stderr"),
"console": idleConf.GetHighlight(theme, "console"),
- None: idleConf.GetHighlight(theme, "normal"),
})
class ModifiedUndoDelegator(UndoDelegator):
From python-checkins at python.org Thu Oct 4 04:09:17 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Thu, 4 Oct 2007 04:09:17 +0200 (CEST)
Subject: [Python-checkins] r58308 - python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/FileList.py
python/trunk/Lib/idlelib/NEWS.txt
Message-ID: <20071004020917.EAAEE1E4011@bag.python.org>
Author: kurt.kaiser
Date: Thu Oct 4 04:09:17 2007
New Revision: 58308
Modified:
python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/FileList.py
python/trunk/Lib/idlelib/NEWS.txt
Log:
Clean up EditorWindow close.
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py (original)
+++ python/trunk/Lib/idlelib/EditorWindow.py Thu Oct 4 04:09:17 2007
@@ -560,7 +560,8 @@
def close_hook(self):
if self.flist:
- self.flist.close_edit(self)
+ self.flist.unregister_maybe_terminate(self)
+ self.flist = None
def set_close_hook(self, close_hook):
self.close_hook = close_hook
@@ -827,22 +828,21 @@
if self.io.filename:
self.update_recent_files_list(new_file=self.io.filename)
WindowList.unregister_callback(self.postwindowsmenu)
- if self.close_hook:
- self.close_hook()
- self.flist = None
- colorizing = 0
self.unload_extensions()
- self.io.close(); self.io = None
- self.undo = None # XXX
+ self.io.close()
+ self.io = None
+ self.undo = None
if self.color:
- colorizing = self.color.colorizing
- doh = colorizing and self.top
- self.color.close(doh) # Cancel colorization
+ self.color.close(False)
+ self.color = None
self.text = None
self.tkinter_vars = None
- self.per.close(); self.per = None
- if not colorizing:
- self.top.destroy()
+ self.per.close()
+ self.per = None
+ self.top.destroy()
+ if self.close_hook:
+ # unless override: unregister from flist, terminate if last window
+ self.close_hook()
def load_extensions(self):
self.extensions = {}
@@ -1504,6 +1504,7 @@
filename = None
edit = EditorWindow(root=root, filename=filename)
edit.set_close_hook(root.quit)
+ edit.text.bind("<>", edit.close_event)
root.mainloop()
root.destroy()
Modified: python/trunk/Lib/idlelib/FileList.py
==============================================================================
--- python/trunk/Lib/idlelib/FileList.py (original)
+++ python/trunk/Lib/idlelib/FileList.py Thu Oct 4 04:09:17 2007
@@ -50,7 +50,7 @@
break
return "break"
- def close_edit(self, edit):
+ def unregister_maybe_terminate(self, edit):
try:
key = self.inversedict[edit]
except KeyError:
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Thu Oct 4 04:09:17 2007
@@ -3,6 +3,8 @@
*Release date: XX-XXX-200X*
+- Clean up EditorWindow close.
+
- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
mouse and cursor selection in ACWindow implemented; double Tab inserts
current selection and closes ACW (similar to double-click and Return); scroll
@@ -24,6 +26,8 @@
- Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
+- Honor the "Cancel" action in the save dialog (Debian bug #299092)
+
- Some syntax errors were being caught by tokenize during the tabnanny
check, resulting in obscure error messages. Do the syntax check
first. Bug 1562716, 1562719
From buildbot at python.org Thu Oct 4 04:41:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 04 Oct 2007 02:41:33 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071004024134.283431E4011@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/241
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 4 04:53:07 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Thu, 4 Oct 2007 04:53:07 +0200 (CEST)
Subject: [Python-checkins] r58309 - python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/aboutDialog.py
python/trunk/Lib/idlelib/textView.py
Message-ID: <20071004025307.6A8F31E4011@bag.python.org>
Author: kurt.kaiser
Date: Thu Oct 4 04:53:07 2007
New Revision: 58309
Modified:
python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/aboutDialog.py
python/trunk/Lib/idlelib/textView.py
Log:
textView cleanup. Patch 1718043 Tal Einat.
M idlelib/EditorWindow.py
M idlelib/aboutDialog.py
M idlelib/textView.py
M idlelib/NEWS.txt
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py (original)
+++ python/trunk/Lib/idlelib/EditorWindow.py Thu Oct 4 04:53:07 2007
@@ -392,7 +392,7 @@
def help_dialog(self, event=None):
fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt')
- textView.TextViewer(self.top,'Help',fn)
+ textView.view_file(self.top,'Help',fn)
def python_docs(self, event=None):
if sys.platform[:3] == 'win':
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Thu Oct 4 04:53:07 2007
@@ -3,6 +3,8 @@
*Release date: XX-XXX-200X*
+- textView cleanup. Patch 1718043 Tal Einat.
+
- Clean up EditorWindow close.
- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
Modified: python/trunk/Lib/idlelib/aboutDialog.py
==============================================================================
--- python/trunk/Lib/idlelib/aboutDialog.py (original)
+++ python/trunk/Lib/idlelib/aboutDialog.py Thu Oct 4 04:53:07 2007
@@ -3,7 +3,8 @@
"""
from Tkinter import *
-import string, os
+import os
+import os.path
import textView
import idlever
@@ -70,7 +71,7 @@
tkVer[len(tkVer)-1] = str('%.3g' % (float('.'+tkVer[len(tkVer)-1])))[2:]
if tkVer[len(tkVer)-1] == '':
tkVer[len(tkVer)-1] = '0'
- tkVer = string.join(tkVer,'.')
+ tkVer = '.'.join(tkVer)
labelTkVer = Label(frameBg, text='Tk version: '+
tkVer, fg=self.fg, bg=self.bg)
labelTkVer.grid(row=9, column=1, sticky=W, padx=2, pady=0)
@@ -110,45 +111,31 @@
idle_credits_b.pack(side=LEFT, padx=10, pady=10)
def ShowLicense(self):
- self.display_printer_text(license, 'About - License')
+ self.display_printer_text('About - License', license)
def ShowCopyright(self):
- self.display_printer_text(copyright, 'About - Copyright')
+ self.display_printer_text('About - Copyright', copyright)
def ShowPythonCredits(self):
- self.display_printer_text(credits, 'About - Python Credits')
+ self.display_printer_text('About - Python Credits', credits)
def ShowIDLECredits(self):
- self.ViewFile('About - Credits','CREDITS.txt', 'iso-8859-1')
+ self.display_file_text('About - Credits', 'CREDITS.txt', 'iso-8859-1')
def ShowIDLEAbout(self):
- self.ViewFile('About - Readme', 'README.txt')
+ self.display_file_text('About - Readme', 'README.txt')
def ShowIDLENEWS(self):
- self.ViewFile('About - NEWS', 'NEWS.txt')
+ self.display_file_text('About - NEWS', 'NEWS.txt')
- def display_printer_text(self, printer, title):
+ def display_printer_text(self, title, printer):
printer._Printer__setup()
- data = '\n'.join(printer._Printer__lines)
- textView.TextViewer(self, title, None, data)
+ text = '\n'.join(printer._Printer__lines)
+ textView.view_text(self, title, text)
- def ViewFile(self, viewTitle, viewFile, encoding=None):
- fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), viewFile)
- if encoding:
- import codecs
- try:
- textFile = codecs.open(fn, 'r')
- except IOError:
- import tkMessageBox
- tkMessageBox.showerror(title='File Load Error',
- message='Unable to load file %r .' % (fn,),
- parent=self)
- return
- else:
- data = textFile.read()
- else:
- data = None
- textView.TextViewer(self, viewTitle, fn, data=data)
+ def display_file_text(self, title, filename, encoding=None):
+ fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
+ textView.view_file(self, title, fn, encoding)
def Ok(self, event=None):
self.destroy()
Modified: python/trunk/Lib/idlelib/textView.py
==============================================================================
--- python/trunk/Lib/idlelib/textView.py (original)
+++ python/trunk/Lib/idlelib/textView.py Thu Oct 4 04:53:07 2007
@@ -6,13 +6,12 @@
import tkMessageBox
class TextViewer(Toplevel):
+ """A simple text viewer dialog for IDLE
+
"""
- simple text viewer dialog for idle
- """
- def __init__(self, parent, title, fileName, data=None):
- """If data exists, load it into viewer, otherwise try to load file.
+ def __init__(self, parent, title, text):
+ """Show the given text in a scrollable window with a 'close' button
- fileName - string, should be an absoulute filename
"""
Toplevel.__init__(self, parent)
self.configure(borderwidth=5)
@@ -33,23 +32,10 @@
#key bindings for this dialog
self.bind('',self.Ok) #dismiss dialog
self.bind('',self.Ok) #dismiss dialog
- if data:
- self.textView.insert(0.0, data)
- else:
- self.LoadTextFile(fileName)
+ self.textView.insert(0.0, text)
self.textView.config(state=DISABLED)
self.wait_window()
- def LoadTextFile(self, fileName):
- textFile = None
- try:
- textFile = open(fileName, 'r')
- except IOError:
- tkMessageBox.showerror(title='File Load Error',
- message='Unable to load file %r .' % (fileName,))
- else:
- self.textView.insert(0.0,textFile.read())
-
def CreateWidgets(self):
frameText = Frame(self, relief=SUNKEN, height=700)
frameButtons = Frame(self)
@@ -70,9 +56,38 @@
def Ok(self, event=None):
self.destroy()
+
+def view_text(parent, title, text):
+ TextViewer(parent, title, text)
+
+def view_file(parent, title, filename, encoding=None):
+ try:
+ if encoding:
+ import codecs
+ textFile = codecs.open(filename, 'r')
+ else:
+ textFile = open(filename, 'r')
+ except IOError:
+ import tkMessageBox
+ tkMessageBox.showerror(title='File Load Error',
+ message='Unable to load file %r .' % filename,
+ parent=parent)
+ else:
+ return view_text(parent, title, textFile.read())
+
+
if __name__ == '__main__':
#test the dialog
root=Tk()
- Button(root,text='View',
- command=lambda:TextViewer(root,'Text','./textView.py')).pack()
+ root.title('textView test')
+ filename = './textView.py'
+ text = file(filename, 'r').read()
+ btn1 = Button(root, text='view_text',
+ command=lambda:view_text(root, 'view_text', text))
+ btn1.pack(side=LEFT)
+ btn2 = Button(root, text='view_file',
+ command=lambda:view_file(root, 'view_file', filename))
+ btn2.pack(side=LEFT)
+ close = Button(root, text='Close', command=root.destroy)
+ close.pack(side=RIGHT)
root.mainloop()
From python-checkins at python.org Thu Oct 4 05:11:13 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Thu, 4 Oct 2007 05:11:13 +0200 (CEST)
Subject: [Python-checkins] r58310 - python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/configDialog.py
Message-ID: <20071004031113.519711E4011@bag.python.org>
Author: kurt.kaiser
Date: Thu Oct 4 05:11:12 2007
New Revision: 58310
Modified:
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/configDialog.py
Log:
configDialog cleanup. Patch 1730217 Tal Einat.
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Thu Oct 4 05:11:12 2007
@@ -3,6 +3,8 @@
*Release date: XX-XXX-200X*
+- configDialog cleanup. Patch 1730217 Tal Einat.
+
- textView cleanup. Patch 1718043 Tal Einat.
- Clean up EditorWindow close.
Modified: python/trunk/Lib/idlelib/configDialog.py
==============================================================================
--- python/trunk/Lib/idlelib/configDialog.py (original)
+++ python/trunk/Lib/idlelib/configDialog.py Thu Oct 4 05:11:12 2007
@@ -24,6 +24,8 @@
def __init__(self,parent,title):
Toplevel.__init__(self, parent)
+ self.wm_withdraw()
+
self.configure(borderwidth=5)
self.geometry("+%d+%d" % (parent.winfo_rootx()+20,
parent.winfo_rooty()+30))
@@ -58,6 +60,8 @@
#self.bind('',self.Help) #context help
self.LoadConfigs()
self.AttachVarCallbacks() #avoid callbacks during LoadConfigs
+
+ self.wm_deiconify()
self.wait_window()
def CreateWidgets(self):
@@ -67,22 +71,27 @@
frameActionButtons = Frame(self)
#action buttons
self.buttonHelp = Button(frameActionButtons,text='Help',
- command=self.Help,takefocus=FALSE)
+ command=self.Help,takefocus=FALSE,
+ padx=6,pady=3)
self.buttonOk = Button(frameActionButtons,text='Ok',
- command=self.Ok,takefocus=FALSE)
+ command=self.Ok,takefocus=FALSE,
+ padx=6,pady=3)
self.buttonApply = Button(frameActionButtons,text='Apply',
- command=self.Apply,takefocus=FALSE)
+ command=self.Apply,takefocus=FALSE,
+ padx=6,pady=3)
self.buttonCancel = Button(frameActionButtons,text='Cancel',
- command=self.Cancel,takefocus=FALSE)
+ command=self.Cancel,takefocus=FALSE,
+ padx=6,pady=3)
self.CreatePageFontTab()
self.CreatePageHighlight()
self.CreatePageKeys()
self.CreatePageGeneral()
- self.buttonHelp.pack(side=RIGHT,padx=5,pady=5)
- self.buttonOk.pack(side=LEFT,padx=5,pady=5)
- self.buttonApply.pack(side=LEFT,padx=5,pady=5)
- self.buttonCancel.pack(side=LEFT,padx=5,pady=5)
+ self.buttonHelp.pack(side=RIGHT,padx=5)
+ self.buttonOk.pack(side=LEFT,padx=5)
+ self.buttonApply.pack(side=LEFT,padx=5)
+ self.buttonCancel.pack(side=LEFT,padx=5)
frameActionButtons.pack(side=BOTTOM)
+ Frame(self, border=0).pack(side=BOTTOM,pady=2)
self.tabPages.pack(side=TOP,expand=TRUE,fill=BOTH)
def CreatePageFontTab(self):
@@ -96,14 +105,15 @@
#body frame
frame=self.tabPages.pages['Fonts/Tabs']['page']
#body section frames
- frameFont=Frame(frame,borderwidth=2,relief=GROOVE)
- frameIndent=Frame(frame,borderwidth=2,relief=GROOVE)
+ frameFont=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Base Editor Font ')
+ frameIndent=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Indentation Width ')
#frameFont
- labelFontTitle=Label(frameFont,text='Set Base Editor Font')
frameFontName=Frame(frameFont)
frameFontParam=Frame(frameFont)
labelFontNameTitle=Label(frameFontName,justify=LEFT,
- text='Font :')
+ text='Font Face :')
self.listFontName=Listbox(frameFontName,height=5,takefocus=FALSE,
exportselection=FALSE)
self.listFontName.bind('',self.OnListFontButtonRelease)
@@ -124,14 +134,13 @@
labelSpaceNumTitle=Label(frameIndentSize, justify=LEFT,
text='Python Standard: 4 Spaces!')
self.scaleSpaceNum=Scale(frameIndentSize, variable=self.spaceNum,
- label='Indentation Width', orient='horizontal',
+ orient='horizontal',
tickinterval=2, from_=2, to=16)
#widget packing
#body
- frameFont.pack(side=LEFT,padx=5,pady=10,expand=TRUE,fill=BOTH)
- frameIndent.pack(side=LEFT,padx=5,pady=10,fill=Y)
+ frameFont.pack(side=LEFT,padx=5,pady=5,expand=TRUE,fill=BOTH)
+ frameIndent.pack(side=LEFT,padx=5,pady=5,fill=Y)
#frameFont
- labelFontTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
frameFontName.pack(side=TOP,padx=5,pady=5,fill=X)
frameFontParam.pack(side=TOP,padx=5,pady=5,fill=X)
labelFontNameTitle.pack(side=TOP,anchor=W)
@@ -143,7 +152,7 @@
frameFontSample.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH)
self.labelFontSample.pack(expand=TRUE,fill=BOTH)
#frameIndent
- frameIndentSize.pack(side=TOP,padx=5,pady=5,fill=BOTH)
+ frameIndentSize.pack(side=TOP,fill=X)
labelSpaceNumTitle.pack(side=TOP,anchor=W,padx=5)
self.scaleSpaceNum.pack(side=TOP,padx=5,fill=X)
return frame
@@ -160,8 +169,10 @@
#body frame
frame=self.tabPages.pages['Highlighting']['page']
#body section frames
- frameCustom=Frame(frame,borderwidth=2,relief=GROOVE)
- frameTheme=Frame(frame,borderwidth=2,relief=GROOVE)
+ frameCustom=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Custom Highlighting ')
+ frameTheme=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Highlighting Theme ')
#frameCustom
self.textHighlightSample=Text(frameCustom,relief=SOLID,borderwidth=1,
font=('courier',12,''),cursor='hand2',width=21,height=10,
@@ -189,7 +200,6 @@
text.config(state=DISABLED)
self.frameColourSet=Frame(frameCustom,relief=SOLID,borderwidth=1)
frameFgBg=Frame(frameCustom)
- labelCustomTitle=Label(frameCustom,text='Set Custom Highlighting')
buttonSetColour=Button(self.frameColourSet,text='Choose Colour for :',
command=self.GetColour,highlightthickness=0)
self.optMenuHighlightTarget=DynOptionMenu(self.frameColourSet,
@@ -202,7 +212,6 @@
buttonSaveCustomTheme=Button(frameCustom,
text='Save as New Custom Theme',command=self.SaveAsNewTheme)
#frameTheme
- labelThemeTitle=Label(frameTheme,text='Select a Highlighting Theme')
labelTypeTitle=Label(frameTheme,text='Select : ')
self.radioThemeBuiltin=Radiobutton(frameTheme,variable=self.themeIsBuiltin,
value=1,command=self.SetThemeType,text='a Built-in Theme')
@@ -216,10 +225,9 @@
command=self.DeleteCustomTheme)
##widget packing
#body
- frameCustom.pack(side=LEFT,padx=5,pady=10,expand=TRUE,fill=BOTH)
- frameTheme.pack(side=LEFT,padx=5,pady=10,fill=Y)
+ frameCustom.pack(side=LEFT,padx=5,pady=5,expand=TRUE,fill=BOTH)
+ frameTheme.pack(side=LEFT,padx=5,pady=5,fill=Y)
#frameCustom
- labelCustomTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
self.frameColourSet.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=X)
frameFgBg.pack(side=TOP,padx=5,pady=0)
self.textHighlightSample.pack(side=TOP,padx=5,pady=5,expand=TRUE,
@@ -230,7 +238,6 @@
self.radioBg.pack(side=RIGHT,anchor=W)
buttonSaveCustomTheme.pack(side=BOTTOM,fill=X,padx=5,pady=5)
#frameTheme
- labelThemeTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
labelTypeTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
self.radioThemeBuiltin.pack(side=TOP,anchor=W,padx=5)
self.radioThemeCustom.pack(side=TOP,anchor=W,padx=5,pady=2)
@@ -250,11 +257,12 @@
#body frame
frame=self.tabPages.pages['Keys']['page']
#body section frames
- frameCustom=Frame(frame,borderwidth=2,relief=GROOVE)
- frameKeySets=Frame(frame,borderwidth=2,relief=GROOVE)
+ frameCustom=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Custom Key Bindings ')
+ frameKeySets=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Key Set ')
#frameCustom
frameTarget=Frame(frameCustom)
- labelCustomTitle=Label(frameCustom,text='Set Custom Key Bindings')
labelTargetTitle=Label(frameTarget,text='Action - Key(s)')
scrollTargetY=Scrollbar(frameTarget)
scrollTargetX=Scrollbar(frameTarget,orient=HORIZONTAL)
@@ -270,7 +278,6 @@
buttonSaveCustomKeys=Button(frameCustom,
text='Save as New Custom Key Set',command=self.SaveAsNewKeySet)
#frameKeySets
- labelKeysTitle=Label(frameKeySets,text='Select a Key Set')
labelTypeTitle=Label(frameKeySets,text='Select : ')
self.radioKeysBuiltin=Radiobutton(frameKeySets,variable=self.keysAreBuiltin,
value=1,command=self.SetKeysType,text='a Built-in Key Set')
@@ -287,7 +294,6 @@
frameCustom.pack(side=LEFT,padx=5,pady=5,expand=TRUE,fill=BOTH)
frameKeySets.pack(side=LEFT,padx=5,pady=5,fill=Y)
#frameCustom
- labelCustomTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
buttonSaveCustomKeys.pack(side=BOTTOM,fill=X,padx=5,pady=5)
self.buttonNewKeys.pack(side=BOTTOM,fill=X,padx=5,pady=5)
frameTarget.pack(side=LEFT,padx=5,pady=5,expand=TRUE,fill=BOTH)
@@ -299,7 +305,6 @@
scrollTargetY.grid(row=1,column=1,sticky=NS)
scrollTargetX.grid(row=2,column=0,sticky=EW)
#frameKeySets
- labelKeysTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
labelTypeTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
self.radioKeysBuiltin.pack(side=TOP,anchor=W,padx=5)
self.radioKeysCustom.pack(side=TOP,anchor=W,padx=5,pady=2)
@@ -322,21 +327,22 @@
#body
frame=self.tabPages.pages['General']['page']
#body section frames
- frameRun=Frame(frame,borderwidth=2,relief=GROOVE)
- frameSave=Frame(frame,borderwidth=2,relief=GROOVE)
+ frameRun=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Startup Preferences ')
+ frameSave=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Autosave Preferences ')
frameWinSize=Frame(frame,borderwidth=2,relief=GROOVE)
frameParaSize=Frame(frame,borderwidth=2,relief=GROOVE)
frameEncoding=Frame(frame,borderwidth=2,relief=GROOVE)
- frameHelp=Frame(frame,borderwidth=2,relief=GROOVE)
+ frameHelp=LabelFrame(frame,borderwidth=2,relief=GROOVE,
+ text=' Additional Help Sources ')
#frameRun
- labelRunTitle=Label(frameRun,text='Startup Preferences')
labelRunChoiceTitle=Label(frameRun,text='At Startup')
radioStartupEdit=Radiobutton(frameRun,variable=self.startupEdit,
value=1,command=self.SetKeysType,text="Open Edit Window")
radioStartupShell=Radiobutton(frameRun,variable=self.startupEdit,
value=0,command=self.SetKeysType,text='Open Shell Window')
#frameSave
- labelSaveTitle=Label(frameSave,text='Autosave Preference')
labelRunSaveTitle=Label(frameSave,text='At Start of Run (F5) ')
radioSaveAsk=Radiobutton(frameSave,variable=self.autoSave,
value=0,command=self.SetKeysType,text="Prompt to Save")
@@ -367,7 +373,6 @@
#frameHelp
frameHelpList=Frame(frameHelp)
frameHelpListButtons=Frame(frameHelpList)
- labelHelpListTitle=Label(frameHelpList,text='Additional Help Sources:')
scrollHelpList=Scrollbar(frameHelpList)
self.listHelp=Listbox(frameHelpList,height=5,takefocus=FALSE,
exportselection=FALSE)
@@ -389,12 +394,10 @@
frameEncoding.pack(side=TOP,padx=5,pady=5,fill=X)
frameHelp.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH)
#frameRun
- labelRunTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
labelRunChoiceTitle.pack(side=LEFT,anchor=W,padx=5,pady=5)
radioStartupShell.pack(side=RIGHT,anchor=W,padx=5,pady=5)
radioStartupEdit.pack(side=RIGHT,anchor=W,padx=5,pady=5)
#frameSave
- labelSaveTitle.pack(side=TOP,anchor=W,padx=5,pady=5)
labelRunSaveTitle.pack(side=LEFT,anchor=W,padx=5,pady=5)
radioSaveAuto.pack(side=RIGHT,anchor=W,padx=5,pady=5)
radioSaveAsk.pack(side=RIGHT,anchor=W,padx=5,pady=5)
@@ -415,7 +418,6 @@
#frameHelp
frameHelpListButtons.pack(side=RIGHT,padx=5,pady=5,fill=Y)
frameHelpList.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH)
- labelHelpListTitle.pack(side=TOP,anchor=W)
scrollHelpList.pack(side=RIGHT,anchor=W,fill=Y)
self.listHelp.pack(side=LEFT,anchor=E,expand=TRUE,fill=BOTH)
self.buttonHelpListEdit.pack(side=TOP,anchor=W,pady=5)
From buildbot at python.org Thu Oct 4 05:34:43 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 04 Oct 2007 03:34:43 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071004033443.3E3BF1E4011@bag.python.org>
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/189
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: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From buildbot at python.org Thu Oct 4 06:44:10 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 04 Oct 2007 04:44:10 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071004044410.C61D11E4011@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/82
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 4 07:05:19 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 04 Oct 2007 05:05:19 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071004050519.F21CF1E4011@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/81
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 4 08:00:48 2007
From: python-checkins at python.org (neal.norwitz)
Date: Thu, 4 Oct 2007 08:00:48 +0200 (CEST)
Subject: [Python-checkins] r58311 - python/trunk/Objects/bufferobject.c
Message-ID: <20071004060048.765191E4011@bag.python.org>
Author: neal.norwitz
Date: Thu Oct 4 08:00:48 2007
New Revision: 58311
Modified:
python/trunk/Objects/bufferobject.c
Log:
Coverity #151: Remove deadcode.
All this code already exists above starting at line 653.
Modified: python/trunk/Objects/bufferobject.c
==============================================================================
--- python/trunk/Objects/bufferobject.c (original)
+++ python/trunk/Objects/bufferobject.c Thu Oct 4 08:00:48 2007
@@ -682,19 +682,6 @@
&start, &stop, &step, &slicelength) < 0)
return -1;
- pb = value ? value->ob_type->tp_as_buffer : NULL;
- if (pb == NULL ||
- pb->bf_getreadbuffer == NULL ||
- pb->bf_getsegcount == NULL) {
- PyErr_BadArgument();
- return -1;
- }
- if ((*pb->bf_getsegcount)(value, NULL) != 1) {
- /* ### use a different exception type/message? */
- PyErr_SetString(PyExc_TypeError,
- "single-segment buffer object expected");
- return -1;
- }
if ((othersize = (*pb->bf_getreadbuffer)(value, 0, &ptr2)) < 0)
return -1;
From python-checkins at python.org Thu Oct 4 08:57:33 2007
From: python-checkins at python.org (georg.brandl)
Date: Thu, 4 Oct 2007 08:57:33 +0200 (CEST)
Subject: [Python-checkins] r58312 - peps/trunk/pep-0344.txt
peps/trunk/pep-3134.txt
Message-ID: <20071004065733.EECA71E4011@bag.python.org>
Author: georg.brandl
Date: Thu Oct 4 08:57:33 2007
New Revision: 58312
Modified:
peps/trunk/pep-0344.txt
peps/trunk/pep-3134.txt
Log:
Don't link to the Internet RFCs -- these are Perl RFCs.
Modified: peps/trunk/pep-0344.txt
==============================================================================
--- peps/trunk/pep-0344.txt (original)
+++ peps/trunk/pep-0344.txt Thu Oct 4 08:57:33 2007
@@ -117,7 +117,7 @@
As for other languages, Java and Ruby both discard the original
exception when another exception occurs in a 'catch'/'rescue' or
'finally'/'ensure' clause. Perl 5 lacks built-in structured
- exception handling. For Perl 6, RFC 88 [9] proposes an exception
+ exception handling. For Perl 6, RFC number 88 [9] proposes an exception
mechanism that implicitly retains chained exceptions in an array
named @@. In that RFC, the most recently raised exception is
exposed for matching, as in this PEP; also, arbitrary expressions
Modified: peps/trunk/pep-3134.txt
==============================================================================
--- peps/trunk/pep-3134.txt (original)
+++ peps/trunk/pep-3134.txt Thu Oct 4 08:57:33 2007
@@ -117,7 +117,7 @@
As for other languages, Java and Ruby both discard the original
exception when another exception occurs in a 'catch'/'rescue' or
'finally'/'ensure' clause. Perl 5 lacks built-in structured
- exception handling. For Perl 6, RFC 88 [9] proposes an exception
+ exception handling. For Perl 6, RFC number 88 [9] proposes an exception
mechanism that implicitly retains chained exceptions in an array
named @@. In that RFC, the most recently raised exception is
exposed for matching, as in this PEP; also, arbitrary expressions
From python-checkins at python.org Fri Oct 5 04:46:13 2007
From: python-checkins at python.org (fred.drake)
Date: Fri, 5 Oct 2007 04:46:13 +0200 (CEST)
Subject: [Python-checkins] r58325 - python/trunk/Doc/library/asynchat.rst
python/trunk/Doc/library/asyncore.rst
Message-ID: <20071005024613.3542D1E4002@bag.python.org>
Author: fred.drake
Date: Fri Oct 5 04:46:12 2007
New Revision: 58325
Modified:
python/trunk/Doc/library/asynchat.rst
python/trunk/Doc/library/asyncore.rst
Log:
wrap lines to <80 characters before fixing errors
Modified: python/trunk/Doc/library/asynchat.rst
==============================================================================
--- python/trunk/Doc/library/asynchat.rst (original)
+++ python/trunk/Doc/library/asynchat.rst Fri Oct 5 04:46:12 2007
@@ -9,72 +9,77 @@
This module builds on the :mod:`asyncore` infrastructure, simplifying
-asynchronous clients and servers and making it easier to handle protocols whose
-elements are terminated by arbitrary strings, or are of variable length.
+asynchronous clients and servers and making it easier to handle protocols
+whose elements are terminated by arbitrary strings, or are of variable length.
:mod:`asynchat` defines the abstract class :class:`async_chat` that you
subclass, providing implementations of the :meth:`collect_incoming_data` and
:meth:`found_terminator` methods. It uses the same asynchronous loop as
-:mod:`asyncore`, and the two types of channel, :class:`asyncore.dispatcher` and
-:class:`asynchat.async_chat`, can freely be mixed in the channel map. Typically
-an :class:`asyncore.dispatcher` server channel generates new
-:class:`asynchat.async_chat` channel objects as it receives incoming connection
-requests.
+:mod:`asyncore`, and the two types of channel, :class:`asyncore.dispatcher`
+and :class:`asynchat.async_chat`, can freely be mixed in the channel map.
+Typically an :class:`asyncore.dispatcher` server channel generates new
+:class:`asynchat.async_chat` channel objects as it receives incoming
+connection requests.
.. class:: async_chat()
This class is an abstract subclass of :class:`asyncore.dispatcher`. To make
practical use of the code you must subclass :class:`async_chat`, providing
- meaningful :meth:`collect_incoming_data` and :meth:`found_terminator` methods.
+ meaningful :meth:`collect_incoming_data` and :meth:`found_terminator`
+ methods.
The :class:`asyncore.dispatcher` methods can be used, although not all make
sense in a message/response context.
- Like :class:`asyncore.dispatcher`, :class:`async_chat` defines a set of events
- that are generated by an analysis of socket conditions after a :cfunc:`select`
- call. Once the polling loop has been started the :class:`async_chat` object's
- methods are called by the event-processing framework with no action on the part
- of the programmer.
-
- Unlike :class:`asyncore.dispatcher`, :class:`async_chat` allows you to define a
- first-in-first-out queue (fifo) of *producers*. A producer need have only one
- method, :meth:`more`, which should return data to be transmitted on the channel.
+ Like :class:`asyncore.dispatcher`, :class:`async_chat` defines a set of
+ events that are generated by an analysis of socket conditions after a
+ :cfunc:`select` call. Once the polling loop has been started the
+ :class:`async_chat` object's methods are called by the event-processing
+ framework with no action on the part of the programmer.
+
+ Unlike :class:`asyncore.dispatcher`, :class:`async_chat` allows you to
+ define a first-in-first-out queue (fifo) of *producers*. A producer need
+ have only one method, :meth:`more`, which should return data to be
+ transmitted on the channel.
The producer indicates exhaustion (*i.e.* that it contains no more data) by
having its :meth:`more` method return the empty string. At this point the
- :class:`async_chat` object removes the producer from the fifo and starts using
- the next producer, if any. When the producer fifo is empty the
+ :class:`async_chat` object removes the producer from the fifo and starts
+ using the next producer, if any. When the producer fifo is empty the
:meth:`handle_write` method does nothing. You use the channel object's
- :meth:`set_terminator` method to describe how to recognize the end of, or an
- important breakpoint in, an incoming transmission from the remote endpoint.
+ :meth:`set_terminator` method to describe how to recognize the end of, or
+ an important breakpoint in, an incoming transmission from the remote
+ endpoint.
To build a functioning :class:`async_chat` subclass your input methods
- :meth:`collect_incoming_data` and :meth:`found_terminator` must handle the data
- that the channel receives asynchronously. The methods are described below.
+ :meth:`collect_incoming_data` and :meth:`found_terminator` must handle the
+ data that the channel receives asynchronously. The methods are described
+ below.
.. method:: async_chat.close_when_done()
- Pushes a ``None`` on to the producer fifo. When this producer is popped off the
- fifo it causes the channel to be closed.
+ Pushes a ``None`` on to the producer fifo. When this producer is popped off
+ the fifo it causes the channel to be closed.
.. method:: async_chat.collect_incoming_data(data)
- Called with *data* holding an arbitrary amount of received data. The default
- method, which must be overridden, raises a :exc:`NotImplementedError` exception.
+ Called with *data* holding an arbitrary amount of received data. The
+ default method, which must be overridden, raises a
+ :exc:`NotImplementedError` exception.
.. method:: async_chat.discard_buffers()
- In emergencies this method will discard any data held in the input and/or output
- buffers and the producer fifo.
+ In emergencies this method will discard any data held in the input and/or
+ output buffers and the producer fifo.
.. method:: async_chat.found_terminator()
- Called when the incoming data stream matches the termination condition set by
- :meth:`set_terminator`. The default method, which must be overridden, raises a
- :exc:`NotImplementedError` exception. The buffered input data should be
- available via an instance attribute.
+ Called when the incoming data stream matches the termination condition set
+ by :meth:`set_terminator`. The default method, which must be overridden,
+ raises a :exc:`NotImplementedError` exception. The buffered input data
+ should be available via an instance attribute.
.. method:: async_chat.get_terminator()
@@ -90,59 +95,59 @@
.. method:: async_chat.handle_read()
- Called when a read event fires on the channel's socket in the asynchronous loop.
- The default method checks for the termination condition established by
- :meth:`set_terminator`, which can be either the appearance of a particular
- string in the input stream or the receipt of a particular number of characters.
- When the terminator is found, :meth:`handle_read` calls the
- :meth:`found_terminator` method after calling :meth:`collect_incoming_data` with
- any data preceding the terminating condition.
+ Called when a read event fires on the channel's socket in the asynchronous
+ loop. The default method checks for the termination condition established
+ by :meth:`set_terminator`, which can be either the appearance of a
+ particular string in the input stream or the receipt of a particular number
+ of characters. When the terminator is found, :meth:`handle_read` calls the
+ :meth:`found_terminator` method after calling :meth:`collect_incoming_data`
+ with any data preceding the terminating condition.
.. method:: async_chat.handle_write()
- Called when the application may write data to the channel. The default method
- calls the :meth:`initiate_send` method, which in turn will call
- :meth:`refill_buffer` to collect data from the producer fifo associated with the
- channel.
+ Called when the application may write data to the channel. The default
+ method calls the :meth:`initiate_send` method, which in turn will call
+ :meth:`refill_buffer` to collect data from the producer fifo associated
+ with the channel.
.. method:: async_chat.push(data)
- Creates a :class:`simple_producer` object (*see below*) containing the data and
- pushes it on to the channel's ``producer_fifo`` to ensure its transmission. This
- is all you need to do to have the channel write the data out to the network,
- although it is possible to use your own producers in more complex schemes to
- implement encryption and chunking, for example.
+ Creates a :class:`simple_producer` object (*see below*) containing the data
+ and pushes it on to the channel's ``producer_fifo`` to ensure its
+ transmission. This is all you need to do to have the channel write the
+ data out to the network, although it is possible to use your own producers
+ in more complex schemes to implement encryption and chunking, for example.
.. method:: async_chat.push_with_producer(producer)
- Takes a producer object and adds it to the producer fifo associated with the
- channel. When all currently-pushed producers have been exhausted the channel
- will consume this producer's data by calling its :meth:`more` method and send
- the data to the remote endpoint.
+ Takes a producer object and adds it to the producer fifo associated with
+ the channel. When all currently-pushed producers have been exhausted the
+ channel will consume this producer's data by calling its :meth:`more`
+ method and send the data to the remote endpoint.
.. method:: async_chat.readable()
- Should return ``True`` for the channel to be included in the set of channels
- tested by the :cfunc:`select` loop for readability.
+ Should return ``True`` for the channel to be included in the set of
+ channels tested by the :cfunc:`select` loop for readability.
.. method:: async_chat.refill_buffer()
- Refills the output buffer by calling the :meth:`more` method of the producer at
- the head of the fifo. If it is exhausted then the producer is popped off the
- fifo and the next producer is activated. If the current producer is, or becomes,
- ``None`` then the channel is closed.
+ Refills the output buffer by calling the :meth:`more` method of the
+ producer at the head of the fifo. If it is exhausted then the producer is
+ popped off the fifo and the next producer is activated. If the current
+ producer is, or becomes, ``None`` then the channel is closed.
.. method:: async_chat.set_terminator(term)
- Sets the terminating condition to be recognised on the channel. ``term`` may be
- any of three types of value, corresponding to three different ways to handle
- incoming protocol data.
+ Sets the terminating condition to be recognized on the channel. ``term``
+ may be any of three types of value, corresponding to three different ways
+ to handle incoming protocol data.
+-----------+---------------------------------------------+
| term | Description |
@@ -158,8 +163,8 @@
| | forever |
+-----------+---------------------------------------------+
- Note that any data following the terminator will be available for reading by the
- channel after :meth:`found_terminator` is called.
+ Note that any data following the terminator will be available for reading
+ by the channel after :meth:`found_terminator` is called.
.. method:: async_chat.writable()
@@ -174,29 +179,29 @@
.. class:: simple_producer(data[, buffer_size=512])
- A :class:`simple_producer` takes a chunk of data and an optional buffer size.
- Repeated calls to its :meth:`more` method yield successive chunks of the data no
- larger than *buffer_size*.
+ A :class:`simple_producer` takes a chunk of data and an optional buffer
+ size. Repeated calls to its :meth:`more` method yield successive chunks of
+ the data no larger than *buffer_size*.
.. method:: simple_producer.more()
- Produces the next chunk of information from the producer, or returns the empty
- string.
+ Produces the next chunk of information from the producer, or returns the
+ empty string.
.. class:: fifo([list=None])
- Each channel maintains a :class:`fifo` holding data which has been pushed by the
- application but not yet popped for writing to the channel. A :class:`fifo` is a
- list used to hold data and/or producers until they are required. If the *list*
- argument is provided then it should contain producers or data items to be
- written to the channel.
+ Each channel maintains a :class:`fifo` holding data which has been pushed
+ by the application but not yet popped for writing to the channel. A
+ :class:`fifo` is a list used to hold data and/or producers until they are
+ required. If the *list* argument is provided then it should contain
+ producers or data items to be written to the channel.
.. method:: fifo.is_empty()
- Returns ``True`` iff the fifo is empty.
+ Returns ``True`` if and only if the fifo is empty.
.. method:: fifo.first()
@@ -206,14 +211,14 @@
.. method:: fifo.push(data)
- Adds the given data (which may be a string or a producer object) to the producer
- fifo.
+ Adds the given data (which may be a string or a producer object) to the
+ producer fifo.
.. method:: fifo.pop()
- If the fifo is not empty, returns ``True, first()``, deleting the popped item.
- Returns ``False, None`` for an empty fifo.
+ If the fifo is not empty, returns ``True, first()``, deleting the popped
+ item. Returns ``False, None`` for an empty fifo.
The :mod:`asynchat` module also defines one utility function, which may be of
use in network and textual analysis operations.
@@ -221,8 +226,8 @@
.. function:: find_prefix_at_end(haystack, needle)
- Returns ``True`` if string *haystack* ends with any non-empty prefix of string
- *needle*.
+ Returns ``True`` if string *haystack* ends with any non-empty prefix of
+ string *needle*.
.. _asynchat-example:
@@ -231,19 +236,20 @@
----------------
The following partial example shows how HTTP requests can be read with
-:class:`async_chat`. A web server might create an :class:`http_request_handler`
-object for each incoming client connection. Notice that initially the channel
-terminator is set to match the blank line at the end of the HTTP headers, and a
-flag indicates that the headers are being read.
-
-Once the headers have been read, if the request is of type POST (indicating that
-further data are present in the input stream) then the ``Content-Length:``
-header is used to set a numeric terminator to read the right amount of data from
-the channel.
+:class:`async_chat`. A web server might create an
+:class:`http_request_handler` object for each incoming client connection.
+Notice that initially the channel terminator is set to match the blank line at
+the end of the HTTP headers, and a flag indicates that the headers are being
+read.
+
+Once the headers have been read, if the request is of type POST (indicating
+that further data are present in the input stream) then the
+``Content-Length:`` header is used to set a numeric terminator to read the
+right amount of data from the channel.
The :meth:`handle_request` method is called once all relevant input has been
-marshalled, after setting the channel terminator to ``None`` to ensure that any
-extraneous data sent by the web client are ignored. ::
+marshalled, after setting the channel terminator to ``None`` to ensure that
+any extraneous data sent by the web client are ignored. ::
class http_request_handler(asynchat.async_chat):
@@ -281,4 +287,3 @@
self.handling = True
self.ibuffer = []
self.handle_request()
-
Modified: python/trunk/Doc/library/asyncore.rst
==============================================================================
--- python/trunk/Doc/library/asyncore.rst (original)
+++ python/trunk/Doc/library/asyncore.rst Fri Oct 5 04:46:12 2007
@@ -3,7 +3,8 @@
===============================================
.. module:: asyncore
- :synopsis: A base class for developing asynchronous socket handling services.
+ :synopsis: A base class for developing asynchronous socket handling
+ services.
.. moduleauthor:: Sam Rushing
.. sectionauthor:: Christopher Petrilli
.. sectionauthor:: Steve Holden
@@ -16,59 +17,62 @@
There are only two ways to have a program on a single processor do "more than
one thing at a time." Multi-threaded programming is the simplest and most
-popular way to do it, but there is another very different technique, that lets
+popular way to do it, but there is another very different technique, that lets
you have nearly all the advantages of multi-threading, without actually using
multiple threads. It's really only practical if your program is largely I/O
-bound. If your program is processor bound, then pre-emptive scheduled threads
-are probably what you really need. Network servers are rarely processor bound,
-however.
+bound. If your program is processor bound, then pre-emptive scheduled threads
+are probably what you really need. Network servers are rarely processor
+bound, however.
If your operating system supports the :cfunc:`select` system call in its I/O
library (and nearly all do), then you can use it to juggle multiple
-communication channels at once; doing other work while your I/O is taking place
-in the "background." Although this strategy can seem strange and complex,
-especially at first, it is in many ways easier to understand and control than
-multi-threaded programming. The :mod:`asyncore` module solves many of the
-difficult problems for you, making the task of building sophisticated
-high-performance network servers and clients a snap. For "conversational"
-applications and protocols the companion :mod:`asynchat` module is invaluable.
-
-The basic idea behind both modules is to create one or more network *channels*,
-instances of class :class:`asyncore.dispatcher` and
-:class:`asynchat.async_chat`. Creating the channels adds them to a global map,
-used by the :func:`loop` function if you do not provide it with your own *map*.
+communication channels at once; doing other work while your I/O is taking
+place in the "background." Although this strategy can seem strange and
+complex, especially at first, it is in many ways easier to understand and
+control than multi-threaded programming. The :mod:`asyncore` module solves
+many of the difficult problems for you, making the task of building
+sophisticated high-performance network servers and clients a snap. For
+"conversational" applications and protocols the companion :mod:`asynchat`
+module is invaluable.
+
+The basic idea behind both modules is to create one or more network
+*channels*, instances of class :class:`asyncore.dispatcher` and
+:class:`asynchat.async_chat`. Creating the channels adds them to a global
+map, used by the :func:`loop` function if you do not provide it with your own
+*map*.
Once the initial channel(s) is(are) created, calling the :func:`loop` function
-activates channel service, which continues until the last channel (including any
-that have been added to the map during asynchronous service) is closed.
+activates channel service, which continues until the last channel (including
+any that have been added to the map during asynchronous service) is closed.
.. function:: loop([timeout[, use_poll[, map[,count]]]])
- Enter a polling loop that terminates after count passes or all open channels
- have been closed. All arguments are optional. The *count* parameter defaults
- to None, resulting in the loop terminating only when all channels have been
- closed. The *timeout* argument sets the timeout parameter for the appropriate
- :func:`select` or :func:`poll` call, measured in seconds; the default is 30
- seconds. The *use_poll* parameter, if true, indicates that :func:`poll` should
- be used in preference to :func:`select` (the default is ``False``).
-
- The *map* parameter is a dictionary whose items are the channels to watch. As
- channels are closed they are deleted from their map. If *map* is omitted, a
- global map is used. Channels (instances of :class:`asyncore.dispatcher`,
- :class:`asynchat.async_chat` and subclasses thereof) can freely be mixed in the
- map.
+ Enter a polling loop that terminates after count passes or all open
+ channels have been closed. All arguments are optional. The *count*
+ parameter defaults to None, resulting in the loop terminating only when all
+ channels have been closed. The *timeout* argument sets the timeout
+ parameter for the appropriate :func:`select` or :func:`poll` call, measured
+ in seconds; the default is 30 seconds. The *use_poll* parameter, if true,
+ indicates that :func:`poll` should be used in preference to :func:`select`
+ (the default is ``False``).
+
+ The *map* parameter is a dictionary whose items are the channels to watch.
+ As channels are closed they are deleted from their map. If *map* is
+ omitted, a global map is used. Channels (instances of
+ :class:`asyncore.dispatcher`, :class:`asynchat.async_chat` and subclasses
+ thereof) can freely be mixed in the map.
.. class:: dispatcher()
The :class:`dispatcher` class is a thin wrapper around a low-level socket
- object. To make it more useful, it has a few methods for event-handling which
- are called from the asynchronous loop. Otherwise, it can be treated as a
- normal non-blocking socket object.
+ object. To make it more useful, it has a few methods for event-handling
+ which are called from the asynchronous loop. Otherwise, it can be treated
+ as a normal non-blocking socket object.
- Two class attributes can be modified, to improve performance, or possibly even
- to conserve memory.
+ Two class attributes can be modified, to improve performance, or possibly
+ even to conserve memory.
.. data:: ac_in_buffer_size
@@ -80,12 +84,13 @@
The asynchronous output buffer size (default ``4096``).
- The firing of low-level events at certain times or in certain connection states
- tells the asynchronous loop that certain higher-level events have taken place.
- For example, if we have asked for a socket to connect to another host, we know
- that the connection has been made when the socket becomes writable for the first
- time (at this point you know that you may write to it with the expectation of
- success). The implied higher-level events are:
+ The firing of low-level events at certain times or in certain connection
+ states tells the asynchronous loop that certain higher-level events have
+ taken place. For example, if we have asked for a socket to connect to
+ another host, we know that the connection has been made when the socket
+ becomes writable for the first time (at this point you know that you may
+ write to it with the expectation of success). The implied higher-level
+ events are:
+----------------------+----------------------------------------+
| Event | Description |
@@ -101,11 +106,11 @@
During asynchronous processing, each mapped channel's :meth:`readable` and
:meth:`writable` methods are used to determine whether the channel's socket
- should be added to the list of channels :cfunc:`select`\ ed or :cfunc:`poll`\ ed
- for read and write events.
+ should be added to the list of channels :cfunc:`select`\ ed or
+ :cfunc:`poll`\ ed for read and write events.
-Thus, the set of channel events is larger than the basic socket events. The full
-set of methods that can be overridden in your subclass follows:
+Thus, the set of channel events is larger than the basic socket events. The
+full set of methods that can be overridden in your subclass follows:
.. method:: dispatcher.handle_read()
@@ -116,9 +121,9 @@
.. method:: dispatcher.handle_write()
- Called when the asynchronous loop detects that a writable socket can be written.
- Often this method will implement the necessary buffering for performance. For
- example::
+ Called when the asynchronous loop detects that a writable socket can be
+ written. Often this method will implement the necessary buffering for
+ performance. For example::
def handle_write(self):
sent = self.send(self.buffer)
@@ -127,15 +132,15 @@
.. method:: dispatcher.handle_expt()
- Called when there is out of band (OOB) data for a socket connection. This will
- almost never happen, as OOB is tenuously supported and rarely used.
+ Called when there is out of band (OOB) data for a socket connection. This
+ will almost never happen, as OOB is tenuously supported and rarely used.
.. method:: dispatcher.handle_connect()
- Called when the active opener's socket actually makes a connection. Might send a
- "welcome" banner, or initiate a protocol negotiation with the remote endpoint,
- for example.
+ Called when the active opener's socket actually makes a connection. Might
+ send a "welcome" banner, or initiate a protocol negotiation with the remote
+ endpoint, for example.
.. method:: dispatcher.handle_close()
@@ -152,40 +157,40 @@
.. method:: dispatcher.handle_accept()
Called on listening channels (passive openers) when a connection can be
- established with a new remote endpoint that has issued a :meth:`connect` call
- for the local endpoint.
+ established with a new remote endpoint that has issued a :meth:`connect`
+ call for the local endpoint.
.. method:: dispatcher.readable()
- Called each time around the asynchronous loop to determine whether a channel's
- socket should be added to the list on which read events can occur. The default
- method simply returns ``True``, indicating that by default, all channels will
- be interested in read events.
+ Called each time around the asynchronous loop to determine whether a
+ channel's socket should be added to the list on which read events can
+ occur. The default method simply returns ``True``, indicating that by
+ default, all channels will be interested in read events.
.. method:: dispatcher.writable()
- Called each time around the asynchronous loop to determine whether a channel's
- socket should be added to the list on which write events can occur. The default
- method simply returns ``True``, indicating that by default, all channels will
- be interested in write events.
+ Called each time around the asynchronous loop to determine whether a
+ channel's socket should be added to the list on which write events can
+ occur. The default method simply returns ``True``, indicating that by
+ default, all channels will be interested in write events.
-In addition, each channel delegates or extends many of the socket methods. Most
-of these are nearly identical to their socket partners.
+In addition, each channel delegates or extends many of the socket methods.
+Most of these are nearly identical to their socket partners.
.. method:: dispatcher.create_socket(family, type)
- This is identical to the creation of a normal socket, and will use the same
- options for creation. Refer to the :mod:`socket` documentation for information
- on creating sockets.
+ This is identical to the creation of a normal socket, and will use the same
+ options for creation. Refer to the :mod:`socket` documentation for
+ information on creating sockets.
.. method:: dispatcher.connect(address)
- As with the normal socket object, *address* is a tuple with the first element
- the host to connect to, and the second the port number.
+ As with the normal socket object, *address* is a tuple with the first
+ element the host to connect to, and the second the port number.
.. method:: dispatcher.send(data)
@@ -195,38 +200,41 @@
.. method:: dispatcher.recv(buffer_size)
- Read at most *buffer_size* bytes from the socket's remote end-point. An empty
- string implies that the channel has been closed from the other end.
+ Read at most *buffer_size* bytes from the socket's remote end-point.
+ An empty string implies that the channel has been closed from the other
+ end.
.. method:: dispatcher.listen(backlog)
- Listen for connections made to the socket. The *backlog* argument specifies the
- maximum number of queued connections and should be at least 1; the maximum value
- is system-dependent (usually 5).
+ Listen for connections made to the socket. The *backlog* argument
+ specifies the maximum number of queued connections and should be at least
+ 1; the maximum value is system-dependent (usually 5).
.. method:: dispatcher.bind(address)
Bind the socket to *address*. The socket must not already be bound. (The
- format of *address* depends on the address family --- see above.) To mark the
- socket as re-usable (setting the :const:`SO_REUSEADDR` option), call the
- :class:`dispatcher` object's :meth:`set_reuse_addr` method.
+ format of *address* depends on the address family --- see above.) To mark
+ the socket as re-usable (setting the :const:`SO_REUSEADDR` option), call
+ the :class:`dispatcher` object's :meth:`set_reuse_addr` method.
.. method:: dispatcher.accept()
- Accept a connection. The socket must be bound to an address and listening for
- connections. The return value is a pair ``(conn, address)`` where *conn* is a
- *new* socket object usable to send and receive data on the connection, and
- *address* is the address bound to the socket on the other end of the connection.
+ Accept a connection. The socket must be bound to an address and listening
+ for connections. The return value is a pair ``(conn, address)`` where
+ *conn* is a *new* socket object usable to send and receive data on the
+ connection, and *address* is the address bound to the socket on the other
+ end of the connection.
.. method:: dispatcher.close()
- Close the socket. All future operations on the socket object will fail. The
- remote end-point will receive no more data (after queued data is flushed).
- Sockets are automatically closed when they are garbage-collected.
+ Close the socket. All future operations on the socket object will fail.
+ The remote end-point will receive no more data (after queued data is
+ flushed). Sockets are automatically closed when they are
+ garbage-collected.
.. _asyncore-example:
@@ -266,4 +274,3 @@
c = http_client('www.python.org', '/')
asyncore.loop()
-
From python-checkins at python.org Fri Oct 5 04:47:07 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Fri, 5 Oct 2007 04:47:07 +0200 (CEST)
Subject: [Python-checkins] r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
Message-ID: <20071005024707.F07891E4002@bag.python.org>
Author: raymond.hettinger
Date: Fri Oct 5 04:47:07 2007
New Revision: 58326
Modified:
python/trunk/Doc/library/collections.rst
python/trunk/Lib/collections.py
python/trunk/Lib/test/test_collections.py
python/trunk/Lib/test/test_deque.py
python/trunk/Misc/NEWS
python/trunk/Modules/_collectionsmodule.c
Log:
Add __asdict__() to NamedTuple and refine the docs.
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__(). The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Fri Oct 5 04:47:07 2007
@@ -34,7 +34,7 @@
----------------------
-.. class:: deque([iterable])
+.. class:: deque([iterable[, maxlen]])
Returns a new deque object initialized left-to-right (using :meth:`append`) with
data from *iterable*. If *iterable* is not specified, the new deque is empty.
@@ -51,6 +51,17 @@
.. versionadded:: 2.4
+ If *maxlen* is not specified or is *-1*, deques may grow to an
+ arbitrary length. Otherwise, the deque is bounded to the specified maximum
+ length. Once a bounded length deque is full, when new items are added, a
+ corresponding number of items are discarded from the opposite end. Bounded
+ length deques provide functionality similar to the ``tail`` filter in
+ Unix. They are also useful for tracking transactions and other pools of data
+ where only the most recent activity is of interest.
+
+ .. versionchanged:: 2.6
+ Added *maxlen*
+
Deque objects support the following methods:
@@ -168,8 +179,8 @@
.. _deque-recipes:
-Recipes
-^^^^^^^
+:class:`deque` Recipes
+^^^^^^^^^^^^^^^^^^^^^^
This section shows various approaches to working with deques.
@@ -186,42 +197,14 @@
:meth:`rotate` to bring a target element to the left side of the deque. Remove
old entries with :meth:`popleft`, add new entries with :meth:`extend`, and then
reverse the rotation.
-
With minor variations on that approach, it is easy to implement Forth style
stack manipulations such as ``dup``, ``drop``, ``swap``, ``over``, ``pick``,
``rot``, and ``roll``.
-A roundrobin task server can be built from a :class:`deque` using
-:meth:`popleft` to select the current task and :meth:`append` to add it back to
-the tasklist if the input stream is not exhausted::
-
- >>> def roundrobin(*iterables):
- ... pending = deque(iter(i) for i in iterables)
- ... while pending:
- ... task = pending.popleft()
- ... try:
- ... yield task.next()
- ... except StopIteration:
- ... continue
- ... pending.append(task)
- ...
- >>> for value in roundrobin('abc', 'd', 'efgh'):
- ... print value
-
- a
- d
- e
- b
- f
- c
- g
- h
-
-
Multi-pass data reduction algorithms can be succinctly expressed and efficiently
coded by extracting elements with multiple calls to :meth:`popleft`, applying
-the reduction function, and calling :meth:`append` to add the result back to the
-queue.
+a reduction function, and calling :meth:`append` to add the result back to the
+deque.
For example, building a balanced binary tree of nested lists entails reducing
two adjacent nodes into one by grouping them in a list::
@@ -236,7 +219,12 @@
>>> print maketree('abcdefgh')
[[[['a', 'b'], ['c', 'd']], [['e', 'f'], ['g', 'h']]]]
+Bounded length deques provide functionality similar to the ``tail`` filter
+in Unix::
+ def tail(filename, n=10):
+ 'Return the last n lines of a file'
+ return deque(open(filename), n)
.. _defaultdict-objects:
@@ -376,7 +364,8 @@
method which lists the tuple contents in a ``name=value`` format.
The *fieldnames* are specified in a single string with each fieldname separated by
- a space and/or comma. Any valid Python identifier may be used for a fieldname.
+ a space and/or comma. Any valid Python identifier may be used for a fieldname
+ except for names starting and ending with double underscores.
If *verbose* is true, will print the class definition.
@@ -387,7 +376,7 @@
Example::
- >>> Point = NamedTuple('Point', 'x y', True)
+ >>> Point = NamedTuple('Point', 'x y', verbose=True)
class Point(tuple):
'Point(x, y)'
__slots__ = ()
@@ -396,6 +385,9 @@
return tuple.__new__(cls, (x, y))
def __repr__(self):
return 'Point(x=%r, y=%r)' % self
+ def __asdict__(self):
+ 'Return a new dict mapping field names to their values'
+ return dict(zip(('x', 'y'), self))
def __replace__(self, field, value):
'Return a new Point object replacing one field with a new value'
return Point(**dict(zip(('x', 'y'), self) + [(field, value)]))
@@ -429,10 +421,25 @@
>>> Point(*t) # the star-operator unpacks any iterable object
Point(x=11, y=22)
+When casting a dictionary to a *NamedTuple*, use the double-star-operator::
+
+ >>> d = {'x': 11, 'y': 22}
+ >>> Point(**d)
+ Point(x=11, y=22)
+
In addition to the methods inherited from tuples, named tuples support
-an additonal method and an informational read-only attribute.
+additonal methods and a read-only attribute.
+
+.. method:: somenamedtuple.__asdict__()
+
+ Return a new dict which maps field names to their corresponding values:
+
+::
-.. method:: somenamedtuple.replace(field, value)
+ >>> p.__asdict__()
+ {'x': 11, 'y': 22}
+
+.. method:: somenamedtuple.__replace__(field, value)
Return a new instance of the named tuple replacing the named *field* with a new *value*:
@@ -447,20 +454,16 @@
.. attribute:: somenamedtuple.__fields__
- Return a tuple of strings listing the field names. This is useful for introspection,
- for converting a named tuple instance to a dictionary, and for combining named tuple
- types to create new named tuple types:
+ Return a tuple of strings listing the field names. This is useful for introspection
+ and for creating new named tuple types from existing named tuples.
::
- >>> p.__fields__ # view the field names
+ >>> p.__fields__ # view the field names
('x', 'y')
- >>> dict(zip(p.__fields__, p)) # convert to a dictionary
- {'y': 22, 'x': 11}
>>> Color = NamedTuple('Color', 'red green blue')
- >>> pixel_fields = ' '.join(Point.__fields__ + Color.__fields__) # combine fields
- >>> Pixel = NamedTuple('Pixel', pixel_fields)
+ >>> Pixel = NamedTuple('Pixel', ' '.join(Point.__fields__ + Color.__fields__))
>>> Pixel(11, 22, 128, 255, 0)
Pixel(x=11, y=22, red=128, green=255, blue=0)'
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Fri Oct 5 04:47:07 2007
@@ -18,19 +18,21 @@
(11, 22)
>>> p.x + p.y # fields also accessable by name
33
- >>> p # readable __repr__ with name=value style
+ >>> d = p.__asdict__() # convert to a dictionary
+ >>> d['x']
+ 11
+ >>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p.__replace__('x', 100) # __replace__() is like str.replace() but targets a named field
Point(x=100, y=22)
- >>> d = dict(zip(p.__fields__, p)) # use __fields__ to make a dictionary
- >>> d['x']
- 11
"""
field_names = tuple(s.replace(',', ' ').split()) # names separated by spaces and/or commas
if not ''.join((typename,) + field_names).replace('_', '').isalnum():
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
+ if any(name.startswith('__') and name.endswith('__') for name in field_names):
+ raise ValueError('Field names cannot start and end with double underscores')
argtxt = repr(field_names).replace("'", "")[1:-1] # tuple repr without parens or quotes
reprtxt = ', '.join('%s=%%r' % name for name in field_names)
template = '''class %(typename)s(tuple):
@@ -41,7 +43,10 @@
return tuple.__new__(cls, (%(argtxt)s))
def __repr__(self):
return '%(typename)s(%(reprtxt)s)' %% self
- def __replace__(self, field, value):
+ def __asdict__(self, dict=dict, zip=zip):
+ 'Return a new dict mapping field names to their values'
+ return dict(zip(%(field_names)r, self))
+ def __replace__(self, field, value, dict=dict, zip=zip):
'Return a new %(typename)s object replacing one field with a new value'
return %(typename)s(**dict(zip(%(field_names)r, self) + [(field, value)])) \n''' % locals()
for i, name in enumerate(field_names):
Modified: python/trunk/Lib/test/test_collections.py
==============================================================================
--- python/trunk/Lib/test/test_collections.py (original)
+++ python/trunk/Lib/test/test_collections.py Fri Oct 5 04:47:07 2007
@@ -13,6 +13,7 @@
self.assertEqual(Point.__getitem__, tuple.__getitem__)
self.assertRaises(ValueError, NamedTuple, 'abc%', 'def ghi')
self.assertRaises(ValueError, NamedTuple, 'abc', 'def g%hi')
+ self.assertRaises(ValueError, NamedTuple, 'abc', '__def__ ghi')
NamedTuple('Point0', 'x1 y2') # Verify that numbers are allowed in names
def test_instance(self):
@@ -32,6 +33,7 @@
self.assert_('__weakref__' not in dir(p))
self.assertEqual(p.__fields__, ('x', 'y')) # test __fields__ attribute
self.assertEqual(p.__replace__('x', 1), (1, 22)) # test __replace__ method
+ self.assertEqual(p.__asdict__(), dict(x=11, y=22)) # test __dict__ method
# verify that field string can have commas
Point = NamedTuple('Point', 'x, y')
Modified: python/trunk/Lib/test/test_deque.py
==============================================================================
--- python/trunk/Lib/test/test_deque.py (original)
+++ python/trunk/Lib/test/test_deque.py Fri Oct 5 04:47:07 2007
@@ -47,6 +47,44 @@
self.assertEqual(right, range(150, 400))
self.assertEqual(list(d), range(50, 150))
+ def test_maxlen(self):
+ self.assertRaises(ValueError, deque, 'abc', -2)
+ d = deque(range(10), maxlen=3)
+ self.assertEqual(repr(d), 'deque([7, 8, 9], maxlen=3)')
+ self.assertEqual(list(d), range(7, 10))
+ self.assertEqual(d, deque(range(10), 3))
+ d.append(10)
+ self.assertEqual(list(d), range(8, 11))
+ d.appendleft(7)
+ self.assertEqual(list(d), range(7, 10))
+ d.extend([10, 11])
+ self.assertEqual(list(d), range(9, 12))
+ d.extendleft([8, 7])
+ self.assertEqual(list(d), range(7, 10))
+ d = deque(xrange(200), maxlen=10)
+ d.append(d)
+ try:
+ fo = open(test_support.TESTFN, "wb")
+ print >> fo, d,
+ fo.close()
+ fo = open(test_support.TESTFN, "rb")
+ self.assertEqual(fo.read(), repr(d))
+ finally:
+ fo.close()
+ os.remove(test_support.TESTFN)
+
+ d = deque(range(10), maxlen=-1)
+ self.assertEqual(repr(d), 'deque([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])')
+ try:
+ fo = open(test_support.TESTFN, "wb")
+ print >> fo, d,
+ fo.close()
+ fo = open(test_support.TESTFN, "rb")
+ self.assertEqual(fo.read(), repr(d))
+ finally:
+ fo.close()
+ os.remove(test_support.TESTFN)
+
def test_comparisons(self):
d = deque('xabc'); d.popleft()
for e in [d, deque('abc'), deque('ab'), deque(), list(d)]:
@@ -254,7 +292,7 @@
os.remove(test_support.TESTFN)
def test_init(self):
- self.assertRaises(TypeError, deque, 'abc', 2);
+ self.assertRaises(TypeError, deque, 'abc', 2, 3);
self.assertRaises(TypeError, deque, 1);
def test_hash(self):
@@ -339,13 +377,13 @@
self.assertNotEqual(id(d), id(e))
self.assertEqual(list(d), list(e))
- def test_pickle_recursive(self):
- d = deque('abc')
- d.append(d)
- for i in (0, 1, 2):
- e = pickle.loads(pickle.dumps(d, i))
- self.assertNotEqual(id(d), id(e))
- self.assertEqual(id(e), id(e[-1]))
+## def test_pickle_recursive(self):
+## d = deque('abc')
+## d.append(d)
+## for i in (0, 1, 2):
+## e = pickle.loads(pickle.dumps(d, i))
+## self.assertNotEqual(id(d), id(e))
+## self.assertEqual(id(e), id(e[-1]))
def test_deepcopy(self):
mut = [10]
@@ -451,24 +489,24 @@
self.assertEqual(type(d), type(e))
self.assertEqual(list(d), list(e))
- def test_pickle(self):
- d = Deque('abc')
- d.append(d)
-
- e = pickle.loads(pickle.dumps(d))
- self.assertNotEqual(id(d), id(e))
- self.assertEqual(type(d), type(e))
- dd = d.pop()
- ee = e.pop()
- self.assertEqual(id(e), id(ee))
- self.assertEqual(d, e)
-
- d.x = d
- e = pickle.loads(pickle.dumps(d))
- self.assertEqual(id(e), id(e.x))
-
- d = DequeWithBadIter('abc')
- self.assertRaises(TypeError, pickle.dumps, d)
+## def test_pickle(self):
+## d = Deque('abc')
+## d.append(d)
+##
+## e = pickle.loads(pickle.dumps(d))
+## self.assertNotEqual(id(d), id(e))
+## self.assertEqual(type(d), type(e))
+## dd = d.pop()
+## ee = e.pop()
+## self.assertEqual(id(e), id(ee))
+## self.assertEqual(d, e)
+##
+## d.x = d
+## e = pickle.loads(pickle.dumps(d))
+## self.assertEqual(id(e), id(e.x))
+##
+## d = DequeWithBadIter('abc')
+## self.assertRaises(TypeError, pickle.dumps, d)
def test_weakref(self):
d = deque('gallahad')
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Oct 5 04:47:07 2007
@@ -270,6 +270,8 @@
Library
-------
+- collections.deque() now supports a "maxlen" argument.
+
- itertools.count() is no longer bounded to LONG_MAX. Formerly, it raised
an OverflowError. Now, automatically shifts from ints to longs.
Modified: python/trunk/Modules/_collectionsmodule.c
==============================================================================
--- python/trunk/Modules/_collectionsmodule.c (original)
+++ python/trunk/Modules/_collectionsmodule.c Fri Oct 5 04:47:07 2007
@@ -83,10 +83,27 @@
int leftindex; /* in range(BLOCKLEN) */
int rightindex; /* in range(BLOCKLEN) */
int len;
+ int maxlen;
long state; /* incremented whenever the indices move */
PyObject *weakreflist; /* List of weak references */
} dequeobject;
+/* The deque's size limit is d.maxlen. The limit can be zero or positive.
+ * If there is no limit, then d.maxlen == -1.
+ *
+ * After an item is added to a deque, we check to see if the size has grown past
+ * the limit. If it has, we get the size back down to the limit by popping an
+ * item off of the opposite end. The methods that can trigger this are append(),
+ * appendleft(), extend(), and extendleft().
+ */
+
+#define TRIM(d, popfunction) \
+ if (d->maxlen != -1 && d->len > d->maxlen) { \
+ PyObject *rv = popfunction(d, NULL); \
+ assert(rv != NULL && d->len <= d->maxlen); \
+ Py_DECREF(rv); \
+ }
+
static PyTypeObject deque_type;
static PyObject *
@@ -95,9 +112,6 @@
dequeobject *deque;
block *b;
- if (type == &deque_type && !_PyArg_NoKeywords("deque()", kwds))
- return NULL;
-
/* create dequeobject structure */
deque = (dequeobject *)type->tp_alloc(type, 0);
if (deque == NULL)
@@ -117,55 +131,12 @@
deque->len = 0;
deque->state = 0;
deque->weakreflist = NULL;
+ deque->maxlen = -1;
return (PyObject *)deque;
}
static PyObject *
-deque_append(dequeobject *deque, PyObject *item)
-{
- deque->state++;
- if (deque->rightindex == BLOCKLEN-1) {
- block *b = newblock(deque->rightblock, NULL, deque->len);
- if (b == NULL)
- return NULL;
- assert(deque->rightblock->rightlink == NULL);
- deque->rightblock->rightlink = b;
- deque->rightblock = b;
- deque->rightindex = -1;
- }
- Py_INCREF(item);
- deque->len++;
- deque->rightindex++;
- deque->rightblock->data[deque->rightindex] = item;
- Py_RETURN_NONE;
-}
-
-PyDoc_STRVAR(append_doc, "Add an element to the right side of the deque.");
-
-static PyObject *
-deque_appendleft(dequeobject *deque, PyObject *item)
-{
- deque->state++;
- if (deque->leftindex == 0) {
- block *b = newblock(NULL, deque->leftblock, deque->len);
- if (b == NULL)
- return NULL;
- assert(deque->leftblock->leftlink == NULL);
- deque->leftblock->leftlink = b;
- deque->leftblock = b;
- deque->leftindex = BLOCKLEN;
- }
- Py_INCREF(item);
- deque->len++;
- deque->leftindex--;
- deque->leftblock->data[deque->leftindex] = item;
- Py_RETURN_NONE;
-}
-
-PyDoc_STRVAR(appendleft_doc, "Add an element to the left side of the deque.");
-
-static PyObject *
deque_pop(dequeobject *deque, PyObject *unused)
{
PyObject *item;
@@ -240,6 +211,52 @@
PyDoc_STRVAR(popleft_doc, "Remove and return the leftmost element.");
static PyObject *
+deque_append(dequeobject *deque, PyObject *item)
+{
+ deque->state++;
+ if (deque->rightindex == BLOCKLEN-1) {
+ block *b = newblock(deque->rightblock, NULL, deque->len);
+ if (b == NULL)
+ return NULL;
+ assert(deque->rightblock->rightlink == NULL);
+ deque->rightblock->rightlink = b;
+ deque->rightblock = b;
+ deque->rightindex = -1;
+ }
+ Py_INCREF(item);
+ deque->len++;
+ deque->rightindex++;
+ deque->rightblock->data[deque->rightindex] = item;
+ TRIM(deque, deque_popleft);
+ Py_RETURN_NONE;
+}
+
+PyDoc_STRVAR(append_doc, "Add an element to the right side of the deque.");
+
+static PyObject *
+deque_appendleft(dequeobject *deque, PyObject *item)
+{
+ deque->state++;
+ if (deque->leftindex == 0) {
+ block *b = newblock(NULL, deque->leftblock, deque->len);
+ if (b == NULL)
+ return NULL;
+ assert(deque->leftblock->leftlink == NULL);
+ deque->leftblock->leftlink = b;
+ deque->leftblock = b;
+ deque->leftindex = BLOCKLEN;
+ }
+ Py_INCREF(item);
+ deque->len++;
+ deque->leftindex--;
+ deque->leftblock->data[deque->leftindex] = item;
+ TRIM(deque, deque_pop);
+ Py_RETURN_NONE;
+}
+
+PyDoc_STRVAR(appendleft_doc, "Add an element to the left side of the deque.");
+
+static PyObject *
deque_extend(dequeobject *deque, PyObject *iterable)
{
PyObject *it, *item;
@@ -266,6 +283,7 @@
deque->len++;
deque->rightindex++;
deque->rightblock->data[deque->rightindex] = item;
+ TRIM(deque, deque_popleft);
}
Py_DECREF(it);
if (PyErr_Occurred())
@@ -303,6 +321,7 @@
deque->len++;
deque->leftindex--;
deque->leftblock->data[deque->leftindex] = item;
+ TRIM(deque, deque_pop);
}
Py_DECREF(it);
if (PyErr_Occurred())
@@ -579,8 +598,8 @@
static PyObject *
deque_copy(PyObject *deque)
{
- return PyObject_CallFunctionObjArgs((PyObject *)(Py_Type(deque)),
- deque, NULL);
+ return PyObject_CallFunction((PyObject *)(Py_Type(deque)), "Oi",
+ deque, ((dequeobject *)deque)->maxlen, NULL);
}
PyDoc_STRVAR(copy_doc, "Return a shallow copy of a deque.");
@@ -588,21 +607,22 @@
static PyObject *
deque_reduce(dequeobject *deque)
{
- PyObject *dict, *result, *it;
+ PyObject *dict, *result, *aslist;
dict = PyObject_GetAttrString((PyObject *)deque, "__dict__");
- if (dict == NULL) {
+ if (dict == NULL)
PyErr_Clear();
- dict = Py_None;
- Py_INCREF(dict);
- }
- it = PyObject_GetIter((PyObject *)deque);
- if (it == NULL) {
+ aslist = PySequence_List((PyObject *)deque);
+ if (aslist == NULL) {
Py_DECREF(dict);
return NULL;
}
- result = Py_BuildValue("O()ON", Py_Type(deque), dict, it);
- Py_DECREF(dict);
+ if (dict == NULL)
+ result = Py_BuildValue("O(Oi)", Py_Type(deque), aslist, deque->maxlen);
+ else
+ result = Py_BuildValue("O(Oi)O", Py_Type(deque), aslist, deque->maxlen, dict);
+ Py_XDECREF(dict);
+ Py_DECREF(aslist);
return result;
}
@@ -611,7 +631,7 @@
static PyObject *
deque_repr(PyObject *deque)
{
- PyObject *aslist, *result, *fmt;
+ PyObject *aslist, *result, *fmt; /*, *limit; */
int i;
i = Py_ReprEnter(deque);
@@ -626,14 +646,17 @@
Py_ReprLeave(deque);
return NULL;
}
-
- fmt = PyString_FromString("deque(%r)");
+ if (((dequeobject *)deque)->maxlen != -1)
+ fmt = PyString_FromFormat("deque(%%r, maxlen=%i)",
+ ((dequeobject *)deque)->maxlen);
+ else
+ fmt = PyString_FromString("deque(%r)");
if (fmt == NULL) {
Py_DECREF(aslist);
Py_ReprLeave(deque);
return NULL;
}
- result = PyString_Format(fmt, aslist);
+ result = PyString_Format(fmt, aslist);
Py_DECREF(fmt);
Py_DECREF(aslist);
Py_ReprLeave(deque);
@@ -652,9 +675,7 @@
if (i != 0) {
if (i < 0)
return i;
- Py_BEGIN_ALLOW_THREADS
fputs("[...]", fp);
- Py_END_ALLOW_THREADS
return 0;
}
@@ -662,13 +683,9 @@
if (it == NULL)
return -1;
- Py_BEGIN_ALLOW_THREADS
fputs("deque([", fp);
- Py_END_ALLOW_THREADS
while ((item = PyIter_Next(it)) != NULL) {
- Py_BEGIN_ALLOW_THREADS
fputs(emit, fp);
- Py_END_ALLOW_THREADS
emit = separator;
if (PyObject_Print(item, fp, 0) != 0) {
Py_DECREF(item);
@@ -682,9 +699,11 @@
Py_DECREF(it);
if (PyErr_Occurred())
return -1;
- Py_BEGIN_ALLOW_THREADS
- fputs("])", fp);
- Py_END_ALLOW_THREADS
+
+ if (((dequeobject *)deque)->maxlen == -1)
+ fputs("])", fp);
+ else
+ fprintf(fp, "], maxlen=%d)", ((dequeobject *)deque)->maxlen);
return 0;
}
@@ -767,13 +786,19 @@
}
static int
-deque_init(dequeobject *deque, PyObject *args, PyObject *kwds)
+deque_init(dequeobject *deque, PyObject *args, PyObject *kwdargs)
{
PyObject *iterable = NULL;
+ int maxlen = -1;
+ char *kwlist[] = {"iterable", "maxlen", 0};
- if (!PyArg_UnpackTuple(args, "deque", 0, 1, &iterable))
+ if (!PyArg_ParseTupleAndKeywords(args, kwdargs, "|Oi:deque", kwlist, &iterable, &maxlen))
return -1;
-
+ if (maxlen < -1) {
+ PyErr_SetString(PyExc_ValueError, "maxlen must be -1 or greater");
+ return -1;
+ }
+ deque->maxlen = maxlen;
if (iterable != NULL) {
PyObject *rv = deque_extend(deque, iterable);
if (rv == NULL)
@@ -828,7 +853,7 @@
};
PyDoc_STRVAR(deque_doc,
-"deque(iterable) --> deque object\n\
+"deque(iterable[, maxlen]) --> deque object\n\
\n\
Build an ordered collection accessible from endpoints only.");
@@ -1198,24 +1223,15 @@
defdict_print(defdictobject *dd, FILE *fp, int flags)
{
int sts;
- Py_BEGIN_ALLOW_THREADS
fprintf(fp, "defaultdict(");
- Py_END_ALLOW_THREADS
- if (dd->default_factory == NULL) {
- Py_BEGIN_ALLOW_THREADS
+ if (dd->default_factory == NULL)
fprintf(fp, "None");
- Py_END_ALLOW_THREADS
- }
else {
PyObject_Print(dd->default_factory, fp, 0);
}
- Py_BEGIN_ALLOW_THREADS
fprintf(fp, ", ");
- Py_END_ALLOW_THREADS
sts = PyDict_Type.tp_print((PyObject *)dd, fp, 0);
- Py_BEGIN_ALLOW_THREADS
fprintf(fp, ")");
- Py_END_ALLOW_THREADS
return sts;
}
From python-checkins at python.org Fri Oct 5 04:48:32 2007
From: python-checkins at python.org (fred.drake)
Date: Fri, 5 Oct 2007 04:48:32 +0200 (CEST)
Subject: [Python-checkins] r58327 - python/trunk/Doc/library/asynchat.rst
python/trunk/Doc/library/asyncore.rst
Message-ID: <20071005024832.69CE61E4002@bag.python.org>
Author: fred.drake
Date: Fri Oct 5 04:48:32 2007
New Revision: 58327
Modified:
python/trunk/Doc/library/asynchat.rst
python/trunk/Doc/library/asyncore.rst
Log:
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
Modified: python/trunk/Doc/library/asynchat.rst
==============================================================================
--- python/trunk/Doc/library/asynchat.rst (original)
+++ python/trunk/Doc/library/asynchat.rst Fri Oct 5 04:48:32 2007
@@ -36,6 +36,19 @@
:class:`async_chat` object's methods are called by the event-processing
framework with no action on the part of the programmer.
+ Two class attributes can be modified, to improve performance, or possibly
+ even to conserve memory.
+
+
+ .. data:: ac_in_buffer_size
+
+ The asynchronous input buffer size (default ``4096``).
+
+
+ .. data:: ac_out_buffer_size
+
+ The asynchronous output buffer size (default ``4096``).
+
Unlike :class:`asyncore.dispatcher`, :class:`async_chat` allows you to
define a first-in-first-out queue (fifo) of *producers*. A producer need
have only one method, :meth:`more`, which should return data to be
Modified: python/trunk/Doc/library/asyncore.rst
==============================================================================
--- python/trunk/Doc/library/asyncore.rst (original)
+++ python/trunk/Doc/library/asyncore.rst Fri Oct 5 04:48:32 2007
@@ -71,19 +71,6 @@
which are called from the asynchronous loop. Otherwise, it can be treated
as a normal non-blocking socket object.
- Two class attributes can be modified, to improve performance, or possibly
- even to conserve memory.
-
-
- .. data:: ac_in_buffer_size
-
- The asynchronous input buffer size (default ``4096``).
-
-
- .. data:: ac_out_buffer_size
-
- The asynchronous output buffer size (default ``4096``).
-
The firing of low-level events at certain times or in certain connection
states tells the asynchronous loop that certain higher-level events have
taken place. For example, if we have asked for a socket to connect to
From python-checkins at python.org Fri Oct 5 05:12:01 2007
From: python-checkins at python.org (fred.drake)
Date: Fri, 5 Oct 2007 05:12:01 +0200 (CEST)
Subject: [Python-checkins] r58328 -
python/branches/release25-maint/Doc/lib/libasynchat.tex
python/branches/release25-maint/Doc/lib/libasyncore.tex
Message-ID: <20071005031201.4F1751E401E@bag.python.org>
Author: fred.drake
Date: Fri Oct 5 05:12:00 2007
New Revision: 58328
Modified:
python/branches/release25-maint/Doc/lib/libasynchat.tex
python/branches/release25-maint/Doc/lib/libasyncore.tex
Log:
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
Modified: python/branches/release25-maint/Doc/lib/libasynchat.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libasynchat.tex (original)
+++ python/branches/release25-maint/Doc/lib/libasynchat.tex Fri Oct 5 05:12:00 2007
@@ -32,6 +32,17 @@
\class{async_chat} object's methods are called by the event-processing
framework with no action on the part of the programmer.
+ Two class attributes can be modified, to improve performance,
+ or possibly even to conserve memory.
+
+ \begin{datadesc}{ac_in_buffer_size}
+ The asynchronous input buffer size (default \code{4096}).
+ \end{datadesc}
+
+ \begin{datadesc}{ac_out_buffer_size}
+ The asynchronous output buffer size (default \code{4096}).
+ \end{datadesc}
+
Unlike \class{asyncore.dispatcher}, \class{async_chat} allows you to define
a first-in-first-out queue (fifo) of \emph{producers}. A producer need have
only one method, \method{more()}, which should return data to be transmitted
Modified: python/branches/release25-maint/Doc/lib/libasyncore.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libasyncore.tex (original)
+++ python/branches/release25-maint/Doc/lib/libasyncore.tex Fri Oct 5 05:12:00 2007
@@ -68,17 +68,6 @@
from the asynchronous loop.
Otherwise, it can be treated as a normal non-blocking socket object.
- Two class attributes can be modified, to improve performance,
- or possibly even to conserve memory.
-
- \begin{datadesc}{ac_in_buffer_size}
- The asynchronous input buffer size (default \code{4096}).
- \end{datadesc}
-
- \begin{datadesc}{ac_out_buffer_size}
- The asynchronous output buffer size (default \code{4096}).
- \end{datadesc}
-
The firing of low-level events at certain times or in certain connection
states tells the asynchronous loop that certain higher-level events have
taken place. For example, if we have asked for a socket to connect to
From python-checkins at python.org Fri Oct 5 05:39:18 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 05:39:18 +0200 (CEST)
Subject: [Python-checkins] r58329 - python/trunk/Modules/_collectionsmodule.c
Message-ID: <20071005033918.272021E4002@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 05:39:17 2007
New Revision: 58329
Modified:
python/trunk/Modules/_collectionsmodule.c
Log:
dict could be NULL, so we need to XDECREF.
Fix a compiler warning about passing a PyTypeObject* instead of PyObject*.
Modified: python/trunk/Modules/_collectionsmodule.c
==============================================================================
--- python/trunk/Modules/_collectionsmodule.c (original)
+++ python/trunk/Modules/_collectionsmodule.c Fri Oct 5 05:39:17 2007
@@ -614,7 +614,7 @@
PyErr_Clear();
aslist = PySequence_List((PyObject *)deque);
if (aslist == NULL) {
- Py_DECREF(dict);
+ Py_XDECREF(dict);
return NULL;
}
if (dict == NULL)
@@ -1143,7 +1143,7 @@
whose class constructor has the same signature. Subclasses that
define a different constructor signature must override copy().
*/
- return PyObject_CallFunctionObjArgs(Py_Type(dd),
+ return PyObject_CallFunctionObjArgs((PyObject*)Py_Type(dd),
dd->default_factory, dd, NULL);
}
From python-checkins at python.org Fri Oct 5 05:41:20 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 05:41:20 +0200 (CEST)
Subject: [Python-checkins] r58330 - python/trunk/Python/ast.c
Message-ID: <20071005034120.22A331E4002@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 05:41:19 2007
New Revision: 58330
Modified:
python/trunk/Python/ast.c
Log:
Fix Coverity #158: Check the correct variable.
Modified: python/trunk/Python/ast.c
==============================================================================
--- python/trunk/Python/ast.c (original)
+++ python/trunk/Python/ast.c Fri Oct 5 05:41:19 2007
@@ -1468,7 +1468,7 @@
tmp_result = BinOp(result, newoperator, tmp,
LINENO(next_oper), next_oper->n_col_offset,
c->c_arena);
- if (!tmp)
+ if (!tmp_result)
return NULL;
result = tmp_result;
}
From python-checkins at python.org Fri Oct 5 05:45:43 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 05:45:43 +0200 (CEST)
Subject: [Python-checkins] r58331 -
python/branches/release25-maint/Python/ast.c
Message-ID: <20071005034543.387541E4003@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 05:45:42 2007
New Revision: 58331
Modified:
python/branches/release25-maint/Python/ast.c
Log:
Backport 58330:
Fix Coverity #158: Check the correct variable.
Modified: python/branches/release25-maint/Python/ast.c
==============================================================================
--- python/branches/release25-maint/Python/ast.c (original)
+++ python/branches/release25-maint/Python/ast.c Fri Oct 5 05:45:42 2007
@@ -1445,7 +1445,7 @@
tmp_result = BinOp(result, newoperator, tmp,
LINENO(next_oper), next_oper->n_col_offset,
c->c_arena);
- if (!tmp)
+ if (!tmp_result)
return NULL;
result = tmp_result;
}
From buildbot at python.org Fri Oct 5 06:02:21 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 04:02:21 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071005040221.8D25E1E4002@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/855
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: fred.drake,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 5 06:27:50 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 04:27:50 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian 2.5
Message-ID: <20071005042750.F10F81E401B@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%202.5/builds/60
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: fred.drake,neal.norwitz
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 5 07:01:38 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 07:01:38 +0200 (CEST)
Subject: [Python-checkins] r58332 - python/trunk/Modules/cPickle.c
Message-ID: <20071005050138.8710A1E4002@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 07:01:38 2007
New Revision: 58332
Modified:
python/trunk/Modules/cPickle.c
Log:
Fix Coverity #159.
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
Will backport (assuming it's necessary)
Modified: python/trunk/Modules/cPickle.c
==============================================================================
--- python/trunk/Modules/cPickle.c (original)
+++ python/trunk/Modules/cPickle.c Fri Oct 5 07:01:38 2007
@@ -2249,7 +2249,7 @@
Py_INCREF(temp);
PyTuple_SET_ITEM(newargtup, i-1, temp);
}
- i = save(self, newargtup, 0) < 0;
+ i = save(self, newargtup, 0);
Py_DECREF(newargtup);
if (i < 0)
return -1;
From python-checkins at python.org Fri Oct 5 07:05:24 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 07:05:24 +0200 (CEST)
Subject: [Python-checkins] r58333 -
python/branches/release25-maint/Modules/cPickle.c
Message-ID: <20071005050524.98DAB1E4016@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 07:05:24 2007
New Revision: 58333
Modified:
python/branches/release25-maint/Modules/cPickle.c
Log:
Backport 58332: Fix Coverity #159.
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
Modified: python/branches/release25-maint/Modules/cPickle.c
==============================================================================
--- python/branches/release25-maint/Modules/cPickle.c (original)
+++ python/branches/release25-maint/Modules/cPickle.c Fri Oct 5 07:05:24 2007
@@ -2249,7 +2249,7 @@
Py_INCREF(temp);
PyTuple_SET_ITEM(newargtup, i-1, temp);
}
- i = save(self, newargtup, 0) < 0;
+ i = save(self, newargtup, 0);
Py_DECREF(newargtup);
if (i < 0)
return -1;
From python-checkins at python.org Fri Oct 5 07:29:17 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 5 Oct 2007 07:29:17 +0200 (CEST)
Subject: [Python-checkins] r58334 - python/trunk/Misc/NEWS
Message-ID: <20071005052917.8454C1E4002@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 5 07:29:17 2007
New Revision: 58334
Modified:
python/trunk/Misc/NEWS
Log:
Add a note about fixing some more warnings found by Coverity.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Oct 5 07:29:17 2007
@@ -12,6 +12,8 @@
Core and builtins
-----------------
+- Fix warnings found by the new version of the Coverity checker.
+
- The enumerate() builtin function is no longer bounded to sequences smaller
than LONG_MAX. Formerly, it raised an OverflowError. Now, automatically
shifts from ints to longs.
From buildbot at python.org Fri Oct 5 07:36:43 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 05:36:43 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 3.0
Message-ID: <20071005053643.BD2301E4002@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%203.0/builds/85
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: collin.winter,georg.brandl,guido.van.rossum,martin.v.loewis,neil.schemenauer,sean.reifschneider,skip.montanaro,thomas.heller,thomas.wouters,travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_urllib2net test_xmlrpc
======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_urllib2net.py", line 173, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_urllib2net.py", line 242, in _test_urls
f = urllib2.urlopen(url, req)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 122, in urlopen
return _opener.open(url, data, timeout)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 378, in open
response = self._open(req, data)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 396, in _open
'_open', req)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 356, in _call_chain
result = func(*args)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 1271, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib2.py", line 1316, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib.py", line 785, in __init__
self.init()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/urllib.py", line 792, in init
self.ftp.login(self.user, self.passwd)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/ftplib.py", line 372, in login
if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/ftplib.py", line 242, in sendcmd
return self.getresp()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/ftplib.py", line 208, in getresp
resp = self.getmultiline()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/ftplib.py", line 198, in getmultiline
nextline = self.getline()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/ftplib.py", line 181, in getline
line = self.file.readline()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/io.py", line 1319, in readline
readahead, pending = self._read_chunk()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/io.py", line 1123, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 47: ordinal not in range(128)
======================================================================
FAIL: test_introspection1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 354, in test_introspection1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection2 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 365, in test_introspection2
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection3 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 378, in test_introspection3
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_multicall (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 395, in test_multicall
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_simple1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 341, in test_simple1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_basic (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 447, in test_basic
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 5 07:39:45 2007
From: python-checkins at python.org (brett.cannon)
Date: Fri, 5 Oct 2007 07:39:45 +0200 (CEST)
Subject: [Python-checkins] r58335 - peps/trunk/pep-3100.txt
peps/trunk/pep-3108.txt
Message-ID: <20071005053945.C35AC1E4002@bag.python.org>
Author: brett.cannon
Date: Fri Oct 5 07:39:45 2007
New Revision: 58335
Modified:
peps/trunk/pep-3100.txt
peps/trunk/pep-3108.txt
Log:
Update PEPs on modules that have been removed in Py3K but not noted.
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Fri Oct 5 07:39:45 2007
@@ -215,9 +215,10 @@
``mimetools``,
``multifile``,
``rfc822``,
- ``sha``,
[to do]
- - ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``, ``statcache``,
+ - ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``,
+ ``sha``,
+ ``statcache``,
``sv``, ``TERMIOS``, ``timing`` [done]
- ``cfmfile``, ``gopherlib``, ``md5``, ``MimeWriter``, ``mimify`` [done]
- ``cl``, ``sets``, ``xreadlines``, ``rotor``, ``whrandom`` [done]
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt (original)
+++ peps/trunk/pep-3108.txt Fri Oct 5 07:39:45 2007
@@ -325,7 +325,7 @@
- rgbimg was removed in Python 2.6.
- imgfile slated for removal in this PEP. [done]
-* linuxaudiodev
+* linuxaudiodev [done]
+ Replaced by ossaudiodev.
From buildbot at python.org Fri Oct 5 07:47:42 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 05:47:42 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo 3.0
Message-ID: <20071005054743.377181E4003@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%203.0/builds/88
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: collin.winter,georg.brandl,guido.van.rossum,martin.v.loewis,neil.schemenauer,sean.reifschneider,skip.montanaro,thomas.heller,thomas.wouters,travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
7 tests failed:
test_codecmaps_cn test_codecmaps_jp test_codecmaps_kr
test_codecmaps_tw test_email test_normalization test_urllib2net
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_cn.TestGBKMap)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_jp.TestCP932Map)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_jp.TestSJISCOMPATMap)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_kr.TestCP949Map)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_kr.TestJOHABMap)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_tw.TestBIG5Map)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_mapping_file (test.test_codecmaps_tw.TestCP950Map)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 278, in test_mapping_file
self._test_mapping_file_plain()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_multibytecodec_support.py", line 291, in _test_mapping_file_plain
csetval = eval(data[0])
File "", line 1
Not
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_same_boundary_inner_outer (email.test.test_email.TestNonConformant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/email/test/test_email.py", line 1445, in test_same_boundary_inner_outer
msg = self._msgobj('msg_15.txt')
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/email/test/test_email.py", line 67, in _msgobj
return email.message_from_file(fp)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/email/__init__.py", line 46, in message_from_file
return Parser(*args, **kws).parse(fp)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/email/parser.py", line 68, in parse
data = fp.read(8192)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1231, in read
readahead, pending = self._read_chunk()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1127, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/codecs.py", line 291, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbe in position 86: unexpected code byte
======================================================================
ERROR: test_main (test.test_normalization.NormalizationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_normalization.py", line 45, in test_main
if part == "@Part3":
UnboundLocalError: local variable 'part' referenced before assignment
======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 173, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 242, in _test_urls
f = urllib2.urlopen(url, req)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 122, in urlopen
return _opener.open(url, data, timeout)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 378, in open
response = self._open(req, data)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 396, in _open
'_open', req)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 356, in _call_chain
result = func(*args)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 1271, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib2.py", line 1316, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib.py", line 785, in __init__
self.init()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/urllib.py", line 792, in init
self.ftp.login(self.user, self.passwd)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/ftplib.py", line 372, in login
if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/ftplib.py", line 242, in sendcmd
return self.getresp()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/ftplib.py", line 208, in getresp
resp = self.getmultiline()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/ftplib.py", line 198, in getmultiline
nextline = self.getline()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/ftplib.py", line 181, in getline
line = self.file.readline()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1319, in readline
readahead, pending = self._read_chunk()
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/io.py", line 1123, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/home/buildbot/slave/py-build/3.0.norwitz-amd64/build/Lib/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 47: ordinal not in range(128)
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 5 07:49:13 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 05:49:13 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071005054914.206171E4002@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/287
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bufio
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 5 17:12:49 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 15:12:49 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 2.5
Message-ID: <20071005151249.AB6301E4011@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%202.5/builds/0
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: fred.drake,neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/test/test_socket_ssl.py", line 104, in listener
s.accept()
File "/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Lib/socket.py", line 167, in accept
sock, addr = self._sock.accept()
error: (4, 'Interrupted system call')
make: *** [buildbottest] Aborted
sincerely,
-The Buildbot
From jimjjewett at gmail.com Fri Oct 5 19:33:46 2007
From: jimjjewett at gmail.com (Jim Jewett)
Date: Fri, 5 Oct 2007 13:33:46 -0400
Subject: [Python-checkins] r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
In-Reply-To: <20071005024707.F07891E4002@bag.python.org>
References: <20071005024707.F07891E4002@bag.python.org>
Message-ID:
On 10/4/07, raymond.hettinger wrote:
> Author: raymond.hettinger
> Date: Fri Oct 5 04:47:07 2007
> New Revision: 58326
> Add maxlen support to deque() and fixup docs.
> + If *maxlen* is not specified or is *-1*, deques may grow to an
> + arbitrary length.
Why -1, rather than None, or even 0? (Is there a sane use case for a
/dev/null version of deque?)
-jJ
From jimjjewett at gmail.com Fri Oct 5 19:56:50 2007
From: jimjjewett at gmail.com (Jim Jewett)
Date: Fri, 5 Oct 2007 13:56:50 -0400
Subject: [Python-checkins] (threads) Re: r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
Message-ID:
Why did you remove all the Py_BEGIN_ALLOW_THREADS macros?
They seem to be around small constants, but are you sure the fp won't
be a blocked socket or something? Or is this a safety issue, to
prevent mutation?
-jJ
On 10/4/07, raymond.hettinger wrote:
> @@ -652,9 +675,7 @@
> if (i != 0) {
> if (i < 0)
> return i;
> - Py_BEGIN_ALLOW_THREADS
> fputs("[...]", fp);
> - Py_END_ALLOW_THREADS
> return 0;
> }
>
> @@ -662,13 +683,9 @@
> if (it == NULL)
> return -1;
>
> - Py_BEGIN_ALLOW_THREADS
> fputs("deque([", fp);
> - Py_END_ALLOW_THREADS
> while ((item = PyIter_Next(it)) != NULL) {
> - Py_BEGIN_ALLOW_THREADS
> fputs(emit, fp);
> - Py_END_ALLOW_THREADS
> emit = separator;
> if (PyObject_Print(item, fp, 0) != 0) {
> Py_DECREF(item);
> @@ -682,9 +699,11 @@
> Py_DECREF(it);
> if (PyErr_Occurred())
> return -1;
> - Py_BEGIN_ALLOW_THREADS
> - fputs("])", fp);
> - Py_END_ALLOW_THREADS
>
> @@ -1198,24 +1223,15 @@
> defdict_print(defdictobject *dd, FILE *fp, int flags)
> {
> int sts;
> - Py_BEGIN_ALLOW_THREADS
> fprintf(fp, "defaultdict(");
> - Py_END_ALLOW_THREADS
> - if (dd->default_factory == NULL) {
> - Py_BEGIN_ALLOW_THREADS
> + if (dd->default_factory == NULL)
> fprintf(fp, "None");
> - Py_END_ALLOW_THREADS
> - }
> else {
> PyObject_Print(dd->default_factory, fp, 0);
> }
> - Py_BEGIN_ALLOW_THREADS
> fprintf(fp, ", ");
> - Py_END_ALLOW_THREADS
> sts = PyDict_Type.tp_print((PyObject *)dd, fp, 0);
> - Py_BEGIN_ALLOW_THREADS
> fprintf(fp, ")");
> - Py_END_ALLOW_THREADS
> return sts;
> }
>
From guido at python.org Fri Oct 5 20:12:46 2007
From: guido at python.org (Guido van Rossum)
Date: Fri, 5 Oct 2007 11:12:46 -0700
Subject: [Python-checkins] (threads) Re: r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
In-Reply-To:
References:
Message-ID:
They were added by Brett on Sept 17 in response to bug #1164. Perhaps
Raymond checked in a version he had prepared earlier?
On 10/5/07, Jim Jewett wrote:
> Why did you remove all the Py_BEGIN_ALLOW_THREADS macros?
>
> They seem to be around small constants, but are you sure the fp won't
> be a blocked socket or something? Or is this a safety issue, to
> prevent mutation?
>
> -jJ
>
> On 10/4/07, raymond.hettinger wrote:
> > @@ -652,9 +675,7 @@
> > if (i != 0) {
> > if (i < 0)
> > return i;
> > - Py_BEGIN_ALLOW_THREADS
> > fputs("[...]", fp);
> > - Py_END_ALLOW_THREADS
> > return 0;
> > }
> >
> > @@ -662,13 +683,9 @@
> > if (it == NULL)
> > return -1;
> >
> > - Py_BEGIN_ALLOW_THREADS
> > fputs("deque([", fp);
> > - Py_END_ALLOW_THREADS
> > while ((item = PyIter_Next(it)) != NULL) {
> > - Py_BEGIN_ALLOW_THREADS
> > fputs(emit, fp);
> > - Py_END_ALLOW_THREADS
> > emit = separator;
> > if (PyObject_Print(item, fp, 0) != 0) {
> > Py_DECREF(item);
> > @@ -682,9 +699,11 @@
> > Py_DECREF(it);
> > if (PyErr_Occurred())
> > return -1;
> > - Py_BEGIN_ALLOW_THREADS
> > - fputs("])", fp);
> > - Py_END_ALLOW_THREADS
>
> >
> > @@ -1198,24 +1223,15 @@
> > defdict_print(defdictobject *dd, FILE *fp, int flags)
> > {
> > int sts;
> > - Py_BEGIN_ALLOW_THREADS
> > fprintf(fp, "defaultdict(");
> > - Py_END_ALLOW_THREADS
> > - if (dd->default_factory == NULL) {
> > - Py_BEGIN_ALLOW_THREADS
> > + if (dd->default_factory == NULL)
> > fprintf(fp, "None");
> > - Py_END_ALLOW_THREADS
> > - }
> > else {
> > PyObject_Print(dd->default_factory, fp, 0);
> > }
> > - Py_BEGIN_ALLOW_THREADS
> > fprintf(fp, ", ");
> > - Py_END_ALLOW_THREADS
> > sts = PyDict_Type.tp_print((PyObject *)dd, fp, 0);
> > - Py_BEGIN_ALLOW_THREADS
> > fprintf(fp, ")");
> > - Py_END_ALLOW_THREADS
> > return sts;
> > }
> >
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
From python at rcn.com Fri Oct 5 20:32:31 2007
From: python at rcn.com (Raymond Hettinger)
Date: Fri, 5 Oct 2007 11:32:31 -0700
Subject: [Python-checkins] (threads) Re: r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
References:
Message-ID: <011501c8077e$17e5f7c0$69196b0a@RaymondLaptop1>
> They were added by Brett on Sept 17 in response to bug #1164. Perhaps
> Raymond checked in a version he had prepared earlier?
>
> On 10/5/07, Jim Jewett wrote:
>> Why did you remove all the Py_BEGIN_ALLOW_THREADS macros?
Will restore them. They weren't in the version I had worked on a few weeks ago (the checkin got delayed because of the ReST doc
conversion).
Raymond
From guido at python.org Fri Oct 5 20:32:55 2007
From: guido at python.org (Guido van Rossum)
Date: Fri, 5 Oct 2007 11:32:55 -0700
Subject: [Python-checkins] (threads) Re: r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
In-Reply-To: <011501c8077e$17e5f7c0$69196b0a@RaymondLaptop1>
References:
<011501c8077e$17e5f7c0$69196b0a@RaymondLaptop1>
Message-ID:
Oh boy do we ever need merge tracking in svn. :-(
On 10/5/07, Raymond Hettinger wrote:
> > They were added by Brett on Sept 17 in response to bug #1164. Perhaps
> > Raymond checked in a version he had prepared earlier?
> >
> > On 10/5/07, Jim Jewett wrote:
> >> Why did you remove all the Py_BEGIN_ALLOW_THREADS macros?
>
> Will restore them. They weren't in the version I had worked on a few weeks ago (the checkin got delayed because of the ReST doc
> conversion).
>
>
> Raymond
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
From brett at python.org Fri Oct 5 20:44:35 2007
From: brett at python.org (Brett Cannon)
Date: Fri, 5 Oct 2007 11:44:35 -0700
Subject: [Python-checkins] (threads) Re: r58326 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Lib/test/test_deque.py Misc/NEWS
Modules/_collectionsmodule.c
In-Reply-To:
References:
<011501c8077e$17e5f7c0$69196b0a@RaymondLaptop1>
Message-ID:
On 10/5/07, Guido van Rossum wrote:
> Oh boy do we ever need merge tracking in svn. :-(
>
Or something. As soon as Bazaar or Mercurial hits version 1.0 (or
both) I plan to evaluate them to see if they can help us in some way
that svn can't (e.g., better merge tracking).
-Brett
> On 10/5/07, Raymond Hettinger wrote:
> > > They were added by Brett on Sept 17 in response to bug #1164. Perhaps
> > > Raymond checked in a version he had prepared earlier?
> > >
> > > On 10/5/07, Jim Jewett wrote:
> > >> Why did you remove all the Py_BEGIN_ALLOW_THREADS macros?
> >
> > Will restore them. They weren't in the version I had worked on a few weeks ago (the checkin got delayed because of the ReST doc
> > conversion).
> >
> >
> > Raymond
> >
>
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
From python-checkins at python.org Fri Oct 5 21:07:31 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Fri, 5 Oct 2007 21:07:31 +0200 (CEST)
Subject: [Python-checkins] r58338 - python/trunk/Modules/_collectionsmodule.c
Message-ID: <20071005190731.5ACCD1E4004@bag.python.org>
Author: raymond.hettinger
Date: Fri Oct 5 21:07:31 2007
New Revision: 58338
Modified:
python/trunk/Modules/_collectionsmodule.c
Log:
Restore BEGIN/END THREADS macros which were squashed in the previous checkin
Modified: python/trunk/Modules/_collectionsmodule.c
==============================================================================
--- python/trunk/Modules/_collectionsmodule.c (original)
+++ python/trunk/Modules/_collectionsmodule.c Fri Oct 5 21:07:31 2007
@@ -631,7 +631,7 @@
static PyObject *
deque_repr(PyObject *deque)
{
- PyObject *aslist, *result, *fmt; /*, *limit; */
+ PyObject *aslist, *result, *fmt;
int i;
i = Py_ReprEnter(deque);
@@ -656,7 +656,7 @@
Py_ReprLeave(deque);
return NULL;
}
- result = PyString_Format(fmt, aslist);
+ result = PyString_Format(fmt, aslist);
Py_DECREF(fmt);
Py_DECREF(aslist);
Py_ReprLeave(deque);
@@ -675,7 +675,9 @@
if (i != 0) {
if (i < 0)
return i;
+ Py_BEGIN_ALLOW_THREADS
fputs("[...]", fp);
+ Py_END_ALLOW_THREADS
return 0;
}
@@ -683,9 +685,13 @@
if (it == NULL)
return -1;
+ Py_BEGIN_ALLOW_THREADS
fputs("deque([", fp);
+ Py_END_ALLOW_THREADS
while ((item = PyIter_Next(it)) != NULL) {
+ Py_BEGIN_ALLOW_THREADS
fputs(emit, fp);
+ Py_END_ALLOW_THREADS
emit = separator;
if (PyObject_Print(item, fp, 0) != 0) {
Py_DECREF(item);
@@ -700,10 +706,12 @@
if (PyErr_Occurred())
return -1;
+ Py_BEGIN_ALLOW_THREADS
if (((dequeobject *)deque)->maxlen == -1)
fputs("])", fp);
else
- fprintf(fp, "], maxlen=%d)", ((dequeobject *)deque)->maxlen);
+ fprintf(fp, "], maxlen=%d)", ((dequeobject *)deque)->maxlen);
+ Py_END_ALLOW_THREADS
return 0;
}
@@ -1223,15 +1231,23 @@
defdict_print(defdictobject *dd, FILE *fp, int flags)
{
int sts;
+ Py_BEGIN_ALLOW_THREADS
fprintf(fp, "defaultdict(");
- if (dd->default_factory == NULL)
+ Py_END_ALLOW_THREADS
+ if (dd->default_factory == NULL) {
+ Py_BEGIN_ALLOW_THREADS
fprintf(fp, "None");
- else {
+ Py_END_ALLOW_THREADS
+ } else {
PyObject_Print(dd->default_factory, fp, 0);
}
+ Py_BEGIN_ALLOW_THREADS
fprintf(fp, ", ");
+ Py_END_ALLOW_THREADS
sts = PyDict_Type.tp_print((PyObject *)dd, fp, 0);
+ Py_BEGIN_ALLOW_THREADS
fprintf(fp, ")");
+ Py_END_ALLOW_THREADS
return sts;
}
From buildbot at python.org Sat Oct 6 01:07:31 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 05 Oct 2007 23:07:31 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 2.5
Message-ID: <20071005230731.311A51E4004@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%202.5/builds/0
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: fred.drake,neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
6 tests failed:
test_bsddb3 test_resource test_socket test_socket_ssl
test_socketserver test_urllib2
======================================================================
FAIL: test_get_key (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/bsddb/test/test_sequence.py", line 67, in test_get_key
self.assertEquals(key, self.seq.get_key())
AssertionError: 'foo' != ''
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 549, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_resource.py", line 42, in
f.close()
IOError: [Errno 27] File too large
======================================================================
ERROR: testGetServBy (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 332, in testGetServBy
raise socket.error
error
======================================================================
ERROR: testFromFd (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testOverFlowRecv (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testOverFlowRecvFrom (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecv (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFrom (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSendAll (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testShutdown (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClose (test.test_socket.TCPCloserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testInterruptedTimeout (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTCPTimeout (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTimeoutZero (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFromInto (test.test_socket.BufferIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvInto (test.test_socket.BufferIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFrom (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFromNegative (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSendtoAndRecv (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTimeoutZero (test.test_socket.UDPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUDPTimeout (test.test_socket.UDPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testAccept (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testConnect (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecv (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSetBlocking (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedReadline (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 129, in test_main
test_rude_shutdown()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 123, in test_rude_shutdown
connector()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 111, in connector
s.connect(('localhost', PORT[0]))
File "", line 1, in connect
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 212, in test_main
testall()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 195, in testall
testloop(socket.AF_INET, tcpservers, MyStreamHandler, teststream)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 144, in testloop
testfunc(proto, addr)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 62, in teststream
s.connect(addr)
File "", line 1, in connect
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: test_file (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_urllib2.py", line 600, in test_file
"file://%s%s" % (socket.gethostbyname('localhost'), urlpath),
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: test_ftp (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_urllib2.py", line 577, in test_ftp
r = h.ftp_open(Request(url))
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/urllib2.py", line 1264, in ftp_open
raise URLError(msg)
URLError:
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Sat Oct 6 09:48:10 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 09:48:10 +0200 (CEST)
Subject: [Python-checkins] r58343 - python/trunk/Modules/_bsddb.c
Message-ID: <20071006074810.6D5E81E4004@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 09:48:10 2007
New Revision: 58343
Modified:
python/trunk/Modules/_bsddb.c
Log:
Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390
ubuntu buildbots.
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Sat Oct 6 09:48:10 2007
@@ -4903,14 +4903,20 @@
{
int err;
DBT key;
+ PyObject *retval;
+ key.flags = DB_DBT_MALLOC;
CHECK_SEQUENCE_NOT_CLOSED(self)
MYDB_BEGIN_ALLOW_THREADS
err = self->sequence->get_key(self->sequence, &key);
MYDB_END_ALLOW_THREADS
+ if (!err)
+ retval = PyString_FromStringAndSize(key.data, key.size);
+
+ FREE_DBT(key);
RETURN_IF_ERR();
- return PyString_FromStringAndSize(key.data, key.size);
+ return retval;
}
static PyObject*
From python-checkins at python.org Sat Oct 6 09:51:59 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 09:51:59 +0200 (CEST)
Subject: [Python-checkins] r58344 - python/trunk/setup.py
Message-ID: <20071006075159.922641E401A@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 09:51:59 2007
New Revision: 58344
Modified:
python/trunk/setup.py
Log:
Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Sat Oct 6 09:51:59 2007
@@ -656,16 +656,15 @@
# implementation independent wrapper for these; dumbdbm.py provides
# similar functionality (but slower of course) implemented in Python.
- # Sleepycat^WOracle Berkeley DB interface. http://www.sleepycat.com
+ # Sleepycat^WOracle Berkeley DB interface.
+ # http://www.oracle.com/database/berkeley-db/db/index.html
#
# This requires the Sleepycat^WOracle DB code. The supported versions
# are set below. Visit http://www.sleepycat.com/ to download
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
- # XXX(gps) - Do not allow BerkeleyDB 4.6.x until Oracle fixes
- # the DB_HASH lockup bug that is present in 4.6.19.
- max_db_ver = (4, 5)
+ max_db_ver = (4, 6)
min_db_ver = (3, 3)
db_setup_debug = False # verbose debug prints from this script?
@@ -736,6 +735,15 @@
db_minor = int(m.group(1))
db_ver = (db_major, db_minor)
+ # Avoid 4.6 prior to 4.6.21 due to a BerkeleyDB bug
+ if db_ver == (4, 6):
+ m = re.search(r"#define\WDB_VERSION_PATCH\W(\d+)", f)
+ db_patch = int(m.group(1))
+ if db_patch < 21:
+ print "db.h:", db_ver, "patch", db_patch,
+ print "being ignored (4.6.x must be >= 4.6.21)"
+ continue
+
if ( (not db_ver_inc_map.has_key(db_ver)) and
(db_ver <= max_db_ver and db_ver >= min_db_ver) ):
# save the include directory with the db.h version
From python-checkins at python.org Sat Oct 6 10:11:30 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 10:11:30 +0200 (CEST)
Subject: [Python-checkins] r58345 - python/branches/release25-maint/setup.py
Message-ID: <20071006081130.37C211E4004@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 10:11:29 2007
New Revision: 58345
Modified:
python/branches/release25-maint/setup.py
Log:
Backport 58344: allow BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module
Modified: python/branches/release25-maint/setup.py
==============================================================================
--- python/branches/release25-maint/setup.py (original)
+++ python/branches/release25-maint/setup.py Sat Oct 6 10:11:29 2007
@@ -600,10 +600,11 @@
# implementation independent wrapper for these; dumbdbm.py provides
# similar functionality (but slower of course) implemented in Python.
- # Sleepycat Berkeley DB interface. http://www.sleepycat.com
+ # Sleepycat^WOracle Berkeley DB interface.
+ # http://www.oracle.com/database/berkeley-db/db/index.html
#
- # This requires the Sleepycat DB code. The supported versions
- # are set below. Visit http://www.sleepycat.com/ to download
+ # This requires the Sleepycat^WOracle DB code. The supported versions
+ # are set below. Visit the URL above to download
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
@@ -675,6 +676,15 @@
db_minor = int(m.group(1))
db_ver = (db_major, db_minor)
+ # Avoid 4.6 prior to 4.6.21 due to a BerkeleyDB bug
+ if db_ver == (4, 6):
+ m = re.search(r"#define\WDB_VERSION_PATCH\W(\d+)", f)
+ db_patch = int(m.group(1))
+ if db_patch < 21:
+ print "db.h:", db_ver, "patch", db_patch,
+ print "being ignored (4.6.x must be >= 4.6.21)"
+ continue
+
if ( (not db_ver_inc_map.has_key(db_ver)) and
(db_ver <= max_db_ver and db_ver >= min_db_ver) ):
# save the include directory with the db.h version
From nnorwitz at gmail.com Sat Oct 6 10:20:56 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sat, 6 Oct 2007 04:20:56 -0400
Subject: [Python-checkins] Python Regression Test Failures opt (1)
Message-ID: <20071006082056.GA26961@python.psfb.org>
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
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
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
[9105 refs]
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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:97: 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test test_telnetlib failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/test/test_telnetlib.py", line 41, in testTimeoutDefault
telnet = telnetlib.Telnet("localhost", 9091)
File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 209, in __init__
self.open(host, port, timeout)
File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), self.timeout)
File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in create_connection
raise error, msg
error: [Errno 111] Connection refused
test_tempfile
[7362 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_telnetlib
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
[506352 refs]
From buildbot at python.org Sat Oct 6 10:57:00 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 08:57:00 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo 2.5
Message-ID: <20071006085701.0A6E61E4004@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%202.5/builds/429
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildslave/python-trunk/2.5.norwitz-x86/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/buildslave/python-trunk/2.5.norwitz-x86/build/Lib/test/test_asynchat.py", line 17, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/2.5.norwitz-x86/build/Lib/test/test_support.py", line 108, in bind_port
raise TestFailed, 'unable to find port to listen on'
TestFailed: unable to find port to listen on
sincerely,
-The Buildbot
From python-checkins at python.org Sat Oct 6 17:47:37 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 17:47:37 +0200 (CEST)
Subject: [Python-checkins] r58348 - python/trunk/Lib/test/test_socket_ssl.py
Message-ID: <20071006154737.D12CD1E4005@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 17:47:37 2007
New Revision: 58348
Modified:
python/trunk/Lib/test/test_socket_ssl.py
Log:
Use the host the author likely meant in the first place. pop.gmail.com is
reliable. gmail.org is someones personal domain.
Modified: python/trunk/Lib/test/test_socket_ssl.py
==============================================================================
--- python/trunk/Lib/test/test_socket_ssl.py (original)
+++ python/trunk/Lib/test/test_socket_ssl.py Sat Oct 6 17:47:37 2007
@@ -41,10 +41,7 @@
# A service which issues a welcome banner (without need to write
# anything).
- # XXX ("gmail.org", 995) has been unreliable so far, from time to
- # XXX time non-responsive for hours on end (& across all buildbot
- # XXX slaves, so that's not just a local thing).
- ADDR = "gmail.org", 995
+ ADDR = "pop.gmail.com", 995
s = socket.socket()
s.settimeout(30.0)
From python-checkins at python.org Sat Oct 6 17:55:25 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 17:55:25 +0200 (CEST)
Subject: [Python-checkins] r58349 -
python/branches/release25-maint/Lib/test/test_socket_ssl.py
Message-ID: <20071006155525.E1FFF1E4005@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 17:55:25 2007
New Revision: 58349
Modified:
python/branches/release25-maint/Lib/test/test_socket_ssl.py
Log:
Backport 58348: use a reliable host in the test.
Modified: python/branches/release25-maint/Lib/test/test_socket_ssl.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_socket_ssl.py (original)
+++ python/branches/release25-maint/Lib/test/test_socket_ssl.py Sat Oct 6 17:55:25 2007
@@ -52,10 +52,7 @@
# A service which issues a welcome banner (without need to write
# anything).
- # XXX ("gmail.org", 995) has been unreliable so far, from time to time
- # XXX non-responsive for hours on end (& across all buildbot slaves,
- # XXX so that's not just a local thing).
- ADDR = "gmail.org", 995
+ ADDR = "pop.gmail.com", 995
s = socket.socket()
s.settimeout(30.0)
From buildbot at python.org Sat Oct 6 17:56:09 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 15:56:09 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP trunk
Message-ID: <20071006155609.8DE141E4005@bag.python.org>
The Buildbot has detected a new failure of amd64 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%20trunk/builds/249
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed compile
sincerely,
-The Buildbot
From python-checkins at python.org Sat Oct 6 18:05:18 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sat, 6 Oct 2007 18:05:18 +0200 (CEST)
Subject: [Python-checkins] r58350 -
python/branches/release25-maint/Modules/_bsddb.c
Message-ID: <20071006160518.A43941E4006@bag.python.org>
Author: gregory.p.smith
Date: Sat Oct 6 18:05:18 2007
New Revision: 58350
Modified:
python/branches/release25-maint/Modules/_bsddb.c
Log:
Backport rev 58343: fix DBSequence.get_key() to not crash/fail/etc.
Modified: python/branches/release25-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release25-maint/Modules/_bsddb.c (original)
+++ python/branches/release25-maint/Modules/_bsddb.c Sat Oct 6 18:05:18 2007
@@ -4883,14 +4883,20 @@
{
int err;
DBT key;
+ PyObject *retval;
+ key.flags = DB_DBT_MALLOC;
CHECK_SEQUENCE_NOT_CLOSED(self)
MYDB_BEGIN_ALLOW_THREADS
err = self->sequence->get_key(self->sequence, &key);
MYDB_END_ALLOW_THREADS
+ if (!err)
+ retval = PyString_FromStringAndSize(key.data, key.size);
+
+ FREE_DBT(key);
RETURN_IF_ERR();
- return PyString_FromStringAndSize(key.data, key.size);
+ return retval;
}
static PyObject*
From buildbot at python.org Sat Oct 6 18:23:29 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 16:23:29 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071006162329.3CE761E4005@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/290
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bufio
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 6 18:44:51 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 16:44:51 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071006164451.F10B81E4005@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2520
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
1 test failed:
test_asynchat
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 6 18:59:51 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 16:59:51 +0000
Subject: [Python-checkins] buildbot failure in S-390 Debian trunk
Message-ID: <20071006165951.C9F591E4005@bag.python.org>
The Buildbot has detected a new failure of S-390 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/S-390%20Debian%20trunk/builds/1246
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-s390
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ctypes
======================================================================
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-s390/build/Lib/ctypes/test/test_callbacks.py", line 81, in test_longdouble
self.check_type(c_longdouble, 3.14)
File "/home/pybot/buildarea/trunk.klose-debian-s390/build/Lib/ctypes/test/test_callbacks.py", line 22, in check_type
self.failUnlessEqual(self.got_args, (arg,))
AssertionError: (-inf,) != (3.1400000000000001,)
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 6 19:08:34 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 17:08:34 +0000
Subject: [Python-checkins] buildbot failure in alpha Tru64 5.1 2.5
Message-ID: <20071006170835.0DA3D1E4005@bag.python.org>
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/325
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:
2 tests failed:
test_signal test_socket
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 549, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/net/taipan/scratch1/nnorwitz/python/2.5.norwitz-tru64/build/Lib/test/test_signal.py", line 143, in
print "KeyboardInterrupt (the alarm() went off)"
File "/net/taipan/scratch1/nnorwitz/python/2.5.norwitz-tru64/build/Lib/test/test_signal.py", line 49, in handlerB
raise HandlerBCalled, args
HandlerBCalled: (30, )
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 6 19:39:24 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 17:39:24 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 2.5
Message-ID: <20071006173924.8F1181E4005@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%202.5/builds/2
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
6 tests failed:
test_bsddb3 test_resource test_socket test_socket_ssl
test_socketserver test_urllib2
======================================================================
FAIL: test_get_key (bsddb.test.test_sequence.DBSequenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/bsddb/test/test_sequence.py", line 67, in test_get_key
self.assertEquals(key, self.seq.get_key())
AssertionError: 'foo' != ''
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 549, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_resource.py", line 42, in
f.close()
IOError: [Errno 27] File too large
======================================================================
ERROR: testGetServBy (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 332, in testGetServBy
raise socket.error
error
======================================================================
ERROR: testFromFd (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testOverFlowRecv (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testOverFlowRecvFrom (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecv (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFrom (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSendAll (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testShutdown (test.test_socket.BasicTCPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClose (test.test_socket.TCPCloserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testInterruptedTimeout (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTCPTimeout (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTimeoutZero (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFromInto (test.test_socket.BufferIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvInto (test.test_socket.BufferIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFrom (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecvFromNegative (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSendtoAndRecv (test.test_socket.BasicUDPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 39, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testTimeoutZero (test.test_socket.UDPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUDPTimeout (test.test_socket.UDPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testAccept (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testConnect (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testRecv (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSetBlocking (test.test_socket.NonBlockingTCPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.FileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedReadline (test.test_socket.UnbufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.LineBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testClosedAttr (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testFullRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testReadline (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testSmallRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: testUnbufferedRead (test.test_socket.SmallBufferedFileObjectClassTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 111, in _setUp
self.__setUp()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 703, in setUp
SocketConnectedTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 172, in setUp
ThreadedTCPSocketTest.setUp(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket.py", line 26, in setUp
PORT = test_support.bind_port(self.serv, HOST, PORT)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_support.py", line 101, in bind_port
sock.bind((host, port))
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 129, in test_main
test_rude_shutdown()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 123, in test_rude_shutdown
connector()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socket_ssl.py", line 111, in connector
s.connect(('localhost', PORT[0]))
File "", line 1, in connect
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 212, in test_main
testall()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 195, in testall
testloop(socket.AF_INET, tcpservers, MyStreamHandler, teststream)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 144, in testloop
testfunc(proto, addr)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 62, in teststream
s.connect(addr)
File "", line 1, in connect
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: test_file (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_urllib2.py", line 600, in test_file
"file://%s%s" % (socket.gethostbyname('localhost'), urlpath),
gaierror: (-2, 'Name or service not known')
======================================================================
ERROR: test_ftp (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_urllib2.py", line 577, in test_ftp
r = h.ftp_open(Request(url))
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/urllib2.py", line 1264, in ftp_open
raise URLError(msg)
URLError:
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From brett at python.org Sat Oct 6 21:08:19 2007
From: brett at python.org (Brett Cannon)
Date: Sat, 6 Oct 2007 12:08:19 -0700
Subject: [Python-checkins] Python Regression Test Failures opt (1)
In-Reply-To: <20071006082056.GA26961@python.psfb.org>
References: <20071006082056.GA26961@python.psfb.org>
Message-ID:
On 10/6/07, Neal Norwitz wrote:
> test_telnetlib
> test test_telnetlib failed -- Traceback (most recent call last):
> File "/tmp/python-test/local/lib/python2.6/test/test_telnetlib.py", line 41, in testTimeoutDefault
> telnet = telnetlib.Telnet("localhost", 9091)
> File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 209, in __init__
> self.open(host, port, timeout)
> File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 227, in open
> self.sock = socket.create_connection((host, port), self.timeout)
> File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in create_connection
> raise error, msg
> error: [Errno 111] Connection refused
Connection refusals keep happening. Should we add refused connections
to the list of exceptions that test.test._support.transient_internet()
covers and use it on this test?
-Brett
From python-checkins at python.org Sat Oct 6 21:16:29 2007
From: python-checkins at python.org (neal.norwitz)
Date: Sat, 6 Oct 2007 21:16:29 +0200 (CEST)
Subject: [Python-checkins] r58351 - python/trunk/Lib/test/test_bufio.py
Message-ID: <20071006191629.1BBE11E4012@bag.python.org>
Author: neal.norwitz
Date: Sat Oct 6 21:16:28 2007
New Revision: 58351
Modified:
python/trunk/Lib/test/test_bufio.py
Log:
Ensure that this test will pass even if another test left an unwritable TESTFN.
Also use the safe unlink in test_support instead of rolling our own here.
Modified: python/trunk/Lib/test/test_bufio.py
==============================================================================
--- python/trunk/Lib/test/test_bufio.py (original)
+++ python/trunk/Lib/test/test_bufio.py Sat Oct 6 21:16:28 2007
@@ -13,6 +13,9 @@
# Write s + "\n" + s to file, then open it and ensure that successive
# .readline()s deliver what we wrote.
+ # Ensure we can open TESTFN for writing.
+ test_support.unlink(test_support.TESTFN)
+
# Since C doesn't guarantee we can write/read arbitrary bytes in text
# files, use binary mode.
f = open(test_support.TESTFN, "wb")
@@ -31,11 +34,7 @@
self.assert_(not line) # Must be at EOF
f.close()
finally:
- try:
- import os
- os.unlink(test_support.TESTFN)
- except:
- pass
+ test_support.unlink(test_support.TESTFN)
def drive_one(self, pattern):
for length in lengths:
From nnorwitz at gmail.com Sat Oct 6 21:59:53 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sat, 6 Oct 2007 15:59:53 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071006195953.GA14667@python.psfb.org>
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
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-8:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-10:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-12:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-14:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-16:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-18:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-20:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-22:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-24:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
test test_asynchat failed -- errors occurred; run in verbose mode for details
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
Exception in thread reader 1:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 4:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 3:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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:97: 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:63: 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7359 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_asynchat
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
[516557 refs]
From buildbot at python.org Sat Oct 6 22:08:43 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 06 Oct 2007 20:08:43 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071006200843.84C5C1E4006@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/91
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
2 tests failed:
test_queue test_xmlrpc
sincerely,
-The Buildbot
From nnorwitz at gmail.com Sun Oct 7 10:00:06 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sun, 7 Oct 2007 04:00:06 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071007080006.GA3823@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From buildbot at python.org Sun Oct 7 13:01:44 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 07 Oct 2007 11:01:44 +0000
Subject: [Python-checkins] buildbot failure in 2.5.msi
Message-ID: <20071007110144.B06E91E400E@bag.python.org>
The Buildbot has detected a new failure of 2.5.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.5.msi/builds/30
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.5.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 7 14:01:36 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 07 Oct 2007 12:01:36 +0000
Subject: [Python-checkins] buildbot failure in 2.6.msi
Message-ID: <20071007120136.D892D1E4007@bag.python.org>
The Buildbot has detected a new failure of 2.6.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.6.msi/builds/33
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.6.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 7 15:01:29 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 07 Oct 2007 13:01:29 +0000
Subject: [Python-checkins] buildbot failure in 3.0.msi
Message-ID: <20071007130130.339DE1E4006@bag.python.org>
The Buildbot has detected a new failure of 3.0.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/3.0.msi/builds/37
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '3.0.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From nnorwitz at gmail.com Sun Oct 7 22:00:04 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sun, 7 Oct 2007 16:00:04 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071007200004.GA6562@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From python-checkins at python.org Mon Oct 8 01:47:50 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 8 Oct 2007 01:47:50 +0200 (CEST)
Subject: [Python-checkins] r58354 - python/branches/pep302_phase2
Message-ID: <20071007234750.66AD51E4006@bag.python.org>
Author: brett.cannon
Date: Mon Oct 8 01:47:50 2007
New Revision: 58354
Removed:
python/branches/pep302_phase2/
Log:
Never went anywhere with this work, thus this branch was never really touched.
Besides, attempts to integrate importlib are happening for Py3K in
py3k-importlib.
From python-checkins at python.org Mon Oct 8 03:24:46 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 03:24:46 +0200 (CEST)
Subject: [Python-checkins] r58356 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008012446.4620F1E4006@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 03:24:45 2007
New Revision: 58356
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Load string, from pickle streams produced by older Python versions, as
Unicode instead of str8.
Clean up variable names and useless goto-statements in
load_binstring(), load_short_binstring(), and load_unicode().
Remove #ifdef Py_USING_UNICODE.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 03:24:45 2007
@@ -1060,7 +1060,6 @@
return -1;
}
-#ifdef Py_USING_UNICODE
/* A copy of PyUnicode_EncodeRawUnicodeEscape() that also translates
backslash and newline characters to \uXXXX escapes. */
static PyObject *
@@ -1168,7 +1167,6 @@
Py_XDECREF(repr);
return -1;
}
-#endif
/* A helper for save_tuple. Push the len elements in tuple t on the stack. */
static int
@@ -1925,7 +1923,6 @@
return -1;
}
-
if (listitems && batch_list(self, listitems) < 0)
return -1;
@@ -2763,8 +2760,8 @@
static int
load_string(UnpicklerObject *self)
{
- PyObject *str = 0;
- int len, res = -1;
+ PyObject *str = NULL, *ustr = NULL;
+ int len;
char *s, *p;
if ((len = self->readline_func(self, &s)) < 0)
@@ -2774,7 +2771,6 @@
if (!(s = pystrndup(s, len)))
return -1;
-
/* Strip outermost quotes */
while (s[len - 1] <= ' ')
len--;
@@ -2788,27 +2784,32 @@
p = s + 1;
len -= 2;
}
- else
- goto insecure;
+ else {
+ free(s);
+ PyErr_SetString(PyExc_ValueError, "insecure string pickle");
+ return -1;
+ }
+ /* Use the PyString API to decode the string, since that is what is used
+ to encode, and then coerce the result to Unicode. */
str = PyString_DecodeEscape(p, len, NULL, 0, NULL);
free(s);
- if (str) {
- PDATA_PUSH(self->stack, str, -1);
- res = 0;
- }
- return res;
+ if (str == NULL)
+ return -1;
- insecure:
- free(s);
- PyErr_SetString(PyExc_ValueError, "insecure string pickle");
- return -1;
+ ustr = PyObject_Unicode(str);
+ Py_DECREF(str);
+ if (ustr == NULL)
+ return -1;
+
+ PDATA_PUSH(self->stack, ustr, -1);
+ return 0;
}
static int
load_binstring(UnpicklerObject *self)
{
- PyObject *py_string = 0;
+ PyObject *str;
long l;
char *s;
@@ -2820,41 +2821,42 @@
if (self->read_func(self, &s, l) < 0)
return -1;
- if (!(py_string = PyString_FromStringAndSize(s, l)))
+ str = PyUnicode_FromStringAndSize(s, l);
+ if (str == NULL)
return -1;
- PDATA_PUSH(self->stack, py_string, -1);
+ PDATA_PUSH(self->stack, str, -1);
return 0;
}
static int
load_short_binstring(UnpicklerObject *self)
{
- PyObject *py_string = 0;
+ PyObject *str;
unsigned char l;
char *s;
if (self->read_func(self, &s, 1) < 0)
return -1;
- l = (unsigned char) s[0];
+ l = (unsigned char)s[0];
if (self->read_func(self, &s, l) < 0)
return -1;
- if (!(py_string = PyString_FromStringAndSize(s, l)))
+ str = PyUnicode_FromStringAndSize(s, l);
+ if (str == NULL)
return -1;
- PDATA_PUSH(self->stack, py_string, -1);
+ PDATA_PUSH(self->stack, str, -1);
return 0;
}
-#ifdef Py_USING_UNICODE
static int
load_unicode(UnpicklerObject *self)
{
- PyObject *str = 0;
- int len, res = -1;
+ PyObject *str;
+ int len;
char *s;
if ((len = self->readline_func(self, &s)) < 0)
@@ -2862,19 +2864,14 @@
if (len < 1)
return bad_readline();
- if (!(str = PyUnicode_DecodeRawUnicodeEscape(s, len - 1, NULL)))
- goto finally;
+ str = PyUnicode_DecodeRawUnicodeEscape(s, len - 1, NULL);
+ if (str == NULL)
+ return -1;
PDATA_PUSH(self->stack, str, -1);
return 0;
-
- finally:
- return res;
}
-#endif
-
-#ifdef Py_USING_UNICODE
static int
load_binunicode(UnpicklerObject *self)
{
@@ -2896,8 +2893,6 @@
PDATA_PUSH(self->stack, unicode, -1);
return 0;
}
-#endif
-
static int
load_tuple(UnpicklerObject *self)
From python-checkins at python.org Mon Oct 8 03:28:05 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 03:28:05 +0200 (CEST)
Subject: [Python-checkins] r58357 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008012805.6FCCB1E4007@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 03:28:05 2007
New Revision: 58357
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Always use save_long() for pickling integers.
Delete save_int().
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 03:28:05 2007
@@ -787,69 +787,13 @@
}
static int
-save_int(PicklerObject *self, long l)
-{
- char c_str[32];
- int len = 0;
-
- if (!self->bin
-#if SIZEOF_LONG > 4
- || l > 0x7fffffffL || l < -0x80000000L
-#endif
- ) {
- /* Text-mode pickle, or long too big to fit in the 4-byte
- * signed BININT format: store as a string.
- */
- c_str[0] = INT;
- PyOS_snprintf(c_str + 1, sizeof(c_str) - 1, "%ld\n", l);
- if (self->write_func(self, c_str, strlen(c_str)) < 0)
- return -1;
- }
- else {
- /* Binary pickle and l fits in a signed 4-byte int. */
- c_str[1] = (int)(l & 0xff);
- c_str[2] = (int)((l >> 8) & 0xff);
- c_str[3] = (int)((l >> 16) & 0xff);
- c_str[4] = (int)((l >> 24) & 0xff);
-
- if ((c_str[4] == 0) && (c_str[3] == 0)) {
- if (c_str[2] == 0) {
- c_str[0] = BININT1;
- len = 2;
- }
- else {
- c_str[0] = BININT2;
- len = 3;
- }
- }
- else {
- c_str[0] = BININT;
- len = 5;
- }
-
- if (self->write_func(self, c_str, len) < 0)
- return -1;
- }
-
- return 0;
-}
-
-static int
save_long(PicklerObject *self, PyObject *args)
{
Py_ssize_t size;
int res = -1;
PyObject *repr = NULL;
- long val = PyInt_AsLong(args);
static char l = LONG;
- if (val == -1 && PyErr_Occurred()) {
- /* out of range for int pickling */
- PyErr_Clear();
- }
- else
- return save_int(self, val);
-
if (self->proto >= 2) {
/* Linear-time pickling. */
size_t nbits;
From python-checkins at python.org Mon Oct 8 03:58:06 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 03:58:06 +0200 (CEST)
Subject: [Python-checkins] r58358 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008015806.D17E61E4006@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 03:58:06 2007
New Revision: 58358
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
In save_string(), use PyUnicode API for handling object's repr.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 03:58:06 2007
@@ -948,9 +948,9 @@
if (!(repr = PyObject_Repr(args)))
return -1;
- if ((len = PyString_Size(repr)) < 0)
+ if ((len = PyUnicode_GetSize(repr)) < 0)
goto error;
- repr_str = PyString_AS_STRING((PyStringObject *)repr);
+ repr_str = PyUnicode_AsString(repr);
if (self->write_func(self, &string, 1) < 0)
goto error;
@@ -988,7 +988,7 @@
return -1;
if (self->write_func(self,
- PyString_AS_STRING((PyStringObject *)args),
+ PyString_AS_STRING(args),
size) < 0)
return -1;
}
From python-checkins at python.org Mon Oct 8 04:25:35 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 04:25:35 +0200 (CEST)
Subject: [Python-checkins] r58359 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008022535.96B2D1E4006@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 04:25:35 2007
New Revision: 58359
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Revert r58357.
Change INT to LONG for consistence with pickle.py
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 04:25:35 2007
@@ -787,13 +787,69 @@
}
static int
+save_int(PicklerObject *self, long l)
+{
+ char c_str[32];
+ int len = 0;
+
+ if (!self->bin
+#if SIZEOF_LONG > 4
+ || l > 0x7fffffffL || l < -0x80000000L
+#endif
+ ) {
+ /* Text-mode pickle, or long too big to fit in the 4-byte
+ * signed BININT format: store as a string.
+ */
+ c_str[0] = LONG; /* use LONG for consistence with pickle.py */
+ PyOS_snprintf(c_str + 1, sizeof(c_str) - 1, "%ld\n", l);
+ if (self->write_func(self, c_str, strlen(c_str)) < 0)
+ return -1;
+ }
+ else {
+ /* Binary pickle and l fits in a signed 4-byte int. */
+ c_str[1] = (int)(l & 0xff);
+ c_str[2] = (int)((l >> 8) & 0xff);
+ c_str[3] = (int)((l >> 16) & 0xff);
+ c_str[4] = (int)((l >> 24) & 0xff);
+
+ if ((c_str[4] == 0) && (c_str[3] == 0)) {
+ if (c_str[2] == 0) {
+ c_str[0] = BININT1;
+ len = 2;
+ }
+ else {
+ c_str[0] = BININT2;
+ len = 3;
+ }
+ }
+ else {
+ c_str[0] = BININT;
+ len = 5;
+ }
+
+ if (self->write_func(self, c_str, len) < 0)
+ return -1;
+ }
+
+ return 0;
+}
+
+static int
save_long(PicklerObject *self, PyObject *args)
{
Py_ssize_t size;
int res = -1;
PyObject *repr = NULL;
+ long val = PyInt_AsLong(args);
static char l = LONG;
+ if (val == -1 && PyErr_Occurred()) {
+ /* out of range for int pickling */
+ PyErr_Clear();
+ }
+ else
+ return save_int(self, val);
+
if (self->proto >= 2) {
/* Linear-time pickling. */
size_t nbits;
From python-checkins at python.org Mon Oct 8 05:15:35 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 8 Oct 2007 05:15:35 +0200 (CEST)
Subject: [Python-checkins] r58361 - peps/trunk/pep-3106.txt
peps/trunk/pep-3119.txt
Message-ID: <20071008031535.C0DE01E4006@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 8 05:15:35 2007
New Revision: 58361
Modified:
peps/trunk/pep-3106.txt
peps/trunk/pep-3119.txt
Log:
Typos and clarifications detected by Mark Summerfield.
Modified: peps/trunk/pep-3106.txt
==============================================================================
--- peps/trunk/pep-3106.txt (original)
+++ peps/trunk/pep-3106.txt Mon Oct 8 05:15:35 2007
@@ -15,7 +15,7 @@
This PEP proposes to change the .keys(), .values() and .items()
methods of the built-in dict type to return a set-like or unordered
-container object whose contents are derived of the underlying
+container object whose contents are derived from the underlying
dictionary rather than a list which is a copy of the keys, etc.; and
to remove the .iterkeys(), .itervalues() and .iteritems() methods.
@@ -64,6 +64,7 @@
a = d.items()
for k, v in a: ...
+ # And later, again:
for k, v in a: ...
Effectively, iter(d.keys()) (etc.) in Python 3.0 will do what
@@ -72,8 +73,8 @@
The objects returned by the .keys() and .items() methods behave like
sets. The object returned by the values() method behaves like a much
-simpler unordered collection; anything more would require too much
-implementation effort for the rare use case.
+simpler unordered collection -- it cannot be a set because duplicate
+values are possible.
Because of the set behavior, it will be possible to check whether two
dicts have the same keys by simply testing::
@@ -268,7 +269,7 @@
__hash__(); their value can change if the underlying dict is mutated.
The only requirements on the underlying dict are that it implements
-__getitem__(), __contains__(), __iter__(), and __len__(0.
+__getitem__(), __contains__(), __iter__(), and __len__().
We don't implement .copy() -- the presence of a .copy()
method suggests that the copy has the same type as the original, but
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Mon Oct 8 05:15:35 2007
@@ -244,7 +244,7 @@
``__subclasscheck__`` and defines a ``register`` method. The
``register`` method takes one argument, which much be a class; after
the call ``B.register(C)``, the call ``issubclass(C, B)`` will return
-True, by virtue of of ``B.__subclasscheck__(C)`` returning True.
+True, by virtue of ``B.__subclasscheck__(C)`` returning True.
Also, ``isinstance(x, B)`` is equivalent to ``issubclass(x.__class__,
B) or issubclass(type(x), B)``. (It is possible ``type(x)`` and
``x.__class__`` are not the same object, e.g. when x is a proxy
@@ -355,11 +355,12 @@
(If this were implemented in CPython, an internal flag
``Py_TPFLAGS_ABSTRACT`` could be used to speed up this check [6]_.)
-**Discussion:** Unlike C++ or Java, abstract methods as defined here
-may have an implementation. This implementation can be called via the
-``super`` mechanism from the class that overrides it. This could be
-useful as an end-point for a super-call in framework using a
-cooperative multiple-inheritance [7]_, [8]_.
+**Discussion:** Unlike Java's abstract methods or C++'s pure abstract
+methods, abstract methods as defined here may have an implementation.
+This implementation can be called via the ``super`` mechanism from the
+class that overrides it. This could be useful as an end-point for a
+super-call in framework using cooperative multiple-inheritance [7]_,
+[8]_.
A second decorator, ``@abstractproperty``, is defined in order to
define abstract data attributes. Its implementation is a subclass of
@@ -387,9 +388,10 @@
self.__x = value
x = abstractproperty(getx, setx)
-A subclass inheriting an abstract property (declared using either the
-decorator syntax or the longer form) cannot be instantiated unless it
-overrides that abstract property with a concrete property.
+Similar to abstract methods, a subclass inheriting an abstract
+property (declared using either the decorator syntax or the longer
+form) cannot be instantiated unless it overrides that abstract
+property with a concrete property.
ABCs for Containers and Iterators
@@ -447,8 +449,9 @@
inefficient) implementation. **Invariant:** If classes ``C1`` and
``C2`` both derive from ``Hashable``, the condition ``o1 == o2``
must imply ``hash(o1) == hash(o2)`` for all instances ``o1`` of
- ``C1`` and all instances ``o2`` of ``C2``. IOW, two objects
- should never compare equal but have different hash values.
+ ``C1`` and all instances ``o2`` of ``C2``. In other words, two
+ objects should never compare equal if they have different hash
+ values.
Another constraint is that hashable objects, once created, should
never change their value (as compared by ``==``) or their hash
@@ -484,16 +487,16 @@
method should return an ``Integer`` (see "Numbers" below) >= 0.
The abstract ``__len__`` method returns 0. **Invariant:** If a
class ``C`` derives from ``Sized`` as well as from ``Iterable``,
- the invariant ``sum(1 for x in o) == len(o)`` should hold for any
- instance ``o`` of ``C``.
+ the invariant ``sum(1 for x in c) == len(c)`` should hold for any
+ instance ``c`` of ``C``.
``Container``
The base class for classes defining ``__contains__``. The
``__contains__`` method should return a ``bool``. The abstract
``__contains__`` method returns ``False``. **Invariant:** If a
class ``C`` derives from ``Container`` as well as from
- ``Iterable``, then ``(x in o for x in o)`` should be a generator
- yielding only True values for any instance ``o`` of ``C``.
+ ``Iterable``, then ``(x in c for x in c)`` should be a generator
+ yielding only True values for any instance ``c`` of ``C``.
**Open issues:** Conceivably, instead of using the ABCMeta metaclass,
these classes could override ``__instancecheck__`` and
@@ -526,7 +529,7 @@
These abstract classes represent read-only sets and mutable sets. The
most fundamental set operation is the membership test, written as ``x
in s`` and implemented by ``s.__contains__(x)``. This operation is
-already defined by the `Container`` class defined above. Therefore,
+already defined by the ``Container`` class defined above. Therefore,
we define a set as a sized, iterable container for which certain
invariants from mathematical set theory hold.
@@ -549,7 +552,7 @@
The ordering operations have concrete implementations; subclasses
may override these for speed but should maintain the semantics.
Because ``Set`` derives from ``Sized``, ``__eq__`` may take a
- shortcut and returns ``False`` immediately if two sets of unequal
+ shortcut and return ``False`` immediately if two sets of unequal
length are compared. Similarly, ``__le__`` may return ``False``
immediately if the first set has more members than the second set.
Note that set inclusion implements only a partial ordering;
@@ -622,7 +625,7 @@
This also supports the in-place mutating operations ``|=``,
``&=``, ``^=``, ``-=``. These are concrete methods whose right
operand can be an arbitrary ``Iterable``, except for ``&=``, whose
- right operand must be a ``Container``. This ABC does not support
+ right operand must be a ``Container``. This ABC does not provide
the named methods present on the built-in concrete ``set`` type
that perform (almost) the same operations.
From python-checkins at python.org Mon Oct 8 07:21:12 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 07:21:12 +0200 (CEST)
Subject: [Python-checkins] r58364 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008052112.79B341E4006@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 07:21:11 2007
New Revision: 58364
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
In whichmodule(), handle the case where __module__ is None.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 07:21:11 2007
@@ -658,21 +658,25 @@
PyObject *module = 0, *modules_dict = 0, *global_name_attr = 0, *name = 0;
module = PyObject_GetAttrString(global, "__module__");
+
+ /* In some cases (e.g., C functions), __module__ can be None. If it is so,
+ then search sys.modules for the module of global. */
+ if (module == Py_None)
+ goto search;
+
if (module)
return module;
if (PyErr_ExceptionMatches(PyExc_AttributeError))
PyErr_Clear();
else
return NULL;
-
- /* XXX: This seems only necessary for older Python versions without
- the __module__ attribute. */
+
+ search:
if (!(modules_dict = PySys_GetObject("modules")))
return NULL;
i = 0;
while ((j = PyDict_Next(modules_dict, &i, &name, &module))) {
-
if (PyObject_Compare(name, __main__) == 0)
continue;
@@ -691,14 +695,10 @@
}
Py_DECREF(global_name_attr);
-
break;
}
- /* The following implements the rule in pickle.py added in 1.5
- * that used __main__ if no module is found. I don't actually
- * like this rule. jlf
- */
+ /* If no module is found, use __main__. */
if (!j) {
j = 1;
name = __main__;
From python-checkins at python.org Mon Oct 8 07:22:37 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 07:22:37 +0200 (CEST)
Subject: [Python-checkins] r58365 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008052238.0F6C21E4006@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 07:22:37 2007
New Revision: 58365
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Be slightly more specific about the rare case where __module__ is None.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 07:22:37 2007
@@ -659,8 +659,9 @@
module = PyObject_GetAttrString(global, "__module__");
- /* In some cases (e.g., C functions), __module__ can be None. If it is so,
- then search sys.modules for the module of global. */
+ /* In some rare cases (e.g., random.getrandbits), __module__ can be
+ None. If it is so, then search sys.modules for the module of
+ global. */
if (module == Py_None)
goto search;
From python-checkins at python.org Mon Oct 8 09:50:24 2007
From: python-checkins at python.org (georg.brandl)
Date: Mon, 8 Oct 2007 09:50:24 +0200 (CEST)
Subject: [Python-checkins] r58368 - python/trunk/Doc/library/stdtypes.rst
Message-ID: <20071008075024.DF8001E4006@bag.python.org>
Author: georg.brandl
Date: Mon Oct 8 09:50:24 2007
New Revision: 58368
Modified:
python/trunk/Doc/library/stdtypes.rst
Log:
#1123: fix the docs for the str.split(None, sep) case.
Also expand a few other methods' docs, which had more info in the deprecated string module docs.
Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst (original)
+++ python/trunk/Doc/library/stdtypes.rst Mon Oct 8 09:50:24 2007
@@ -686,9 +686,9 @@
.. method:: str.count(sub[, start[, end]])
- Return the number of occurrences of substring *sub* in string S\
- ``[start:end]``. Optional arguments *start* and *end* are interpreted as in
- slice notation.
+ Return the number of occurrences of substring *sub* in the range [*start*,
+ *end*]. Optional arguments *start* and *end* are interpreted as in slice
+ notation.
.. method:: str.decode([encoding[, errors]])
@@ -737,8 +737,11 @@
.. method:: str.expandtabs([tabsize])
- Return a copy of the string where all tab characters are expanded using spaces.
- If *tabsize* is not given, a tab size of ``8`` characters is assumed.
+ Return a copy of the string where all tab characters are replaced by one or
+ more spaces, depending on the current column and the given tab size. The
+ column number is reset to zero after each newline occurring in the string.
+ If *tabsize* is not given, a tab size of ``8`` characters is assumed. This
+ doesn't understand other non-printing characters or escape sequences.
.. method:: str.find(sub[, start[, end]])
@@ -927,25 +930,29 @@
Support for the *chars* argument.
-.. method:: str.split([sep [,maxsplit]])
+.. method:: str.split([sep[, maxsplit]])
- Return a list of the words in the string, using *sep* as the delimiter string.
- If *maxsplit* is given, at most *maxsplit* splits are done. (thus, the list will
- have at most ``maxsplit+1`` elements). If *maxsplit* is not specified, then
- there is no limit on the number of splits (all possible splits are made).
- Consecutive delimiters are not grouped together and are deemed to delimit empty
- strings (for example, ``'1,,2'.split(',')`` returns ``['1', '', '2']``). The
- *sep* argument may consist of multiple characters (for example, ``'1, 2,
- 3'.split(', ')`` returns ``['1', '2', '3']``). Splitting an empty string with a
- specified separator returns ``['']``.
+ Return a list of the words in the string, using *sep* as the delimiter
+ string. If *maxsplit* is given, at most *maxsplit* splits are done (thus,
+ the list will have at most ``maxsplit+1`` elements). If *maxsplit* is not
+ specified, then there is no limit on the number of splits (all possible
+ splits are made).
+
+ If *sep is given, consecutive delimiters are not grouped together and are
+ deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns
+ ``['1', '', '2']``). The *sep* argument may consist of multiple characters
+ (for example, ``'1<>2<>3'.split('<>')`` returns ``['1', '2', '3']``).
+ Splitting an empty string with a specified separator returns ``['']``.
If *sep* is not specified or is ``None``, a different splitting algorithm is
- applied. First, whitespace characters (spaces, tabs, newlines, returns, and
- formfeeds) are stripped from both ends. Then, words are separated by arbitrary
- length strings of whitespace characters. Consecutive whitespace delimiters are
- treated as a single delimiter (``'1 2 3'.split()`` returns ``['1', '2',
- '3']``). Splitting an empty string or a string consisting of just whitespace
- returns an empty list.
+ applied: runs of consecutive whitespace are regarded as a single separator,
+ and the result will contain no empty strings at the start or end if the
+ string has leading or trailing whitespace. Consequently, splitting an empty
+ string or a string consisting of just whitespace with a ``None`` separator
+ returns ``[]``.
+
+ For example, ``' 1 2 3 '.split()`` returns ``['1', '2', '3']``, and
+ ``' 1 2 3 '.split(None, 1)`` returns ``['1', '2 3 ']``.
.. method:: str.splitlines([keepends])
@@ -1035,8 +1042,10 @@
.. method:: str.zfill(width)
- Return the numeric string left filled with zeros in a string of length *width*.
- The original string is returned if *width* is less than ``len(s)``.
+ Return the numeric string left filled with zeros in a string of length
+ *width*. A sign prefix is handled correctly. The original string is
+ returned if *width* is less than ``len(s)``.
+
.. versionadded:: 2.2.2
From nnorwitz at gmail.com Mon Oct 8 10:00:06 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Mon, 8 Oct 2007 04:00:06 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071008080006.GA10480@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From python-checkins at python.org Mon Oct 8 10:06:05 2007
From: python-checkins at python.org (georg.brandl)
Date: Mon, 8 Oct 2007 10:06:05 +0200 (CEST)
Subject: [Python-checkins] r58369 - python/trunk/Lib/sched.py
Message-ID: <20071008080605.8F4191E4006@bag.python.org>
Author: georg.brandl
Date: Mon Oct 8 10:06:05 2007
New Revision: 58369
Modified:
python/trunk/Lib/sched.py
Log:
Update docstring of sched, also remove an unused assignment.
Modified: python/trunk/Lib/sched.py
==============================================================================
--- python/trunk/Lib/sched.py (original)
+++ python/trunk/Lib/sched.py Mon Oct 8 10:06:05 2007
@@ -16,11 +16,11 @@
Events are specified by tuples (time, priority, action, argument).
As in UNIX, lower priority numbers mean higher priority; in this
way the queue can be maintained as a priority queue. Execution of the
-event means calling the action function, passing it the argument.
-Remember that in Python, multiple function arguments can be packed
-in a tuple. The action function may be an instance method so it
+event means calling the action function, passing it the argument
+sequence in "argument" (remember that in Python, multiple function
+arguments are be packed in a sequence).
+The action function may be an instance method so it
has another way to reference private data (besides global variables).
-Parameterless functions or methods cannot be used, however.
"""
# XXX The timefunc and delayfunc should have been defined as methods
@@ -89,7 +89,7 @@
exceptions are not caught but the scheduler's state remains
well-defined so run() may be called again.
- A questionably hack is added to allow other threads to run:
+ A questionable hack is added to allow other threads to run:
just after an event is executed, a delay of 0 is executed, to
avoid monopolizing the CPU when other threads are also
runnable.
@@ -111,7 +111,7 @@
# Verify that the event was not removed or altered
# by another thread after we last looked at q[0].
if event is checked_event:
- void = action(*argument)
+ action(*argument)
delayfunc(0) # Let other threads run
else:
heapq.heappush(event)
From buildbot at python.org Mon Oct 8 10:11:19 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:19 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071008081120.431591E4020@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/252
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:11:31 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:31 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 trunk
Message-ID: <20071008081131.9187A1E4007@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/2278
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:11:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:33 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux trunk
Message-ID: <20071008081133.A07EA1E4007@bag.python.org>
The Buildbot has detected a new failure of ARM Linux trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20trunk/builds/13
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:11:36 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:36 +0000
Subject: [Python-checkins] buildbot failure in sparc solaris10 gcc trunk
Message-ID: <20071008081136.9BAA51E4008@bag.python.org>
The Buildbot has detected a new failure of sparc solaris10 gcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/sparc%20solaris10%20gcc%20trunk/builds/2333
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-sun
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:11:42 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:42 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071008081142.853361E4006@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/862
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:11:51 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:11:51 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071008081151.C3F3D1E4006@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2231
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 8 10:14:29 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 08 Oct 2007 08:14:29 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071008081429.632BE1E4006@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/292
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Mon Oct 8 11:14:28 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Mon, 8 Oct 2007 11:14:28 +0200 (CEST)
Subject: [Python-checkins] r58370 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py
Message-ID: <20071008091428.BB99A1E4006@bag.python.org>
Author: raymond.hettinger
Date: Mon Oct 8 11:14:28 2007
New Revision: 58370
Modified:
python/trunk/Doc/library/collections.rst
python/trunk/Lib/collections.py
python/trunk/Lib/test/test_collections.py
Log:
Add comments to NamedTuple code.
Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases).
Improve the error message in the case of a SyntaxError (caused by a duplicate field name).
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Mon Oct 8 11:14:28 2007
@@ -363,9 +363,11 @@
helpful docstring (with typename and fieldnames) and a helpful :meth:`__repr__`
method which lists the tuple contents in a ``name=value`` format.
- The *fieldnames* are specified in a single string with each fieldname separated by
- a space and/or comma. Any valid Python identifier may be used for a fieldname
- except for names starting and ending with double underscores.
+ The *fieldnames* are a single string with each fieldname separated by a space
+ and/or comma (for example "x y" or "x, y"). Alternately, the *fieldnames*
+ can be specified as list or tuple of strings. Any valid Python identifier
+ may be used for a fieldname except for names starting and ending with double
+ underscores.
If *verbose* is true, will print the class definition.
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Mon Oct 8 11:14:28 2007
@@ -4,7 +4,7 @@
from operator import itemgetter as _itemgetter
import sys as _sys
-def NamedTuple(typename, s, verbose=False):
+def NamedTuple(typename, field_names, verbose=False):
"""Returns a new subclass of tuple with named fields.
>>> Point = NamedTuple('Point', 'x y')
@@ -28,11 +28,16 @@
"""
- field_names = tuple(s.replace(',', ' ').split()) # names separated by spaces and/or commas
+ # Parse and validate the field names
+ if isinstance(field_names, basestring):
+ field_names = s.replace(',', ' ').split() # names separated by spaces and/or commas
+ field_names = tuple(field_names)
if not ''.join((typename,) + field_names).replace('_', '').isalnum():
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
if any(name.startswith('__') and name.endswith('__') for name in field_names):
raise ValueError('Field names cannot start and end with double underscores')
+
+ # Create and fill-in the class template
argtxt = repr(field_names).replace("'", "")[1:-1] # tuple repr without parens or quotes
reprtxt = ', '.join('%s=%%r' % name for name in field_names)
template = '''class %(typename)s(tuple):
@@ -53,11 +58,21 @@
template += ' %s = property(itemgetter(%d))\n' % (name, i)
if verbose:
print template
+
+ # Execute the template string in a temporary namespace
m = dict(itemgetter=_itemgetter)
- exec template in m
+ try:
+ exec template in m
+ except SyntaxError, e:
+ raise SyntaxError(e.message + ':\n' + template)
result = m[typename]
+
+ # For pickling to work, the __module__ variable needs to be set to the frame
+ # where the named tuple is created. Bypass this step in enviroments where
+ # sys._getframe is not defined (Jython for example).
if hasattr(_sys, '_getframe'):
result.__module__ = _sys._getframe(1).f_globals['__name__']
+
return result
Modified: python/trunk/Lib/test/test_collections.py
==============================================================================
--- python/trunk/Lib/test/test_collections.py (original)
+++ python/trunk/Lib/test/test_collections.py Mon Oct 8 11:14:28 2007
@@ -40,6 +40,11 @@
p = Point(x=11, y=22)
self.assertEqual(repr(p), 'Point(x=11, y=22)')
+ # verify that fieldspec can be a non-string sequence
+ Point = NamedTuple('Point', ('x', 'y'))
+ p = Point(x=11, y=22)
+ self.assertEqual(repr(p), 'Point(x=11, y=22)')
+
def test_tupleness(self):
Point = NamedTuple('Point', 'x y')
p = Point(11, 22)
From python-checkins at python.org Mon Oct 8 11:56:29 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Mon, 8 Oct 2007 11:56:29 +0200 (CEST)
Subject: [Python-checkins] r58371 - python/trunk/Doc/library/collections.rst
Message-ID: <20071008095629.E7F961E4006@bag.python.org>
Author: raymond.hettinger
Date: Mon Oct 8 11:56:29 2007
New Revision: 58371
Modified:
python/trunk/Doc/library/collections.rst
Log:
Missed a line in the docs
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Mon Oct 8 11:56:29 2007
@@ -465,7 +465,7 @@
('x', 'y')
>>> Color = NamedTuple('Color', 'red green blue')
- >>> Pixel = NamedTuple('Pixel', ' '.join(Point.__fields__ + Color.__fields__))
+ >>> Pixel = NamedTuple('Pixel', Point.__fields__ + Color.__fields__)
>>> Pixel(11, 22, 128, 255, 0)
Pixel(x=11, y=22, red=128, green=255, blue=0)'
From python-checkins at python.org Mon Oct 8 12:11:51 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Mon, 8 Oct 2007 12:11:51 +0200 (CEST)
Subject: [Python-checkins] r58372 - python/trunk/Lib/collections.py
Message-ID: <20071008101151.CA3F01E4018@bag.python.org>
Author: raymond.hettinger
Date: Mon Oct 8 12:11:51 2007
New Revision: 58372
Modified:
python/trunk/Lib/collections.py
Log:
Better variable names
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Mon Oct 8 12:11:51 2007
@@ -30,7 +30,7 @@
# Parse and validate the field names
if isinstance(field_names, basestring):
- field_names = s.replace(',', ' ').split() # names separated by spaces and/or commas
+ field_names = field_names.replace(',', ' ').split() # names separated by whitespace and/or commas
field_names = tuple(field_names)
if not ''.join((typename,) + field_names).replace('_', '').isalnum():
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
@@ -60,12 +60,12 @@
print template
# Execute the template string in a temporary namespace
- m = dict(itemgetter=_itemgetter)
+ namespace = dict(itemgetter=_itemgetter)
try:
- exec template in m
+ exec template in namespace
except SyntaxError, e:
raise SyntaxError(e.message + ':\n' + template)
- result = m[typename]
+ result = namespace[typename]
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in enviroments where
From python-checkins at python.org Mon Oct 8 13:48:07 2007
From: python-checkins at python.org (phillip.eby)
Date: Mon, 8 Oct 2007 13:48:07 +0200 (CEST)
Subject: [Python-checkins] r58373 -
sandbox/trunk/setuptools/setuptools/command/easy_install.py
Message-ID: <20071008114807.5436A1E4006@bag.python.org>
Author: phillip.eby
Date: Mon Oct 8 13:48:07 2007
New Revision: 58373
Modified:
sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
Prevent --help-commands and other junk from showing under
Python 2.5 when running "easy_install" directly.
Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py (original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py Mon Oct 8 13:48:07 2007
@@ -1661,6 +1661,7 @@
distutils.core.gen_usage = old_gen_usage
class DistributionWithoutHelpCommands(Distribution):
+ common_usage = ""
def _show_help(self,*args,**kw):
with_ei_usage(lambda: Distribution._show_help(self,*args,**kw))
@@ -1678,4 +1679,3 @@
-
From python-checkins at python.org Mon Oct 8 13:49:52 2007
From: python-checkins at python.org (phillip.eby)
Date: Mon, 8 Oct 2007 13:49:52 +0200 (CEST)
Subject: [Python-checkins] r58374 - in sandbox/branches/setuptools-0.6:
EasyInstall.txt setuptools/command/easy_install.py
Message-ID: <20071008114952.63D341E4006@bag.python.org>
Author: phillip.eby
Date: Mon Oct 8 13:49:52 2007
New Revision: 58374
Modified:
sandbox/branches/setuptools-0.6/EasyInstall.txt
sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py
Log:
Prevent ``--help-commands`` and other junk from showing under Python 2.5
when running ``easy_install --help``. (backport from trunk)
Modified: sandbox/branches/setuptools-0.6/EasyInstall.txt
==============================================================================
--- sandbox/branches/setuptools-0.6/EasyInstall.txt (original)
+++ sandbox/branches/setuptools-0.6/EasyInstall.txt Mon Oct 8 13:49:52 2007
@@ -1233,6 +1233,10 @@
Release Notes/Change History
============================
+0.6final
+ * Prevent ``--help-commands`` and other junk from showing under Python 2.5
+ when running ``easy_install --help``.
+
0.6c7
* ``ftp:`` download URLs now work correctly.
Modified: sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py (original)
+++ sandbox/branches/setuptools-0.6/setuptools/command/easy_install.py Mon Oct 8 13:49:52 2007
@@ -1661,6 +1661,7 @@
distutils.core.gen_usage = old_gen_usage
class DistributionWithoutHelpCommands(Distribution):
+ common_usage = ""
def _show_help(self,*args,**kw):
with_ei_usage(lambda: Distribution._show_help(self,*args,**kw))
@@ -1678,4 +1679,3 @@
-
From python-checkins at python.org Mon Oct 8 16:12:47 2007
From: python-checkins at python.org (georg.brandl)
Date: Mon, 8 Oct 2007 16:12:47 +0200 (CEST)
Subject: [Python-checkins] r58376 - python/trunk/Doc/c-api/abstract.rst
python/trunk/Doc/c-api/newtypes.rst
Message-ID: <20071008141247.A10071E401B@bag.python.org>
Author: georg.brandl
Date: Mon Oct 8 16:12:47 2007
New Revision: 58376
Modified:
python/trunk/Doc/c-api/abstract.rst
python/trunk/Doc/c-api/newtypes.rst
Log:
#1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.
No need to merge this to py3k!
Modified: python/trunk/Doc/c-api/abstract.rst
==============================================================================
--- python/trunk/Doc/c-api/abstract.rst (original)
+++ python/trunk/Doc/c-api/abstract.rst Mon Oct 8 16:12:47 2007
@@ -624,6 +624,13 @@
&o2)`` is equivalent to the Python statement ``o1, o2 = coerce(o1, o2)``.
+.. cfunction:: int PyNumber_CoerceEx(PyObject **p1, PyObject **p2)
+
+ This function is similar to :cfunc:`PyNumber_Coerce`, except that it returns
+ ``1`` when the conversion is not possible and when no error is raised.
+ Reference counts are still not increased in this case.
+
+
.. cfunction:: PyObject* PyNumber_Int(PyObject *o)
.. index:: builtin: int
Modified: python/trunk/Doc/c-api/newtypes.rst
==============================================================================
--- python/trunk/Doc/c-api/newtypes.rst (original)
+++ python/trunk/Doc/c-api/newtypes.rst Mon Oct 8 16:12:47 2007
@@ -609,17 +609,34 @@
This field is inherited by subtypes.
-.. cmember:: PyNumberMethods *tp_as_number;
+.. cmember:: PyNumberMethods* tp_as_number
- XXX
+ Pointer to an additional structure that contains fields relevant only to
+ objects which implement the number protocol. These fields are documented in
+ :ref:`number-structs`.
+
+ The :attr:`tp_as_number` field is not inherited, but the contained fields are
+ inherited individually.
+
+
+.. cmember:: PySequenceMethods* tp_as_sequence
+
+ Pointer to an additional structure that contains fields relevant only to
+ objects which implement the sequence protocol. These fields are documented
+ in :ref:`sequence-structs`.
+
+ The :attr:`tp_as_sequence` field is not inherited, but the contained fields
+ are inherited individually.
-.. cmember:: PySequenceMethods *tp_as_sequence;
- XXX
+.. cmember:: PyMappingMethods* tp_as_mapping
-.. cmember:: PyMappingMethods *tp_as_mapping;
+ Pointer to an additional structure that contains fields relevant only to
+ objects which implement the mapping protocol. These fields are documented in
+ :ref:`mapping-structs`.
- XXX
+ The :attr:`tp_as_mapping` field is not inherited, but the contained fields
+ are inherited individually.
.. cmember:: hashfunc PyTypeObject.tp_hash
@@ -1431,28 +1448,127 @@
of the library.
+.. _number-structs:
+
+Number Object Structures
+========================
+
+.. sectionauthor:: Amaury Forgeot d'Arc
+
+
+.. ctype:: PyNumberMethods
+
+ This structure holds pointers to the functions which an object uses to
+ implement the number protocol. Almost every function below is used by the
+ function of similar name documented in the :ref:`number` section.
+
+ Here is the structure definition::
+
+ typedef struct {
+ binaryfunc nb_add;
+ binaryfunc nb_subtract;
+ binaryfunc nb_multiply;
+ binaryfunc nb_remainder;
+ binaryfunc nb_divmod;
+ ternaryfunc nb_power;
+ unaryfunc nb_negative;
+ unaryfunc nb_positive;
+ unaryfunc nb_absolute;
+ inquiry nb_nonzero; /* Used by PyObject_IsTrue */
+ unaryfunc nb_invert;
+ binaryfunc nb_lshift;
+ binaryfunc nb_rshift;
+ binaryfunc nb_and;
+ binaryfunc nb_xor;
+ binaryfunc nb_or;
+ coercion nb_coerce; /* Used by the coerce() funtion */
+ unaryfunc nb_int;
+ unaryfunc nb_long;
+ unaryfunc nb_float;
+ unaryfunc nb_oct;
+ unaryfunc nb_hex;
+
+ /* Added in release 2.0 */
+ binaryfunc nb_inplace_add;
+ binaryfunc nb_inplace_subtract;
+ binaryfunc nb_inplace_multiply;
+ binaryfunc nb_inplace_remainder;
+ ternaryfunc nb_inplace_power;
+ binaryfunc nb_inplace_lshift;
+ binaryfunc nb_inplace_rshift;
+ binaryfunc nb_inplace_and;
+ binaryfunc nb_inplace_xor;
+ binaryfunc nb_inplace_or;
+
+ /* Added in release 2.2 */
+ binaryfunc nb_floor_divide;
+ binaryfunc nb_true_divide;
+ binaryfunc nb_inplace_floor_divide;
+ binaryfunc nb_inplace_true_divide;
+
+ /* Added in release 2.5 */
+ unaryfunc nb_index;
+ } PyNumberMethods;
+
+
+Binary and ternary functions may receive different kinds of arguments, depending
+on the flag bit :const:`Py_TPFLAGS_CHECKTYPES`:
+
+- If :const:`Py_TPFLAGS_CHECKTYPES` is not set, the function arguments are
+ guaranteed to be of the object's type; the caller is responsible for calling
+ the coercion method specified by the :attr:`nb_coerce` member to convert the
+ arguments:
+
+ .. cmember:: coercion PyNumberMethods.nb_coerce
+
+ This function is used by :cfunc:`PyNumber_CoerceEx` and has the same
+ signature. The first argument is always a pointer to an object of the
+ defined type. If the conversion to a common "larger" type is possible, the
+ function replaces the pointers with new references to the converted objects
+ and returns ``0``. If the conversion is not possible, the function returns
+ ``1``. If an error condition is set, it will return ``-1``.
+
+- If the :const:`Py_TPFLAGS_CHECKTYPES` flag is set, binary and ternary
+ functions must check the type of all their operands, and implement the
+ necessary conversions (at least one of the operands is an instance of the
+ defined type). This is the recommended way; with Python 3.0 coercion will
+ disappear completely.
+
+If the operation is not defined for the given operands, binary and ternary
+functions must return ``Py_NotImplemented``, if another error occurred they must
+return ``NULL`` and set an exception.
+
+
.. _mapping-structs:
Mapping Object Structures
=========================
+.. sectionauthor:: Amaury Forgeot d'Arc
+
.. ctype:: PyMappingMethods
- Structure used to hold pointers to the functions used to implement the mapping
- protocol for an extension type.
+ This structure holds pointers to the functions which an object uses to
+ implement the mapping protocol. It has three members:
+.. cmember:: lenfunc PyMappingMethods.mp_length
-.. _number-structs:
+ This function is used by :cfunc:`PyMapping_Length` and
+ :cfunc:`PyObject_Size`, and has the same signature. This slot may be set to
+ *NULL* if the object has no defined length.
-Number Object Structures
-========================
+.. cmember:: binaryfunc PyMappingMethods.mp_subscript
+ This function is used by :cfunc:`PyObject_GetItem` and has the same
+ signature. This slot must be filled for the :cfunc:`PyMapping_Check`
+ function to return ``1``, it can be *NULL* otherwise.
-.. ctype:: PyNumberMethods
+.. cmember:: objobjargproc PyMappingMethods.mp_ass_subscript
- Structure used to hold pointers to the functions an extension type uses to
- implement the number protocol.
+ This function is used by :cfunc:`PyObject_SetItem` and has the same
+ signature. If this slot is *NULL*, the object does not support item
+ assignment.
.. _sequence-structs:
@@ -1460,12 +1576,68 @@
Sequence Object Structures
==========================
+.. sectionauthor:: Amaury Forgeot d'Arc
+
.. ctype:: PySequenceMethods
- Structure used to hold pointers to the functions which an object uses to
+ This structure holds pointers to the functions which an object uses to
implement the sequence protocol.
+.. cmember:: lenfunc PySequenceMethods.sq_length
+
+ This function is used by :cfunc:`PySequence_Size` and :cfunc:`PyObject_Size`,
+ and has the same signature.
+
+.. cmember:: binaryfunc PySequenceMethods.sq_concat
+
+ This function is used by :cfunc:`PySequence_Concat` and has the same
+ signature. It is also used by the `+` operator, after trying the numeric
+ addition via the :attr:`tp_as_number.nb_add` slot.
+
+.. cmember:: ssizeargfunc PySequenceMethods.sq_repeat
+
+ This function is used by :cfunc:`PySequence_Repeat` and has the same
+ signature. It is also used by the `*` operator, after trying numeric
+ multiplication via the :attr:`tp_as_number.nb_mul` slot.
+
+.. cmember:: ssizeargfunc PySequenceMethods.sq_item
+
+ This function is used by :cfunc:`PySequence_GetItem` and has the same
+ signature. This slot must be filled for the :cfunc:`PySequence_Check`
+ function to return ``1``, it can be *NULL* otherwise.
+
+ Negative indexes are handled as follows: if the :attr:`sq_length` slot is
+ filled, it is called and the sequence length is used to compute a positive
+ index which is passed to :attr:`sq_item`. If :attr:`sq_length` is *NULL*,
+ the index is passed as is to the function.
+
+.. cmember:: ssizeobjargproc PySequenceMethods.sq_ass_item
+
+ This function is used by :cfunc:`PySequence_SetItem` and has the same
+ signature. This slot may be left to *NULL* if the object does not support
+ item assignment.
+
+.. cmember:: objobjproc PySequenceMethods.sq_contains
+
+ This function may be used by :cfunc:`PySequence_Contains` and has the same
+ signature. This slot may be left to *NULL*, in this case
+ :cfunc:`PySequence_Contains` simply traverses the sequence until it finds a
+ match.
+
+.. cmember:: binaryfunc PySequenceMethods.sq_inplace_concat
+
+ This function is used by :cfunc:`PySequence_InPlaceConcat` and has the same
+ signature. It should modify its first operand, and return it.
+
+.. cmember:: ssizeargfunc PySequenceMethods.sq_inplace_repeat
+
+ This function is used by :cfunc:`PySequence_InPlaceRepeat` and has the same
+ signature. It should modify its first operand, and return it.
+
+.. XXX need to explain precedence between mapping and sequence
+.. XXX explains when to implement the sq_inplace_* slots
+
.. _buffer-structs:
From python-checkins at python.org Mon Oct 8 21:39:46 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 21:39:46 +0200 (CEST)
Subject: [Python-checkins] r58377 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008193947.0C6981E4007@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 21:39:46 2007
New Revision: 58377
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Skip the s-prefix of str8 objects before writing the quoted string.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 21:39:46 2007
@@ -992,14 +992,13 @@
save_string(PicklerObject *self, PyObject *args, int doput)
{
int size, len;
- PyObject *repr = 0;
+ PyObject *repr = NULL;
if ((size = PyString_Size(args)) < 0)
return -1;
if (!self->bin) {
char *repr_str;
-
static char string = STRING;
if (!(repr = PyObject_Repr(args)))
@@ -1012,7 +1011,10 @@
if (self->write_func(self, &string, 1) < 0)
goto error;
- if (self->write_func(self, repr_str, len) < 0)
+ /* +1 to skip the repr string prefix.
+ XXX Perhaps adding the quotes around the string manually would be
+ XXX better, and less likely to break? */
+ if (self->write_func(self, repr_str + 1, len - 1) < 0)
goto error;
if (self->write_func(self, "\n", 1) < 0)
From python-checkins at python.org Mon Oct 8 22:13:35 2007
From: python-checkins at python.org (alexandre.vassalotti)
Date: Mon, 8 Oct 2007 22:13:35 +0200 (CEST)
Subject: [Python-checkins] r58379 -
python/branches/alex-py3k/Modules/_picklemodule.c
Message-ID: <20071008201335.6AFC31E4011@bag.python.org>
Author: alexandre.vassalotti
Date: Mon Oct 8 22:13:35 2007
New Revision: 58379
Modified:
python/branches/alex-py3k/Modules/_picklemodule.c
Log:
Remove obsolete comment.
Remove custom __str__ implementation from PickleError.
Modified: python/branches/alex-py3k/Modules/_picklemodule.c
==============================================================================
--- python/branches/alex-py3k/Modules/_picklemodule.c (original)
+++ python/branches/alex-py3k/Modules/_picklemodule.c Mon Oct 8 22:13:35 2007
@@ -4402,7 +4402,7 @@
static int
init_stuff(PyObject *module_dict)
{
- PyObject *copy_reg, *t, *r;
+ PyObject *copy_reg;
INIT_STR(__class__);
INIT_STR(__dict__);
@@ -4416,8 +4416,6 @@
if (!copy_reg)
return -1;
- /* This is special because we want to use a different
- * one in restricted mode. */
dispatch_table = PyObject_GetAttrString(copy_reg, "dispatch_table");
if (!dispatch_table)
return -1;
@@ -4449,21 +4447,10 @@
*/
PyObject_GC_UnTrack(two_tuple);
- if (!(t = PyDict_New()))
- return -1;
- if (!(r = PyRun_String(
- "def __str__(self):\n"
- " return self.args and ('%s' % self.args[0]) or ''\n",
- Py_file_input, module_dict, t)))
- return -1;
- Py_DECREF(r);
-
- PickleError = PyErr_NewException("pickle.PickleError", NULL, t);
+ PickleError = PyErr_NewException("pickle.PickleError", NULL, NULL);
if (!PickleError)
return -1;
- Py_DECREF(t);
-
PicklingError = PyErr_NewException("pickle.PicklingError",
PickleError, NULL);
if (!PicklingError)
From python-checkins at python.org Mon Oct 8 23:26:58 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Mon, 8 Oct 2007 23:26:58 +0200 (CEST)
Subject: [Python-checkins] r58380 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py Misc/NEWS
Message-ID: <20071008212658.C046C1E400B@bag.python.org>
Author: raymond.hettinger
Date: Mon Oct 8 23:26:58 2007
New Revision: 58380
Modified:
python/trunk/Doc/library/collections.rst
python/trunk/Lib/collections.py
python/trunk/Lib/test/test_collections.py
python/trunk/Misc/NEWS
Log:
Eliminate camelcase function name
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Mon Oct 8 23:26:58 2007
@@ -12,7 +12,7 @@
This module implements high-performance container datatypes. Currently,
there are two datatypes, :class:`deque` and :class:`defaultdict`, and
-one datatype factory function, :func:`NamedTuple`. Python already
+one datatype factory function, :func:`named_tuple`. Python already
includes built-in containers, :class:`dict`, :class:`list`,
:class:`set`, and :class:`tuple`. In addition, the optional :mod:`bsddb`
module has a :meth:`bsddb.btopen` method that can be used to create in-memory
@@ -25,7 +25,7 @@
Added :class:`defaultdict`.
.. versionchanged:: 2.6
- Added :class:`NamedTuple`.
+ Added :func:`named_tuple`.
.. _deque-objects:
@@ -348,14 +348,14 @@
.. _named-tuple-factory:
-:func:`NamedTuple` Factory Function for Tuples with Named Fields
-----------------------------------------------------------------
+:func:`named_tuple` Factory Function for Tuples with Named Fields
+-----------------------------------------------------------------
Named tuples assign meaning to each position in a tuple and allow for more readable,
self-documenting code. They can be used wherever regular tuples are used, and
they add the ability to access fields by name instead of position index.
-.. function:: NamedTuple(typename, fieldnames, [verbose])
+.. function:: named_tuple(typename, fieldnames, [verbose])
Returns a new tuple subclass named *typename*. The new subclass is used to
create tuple-like objects that have fields accessable by attribute lookup as
@@ -363,22 +363,22 @@
helpful docstring (with typename and fieldnames) and a helpful :meth:`__repr__`
method which lists the tuple contents in a ``name=value`` format.
- The *fieldnames* are a single string with each fieldname separated by a space
- and/or comma (for example "x y" or "x, y"). Alternately, the *fieldnames*
- can be specified as list or tuple of strings. Any valid Python identifier
- may be used for a fieldname except for names starting and ending with double
- underscores.
+ The *fieldnames* are a single string with each fieldname separated by whitespace
+ and/or commas (for example 'x y' or 'x, y'). Alternatively, the *fieldnames*
+ can be specified as a list of strings (such as ['x', 'y']). Any valid
+ Python identifier may be used for a fieldname except for names starting and
+ ending with double underscores.
If *verbose* is true, will print the class definition.
- *NamedTuple* instances do not have per-instance dictionaries, so they are
+ Named tuple instances do not have per-instance dictionaries, so they are
lightweight and require no more memory than regular tuples.
.. versionadded:: 2.6
Example::
- >>> Point = NamedTuple('Point', 'x y', verbose=True)
+ >>> Point = named_tuple('Point', 'x y', verbose=True)
class Point(tuple):
'Point(x, y)'
__slots__ = ()
@@ -410,27 +410,35 @@
Named tuples are especially useful for assigning field names to result tuples returned
by the :mod:`csv` or :mod:`sqlite3` modules::
+ EmployeeRecord = named_tuple('EmployeeRecord', 'name, age, title, department, paygrade')
+
from itertools import starmap
import csv
- EmployeeRecord = NamedTuple('EmployeeRecord', 'name age title department paygrade')
for emp in starmap(EmployeeRecord, csv.reader(open("employees.csv", "rb"))):
print emp.name, emp.title
-When casting a single record to a *NamedTuple*, use the star-operator [#]_ to unpack
+ import sqlite3
+ conn = sqlite3.connect('/companydata')
+ cursor = conn.cursor()
+ cursor.execute('SELECT name, age, title, department, paygrade FROM employees')
+ for emp in starmap(EmployeeRecord, cursor.fetchall()):
+ print emp.name, emp.title
+
+When casting a single record to a named tuple, use the star-operator [#]_ to unpack
the values::
>>> t = [11, 22]
>>> Point(*t) # the star-operator unpacks any iterable object
Point(x=11, y=22)
-When casting a dictionary to a *NamedTuple*, use the double-star-operator::
+When casting a dictionary to a named tuple, use the double-star-operator::
>>> d = {'x': 11, 'y': 22}
>>> Point(**d)
Point(x=11, y=22)
In addition to the methods inherited from tuples, named tuples support
-additonal methods and a read-only attribute.
+two additonal methods and a read-only attribute.
.. method:: somenamedtuple.__asdict__()
@@ -464,8 +472,8 @@
>>> p.__fields__ # view the field names
('x', 'y')
- >>> Color = NamedTuple('Color', 'red green blue')
- >>> Pixel = NamedTuple('Pixel', Point.__fields__ + Color.__fields__)
+ >>> Color = named_tuple('Color', 'red green blue')
+ >>> Pixel = named_tuple('Pixel', Point.__fields__ + Color.__fields__)
>>> Pixel(11, 22, 128, 255, 0)
Pixel(x=11, y=22, red=128, green=255, blue=0)'
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Mon Oct 8 23:26:58 2007
@@ -1,13 +1,13 @@
-__all__ = ['deque', 'defaultdict', 'NamedTuple']
+__all__ = ['deque', 'defaultdict', 'named_tuple']
from _collections import deque, defaultdict
from operator import itemgetter as _itemgetter
import sys as _sys
-def NamedTuple(typename, field_names, verbose=False):
+def named_tuple(typename, field_names, verbose=False):
"""Returns a new subclass of tuple with named fields.
- >>> Point = NamedTuple('Point', 'x y')
+ >>> Point = named_tuple('Point', 'x y')
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
@@ -36,6 +36,10 @@
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
if any(name.startswith('__') and name.endswith('__') for name in field_names):
raise ValueError('Field names cannot start and end with double underscores')
+ if any(name[:1].isdigit() for name in field_names):
+ raise ValueError('Field names cannot start with a number')
+ if len(field_names) != len(set(field_names)):
+ raise ValueError('Encountered duplicate field name')
# Create and fill-in the class template
argtxt = repr(field_names).replace("'", "")[1:-1] # tuple repr without parens or quotes
@@ -83,10 +87,10 @@
if __name__ == '__main__':
# verify that instances can be pickled
from cPickle import loads, dumps
- Point = NamedTuple('Point', 'x, y', True)
+ Point = named_tuple('Point', 'x, y', True)
p = Point(x=10, y=20)
assert p == loads(dumps(p))
import doctest
- TestResults = NamedTuple('TestResults', 'failed attempted')
+ TestResults = named_tuple('TestResults', 'failed attempted')
print TestResults(*doctest.testmod())
Modified: python/trunk/Lib/test/test_collections.py
==============================================================================
--- python/trunk/Lib/test/test_collections.py (original)
+++ python/trunk/Lib/test/test_collections.py Mon Oct 8 23:26:58 2007
@@ -1,23 +1,25 @@
import unittest
from test import test_support
-from collections import NamedTuple
+from collections import named_tuple
class TestNamedTuple(unittest.TestCase):
def test_factory(self):
- Point = NamedTuple('Point', 'x y')
+ Point = named_tuple('Point', 'x y')
self.assertEqual(Point.__name__, 'Point')
self.assertEqual(Point.__doc__, 'Point(x, y)')
self.assertEqual(Point.__slots__, ())
self.assertEqual(Point.__module__, __name__)
self.assertEqual(Point.__getitem__, tuple.__getitem__)
- self.assertRaises(ValueError, NamedTuple, 'abc%', 'def ghi')
- self.assertRaises(ValueError, NamedTuple, 'abc', 'def g%hi')
- self.assertRaises(ValueError, NamedTuple, 'abc', '__def__ ghi')
- NamedTuple('Point0', 'x1 y2') # Verify that numbers are allowed in names
+ self.assertRaises(ValueError, named_tuple, 'abc%', 'def ghi')
+ self.assertRaises(ValueError, named_tuple, 'abc', 'def g%hi')
+ self.assertRaises(ValueError, named_tuple, 'abc', '__def__ ghi')
+ self.assertRaises(ValueError, named_tuple, 'abc', 'def def ghi')
+ self.assertRaises(ValueError, named_tuple, 'abc', '8def 9ghi')
+ named_tuple('Point0', 'x1 y2') # Verify that numbers are allowed in names
def test_instance(self):
- Point = NamedTuple('Point', 'x y')
+ Point = named_tuple('Point', 'x y')
p = Point(11, 22)
self.assertEqual(p, Point(x=11, y=22))
self.assertEqual(p, Point(11, y=22))
@@ -36,17 +38,17 @@
self.assertEqual(p.__asdict__(), dict(x=11, y=22)) # test __dict__ method
# verify that field string can have commas
- Point = NamedTuple('Point', 'x, y')
+ Point = named_tuple('Point', 'x, y')
p = Point(x=11, y=22)
self.assertEqual(repr(p), 'Point(x=11, y=22)')
# verify that fieldspec can be a non-string sequence
- Point = NamedTuple('Point', ('x', 'y'))
+ Point = named_tuple('Point', ('x', 'y'))
p = Point(x=11, y=22)
self.assertEqual(repr(p), 'Point(x=11, y=22)')
def test_tupleness(self):
- Point = NamedTuple('Point', 'x y')
+ Point = named_tuple('Point', 'x y')
p = Point(11, 22)
self.assert_(isinstance(p, tuple))
@@ -66,9 +68,9 @@
def test_odd_sizes(self):
- Zero = NamedTuple('Zero', '')
+ Zero = named_tuple('Zero', '')
self.assertEqual(Zero(), ())
- Dot = NamedTuple('Dot', 'd')
+ Dot = named_tuple('Dot', 'd')
self.assertEqual(Dot(1), (1,))
def test_main(verbose=None):
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Mon Oct 8 23:26:58 2007
@@ -544,7 +544,7 @@
- Added heapq.merge() for merging sorted input streams.
-- Added collections.NamedTuple() for assigning field names to tuples.
+- Added collections.named_tuple() for assigning field names to tuples.
- Added itertools.izip_longest().
From nnorwitz at gmail.com Mon Oct 8 23:50:59 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Mon, 8 Oct 2007 17:50:59 -0400
Subject: [Python-checkins] Python Regression Test Failures opt (1)
Message-ID: <20071008215059.GA18666@python.psfb.org>
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
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-34:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
test test_asynchat failed -- errors occurred; run in verbose mode for details
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
[9105 refs]
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7362 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
[506356 refs]
From brett at python.org Tue Oct 9 01:21:42 2007
From: brett at python.org (Brett Cannon)
Date: Mon, 8 Oct 2007 16:21:42 -0700
Subject: [Python-checkins] Python Regression Test Failures opt (1)
In-Reply-To: <20071008215059.GA18666@python.psfb.org>
References: <20071008215059.GA18666@python.psfb.org>
Message-ID:
On 10/8/07, Neal Norwitz wrote:
[SNIP]
> test_asynchat
> WARNING: failed to listen on port 54322, trying another
> WARNING: failed to listen on port 9907, trying another
> WARNING: failed to listen on port 10243, trying another
> WARNING: failed to listen on port 32999, trying another
> Exception in thread Thread-34:
> Traceback (most recent call last):
> File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
> self.run()
> File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
> PORT = test_support.bind_port(sock, HOST, PORT)
> File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
> raise TestFailed('unable to find port to listen on')
> TestFailed: unable to find port to listen on
Shouldn't the test be skipped instead of considered a failure? It
isn't asynchat's fault that the test code can't find an open port.
-Brett
From python-checkins at python.org Tue Oct 9 01:23:04 2007
From: python-checkins at python.org (andrew.kuchling)
Date: Tue, 9 Oct 2007 01:23:04 +0200 (CEST)
Subject: [Python-checkins] r58381 - python/trunk/Doc/whatsnew/2.6.rst
Message-ID: <20071008232304.0B2B91E4008@bag.python.org>
Author: andrew.kuchling
Date: Tue Oct 9 01:23:03 2007
New Revision: 58381
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Log:
Eliminate camelcase function name
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Tue Oct 9 01:23:03 2007
@@ -515,11 +515,11 @@
by module name. Consult the :file:`Misc/NEWS` file in the source tree for a more
complete list of changes, or look through the CVS logs for all the details.
-* A new data type in the :mod:`collections` module: :class:`NamedTuple(typename,
+* A new data type in the :mod:`collections` module: :class:`named_tuple(typename,
fieldnames)` is a factory function that creates subclasses of the standard tuple
whose fields are accessible by name as well as index. For example::
- >>> var_type = collections.NamedTuple('variable',
+ >>> var_type = collections.named_tuple('variable',
... 'id name type size')
# Names are separated by spaces or commas.
# 'id, name, type, size' would also work.
From nnorwitz at gmail.com Tue Oct 9 01:31:02 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Mon, 8 Oct 2007 16:31:02 -0700
Subject: [Python-checkins] Python Regression Test Failures opt (1)
In-Reply-To:
References: <20071008215059.GA18666@python.psfb.org>
Message-ID:
On 10/8/07, Brett Cannon wrote:
> On 10/8/07, Neal Norwitz wrote:
>
> [SNIP]
> > test_asynchat
> > WARNING: failed to listen on port 54322, trying another
> > WARNING: failed to listen on port 9907, trying another
> > WARNING: failed to listen on port 10243, trying another
> > WARNING: failed to listen on port 32999, trying another
> > Exception in thread Thread-34:
> > Traceback (most recent call last):
> > File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
> > self.run()
> > File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
> > PORT = test_support.bind_port(sock, HOST, PORT)
> > File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
> > raise TestFailed('unable to find port to listen on')
> > TestFailed: unable to find port to listen on
>
> Shouldn't the test be skipped instead of considered a failure? It
> isn't asynchat's fault that the test code can't find an open port.
It may not be asynchat's fault (haven't looked), but there is another
test (or asynchat) that isn't cleaning up after itself. I have a fix
for this, I just need to check it in. Probably not tonight. Maybe
tomorrow. It's general, so will fix any test that uses the bind from
test_support.
n
From python-checkins at python.org Tue Oct 9 03:36:28 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Tue, 9 Oct 2007 03:36:28 +0200 (CEST)
Subject: [Python-checkins] r58382 - python/trunk/Lib/collections.py
Message-ID: <20071009013628.EFCFF1E4008@bag.python.org>
Author: raymond.hettinger
Date: Tue Oct 9 03:36:23 2007
New Revision: 58382
Modified:
python/trunk/Lib/collections.py
Log:
Make the error messages more specific
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Tue Oct 9 03:36:23 2007
@@ -34,12 +34,15 @@
field_names = tuple(field_names)
if not ''.join((typename,) + field_names).replace('_', '').isalnum():
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
- if any(name.startswith('__') and name.endswith('__') for name in field_names):
- raise ValueError('Field names cannot start and end with double underscores')
- if any(name[:1].isdigit() for name in field_names):
- raise ValueError('Field names cannot start with a number')
- if len(field_names) != len(set(field_names)):
- raise ValueError('Encountered duplicate field name')
+ seen_names = set()
+ for name in field_names:
+ if name.startswith('__') and name.endswith('__'):
+ raise ValueError('Field names cannot start and end with double underscores: %s' % name)
+ if name[:1].isdigit():
+ raise ValueError('Field names cannot start with a number: %s' % name)
+ if name in seen_names:
+ raise ValueError('Encountered duplicate field name: %s' % name)
+ seen_names.add(name)
# Create and fill-in the class template
argtxt = repr(field_names).replace("'", "")[1:-1] # tuple repr without parens or quotes
From buildbot at python.org Tue Oct 9 04:44:28 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 02:44:28 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI trunk
Message-ID: <20071009024428.433121E4008@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%20trunk/builds/16
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: andrew.kuchling,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-armeabi/trunk.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 321, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 9 05:15:02 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 03:15:02 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux trunk
Message-ID: <20071009031502.B320B1E4008@bag.python.org>
The Buildbot has detected a new failure of ARM Linux trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20trunk/builds/17
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: andrew.kuchling,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-arm/trunk.klose-linux-arm/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/pybot/buildarea-arm/trunk.klose-linux-arm/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pybot/buildarea-arm/trunk.klose-linux-arm/build/Lib/test/test_socket_ssl.py", line 84, in listener
s.accept()
File "/home/pybot/buildarea-arm/trunk.klose-linux-arm/build/Lib/socket.py", line 187, in accept
sock, addr = self._sock.accept()
error: [Errno 4] Interrupted system call
make: *** [buildbottest] Aborted
sincerely,
-The Buildbot
From brett at python.org Tue Oct 9 07:57:40 2007
From: brett at python.org (Brett Cannon)
Date: Mon, 8 Oct 2007 22:57:40 -0700
Subject: [Python-checkins] Python Regression Test Failures opt (1)
In-Reply-To:
References: <20071008215059.GA18666@python.psfb.org>
Message-ID:
On 10/8/07, Neal Norwitz wrote:
> On 10/8/07, Brett Cannon wrote:
> > On 10/8/07, Neal Norwitz wrote:
> >
> > [SNIP]
> > > test_asynchat
> > > WARNING: failed to listen on port 54322, trying another
> > > WARNING: failed to listen on port 9907, trying another
> > > WARNING: failed to listen on port 10243, trying another
> > > WARNING: failed to listen on port 32999, trying another
> > > Exception in thread Thread-34:
> > > Traceback (most recent call last):
> > > File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
> > > self.run()
> > > File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
> > > PORT = test_support.bind_port(sock, HOST, PORT)
> > > File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
> > > raise TestFailed('unable to find port to listen on')
> > > TestFailed: unable to find port to listen on
> >
> > Shouldn't the test be skipped instead of considered a failure? It
> > isn't asynchat's fault that the test code can't find an open port.
>
> It may not be asynchat's fault (haven't looked), but there is another
> test (or asynchat) that isn't cleaning up after itself. I have a fix
> for this, I just need to check it in. Probably not tonight. Maybe
> tomorrow. It's general, so will fix any test that uses the bind from
> test_support.
Didn't even know about that function in test_support. Looks like
every use would need a guaranteed closure on that socket. Sounds like
a good use of a context manager to me (but then again I am a big
proponent of context managers instead of setUp/tearDown when
possible).
But since you already have a solution I am not going to worry about
writing a context manager right now. =)
-Brett
From python-checkins at python.org Tue Oct 9 08:02:22 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Tue, 9 Oct 2007 08:02:22 +0200 (CEST)
Subject: [Python-checkins] r58384 - in python/trunk: Modules/_bsddb.c
Modules/bsddb.h setup.py
Message-ID: <20071009060222.1A8401E4009@bag.python.org>
Author: gregory.p.smith
Date: Tue Oct 9 08:02:21 2007
New Revision: 58384
Added:
python/trunk/Modules/bsddb.h
Modified:
python/trunk/Modules/_bsddb.c
python/trunk/setup.py
Log:
Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API
object available as bsddb.db.api. This is based on the patch submitted
by Duncan Grisby here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900
See this thread for additional info:
http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users
It also cleans up the code a little by removing some ifdef/endifs for
python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Tue Oct 9 08:02:21 2007
@@ -87,20 +87,15 @@
#include /* for offsetof() */
#include
-#include
-/* --------------------------------------------------------------------- */
-/* Various macro definitions */
+#define COMPILING_BSDDB_C
+#include "bsddb.h"
+#undef COMPILING_BSDDB_C
-/* 40 = 4.0, 33 = 3.3; this will break if the second number is > 9 */
-#define DBVER (DB_VERSION_MAJOR * 10 + DB_VERSION_MINOR)
-#if DB_VERSION_MINOR > 9
-#error "eek! DBVER can't handle minor versions > 9"
-#endif
-
-#define PY_BSDDB_VERSION "4.5.0"
static char *rcs_id = "$Id$";
+/* --------------------------------------------------------------------- */
+/* Various macro definitions */
#if (PY_VERSION_HEX < 0x02050000)
typedef int Py_ssize_t;
@@ -196,107 +191,15 @@
/* --------------------------------------------------------------------- */
/* Structure definitions */
-#if PYTHON_API_VERSION >= 1010 /* python >= 2.1 support weak references */
-#define HAVE_WEAKREF
-#else
-#undef HAVE_WEAKREF
-#endif
-
-/* if Python >= 2.1 better support warnings */
-#if PYTHON_API_VERSION >= 1010
-#define HAVE_WARNINGS
-#else
-#undef HAVE_WARNINGS
+#if PYTHON_API_VERSION < 1010
+#error "Python 2.1 or later required"
#endif
-#if PYTHON_API_VERSION <= 1007
- /* 1.5 compatibility */
-#define PyObject_New PyObject_NEW
-#define PyObject_Del PyMem_DEL
-#endif
-
-struct behaviourFlags {
- /* What is the default behaviour when DB->get or DBCursor->get returns a
- DB_NOTFOUND || DB_KEYEMPTY error? Return None or raise an exception? */
- unsigned int getReturnsNone : 1;
- /* What is the default behaviour for DBCursor.set* methods when DBCursor->get
- * returns a DB_NOTFOUND || DB_KEYEMPTY error? Return None or raise? */
- unsigned int cursorSetReturnsNone : 1;
-};
+/* Defaults for moduleFlags in DBEnvObject and DBObject. */
#define DEFAULT_GET_RETURNS_NONE 1
#define DEFAULT_CURSOR_SET_RETURNS_NONE 1 /* 0 in pybsddb < 4.2, python < 2.4 */
-typedef struct {
- PyObject_HEAD
- DB_ENV* db_env;
- u_int32_t flags; /* saved flags from open() */
- int closed;
- struct behaviourFlags moduleFlags;
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBEnvObject;
-
-
-typedef struct {
- PyObject_HEAD
- DB* db;
- DBEnvObject* myenvobj; /* PyObject containing the DB_ENV */
- u_int32_t flags; /* saved flags from open() */
- u_int32_t setflags; /* saved flags from set_flags() */
- int haveStat;
- struct behaviourFlags moduleFlags;
-#if (DBVER >= 33)
- PyObject* associateCallback;
- PyObject* btCompareCallback;
- int primaryDBType;
-#endif
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBObject;
-
-
-typedef struct {
- PyObject_HEAD
- DBC* dbc;
- DBObject* mydb;
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBCursorObject;
-
-
-typedef struct {
- PyObject_HEAD
- DB_TXN* txn;
- PyObject *env;
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBTxnObject;
-
-
-typedef struct {
- PyObject_HEAD
- DB_LOCK lock;
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBLockObject;
-
-#if (DBVER >= 43)
-typedef struct {
- PyObject_HEAD
- DB_SEQUENCE* sequence;
- DBObject* mydb;
-#ifdef HAVE_WEAKREF
- PyObject *in_weakreflist; /* List of weak references */
-#endif
-} DBSequenceObject;
-staticforward PyTypeObject DBSequence_Type;
-#endif
staticforward PyTypeObject DB_Type, DBCursor_Type, DBEnv_Type, DBTxn_Type, DBLock_Type;
@@ -545,12 +448,7 @@
strncat(errTxt, _db_errmsg, bytes_left);
}
_db_errmsg[0] = 0;
-#ifdef HAVE_WARNINGS
exceptionRaised = PyErr_Warn(PyExc_RuntimeWarning, errTxt);
-#else
- fprintf(stderr, errTxt);
- fprintf(stderr, "\n");
-#endif
#else /* do an exception instead */
errObj = DBIncompleteError;
@@ -804,9 +702,7 @@
self->btCompareCallback = NULL;
self->primaryDBType = 0;
#endif
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
/* keep a reference to our python DBEnv object */
if (arg) {
@@ -857,19 +753,15 @@
MYDB_BEGIN_ALLOW_THREADS;
self->db->close(self->db, 0);
MYDB_END_ALLOW_THREADS;
-#ifdef HAVE_WARNINGS
} else {
PyErr_Warn(PyExc_RuntimeWarning,
"DB could not be closed in destructor: DBEnv already closed");
-#endif
}
self->db = NULL;
}
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
if (self->myenvobj) {
Py_DECREF(self->myenvobj);
self->myenvobj = NULL;
@@ -897,9 +789,7 @@
self->dbc = dbc;
self->mydb = db;
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
Py_INCREF(self->mydb);
return self;
}
@@ -910,11 +800,9 @@
{
int err;
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
if (self->dbc != NULL) {
MYDB_BEGIN_ALLOW_THREADS;
@@ -947,9 +835,7 @@
self->flags = flags;
self->moduleFlags.getReturnsNone = DEFAULT_GET_RETURNS_NONE;
self->moduleFlags.cursorSetReturnsNone = DEFAULT_CURSOR_SET_RETURNS_NONE;
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
MYDB_BEGIN_ALLOW_THREADS;
err = db_env_create(&self->db_env, flags);
@@ -968,11 +854,9 @@
static void
DBEnv_dealloc(DBEnvObject* self)
{
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
if (self->db_env && !self->closed) {
MYDB_BEGIN_ALLOW_THREADS;
@@ -992,9 +876,7 @@
return NULL;
Py_INCREF(myenv);
self->env = (PyObject*)myenv;
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
MYDB_BEGIN_ALLOW_THREADS;
#if (DBVER >= 40)
@@ -1015,13 +897,10 @@
static void
DBTxn_dealloc(DBTxnObject* self)
{
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
-#ifdef HAVE_WARNINGS
if (self->txn) {
/* it hasn't been finalized, abort it! */
MYDB_BEGIN_ALLOW_THREADS;
@@ -1034,7 +913,6 @@
PyErr_Warn(PyExc_RuntimeWarning,
"DBTxn aborted in destructor. No prior commit() or abort().");
}
-#endif
Py_DECREF(self->env);
PyObject_Del(self);
@@ -1049,9 +927,7 @@
DBLockObject* self = PyObject_New(DBLockObject, &DBLock_Type);
if (self == NULL)
return NULL;
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
MYDB_BEGIN_ALLOW_THREADS;
#if (DBVER >= 40)
@@ -1073,11 +949,9 @@
static void
DBLock_dealloc(DBLockObject* self)
{
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
/* TODO: is this lock held? should we release it? */
PyObject_Del(self);
@@ -1094,9 +968,7 @@
return NULL;
Py_INCREF(mydb);
self->mydb = mydb;
-#ifdef HAVE_WEAKREF
self->in_weakreflist = NULL;
-#endif
MYDB_BEGIN_ALLOW_THREADS;
@@ -1115,11 +987,9 @@
static void
DBSequence_dealloc(DBSequenceObject* self)
{
-#ifdef HAVE_WEAKREF
if (self->in_weakreflist != NULL) {
PyObject_ClearWeakRefs((PyObject *) self);
}
-#endif
Py_DECREF(self->mydb);
PyObject_Del(self);
@@ -1201,13 +1071,7 @@
Py_ssize_t size;
CLEAR_DBT(*secKey);
-#if PYTHON_API_VERSION <= 1007
- /* 1.5 compatibility */
- size = PyString_Size(result);
- data = PyString_AsString(result);
-#else
PyString_AsStringAndSize(result, &data, &size);
-#endif
secKey->flags = DB_DBT_APPMALLOC; /* DB will free */
secKey->data = malloc(size); /* TODO, check this */
if (secKey->data) {
@@ -1346,7 +1210,6 @@
}
-#if (DBVER >= 32)
static PyObject*
_DB_consume(DBObject* self, PyObject* args, PyObject* kwargs, int consume_flag)
{
@@ -1414,8 +1277,6 @@
{
return _DB_consume(self, args, kwargs, DB_CONSUME_WAIT);
}
-#endif
-
static PyObject*
@@ -2423,7 +2284,6 @@
}
-#if (DBVER >= 32)
static PyObject*
DB_set_q_extentsize(DBObject* self, PyObject* args)
{
@@ -2440,7 +2300,6 @@
RETURN_IF_ERR();
RETURN_NONE();
}
-#endif
static PyObject*
DB_stat(DBObject* self, PyObject* args, PyObject* kwargs)
@@ -4025,7 +3884,6 @@
}
-#if (DBVER >= 32)
static PyObject*
DBEnv_set_flags(DBEnvObject* self, PyObject* args)
{
@@ -4042,7 +3900,6 @@
RETURN_IF_ERR();
RETURN_NONE();
}
-#endif
static PyObject*
@@ -4169,7 +4026,6 @@
#endif
-#if (DBVER >= 32)
static PyObject*
DBEnv_set_lk_max_locks(DBEnvObject* self, PyObject* args)
@@ -4221,8 +4077,6 @@
RETURN_NONE();
}
-#endif
-
static PyObject*
DBEnv_set_mp_mmapsize(DBEnvObject* self, PyObject* args)
@@ -4543,19 +4397,15 @@
MAKE_ENTRY(lastid);
#endif
MAKE_ENTRY(nmodes);
-#if (DBVER >= 32)
MAKE_ENTRY(maxlocks);
MAKE_ENTRY(maxlockers);
MAKE_ENTRY(maxobjects);
MAKE_ENTRY(nlocks);
MAKE_ENTRY(maxnlocks);
-#endif
MAKE_ENTRY(nlockers);
MAKE_ENTRY(maxnlockers);
-#if (DBVER >= 32)
MAKE_ENTRY(nobjects);
MAKE_ENTRY(maxnobjects);
-#endif
MAKE_ENTRY(nrequests);
MAKE_ENTRY(nreleases);
#if (DBVER < 44)
@@ -5143,10 +4993,8 @@
{"associate", (PyCFunction)DB_associate, METH_VARARGS|METH_KEYWORDS},
#endif
{"close", (PyCFunction)DB_close, METH_VARARGS},
-#if (DBVER >= 32)
{"consume", (PyCFunction)DB_consume, METH_VARARGS|METH_KEYWORDS},
{"consume_wait", (PyCFunction)DB_consume_wait, METH_VARARGS|METH_KEYWORDS},
-#endif
{"cursor", (PyCFunction)DB_cursor, METH_VARARGS|METH_KEYWORDS},
{"delete", (PyCFunction)DB_delete, METH_VARARGS|METH_KEYWORDS},
{"fd", (PyCFunction)DB_fd, METH_VARARGS},
@@ -5184,9 +5032,7 @@
{"set_re_len", (PyCFunction)DB_set_re_len, METH_VARARGS},
{"set_re_pad", (PyCFunction)DB_set_re_pad, METH_VARARGS},
{"set_re_source", (PyCFunction)DB_set_re_source, METH_VARARGS},
-#if (DBVER >= 32)
{"set_q_extentsize",(PyCFunction)DB_set_q_extentsize,METH_VARARGS},
-#endif
{"stat", (PyCFunction)DB_stat, METH_VARARGS|METH_KEYWORDS},
{"sync", (PyCFunction)DB_sync, METH_VARARGS},
#if (DBVER >= 33)
@@ -5254,9 +5100,7 @@
{"set_shm_key", (PyCFunction)DBEnv_set_shm_key, METH_VARARGS},
{"set_cachesize", (PyCFunction)DBEnv_set_cachesize, METH_VARARGS},
{"set_data_dir", (PyCFunction)DBEnv_set_data_dir, METH_VARARGS},
-#if (DBVER >= 32)
{"set_flags", (PyCFunction)DBEnv_set_flags, METH_VARARGS},
-#endif
{"set_lg_bsize", (PyCFunction)DBEnv_set_lg_bsize, METH_VARARGS},
{"set_lg_dir", (PyCFunction)DBEnv_set_lg_dir, METH_VARARGS},
{"set_lg_max", (PyCFunction)DBEnv_set_lg_max, METH_VARARGS},
@@ -5267,11 +5111,9 @@
#if (DBVER < 45)
{"set_lk_max", (PyCFunction)DBEnv_set_lk_max, METH_VARARGS},
#endif
-#if (DBVER >= 32)
{"set_lk_max_locks", (PyCFunction)DBEnv_set_lk_max_locks, METH_VARARGS},
{"set_lk_max_lockers", (PyCFunction)DBEnv_set_lk_max_lockers, METH_VARARGS},
{"set_lk_max_objects", (PyCFunction)DBEnv_set_lk_max_objects, METH_VARARGS},
-#endif
{"set_mp_mmapsize", (PyCFunction)DBEnv_set_mp_mmapsize, METH_VARARGS},
{"set_tmp_dir", (PyCFunction)DBEnv_set_tmp_dir, METH_VARARGS},
{"txn_begin", (PyCFunction)DBEnv_txn_begin, METH_VARARGS|METH_KEYWORDS},
@@ -5391,7 +5233,6 @@
0, /*tp_as_sequence*/
&DB_mapping,/*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5403,7 +5244,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
@@ -5424,7 +5264,6 @@
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5436,7 +5275,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBCursorObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
@@ -5457,7 +5295,6 @@
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5469,7 +5306,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBEnvObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
statichere PyTypeObject DBTxn_Type = {
@@ -5489,7 +5325,6 @@
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5501,7 +5336,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBTxnObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
@@ -5522,7 +5356,6 @@
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5534,7 +5367,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBLockObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
#if (DBVER >= 43)
@@ -5555,7 +5387,6 @@
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
-#ifdef HAVE_WEAKREF
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
@@ -5567,7 +5398,6 @@
0, /* tp_clear */
0, /* tp_richcompare */
offsetof(DBSequenceObject, in_weakreflist), /* tp_weaklistoffset */
-#endif
};
#endif
@@ -5649,6 +5479,9 @@
{NULL, NULL} /* sentinel */
};
+/* API structure */
+static BSDDB_api bsddb_api;
+
/* --------------------------------------------------------------------- */
/* Module initialization */
@@ -5669,6 +5502,7 @@
PyObject* pybsddb_version_s = PyString_FromString( PY_BSDDB_VERSION );
PyObject* db_version_s = PyString_FromString( DB_VERSION_STRING );
PyObject* cvsid_s = PyString_FromString( rcs_id );
+ PyObject* py_api;
/* Initialize the type of the new type objects here; doing it here
is required for portability to Windows without requiring C++. */
@@ -5730,9 +5564,7 @@
ADD_INT(d, DB_INIT_LOG);
ADD_INT(d, DB_INIT_MPOOL);
ADD_INT(d, DB_INIT_TXN);
-#if (DBVER >= 32)
ADD_INT(d, DB_JOINENV);
-#endif
ADD_INT(d, DB_RECOVER);
ADD_INT(d, DB_RECOVER_FATAL);
@@ -5753,11 +5585,9 @@
ADD_INT(d, DB_RDWRMASTER);
ADD_INT(d, DB_RDONLY);
ADD_INT(d, DB_TRUNCATE);
-#if (DBVER >= 32)
ADD_INT(d, DB_EXTENT);
ADD_INT(d, DB_CDB_ALLDB);
ADD_INT(d, DB_VERIFY);
-#endif
ADD_INT(d, DB_UPGRADE);
ADD_INT(d, DB_AGGRESSIVE);
@@ -5801,9 +5631,7 @@
ADD_INT(d, DB_LOCK_READ);
ADD_INT(d, DB_LOCK_WRITE);
ADD_INT(d, DB_LOCK_NOWAIT);
-#if (DBVER >= 32)
ADD_INT(d, DB_LOCK_WAIT);
-#endif
ADD_INT(d, DB_LOCK_IWRITE);
ADD_INT(d, DB_LOCK_IREAD);
ADD_INT(d, DB_LOCK_IWR);
@@ -5818,9 +5646,7 @@
ADD_INT(d, DB_LOCK_RECORD);
ADD_INT(d, DB_LOCK_UPGRADE);
-#if (DBVER >= 32)
ADD_INT(d, DB_LOCK_SWITCH);
-#endif
#if (DBVER >= 33)
ADD_INT(d, DB_LOCK_UPGRADE_WRITE);
#endif
@@ -5881,9 +5707,7 @@
ADD_INT(d, DB_COMMIT);
#endif
ADD_INT(d, DB_CONSUME);
-#if (DBVER >= 32)
ADD_INT(d, DB_CONSUME_WAIT);
-#endif
ADD_INT(d, DB_CURRENT);
#if (DBVER >= 33)
ADD_INT(d, DB_FAST_STAT);
@@ -6061,6 +5885,19 @@
#undef MAKE_EX
+ /* Initiliase the C API structure and add it to the module */
+ bsddb_api.db_type = &DB_Type;
+ bsddb_api.dbcursor_type = &DBCursor_Type;
+ bsddb_api.dbenv_type = &DBEnv_Type;
+ bsddb_api.dbtxn_type = &DBTxn_Type;
+ bsddb_api.dblock_type = &DBLock_Type;
+ bsddb_api.dbsequence_type = &DBSequence_Type;
+ bsddb_api.makeDBError = makeDBError;
+
+ py_api = PyCObject_FromVoidPtr((void*)&bsddb_api, NULL);
+ PyDict_SetItemString(d, "api", py_api);
+ Py_DECREF(py_api);
+
/* Check for errors */
if (PyErr_Occurred()) {
PyErr_Print();
Added: python/trunk/Modules/bsddb.h
==============================================================================
--- (empty file)
+++ python/trunk/Modules/bsddb.h Tue Oct 9 08:02:21 2007
@@ -0,0 +1,238 @@
+/*----------------------------------------------------------------------
+ Copyright (c) 1999-2001, Digital Creations, Fredericksburg, VA, USA
+ and Andrew Kuchling. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ o Redistributions of source code must retain the above copyright
+ notice, this list of conditions, and the disclaimer that follows.
+
+ o Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions, and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ o Neither the name of Digital Creations nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS AND CONTRIBUTORS *AS
+ IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL
+ CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+------------------------------------------------------------------------*/
+
+
+/*
+ * Handwritten code to wrap version 3.x of the Berkeley DB library,
+ * written to replace a SWIG-generated file. It has since been updated
+ * to compile with BerkeleyDB versions 3.2 through 4.2.
+ *
+ * This module was started by Andrew Kuchling to remove the dependency
+ * on SWIG in a package by Gregory P. Smith who based his work on a
+ * similar package by Robin Dunn which wrapped
+ * Berkeley DB 2.7.x.
+ *
+ * Development of this module then returned full circle back to Robin Dunn
+ * who worked on behalf of Digital Creations to complete the wrapping of
+ * the DB 3.x API and to build a solid unit test suite. Robin has
+ * since gone onto other projects (wxPython).
+ *
+ * Gregory P. Smith is once again the maintainer.
+ *
+ * Use the pybsddb-users at lists.sf.net mailing list for all questions.
+ * Things can change faster than the header of this file is updated. This
+ * file is shared with the PyBSDDB project at SourceForge:
+ *
+ * http://pybsddb.sf.net
+ *
+ * This file should remain backward compatible with Python 2.1, but see PEP
+ * 291 for the most current backward compatibility requirements:
+ *
+ * http://www.python.org/peps/pep-0291.html
+ *
+ * This module contains 6 types:
+ *
+ * DB (Database)
+ * DBCursor (Database Cursor)
+ * DBEnv (database environment)
+ * DBTxn (An explicit database transaction)
+ * DBLock (A lock handle)
+ * DBSequence (Sequence)
+ *
+ */
+
+/* --------------------------------------------------------------------- */
+
+/*
+ * Portions of this module, associated unit tests and build scripts are the
+ * result of a contract with The Written Word (http://thewrittenword.com/)
+ * Many thanks go out to them for causing me to raise the bar on quality and
+ * functionality, resulting in a better bsddb3 package for all of us to use.
+ *
+ * --Robin
+ */
+
+/* --------------------------------------------------------------------- */
+
+/*
+ * Work to split it up into a separate header and to add a C API was
+ * contributed by Duncan Grisby . See here:
+ * http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900
+ */
+
+/* --------------------------------------------------------------------- */
+
+#ifndef _BSDDB_H_
+#define _BSDDB_H_
+
+#include
+
+
+/* 40 = 4.0, 33 = 3.3; this will break if the minor revision is > 9 */
+#define DBVER (DB_VERSION_MAJOR * 10 + DB_VERSION_MINOR)
+#if DB_VERSION_MINOR > 9
+#error "eek! DBVER can't handle minor versions > 9"
+#endif
+
+#define PY_BSDDB_VERSION "4.6.0"
+
+/* Python object definitions */
+
+struct behaviourFlags {
+ /* What is the default behaviour when DB->get or DBCursor->get returns a
+ DB_NOTFOUND || DB_KEYEMPTY error? Return None or raise an exception? */
+ unsigned int getReturnsNone : 1;
+ /* What is the default behaviour for DBCursor.set* methods when DBCursor->get
+ * returns a DB_NOTFOUND || DB_KEYEMPTY error? Return None or raise? */
+ unsigned int cursorSetReturnsNone : 1;
+};
+
+
+typedef struct {
+ PyObject_HEAD
+ DB_ENV* db_env;
+ u_int32_t flags; /* saved flags from open() */
+ int closed;
+ struct behaviourFlags moduleFlags;
+ PyObject *in_weakreflist; /* List of weak references */
+} DBEnvObject;
+
+
+typedef struct {
+ PyObject_HEAD
+ DB* db;
+ DBEnvObject* myenvobj; /* PyObject containing the DB_ENV */
+ u_int32_t flags; /* saved flags from open() */
+ u_int32_t setflags; /* saved flags from set_flags() */
+ int haveStat;
+ struct behaviourFlags moduleFlags;
+#if (DBVER >= 33)
+ PyObject* associateCallback;
+ PyObject* btCompareCallback;
+ int primaryDBType;
+#endif
+ PyObject *in_weakreflist; /* List of weak references */
+} DBObject;
+
+
+typedef struct {
+ PyObject_HEAD
+ DBC* dbc;
+ DBObject* mydb;
+ PyObject *in_weakreflist; /* List of weak references */
+} DBCursorObject;
+
+
+typedef struct {
+ PyObject_HEAD
+ DB_TXN* txn;
+ PyObject *env;
+ PyObject *in_weakreflist; /* List of weak references */
+} DBTxnObject;
+
+
+typedef struct {
+ PyObject_HEAD
+ DB_LOCK lock;
+ PyObject *in_weakreflist; /* List of weak references */
+} DBLockObject;
+
+
+#if (DBVER >= 43)
+typedef struct {
+ PyObject_HEAD
+ DB_SEQUENCE* sequence;
+ DBObject* mydb;
+ PyObject *in_weakreflist; /* List of weak references */
+} DBSequenceObject;
+staticforward PyTypeObject DBSequence_Type;
+#endif
+
+
+/* API structure for use by C code */
+
+/* To access the structure from an external module, use code like the
+ following (error checking missed out for clarity):
+
+ BSDDB_api* bsddb_api;
+ PyObject* mod;
+ PyObject* cobj;
+
+ mod = PyImport_ImportModule("bsddb._bsddb");
+ // Use "bsddb3._pybsddb" if you're using the standalone pybsddb add-on.
+ cobj = PyObject_GetAttrString(mod, "api");
+ api = (BSDDB_api*)PyCObject_AsVoidPtr(cobj);
+ Py_DECREF(cobj);
+ Py_DECREF(mod);
+
+ The structure's members must not be changed.
+*/
+
+typedef struct {
+ /* Type objects */
+ PyTypeObject* db_type;
+ PyTypeObject* dbcursor_type;
+ PyTypeObject* dbenv_type;
+ PyTypeObject* dbtxn_type;
+ PyTypeObject* dblock_type;
+#if (DBVER >= 43)
+ PyTypeObject* dbsequence_type;
+#endif
+
+ /* Functions */
+ int (*makeDBError)(int err);
+
+} BSDDB_api;
+
+
+#ifndef COMPILING_BSDDB_C
+
+/* If not inside _bsddb.c, define type check macros that use the api
+ structure. The calling code must have a value named bsddb_api
+ pointing to the api structure.
+*/
+
+#define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type)
+#define DBCursorObject_Check(v) ((v)->ob_type == bsddb_api->dbcursor_type)
+#define DBEnvObject_Check(v) ((v)->ob_type == bsddb_api->dbenv_type)
+#define DBTxnObject_Check(v) ((v)->ob_type == bsddb_api->dbtxn_type)
+#define DBLockObject_Check(v) ((v)->ob_type == bsddb_api->dblock_type)
+#if (DBVER >= 43)
+#define DBSequenceObject_Check(v) ((v)->ob_type == bsddb_api->dbsequence_type)
+#endif
+
+#endif // COMPILING_BSDDB_C
+
+
+#endif // _BSDDB_H_
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Tue Oct 9 08:02:21 2007
@@ -801,6 +801,7 @@
# some unusual system configurations (e.g. the directory
# is on an NFS server that goes away).
exts.append(Extension('_bsddb', ['_bsddb.c'],
+ depends = ['bsddb.h'],
library_dirs=dblib_dir,
runtime_library_dirs=dblib_dir,
include_dirs=db_incs,
From buildbot at python.org Tue Oct 9 08:12:02 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 06:12:02 +0000
Subject: [Python-checkins] buildbot failure in MIPS Debian trunk
Message-ID: <20071009061203.14F101E4014@bag.python.org>
The Buildbot has detected a new failure of MIPS Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/MIPS%20Debian%20trunk/builds/67
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-mips
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: andrew.kuchling,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
4 tests failed:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_kr
test_urllib2net
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_codecmaps_cn.py", line 30, in test_main
test_support.run_unittest(__name__)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 198, in open
return getattr(self, name)(url)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 333, in open_http
h.endheaders()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 849, in endheaders
self._send_output()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 721, in _send_output
self.send(msg)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 680, in send
self.connect()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 664, in connect
self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 124] Address family not supported by protocol
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_codecmaps_hk.py", line 17, in test_main
test_support.run_unittest(__name__)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 198, in open
return getattr(self, name)(url)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 333, in open_http
h.endheaders()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 849, in endheaders
self._send_output()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 721, in _send_output
self.send(msg)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 680, in send
self.connect()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 664, in connect
self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 124] Address family not supported by protocol
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_codecmaps_kr.py", line 41, in test_main
test_support.run_unittest(__name__)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 198, in open
return getattr(self, name)(url)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 333, in open_http
h.endheaders()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 849, in endheaders
self._send_output()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 721, in _send_output
self.send(msg)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 680, in send
self.connect()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/httplib.py", line 664, in connect
self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 124] Address family not supported by protocol
======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 175, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 244, in _test_urls
f = urllib2.urlopen(url, req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 304, in test_ftp_NoneNodefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 298, in test_ftp_NoneWithdefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 308, in test_ftp_Value
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=60)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 291, in test_ftp_basic
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/")
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 9 08:47:23 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 06:47:23 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP trunk
Message-ID: <20071009064723.772FC1E4008@bag.python.org>
The Buildbot has detected a new failure of amd64 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%20trunk/builds/259
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
6 tests failed:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr test_itertools test_winsound
Traceback (most recent call last):
File "../lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_codecmaps_cn.py", line 30, in test_main
test_support.run_unittest(__name__)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 198, in open
return getattr(self, name)(url)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 333, in open_http
h.endheaders()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 849, in endheaders
self._send_output()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 721, in _send_output
self.send(msg)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 680, in send
self.connect()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 664, in connect
self.timeout)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 10061] Connection refused
Traceback (most recent call last):
File "../lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_codecmaps_hk.py", line 17, in test_main
test_support.run_unittest(__name__)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 198, in open
return getattr(self, name)(url)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 333, in open_http
h.endheaders()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 849, in endheaders
self._send_output()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 721, in _send_output
self.send(msg)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 680, in send
self.connect()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 664, in connect
self.timeout)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 10061] Connection refused
Traceback (most recent call last):
File "../lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_codecmaps_jp.py", line 64, in test_main
test_support.run_unittest(__name__)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 198, in open
return getattr(self, name)(url)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 333, in open_http
h.endheaders()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 849, in endheaders
self._send_output()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 721, in _send_output
self.send(msg)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 680, in send
self.connect()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 664, in connect
self.timeout)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 10061] Connection refused
Traceback (most recent call last):
File "../lib/test/regrtest.py", line 557, in runtest_inner
indirect_test()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_codecmaps_kr.py", line 41, in test_main
test_support.run_unittest(__name__)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 550, in run_unittest
suite.addTest(unittest.findTestCases(sys.modules[cls]))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 639, in findTestCases
return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromModule(module)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 549, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 540, in loadTestsFromTestCase
return self.suiteClass(map(testCaseClass, testCaseNames))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 269, in __init__
self.open_mapping_file() # test it to report the error early
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_multibytecodec_support.py", line 272, in open_mapping_file
return test_support.open_urlresource(self.mapfileurl)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_support.py", line 271, in open_urlresource
fn, _ = urllib.urlretrieve(url, filename)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 230, in retrieve
fp = self.open(url, data)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 198, in open
return getattr(self, name)(url)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\urllib.py", line 333, in open_http
h.endheaders()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 849, in endheaders
self._send_output()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 721, in _send_output
self.send(msg)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 680, in send
self.connect()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\httplib.py", line 664, in connect
self.timeout)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\socket.py", line 462, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 10061] Connection refused
======================================================================
FAIL: test_count (test.test_itertools.TestBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_itertools.py", line 70, in test_count
self.assertEqual(repr(count(i)), 'count(%r)' % i)
AssertionError: 'count(-2147483652)' != 'count(-2147483652L)'
======================================================================
ERROR: test_extremes (test.test_winsound.BeepTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 18, in test_extremes
winsound.Beep(37, 75)
RuntimeError: Failed to beep
======================================================================
ERROR: test_increasingfrequency (test.test_winsound.BeepTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 23, in test_increasingfrequency
winsound.Beep(i, 75)
RuntimeError: Failed to beep
======================================================================
ERROR: test_alias_asterisk (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 64, in test_alias_asterisk
winsound.PlaySound('SystemAsterisk', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_exclamation (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 74, in test_alias_exclamation
winsound.PlaySound('SystemExclamation', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_exit (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 84, in test_alias_exit
winsound.PlaySound('SystemExit', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_hand (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 94, in test_alias_hand
winsound.PlaySound('SystemHand', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_question (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 104, in test_alias_question
winsound.PlaySound('SystemQuestion', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\bsddb\test\test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0007-0007-0007-0007-0007'
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\bsddb\test\test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2001-2001-2001-2001-2001'
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\bsddb\test\test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1004-1004-1004-1004-1004'
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 9 08:50:43 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Tue, 9 Oct 2007 08:50:43 +0200 (CEST)
Subject: [Python-checkins] r58385 - in python/trunk:
Lib/bsddb/test/test_misc.py Modules/_bsddb.c
Message-ID: <20071009065043.CFC031E4008@bag.python.org>
Author: gregory.p.smith
Date: Tue Oct 9 08:50:43 2007
New Revision: 58385
Modified:
python/trunk/Lib/bsddb/test/test_misc.py
python/trunk/Modules/_bsddb.c
Log:
Fix a double free when positioning a database cursor to a non-existant
string key (and probably a few other situations with string keys).
This was reported with a patch as pybsddb sourceforge bug 1708868 by
jjjhhhlll at gmail.
Modified: python/trunk/Lib/bsddb/test/test_misc.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_misc.py (original)
+++ python/trunk/Lib/bsddb/test/test_misc.py Tue Oct 9 08:50:43 2007
@@ -53,6 +53,26 @@
rp = repr(db)
self.assertEquals(rp, "{}")
+ # http://sourceforge.net/tracker/index.php?func=detail&aid=1708868&group_id=13900&atid=313900
+ #
+ # See the bug report for details.
+ #
+ # The problem was that make_key_dbt() was not allocating a copy of
+ # string keys but FREE_DBT() was always being told to free it when the
+ # database was opened with DB_THREAD.
+ def test04_double_free_make_key_dbt(self):
+ try:
+ db1 = db.DB()
+ db1.open(self.filename, None, db.DB_BTREE,
+ db.DB_CREATE | db.DB_THREAD)
+
+ curs = db1.cursor()
+ t = curs.get("/foo", db.DB_SET)
+ # double free happened during exit from DBC_get
+ finally:
+ db1.close()
+ os.unlink(self.filename)
+
#----------------------------------------------------------------------
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Tue Oct 9 08:50:43 2007
@@ -328,7 +328,19 @@
return 0;
}
- key->data = PyString_AS_STRING(keyobj);
+ /*
+ * NOTE(gps): I don't like doing a data copy here, it seems
+ * wasteful. But without a clean way to tell FREE_DBT if it
+ * should free key->data or not we have to. Other places in
+ * the code check for DB_THREAD and forceably set DBT_MALLOC
+ * when we otherwise would leave flags 0 to indicate that.
+ */
+ key->data = strdup(PyString_AS_STRING(keyobj));
+ if (key->data == NULL) {
+ PyErr_SetString(PyExc_MemoryError, "Key memory allocation failed");
+ return 0;
+ }
+ key->flags = DB_DBT_REALLOC;
key->size = PyString_GET_SIZE(keyobj);
}
From buildbot at python.org Tue Oct 9 08:52:38 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 06:52:38 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071009065238.E50DB1E4008@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/297
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bufio
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 9 09:19:11 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Tue, 9 Oct 2007 09:19:11 +0200 (CEST)
Subject: [Python-checkins] r58386 - python/trunk/Lib/bsddb/dbshelve.py
Message-ID: <20071009071911.D13CC1E4009@bag.python.org>
Author: gregory.p.smith
Date: Tue Oct 9 09:19:11 2007
New Revision: 58386
Modified:
python/trunk/Lib/bsddb/dbshelve.py
Log:
Use the highest cPickle protocol in bsddb.dbshelve. This comes from
sourceforge pybsddb patch 1551443 by w_barnes.
Modified: python/trunk/Lib/bsddb/dbshelve.py
==============================================================================
--- python/trunk/Lib/bsddb/dbshelve.py (original)
+++ python/trunk/Lib/bsddb/dbshelve.py Tue Oct 9 09:19:11 2007
@@ -30,12 +30,21 @@
#------------------------------------------------------------------------
import cPickle
-try:
+import db
+import sys
+
+#At version 2.3 cPickle switched to using protocol instead of bin and
+#DictMixin was added
+if sys.version_info[:3] >= (2, 3, 0):
+ HIGHEST_PROTOCOL = cPickle.HIGHEST_PROTOCOL
+ def _dumps(object, protocol):
+ return cPickle.dumps(object, protocol=protocol)
from UserDict import DictMixin
-except ImportError:
- # DictMixin is new in Python 2.3
+else:
+ HIGHEST_PROTOCOL = None
+ def _dumps(object, protocol):
+ return cPickle.dumps(object, bin=protocol)
class DictMixin: pass
-import db
#------------------------------------------------------------------------
@@ -81,7 +90,10 @@
"""
def __init__(self, dbenv=None):
self.db = db.DB(dbenv)
- self.binary = 1
+ if HIGHEST_PROTOCOL:
+ self.protocol = HIGHEST_PROTOCOL
+ else:
+ self.protocol = 1
def __del__(self):
@@ -108,7 +120,7 @@
def __setitem__(self, key, value):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
self.db[key] = data
@@ -146,7 +158,7 @@
# Other methods
def __append(self, value, txn=None):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
return self.db.append(data, txn)
def append(self, value, txn=None):
@@ -177,19 +189,19 @@
# so it doesn't need unpickled.
def get_both(self, key, value, txn=None, flags=0):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
data = self.db.get(key, data, txn, flags)
return cPickle.loads(data)
def cursor(self, txn=None, flags=0):
c = DBShelfCursor(self.db.cursor(txn, flags))
- c.binary = self.binary
+ c.protocol = self.protocol
return c
def put(self, key, value, txn=None, flags=0):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
return self.db.put(key, data, txn, flags)
@@ -225,11 +237,13 @@
#----------------------------------------------
def dup(self, flags=0):
- return DBShelfCursor(self.dbc.dup(flags))
+ c = DBShelfCursor(self.dbc.dup(flags))
+ c.protocol = self.protocol
+ return c
def put(self, key, value, flags=0):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
return self.dbc.put(key, data, flags)
@@ -247,7 +261,7 @@
return self._extract(rec)
def get_3(self, key, value, flags):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
rec = self.dbc.get(key, flags)
return self._extract(rec)
@@ -264,7 +278,7 @@
def get_both(self, key, value, flags=0):
- data = cPickle.dumps(value, self.binary)
+ data = _dumps(value, self.protocol)
rec = self.dbc.get_both(key, flags)
return self._extract(rec)
From buildbot at python.org Tue Oct 9 09:21:02 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 07:21:02 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071009072102.7C10A1E4015@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2528
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 9 09:25:25 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Tue, 9 Oct 2007 09:25:25 +0200 (CEST)
Subject: [Python-checkins] r58387 - in python/branches/release25-maint:
Lib/bsddb/test/test_misc.py Modules/_bsddb.c
Message-ID: <20071009072525.2E8531E400E@bag.python.org>
Author: gregory.p.smith
Date: Tue Oct 9 09:25:24 2007
New Revision: 58387
Modified:
python/branches/release25-maint/Lib/bsddb/test/test_misc.py
python/branches/release25-maint/Modules/_bsddb.c
Log:
Backport 58385 from trunk: fix a double free bug in the _bsddb module
on DBCursor.get (and a friends) when passing in a string key.
Modified: python/branches/release25-maint/Lib/bsddb/test/test_misc.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_misc.py (original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_misc.py Tue Oct 9 09:25:24 2007
@@ -52,6 +52,26 @@
rp = repr(db)
self.assertEquals(rp, "{}")
+ # http://sourceforge.net/tracker/index.php?func=detail&aid=1708868&group_id=13900&atid=313900
+ #
+ # See the bug report for details.
+ #
+ # The problem was that make_key_dbt() was not allocating a copy of
+ # string keys but FREE_DBT() was always being told to free it when the
+ # database was opened with DB_THREAD.
+ def test04_double_free_make_key_dbt(self):
+ try:
+ db1 = db.DB()
+ db1.open(self.filename, None, db.DB_BTREE,
+ db.DB_CREATE | db.DB_THREAD)
+
+ curs = db1.cursor()
+ t = curs.get("/foo", db.DB_SET)
+ # double free happened during exit from DBC_get
+ finally:
+ db1.close()
+ os.unlink(self.filename)
+
#----------------------------------------------------------------------
Modified: python/branches/release25-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release25-maint/Modules/_bsddb.c (original)
+++ python/branches/release25-maint/Modules/_bsddb.c Tue Oct 9 09:25:24 2007
@@ -425,7 +425,19 @@
return 0;
}
- key->data = PyString_AS_STRING(keyobj);
+ /*
+ * NOTE(gps): I don't like doing a data copy here, it seems
+ * wasteful. But without a clean way to tell FREE_DBT if it
+ * should free key->data or not we have to. Other places in
+ * the code check for DB_THREAD and forceably set DBT_MALLOC
+ * when we otherwise would leave flags 0 to indicate that.
+ */
+ key->data = strdup(PyString_AS_STRING(keyobj));
+ if (key->data == NULL) {
+ PyErr_SetString(PyExc_MemoryError, "Key memory allocation failed");
+ return 0;
+ }
+ key->flags = DB_DBT_REALLOC;
key->size = PyString_GET_SIZE(keyobj);
}
From buildbot at python.org Tue Oct 9 09:49:40 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 07:49:40 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071009074940.250691E4008@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2238
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 9 10:53:16 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 08:53:16 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071009085316.6E8A31E4008@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/98
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 9 14:10:35 2007
From: python-checkins at python.org (thomas.heller)
Date: Tue, 9 Oct 2007 14:10:35 +0200 (CEST)
Subject: [Python-checkins] r58388 - python/ctypes-branch
Message-ID: <20071009121035.70B8C1E402E@bag.python.org>
Author: thomas.heller
Date: Tue Oct 9 14:10:35 2007
New Revision: 58388
Added:
python/ctypes-branch/
- copied from r58387, python/trunk/
Log:
create branch to find ctypes crashes on certain architectures
From python-checkins at python.org Tue Oct 9 14:16:26 2007
From: python-checkins at python.org (thomas.heller)
Date: Tue, 9 Oct 2007 14:16:26 +0200 (CEST)
Subject: [Python-checkins] r58389 - in python/ctypes-branch:
Lib/ctypes/test/test_callbacks.py Modules/_ctypes/cfield.c
Message-ID: <20071009121626.64D441E4008@bag.python.org>
Author: thomas.heller
Date: Tue Oct 9 14:16:26 2007
New Revision: 58389
Modified:
python/ctypes-branch/Lib/ctypes/test/test_callbacks.py
python/ctypes-branch/Modules/_ctypes/cfield.c
Log:
Add some debug prints.
Modified: python/ctypes-branch/Lib/ctypes/test/test_callbacks.py
==============================================================================
--- python/ctypes-branch/Lib/ctypes/test/test_callbacks.py (original)
+++ python/ctypes-branch/Lib/ctypes/test/test_callbacks.py Tue Oct 9 14:16:26 2007
@@ -1,4 +1,5 @@
import unittest
+import sys
from ctypes import *
import _ctypes_test
@@ -78,8 +79,14 @@
self.check_type(c_double, -3.14)
def test_longdouble(self):
+ print >> sys.stderr, "First Test Start"
self.check_type(c_longdouble, 3.14)
- self.check_type(c_longdouble, -3.14)
+ print >> sys.stderr, "First Test Done"
+ print >> sys.stderr
+
+ print >> sys.stderr, "Second Test Start"
+ self.check_type(c_longdouble, 2.78)
+ print >> sys.stderr, "Second Test Done"
def test_char(self):
self.check_type(c_char, "x")
Modified: python/ctypes-branch/Modules/_ctypes/cfield.c
==============================================================================
--- python/ctypes-branch/Modules/_ctypes/cfield.c (original)
+++ python/ctypes-branch/Modules/_ctypes/cfield.c Tue Oct 9 14:16:26 2007
@@ -1001,6 +1001,7 @@
value->ob_type->tp_name);
return NULL;
}
+ fprintf(stderr, "D_set(%p, %f)\n", ptr, (float)x);
memcpy(ptr, &x, sizeof(long double));
_RET(value);
}
@@ -1010,6 +1011,7 @@
{
long double val;
memcpy(&val, ptr, sizeof(long double));
+ fprintf(stderr, "D_get(%p) -> %f\n", ptr, (float)val);
return PyFloat_FromDouble(val);
}
From buildbot at python.org Tue Oct 9 18:13:53 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 16:13:53 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071009161353.7096C1E400D@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/304
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason: The web-page 'force build' button was pressed by 'Thomas Heller': testing
Build Source Stamp: [branch ctypes-branch] HEAD
Blamelist:
BUILD FAILED: failed compile
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 9 19:21:21 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 17:21:21 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP trunk
Message-ID: <20071009172122.00A6A1E4027@bag.python.org>
The Buildbot has detected a new failure of amd64 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%20trunk/builds/263
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 'theller': build a branch
Build Source Stamp: [branch branches/ctypes-branch] HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 9 19:29:13 2007
From: python-checkins at python.org (thomas.heller)
Date: Tue, 9 Oct 2007 19:29:13 +0200 (CEST)
Subject: [Python-checkins] r58391 - python/ctypes-branch
Message-ID: <20071009172913.3D0191E4024@bag.python.org>
Author: thomas.heller
Date: Tue Oct 9 19:29:13 2007
New Revision: 58391
Removed:
python/ctypes-branch/
Log:
Remove branch created at the wrong place
From python-checkins at python.org Tue Oct 9 19:30:41 2007
From: python-checkins at python.org (thomas.heller)
Date: Tue, 9 Oct 2007 19:30:41 +0200 (CEST)
Subject: [Python-checkins] r58393 - python/branches/ctypes-branch
Message-ID: <20071009173041.39E4A1E400D@bag.python.org>
Author: thomas.heller
Date: Tue Oct 9 19:30:40 2007
New Revision: 58393
Added:
python/branches/ctypes-branch/
- copied from r58392, python/trunk/
Log:
create branch to find ctypes crashes on certain architectures
From python-checkins at python.org Tue Oct 9 20:26:03 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Tue, 9 Oct 2007 20:26:03 +0200 (CEST)
Subject: [Python-checkins] r58394 - python/trunk/setup.py
Message-ID: <20071009182603.11F9F1E4014@bag.python.org>
Author: gregory.p.smith
Date: Tue Oct 9 20:26:02 2007
New Revision: 58394
Modified:
python/trunk/setup.py
Log:
remove another sleepycat reference
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Tue Oct 9 20:26:02 2007
@@ -660,7 +660,7 @@
# http://www.oracle.com/database/berkeley-db/db/index.html
#
# This requires the Sleepycat^WOracle DB code. The supported versions
- # are set below. Visit http://www.sleepycat.com/ to download
+ # are set below. Visit the URL above to download
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
From python-checkins at python.org Tue Oct 9 21:31:31 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Tue, 9 Oct 2007 21:31:31 +0200 (CEST)
Subject: [Python-checkins] r58396 - python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/run.py
Message-ID: <20071009193131.2EFD51E4019@bag.python.org>
Author: kurt.kaiser
Date: Tue Oct 9 21:31:30 2007
New Revision: 58396
Modified:
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/run.py
Log:
Allow interrupt only when executing user code in subprocess
Patch 1225 Tal Einat modified from IDLE-Spoon.
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Tue Oct 9 21:31:30 2007
@@ -3,6 +3,9 @@
*Release date: XX-XXX-200X*
+- Allow keyboard interrupt only when user code is executing in subprocess.
+ Patch 1225 Tal Einat (reworked from IDLE-Spoon).
+
- configDialog cleanup. Patch 1730217 Tal Einat.
- textView cleanup. Patch 1718043 Tal Einat.
Modified: python/trunk/Lib/idlelib/run.py
==============================================================================
--- python/trunk/Lib/idlelib/run.py (original)
+++ python/trunk/Lib/idlelib/run.py Tue Oct 9 21:31:30 2007
@@ -38,10 +38,11 @@
# Thread shared globals: Establish a queue between a subthread (which handles
# the socket) and the main thread (which runs user code), plus global
-# completion and exit flags:
+# completion, exit and interruptable (the main thread) flags:
exit_now = False
quitting = False
+interruptable = False
def main(del_exitfunc=False):
"""Start the Python execution server in a subprocess
@@ -280,9 +281,14 @@
self.autocomplete = AutoComplete.AutoComplete()
def runcode(self, code):
+ global interruptable
try:
self.usr_exc_info = None
- exec code in self.locals
+ interruptable = True
+ try:
+ exec code in self.locals
+ finally:
+ interruptable = False
except:
self.usr_exc_info = sys.exc_info()
if quitting:
@@ -296,7 +302,8 @@
flush_stdout()
def interrupt_the_server(self):
- thread.interrupt_main()
+ if interruptable:
+ thread.interrupt_main()
def start_the_debugger(self, gui_adap_oid):
return RemoteDebugger.start_debugger(self.rpchandler, gui_adap_oid)
From buildbot at python.org Tue Oct 9 22:04:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 20:04:33 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071009200434.26BA11E400A@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/100
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_smtplib
sincerely,
-The Buildbot
From buildbot at python.org Tue Oct 9 23:46:11 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 21:46:11 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 trunk
Message-ID: <20071009214611.752FE1E4023@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/2285
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
Traceback (most recent call last):
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 00:00:47 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 22:00:47 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071009220047.D9A371E4017@bag.python.org>
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/206
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: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From buildbot at python.org Wed Oct 10 00:32:40 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 22:32:40 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 2.5
Message-ID: <20071009223240.EC8281E400A@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%202.5/builds/4
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/threading.py", line 460, in __bootstrap
self.run()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 81, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 330, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 159, in server_bind
TCPServer.server_bind(self)
File "/home/pybot/buildarea-armeabi/2.5.klose-linux-armeabi/build/Lib/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "", line 1, in bind
gaierror: (-2, 'Name or service not known')
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 00:40:43 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 22:40:43 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 3.0
Message-ID: <20071009224044.229A41E400D@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%203.0/builds/60
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
12 tests failed:
test_csv test_dumbdbm test_file test_fileinput test_gettext
test_io test_largefile test_mailbox test_netrc test_pep277
test_subprocess test_tempfile
======================================================================
FAIL: test_read_escape_fieldsep (test.test_csv.TestEscapedExcel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 500, in test_read_escape_fieldsep
self.readerAssertEqual('abc\\,def\r\n', [['abc,def']])
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 383, in readerAssertEqual
self.assertEqual(fields, expected_result)
AssertionError: [['abc,def'], []] != [['abc,def']]
======================================================================
FAIL: test_read_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 513, in test_read_escape_fieldsep
self.readerAssertEqual('"abc\\,def"\r\n', [['abc,def']])
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 383, in readerAssertEqual
self.assertEqual(fields, expected_result)
AssertionError: [['abc,def'], []] != [['abc,def']]
======================================================================
ERROR: test_line_endings (test.test_dumbdbm.DumbDBMTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_dumbdbm.py", line 121, in test_line_endings
f = dumbdbm.open(_fname)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 256, in open
return _Database(file, mode)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 73, in __init__
self._update()
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 85, in _update
key, pos_and_siz_pair = eval(line)
File "", line 0
^
SyntaxError: unexpected EOF while parsing
======================================================================
ERROR: testTruncateOnWindows (test.test_file.OtherFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_file.py", line 212, in testTruncateOnWindows
os.unlink(TESTFN)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
FAIL: test_buffer_sizes (test.test_fileinput.BufferSizesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_fileinput.py", line 42, in test_buffer_sizes
self.buffer_size_test(t1, t2, t3, t4, bs, round)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_fileinput.py", line 119, in buffer_size_test
self.assertNotEqual(m, None)
AssertionError: None == None
======================================================================
ERROR: test_weird_metadata (test.test_gettext.WeirdMetadataTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_gettext.py", line 335, in test_weird_metadata
self.assertEqual(info['last-translator'],
KeyError: 'last-translator'
======================================================================
FAIL: test_buffered_file_io (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 163, in test_buffered_file_io
self.write_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 97, in write_ops
self.assertEqual(f.tell(), 13)
AssertionError: 12 != 13
======================================================================
FAIL: test_large_file_ops (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 206, in test_large_file_ops
self.large_file_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 139, in large_file_ops
self.assertEqual(f.tell(), self.LARGE + 2)
AssertionError: 2147483649 != 2147483650
======================================================================
FAIL: test_raw_file_io (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 149, in test_raw_file_io
self.write_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 97, in write_ops
self.assertEqual(f.tell(), 13)
AssertionError: 12 != 13
======================================================================
ERROR: test_add (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 697, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_close (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_from_string (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_mbox_or_mmdf_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_conflict (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_open_close_open (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_relock (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_close (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_from_string (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_mbox_or_mmdf_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_conflict (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_open_close_open (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_relock (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_remove_folders (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_folder (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_list_folders (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pack (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_sequences (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_labels (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_date (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_info (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_info_and_flags (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_subdir (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_from (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_unixfrom (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_sequences (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_labels (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_visible (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_from (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_unixfrom (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteration (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_read (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readline (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readlines (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_seek_and_tell (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteration (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_read (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readline (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readlines (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_seek_and_tell (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: Test an empty maildir mailbox
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_both (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_cur (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_new (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_unix_mbox (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
FAIL: test_dump_message (test.test_mailbox.TestMaildir)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 407, in test_dump_message
_sample_message.replace('\n', os.linesep))
AssertionError: None
======================================================================
FAIL: test_add (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 76, in test_add
self.assertEqual(self._box.get_string(keys[0]), self._template % 0)
AssertionError: '\nFrom: foo\n\n0' != 'From: foo\n\n0'
======================================================================
ERROR: test_case_1 (test.test_netrc.NetrcTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_netrc.py", line 31, in setUp
self.netrc = netrc.netrc(temp_filename)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\netrc.py", line 56, in __init__
"bad toplevel token %r" % tt, file, lexer.lineno)
netrc.NetrcParseError: bad toplevel token 'line1' (@test, line 9)
======================================================================
ERROR: test_directory (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1098, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_failures (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1098, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_listdir (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1098, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_open (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1098, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_rename (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1098, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_communicate (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 303, in test_communicate
(stdout, stderr) = p.communicate("banana")
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 597, in communicate
return self._communicate(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 812, in _communicate
self.stdin.write(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 807, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream
======================================================================
ERROR: test_no_leaking (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 404, in test_no_leaking
data = p.communicate("lime")[0]
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 597, in communicate
return self._communicate(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 812, in _communicate
self.stdin.write(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 807, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream
======================================================================
ERROR: test_shell_sequence (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 633, in test_shell_sequence
self.assertNotEqual(p.stdout.read().find("physalis"), -1)
TypeError: Type str doesn't support the buffer API
======================================================================
ERROR: test_shell_string (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 642, in test_shell_string
self.assertNotEqual(p.stdout.read().find("physalis"), -1)
TypeError: Type str doesn't support the buffer API
======================================================================
FAIL: test_text_mode (test.test_tempfile.test_SpooledTemporaryFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_tempfile.py", line 747, in test_text_mode
self.assertEqual(f.read(), "abc\ndef\nxyzzy\n")
AssertionError: 'abc\n\ndef\n\nxyzzy\n\n' != 'abc\ndef\nxyzzy\n'
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 01:33:15 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 09 Oct 2007 23:33:15 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu 3.0
Message-ID: <20071009233316.1035B1E400A@bag.python.org>
The Buildbot has detected a new failure of hppa Ubuntu 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/hppa%20Ubuntu%203.0/builds/100
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-hppa
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Unknown signal 37
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 10 02:07:50 2007
From: python-checkins at python.org (brett.cannon)
Date: Wed, 10 Oct 2007 02:07:50 +0200 (CEST)
Subject: [Python-checkins] r58399 - python/trunk/Objects/dictobject.c
Message-ID: <20071010000750.6F2671E400D@bag.python.org>
Author: brett.cannon
Date: Wed Oct 10 02:07:50 2007
New Revision: 58399
Modified:
python/trunk/Objects/dictobject.c
Log:
Remove file-level typedefs that were inconsistently used throughout the file.
Just move over to the public API names.
Closes issue1238.
Modified: python/trunk/Objects/dictobject.c
==============================================================================
--- python/trunk/Objects/dictobject.c (original)
+++ python/trunk/Objects/dictobject.c Wed Oct 10 02:07:50 2007
@@ -9,8 +9,6 @@
#include "Python.h"
-typedef PyDictEntry dictentry;
-typedef PyDictObject dictobject;
/* Set a key error with the specified argument, wrapping it in a
* tuple automatically so that tuple keys are not unpacked as the
@@ -121,7 +119,7 @@
the same number of operations but without as much potential parallelism
(e.g., computing 5*j can go on at the same time as computing 1+perturb in the
above, and then shifting perturb can be done while the table index is being
-masked); and the dictobject struct required a member to hold the table's
+masked); and the PyDictObject struct required a member to hold the table's
polynomial. In Tim's experiments the current scheme ran faster, produced
equally good collision statistics, needed less code & used less memory.
@@ -137,7 +135,7 @@
*/
/* Object used as dummy key to fill deleted entries */
-static PyObject *dummy = NULL; /* Initialized by first call to newdictobject() */
+static PyObject *dummy = NULL; /* Initialized by first call to newPyDictObject() */
#ifdef Py_REF_DEBUG
PyObject *
@@ -148,8 +146,8 @@
#endif
/* forward declarations */
-static dictentry *
-lookdict_string(dictobject *mp, PyObject *key, long hash);
+static PyDictEntry *
+lookdict_string(PyDictObject *mp, PyObject *key, long hash);
#ifdef SHOW_CONVERSION_COUNTS
static long created = 0L;
@@ -192,7 +190,7 @@
PyObject *
PyDict_New(void)
{
- register dictobject *mp;
+ register PyDictObject *mp;
if (dummy == NULL) { /* Auto-initialize dummy */
dummy = PyString_FromString("");
if (dummy == NULL)
@@ -213,7 +211,7 @@
assert (mp->ma_table == mp->ma_smalltable);
assert (mp->ma_mask == PyDict_MINSIZE - 1);
} else {
- mp = PyObject_GC_New(dictobject, &PyDict_Type);
+ mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
if (mp == NULL)
return NULL;
EMPTY_TO_MINSIZE(mp);
@@ -245,20 +243,20 @@
comparison raises an exception (this was new in Python 2.5).
lookdict_string() below is specialized to string keys, comparison of which can
never raise an exception; that function can never return NULL. For both, when
-the key isn't found a dictentry* is returned for which the me_value field is
+the key isn't found a PyDictEntry* is returned for which the me_value field is
NULL; this is the slot in the dict at which the key would have been found, and
the caller can (if it wishes) add the pair to the returned
-dictentry*.
+PyDictEntry*.
*/
-static dictentry *
-lookdict(dictobject *mp, PyObject *key, register long hash)
+static PyDictEntry *
+lookdict(PyDictObject *mp, PyObject *key, register long hash)
{
register size_t i;
register size_t perturb;
- register dictentry *freeslot;
+ register PyDictEntry *freeslot;
register size_t mask = (size_t)mp->ma_mask;
- dictentry *ep0 = mp->ma_table;
- register dictentry *ep;
+ PyDictEntry *ep0 = mp->ma_table;
+ register PyDictEntry *ep;
register int cmp;
PyObject *startkey;
@@ -334,15 +332,15 @@
*
* This is valuable because dicts with only string keys are very common.
*/
-static dictentry *
-lookdict_string(dictobject *mp, PyObject *key, register long hash)
+static PyDictEntry *
+lookdict_string(PyDictObject *mp, PyObject *key, register long hash)
{
register size_t i;
register size_t perturb;
- register dictentry *freeslot;
+ register PyDictEntry *freeslot;
register size_t mask = (size_t)mp->ma_mask;
- dictentry *ep0 = mp->ma_table;
- register dictentry *ep;
+ PyDictEntry *ep0 = mp->ma_table;
+ register PyDictEntry *ep;
/* Make sure this function doesn't have to handle non-string keys,
including subclasses of str; e.g., one reason to subclass
@@ -393,10 +391,10 @@
Returns -1 if an error occurred, or 0 on success.
*/
static int
-insertdict(register dictobject *mp, PyObject *key, long hash, PyObject *value)
+insertdict(register PyDictObject *mp, PyObject *key, long hash, PyObject *value)
{
PyObject *old_value;
- register dictentry *ep;
+ register PyDictEntry *ep;
typedef PyDictEntry *(*lookupfunc)(PyDictObject *, PyObject *, long);
assert(mp->ma_lookup != NULL);
@@ -436,14 +434,14 @@
is responsible for incref'ing `key` and `value`.
*/
static void
-insertdict_clean(register dictobject *mp, PyObject *key, long hash,
+insertdict_clean(register PyDictObject *mp, PyObject *key, long hash,
PyObject *value)
{
register size_t i;
register size_t perturb;
register size_t mask = (size_t)mp->ma_mask;
- dictentry *ep0 = mp->ma_table;
- register dictentry *ep;
+ PyDictEntry *ep0 = mp->ma_table;
+ register PyDictEntry *ep;
i = hash & mask;
ep = &ep0[i];
@@ -465,13 +463,13 @@
actually be smaller than the old one.
*/
static int
-dictresize(dictobject *mp, Py_ssize_t minused)
+dictresize(PyDictObject *mp, Py_ssize_t minused)
{
Py_ssize_t newsize;
- dictentry *oldtable, *newtable, *ep;
+ PyDictEntry *oldtable, *newtable, *ep;
Py_ssize_t i;
int is_oldtable_malloced;
- dictentry small_copy[PyDict_MINSIZE];
+ PyDictEntry small_copy[PyDict_MINSIZE];
assert(minused >= 0);
@@ -510,7 +508,7 @@
}
}
else {
- newtable = PyMem_NEW(dictentry, newsize);
+ newtable = PyMem_NEW(PyDictEntry, newsize);
if (newtable == NULL) {
PyErr_NoMemory();
return -1;
@@ -521,7 +519,7 @@
assert(newtable != oldtable);
mp->ma_table = newtable;
mp->ma_mask = newsize - 1;
- memset(newtable, 0, sizeof(dictentry) * newsize);
+ memset(newtable, 0, sizeof(PyDictEntry) * newsize);
mp->ma_used = 0;
i = mp->ma_fill;
mp->ma_fill = 0;
@@ -561,8 +559,8 @@
PyDict_GetItem(PyObject *op, PyObject *key)
{
long hash;
- dictobject *mp = (dictobject *)op;
- dictentry *ep;
+ PyDictObject *mp = (PyDictObject *)op;
+ PyDictEntry *ep;
PyThreadState *tstate;
if (!PyDict_Check(op))
return NULL;
@@ -609,7 +607,7 @@
int
PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value)
{
- register dictobject *mp;
+ register PyDictObject *mp;
register long hash;
register Py_ssize_t n_used;
@@ -619,7 +617,7 @@
}
assert(key);
assert(value);
- mp = (dictobject *)op;
+ mp = (PyDictObject *)op;
if (PyString_CheckExact(key)) {
hash = ((PyStringObject *)key)->ob_shash;
if (hash == -1)
@@ -658,9 +656,9 @@
int
PyDict_DelItem(PyObject *op, PyObject *key)
{
- register dictobject *mp;
+ register PyDictObject *mp;
register long hash;
- register dictentry *ep;
+ register PyDictEntry *ep;
PyObject *old_value, *old_key;
if (!PyDict_Check(op)) {
@@ -674,7 +672,7 @@
if (hash == -1)
return -1;
}
- mp = (dictobject *)op;
+ mp = (PyDictObject *)op;
ep = (mp->ma_lookup)(mp, key, hash);
if (ep == NULL)
return -1;
@@ -696,18 +694,18 @@
void
PyDict_Clear(PyObject *op)
{
- dictobject *mp;
- dictentry *ep, *table;
+ PyDictObject *mp;
+ PyDictEntry *ep, *table;
int table_is_malloced;
Py_ssize_t fill;
- dictentry small_copy[PyDict_MINSIZE];
+ PyDictEntry small_copy[PyDict_MINSIZE];
#ifdef Py_DEBUG
Py_ssize_t i, n;
#endif
if (!PyDict_Check(op))
return;
- mp = (dictobject *)op;
+ mp = (PyDictObject *)op;
#ifdef Py_DEBUG
n = mp->ma_mask + 1;
i = 0;
@@ -782,15 +780,15 @@
{
register Py_ssize_t i;
register Py_ssize_t mask;
- register dictentry *ep;
+ register PyDictEntry *ep;
if (!PyDict_Check(op))
return 0;
i = *ppos;
if (i < 0)
return 0;
- ep = ((dictobject *)op)->ma_table;
- mask = ((dictobject *)op)->ma_mask;
+ ep = ((PyDictObject *)op)->ma_table;
+ mask = ((PyDictObject *)op)->ma_mask;
while (i <= mask && ep[i].me_value == NULL)
i++;
*ppos = i+1;
@@ -809,15 +807,15 @@
{
register Py_ssize_t i;
register Py_ssize_t mask;
- register dictentry *ep;
+ register PyDictEntry *ep;
if (!PyDict_Check(op))
return 0;
i = *ppos;
if (i < 0)
return 0;
- ep = ((dictobject *)op)->ma_table;
- mask = ((dictobject *)op)->ma_mask;
+ ep = ((PyDictObject *)op)->ma_table;
+ mask = ((PyDictObject *)op)->ma_mask;
while (i <= mask && ep[i].me_value == NULL)
i++;
*ppos = i+1;
@@ -834,9 +832,9 @@
/* Methods */
static void
-dict_dealloc(register dictobject *mp)
+dict_dealloc(register PyDictObject *mp)
{
- register dictentry *ep;
+ register PyDictEntry *ep;
Py_ssize_t fill = mp->ma_fill;
PyObject_GC_UnTrack(mp);
Py_TRASHCAN_SAFE_BEGIN(mp)
@@ -857,7 +855,7 @@
}
static int
-dict_print(register dictobject *mp, register FILE *fp, register int flags)
+dict_print(register PyDictObject *mp, register FILE *fp, register int flags)
{
register Py_ssize_t i;
register Py_ssize_t any;
@@ -878,7 +876,7 @@
Py_END_ALLOW_THREADS
any = 0;
for (i = 0; i <= mp->ma_mask; i++) {
- dictentry *ep = mp->ma_table + i;
+ PyDictEntry *ep = mp->ma_table + i;
PyObject *pvalue = ep->me_value;
if (pvalue != NULL) {
/* Prevent PyObject_Repr from deleting value during
@@ -913,7 +911,7 @@
}
static PyObject *
-dict_repr(dictobject *mp)
+dict_repr(PyDictObject *mp)
{
Py_ssize_t i;
PyObject *s, *temp, *colon = NULL;
@@ -992,17 +990,17 @@
}
static Py_ssize_t
-dict_length(dictobject *mp)
+dict_length(PyDictObject *mp)
{
return mp->ma_used;
}
static PyObject *
-dict_subscript(dictobject *mp, register PyObject *key)
+dict_subscript(PyDictObject *mp, register PyObject *key)
{
PyObject *v;
long hash;
- dictentry *ep;
+ PyDictEntry *ep;
assert(mp->ma_table != NULL);
if (!PyString_CheckExact(key) ||
(hash = ((PyStringObject *) key)->ob_shash) == -1) {
@@ -1036,7 +1034,7 @@
}
static int
-dict_ass_sub(dictobject *mp, PyObject *v, PyObject *w)
+dict_ass_sub(PyDictObject *mp, PyObject *v, PyObject *w)
{
if (w == NULL)
return PyDict_DelItem((PyObject *)mp, v);
@@ -1051,11 +1049,11 @@
};
static PyObject *
-dict_keys(register dictobject *mp)
+dict_keys(register PyDictObject *mp)
{
register PyObject *v;
register Py_ssize_t i, j;
- dictentry *ep;
+ PyDictEntry *ep;
Py_ssize_t mask, n;
again:
@@ -1085,11 +1083,11 @@
}
static PyObject *
-dict_values(register dictobject *mp)
+dict_values(register PyDictObject *mp)
{
register PyObject *v;
register Py_ssize_t i, j;
- dictentry *ep;
+ PyDictEntry *ep;
Py_ssize_t mask, n;
again:
@@ -1119,13 +1117,13 @@
}
static PyObject *
-dict_items(register dictobject *mp)
+dict_items(register PyDictObject *mp)
{
register PyObject *v;
register Py_ssize_t i, j, n;
Py_ssize_t mask;
PyObject *item, *key, *value;
- dictentry *ep;
+ PyDictEntry *ep;
/* Preallocate the list of tuples, to avoid allocations during
* the loop over the items, which could trigger GC, which
@@ -1187,7 +1185,7 @@
return NULL;
if (PyDict_CheckExact(d) && PyAnySet_CheckExact(seq)) {
- dictobject *mp = (dictobject *)d;
+ PyDictObject *mp = (PyDictObject *)d;
Py_ssize_t pos = 0;
PyObject *key;
long hash;
@@ -1351,7 +1349,7 @@
{
register PyDictObject *mp, *other;
register Py_ssize_t i;
- dictentry *entry;
+ PyDictEntry *entry;
/* We accept for the argument either a concrete dictionary object,
* or an abstract "mapping" object. For the former, we can do
@@ -1362,9 +1360,9 @@
PyErr_BadInternalCall();
return -1;
}
- mp = (dictobject*)a;
+ mp = (PyDictObject*)a;
if (PyDict_CheckExact(b)) {
- other = (dictobject*)b;
+ other = (PyDictObject*)b;
if (other == mp || other->ma_used == 0)
/* a.update(a) or a.update({}); nothing to do */
return 0;
@@ -1444,7 +1442,7 @@
}
static PyObject *
-dict_copy(register dictobject *mp)
+dict_copy(register PyDictObject *mp)
{
return PyDict_Copy((PyObject*)mp);
}
@@ -1474,7 +1472,7 @@
PyErr_BadInternalCall();
return -1;
}
- return ((dictobject *)mp)->ma_used;
+ return ((PyDictObject *)mp)->ma_used;
}
PyObject *
@@ -1484,7 +1482,7 @@
PyErr_BadInternalCall();
return NULL;
}
- return dict_keys((dictobject *)mp);
+ return dict_keys((PyDictObject *)mp);
}
PyObject *
@@ -1494,7 +1492,7 @@
PyErr_BadInternalCall();
return NULL;
}
- return dict_values((dictobject *)mp);
+ return dict_values((PyDictObject *)mp);
}
PyObject *
@@ -1504,7 +1502,7 @@
PyErr_BadInternalCall();
return NULL;
}
- return dict_items((dictobject *)mp);
+ return dict_items((PyDictObject *)mp);
}
/* Subroutine which returns the smallest key in a for which b's value
@@ -1516,7 +1514,7 @@
them before the caller is done looking at them). */
static PyObject *
-characterize(dictobject *a, dictobject *b, PyObject **pval)
+characterize(PyDictObject *a, PyDictObject *b, PyObject **pval)
{
PyObject *akey = NULL; /* smallest key in a s.t. a[akey] != b[akey] */
PyObject *aval = NULL; /* a[akey] */
@@ -1590,7 +1588,7 @@
}
static int
-dict_compare(dictobject *a, dictobject *b)
+dict_compare(PyDictObject *a, PyDictObject *b)
{
PyObject *adiff, *bdiff, *aval, *bval;
int res;
@@ -1642,7 +1640,7 @@
* Uses only Py_EQ comparison.
*/
static int
-dict_equal(dictobject *a, dictobject *b)
+dict_equal(PyDictObject *a, PyDictObject *b)
{
Py_ssize_t i;
@@ -1687,7 +1685,7 @@
res = Py_NotImplemented;
}
else if (op == Py_EQ || op == Py_NE) {
- cmp = dict_equal((dictobject *)v, (dictobject *)w);
+ cmp = dict_equal((PyDictObject *)v, (PyDictObject *)w);
if (cmp < 0)
return NULL;
res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
@@ -1699,10 +1697,10 @@
}
static PyObject *
-dict_contains(register dictobject *mp, PyObject *key)
+dict_contains(register PyDictObject *mp, PyObject *key)
{
long hash;
- dictentry *ep;
+ PyDictEntry *ep;
if (!PyString_CheckExact(key) ||
(hash = ((PyStringObject *) key)->ob_shash) == -1) {
@@ -1717,7 +1715,7 @@
}
static PyObject *
-dict_has_key(register dictobject *mp, PyObject *key)
+dict_has_key(register PyDictObject *mp, PyObject *key)
{
if (Py_Py3kWarningFlag &&
PyErr_Warn(PyExc_DeprecationWarning,
@@ -1727,13 +1725,13 @@
}
static PyObject *
-dict_get(register dictobject *mp, PyObject *args)
+dict_get(register PyDictObject *mp, PyObject *args)
{
PyObject *key;
PyObject *failobj = Py_None;
PyObject *val = NULL;
long hash;
- dictentry *ep;
+ PyDictEntry *ep;
if (!PyArg_UnpackTuple(args, "get", 1, 2, &key, &failobj))
return NULL;
@@ -1756,13 +1754,13 @@
static PyObject *
-dict_setdefault(register dictobject *mp, PyObject *args)
+dict_setdefault(register PyDictObject *mp, PyObject *args)
{
PyObject *key;
PyObject *failobj = Py_None;
PyObject *val = NULL;
long hash;
- dictentry *ep;
+ PyDictEntry *ep;
if (!PyArg_UnpackTuple(args, "setdefault", 1, 2, &key, &failobj))
return NULL;
@@ -1788,17 +1786,17 @@
static PyObject *
-dict_clear(register dictobject *mp)
+dict_clear(register PyDictObject *mp)
{
PyDict_Clear((PyObject *)mp);
Py_RETURN_NONE;
}
static PyObject *
-dict_pop(dictobject *mp, PyObject *args)
+dict_pop(PyDictObject *mp, PyObject *args)
{
long hash;
- dictentry *ep;
+ PyDictEntry *ep;
PyObject *old_value, *old_key;
PyObject *key, *deflt = NULL;
@@ -1841,10 +1839,10 @@
}
static PyObject *
-dict_popitem(dictobject *mp)
+dict_popitem(PyDictObject *mp)
{
Py_ssize_t i = 0;
- dictentry *ep;
+ PyDictEntry *ep;
PyObject *res;
/* Allocate the result tuple before checking the size. Believe it
@@ -1923,22 +1921,22 @@
extern PyTypeObject PyDictIterKey_Type; /* Forward */
extern PyTypeObject PyDictIterValue_Type; /* Forward */
extern PyTypeObject PyDictIterItem_Type; /* Forward */
-static PyObject *dictiter_new(dictobject *, PyTypeObject *);
+static PyObject *dictiter_new(PyDictObject *, PyTypeObject *);
static PyObject *
-dict_iterkeys(dictobject *dict)
+dict_iterkeys(PyDictObject *dict)
{
return dictiter_new(dict, &PyDictIterKey_Type);
}
static PyObject *
-dict_itervalues(dictobject *dict)
+dict_itervalues(PyDictObject *dict)
{
return dictiter_new(dict, &PyDictIterValue_Type);
}
static PyObject *
-dict_iteritems(dictobject *dict)
+dict_iteritems(PyDictObject *dict)
{
return dictiter_new(dict, &PyDictIterItem_Type);
}
@@ -2041,8 +2039,8 @@
PyDict_Contains(PyObject *op, PyObject *key)
{
long hash;
- dictobject *mp = (dictobject *)op;
- dictentry *ep;
+ PyDictObject *mp = (PyDictObject *)op;
+ PyDictEntry *ep;
if (!PyString_CheckExact(key) ||
(hash = ((PyStringObject *) key)->ob_shash) == -1) {
@@ -2058,8 +2056,8 @@
int
_PyDict_Contains(PyObject *op, PyObject *key, long hash)
{
- dictobject *mp = (dictobject *)op;
- dictentry *ep;
+ PyDictObject *mp = (PyDictObject *)op;
+ PyDictEntry *ep;
ep = (mp->ma_lookup)(mp, key, hash);
return ep == NULL ? -1 : (ep->me_value != NULL);
@@ -2113,7 +2111,7 @@
}
static PyObject *
-dict_iter(dictobject *dict)
+dict_iter(PyDictObject *dict)
{
return dictiter_new(dict, &PyDictIterKey_Type);
}
@@ -2132,7 +2130,7 @@
PyTypeObject PyDict_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"dict",
- sizeof(dictobject),
+ sizeof(PyDictObject),
0,
(destructor)dict_dealloc, /* tp_dealloc */
(printfunc)dict_print, /* tp_print */
@@ -2217,7 +2215,7 @@
typedef struct {
PyObject_HEAD
- dictobject *di_dict; /* Set to NULL when iterator is exhausted */
+ PyDictObject *di_dict; /* Set to NULL when iterator is exhausted */
Py_ssize_t di_used;
Py_ssize_t di_pos;
PyObject* di_result; /* reusable result tuple for iteritems */
@@ -2225,7 +2223,7 @@
} dictiterobject;
static PyObject *
-dictiter_new(dictobject *dict, PyTypeObject *itertype)
+dictiter_new(PyDictObject *dict, PyTypeObject *itertype)
{
dictiterobject *di;
di = PyObject_New(dictiterobject, itertype);
@@ -2276,8 +2274,8 @@
{
PyObject *key;
register Py_ssize_t i, mask;
- register dictentry *ep;
- dictobject *d = di->di_dict;
+ register PyDictEntry *ep;
+ PyDictObject *d = di->di_dict;
if (d == NULL)
return NULL;
@@ -2348,8 +2346,8 @@
{
PyObject *value;
register Py_ssize_t i, mask;
- register dictentry *ep;
- dictobject *d = di->di_dict;
+ register PyDictEntry *ep;
+ PyDictObject *d = di->di_dict;
if (d == NULL)
return NULL;
@@ -2420,8 +2418,8 @@
{
PyObject *key, *value, *result = di->di_result;
register Py_ssize_t i, mask;
- register dictentry *ep;
- dictobject *d = di->di_dict;
+ register PyDictEntry *ep;
+ PyDictObject *d = di->di_dict;
if (d == NULL)
return NULL;
From python-checkins at python.org Wed Oct 10 02:26:46 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Wed, 10 Oct 2007 02:26:46 +0200 (CEST)
Subject: [Python-checkins] r58401 - in python/trunk:
Doc/library/collections.rst Lib/test/test_deque.py
Modules/_collectionsmodule.c
Message-ID: <20071010002646.DEEF41E400D@bag.python.org>
Author: raymond.hettinger
Date: Wed Oct 10 02:26:46 2007
New Revision: 58401
Modified:
python/trunk/Doc/library/collections.rst
python/trunk/Lib/test/test_deque.py
python/trunk/Modules/_collectionsmodule.c
Log:
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Wed Oct 10 02:26:46 2007
@@ -51,7 +51,7 @@
.. versionadded:: 2.4
- If *maxlen* is not specified or is *-1*, deques may grow to an
+ If *maxlen* is not specified or is *None*, deques may grow to an
arbitrary length. Otherwise, the deque is bounded to the specified maximum
length. Once a bounded length deque is full, when new items are added, a
corresponding number of items are discarded from the opposite end. Bounded
Modified: python/trunk/Lib/test/test_deque.py
==============================================================================
--- python/trunk/Lib/test/test_deque.py (original)
+++ python/trunk/Lib/test/test_deque.py Wed Oct 10 02:26:46 2007
@@ -48,6 +48,7 @@
self.assertEqual(list(d), range(50, 150))
def test_maxlen(self):
+ self.assertRaises(ValueError, deque, 'abc', -1)
self.assertRaises(ValueError, deque, 'abc', -2)
d = deque(range(10), maxlen=3)
self.assertEqual(repr(d), 'deque([7, 8, 9], maxlen=3)')
@@ -73,7 +74,7 @@
fo.close()
os.remove(test_support.TESTFN)
- d = deque(range(10), maxlen=-1)
+ d = deque(range(10), maxlen=None)
self.assertEqual(repr(d), 'deque([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])')
try:
fo = open(test_support.TESTFN, "wb")
@@ -489,6 +490,22 @@
self.assertEqual(type(d), type(e))
self.assertEqual(list(d), list(e))
+ d = Deque('abcde', maxlen=4)
+
+ e = d.__copy__()
+ self.assertEqual(type(d), type(e))
+ self.assertEqual(list(d), list(e))
+
+ e = Deque(d)
+ self.assertEqual(type(d), type(e))
+ self.assertEqual(list(d), list(e))
+
+ s = pickle.dumps(d)
+ e = pickle.loads(s)
+ self.assertNotEqual(id(d), id(e))
+ self.assertEqual(type(d), type(e))
+ self.assertEqual(list(d), list(e))
+
## def test_pickle(self):
## d = Deque('abc')
## d.append(d)
Modified: python/trunk/Modules/_collectionsmodule.c
==============================================================================
--- python/trunk/Modules/_collectionsmodule.c (original)
+++ python/trunk/Modules/_collectionsmodule.c Wed Oct 10 02:26:46 2007
@@ -598,8 +598,11 @@
static PyObject *
deque_copy(PyObject *deque)
{
- return PyObject_CallFunction((PyObject *)(Py_Type(deque)), "Oi",
- deque, ((dequeobject *)deque)->maxlen, NULL);
+ if (((dequeobject *)deque)->maxlen == -1)
+ return PyObject_CallFunction((PyObject *)(Py_Type(deque)), "O", deque, NULL);
+ else
+ return PyObject_CallFunction((PyObject *)(Py_Type(deque)), "Oi",
+ deque, ((dequeobject *)deque)->maxlen, NULL);
}
PyDoc_STRVAR(copy_doc, "Return a shallow copy of a deque.");
@@ -617,10 +620,17 @@
Py_XDECREF(dict);
return NULL;
}
- if (dict == NULL)
- result = Py_BuildValue("O(Oi)", Py_Type(deque), aslist, deque->maxlen);
- else
- result = Py_BuildValue("O(Oi)O", Py_Type(deque), aslist, deque->maxlen, dict);
+ if (dict == NULL) {
+ if (deque->maxlen == -1)
+ result = Py_BuildValue("O(O)", Py_Type(deque), aslist);
+ else
+ result = Py_BuildValue("O(Oi)", Py_Type(deque), aslist, deque->maxlen);
+ } else {
+ if (deque->maxlen == -1)
+ result = Py_BuildValue("O(OO)O", Py_Type(deque), aslist, Py_None, dict);
+ else
+ result = Py_BuildValue("O(Oi)O", Py_Type(deque), aslist, deque->maxlen, dict);
+ }
Py_XDECREF(dict);
Py_DECREF(aslist);
return result;
@@ -797,14 +807,20 @@
deque_init(dequeobject *deque, PyObject *args, PyObject *kwdargs)
{
PyObject *iterable = NULL;
+ PyObject *maxlenobj = NULL;
int maxlen = -1;
char *kwlist[] = {"iterable", "maxlen", 0};
- if (!PyArg_ParseTupleAndKeywords(args, kwdargs, "|Oi:deque", kwlist, &iterable, &maxlen))
- return -1;
- if (maxlen < -1) {
- PyErr_SetString(PyExc_ValueError, "maxlen must be -1 or greater");
+ if (!PyArg_ParseTupleAndKeywords(args, kwdargs, "|OO:deque", kwlist, &iterable, &maxlenobj))
return -1;
+ if (maxlenobj != NULL && maxlenobj != Py_None) {
+ maxlen = PyInt_AsLong(maxlenobj);
+ if (maxlen == -1 && PyErr_Occurred())
+ return -1;
+ if (maxlen < 0) {
+ PyErr_SetString(PyExc_ValueError, "maxlen must be non-negative");
+ return -1;
+ }
}
deque->maxlen = maxlen;
if (iterable != NULL) {
From python-checkins at python.org Wed Oct 10 02:55:40 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Wed, 10 Oct 2007 02:55:40 +0200 (CEST)
Subject: [Python-checkins] r58403 - python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/configDialog.py
Message-ID: <20071010005541.006601E400D@bag.python.org>
Author: kurt.kaiser
Date: Wed Oct 10 02:55:40 2007
New Revision: 58403
Modified:
python/trunk/Lib/idlelib/NEWS.txt
python/trunk/Lib/idlelib/configDialog.py
Log:
Allow cursor color change w/o restart. Patch 1725576 Tal Einat.
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Wed Oct 10 02:55:40 2007
@@ -3,6 +3,8 @@
*Release date: XX-XXX-200X*
+- Update cursor color without restarting. Patch 1725576 Tal Einat.
+
- Allow keyboard interrupt only when user code is executing in subprocess.
Patch 1225 Tal Einat (reworked from IDLE-Spoon).
Modified: python/trunk/Lib/idlelib/configDialog.py
==============================================================================
--- python/trunk/Lib/idlelib/configDialog.py (original)
+++ python/trunk/Lib/idlelib/configDialog.py Wed Oct 10 02:55:40 2007
@@ -1118,12 +1118,15 @@
def ActivateConfigChanges(self):
"Dynamically apply configuration changes"
winInstances=self.parent.instance_dict.keys()
+ theme = idleConf.CurrentTheme()
+ cursor_color = idleConf.GetHighlight(theme, 'cursor', fgBg='fg')
for instance in winInstances:
instance.ResetColorizer()
instance.ResetFont()
instance.set_notabs_indentwidth()
instance.ApplyKeybindings()
instance.reset_help_menu_entries()
+ instance.text.configure(insertbackground=cursor_color)
def Cancel(self):
self.destroy()
From buildbot at python.org Wed Oct 10 02:56:49 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 00:56:49 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071010005649.741191E400D@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/101
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 10 03:06:47 2007
From: python-checkins at python.org (kurt.kaiser)
Date: Wed, 10 Oct 2007 03:06:47 +0200 (CEST)
Subject: [Python-checkins] r58404 - python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/NEWS.txt
Message-ID: <20071010010647.92BE21E400D@bag.python.org>
Author: kurt.kaiser
Date: Wed Oct 10 03:06:47 2007
New Revision: 58404
Modified:
python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/NEWS.txt
Log:
show paste if > 80 columns. Patch 1659326 Tal Einat.
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py (original)
+++ python/trunk/Lib/idlelib/EditorWindow.py Wed Oct 10 03:06:47 2007
@@ -414,6 +414,7 @@
def paste(self,event):
self.text.event_generate("<>")
+ self.text.see("insert")
return "break"
def select_all(self, event=None):
Modified: python/trunk/Lib/idlelib/NEWS.txt
==============================================================================
--- python/trunk/Lib/idlelib/NEWS.txt (original)
+++ python/trunk/Lib/idlelib/NEWS.txt Wed Oct 10 03:06:47 2007
@@ -3,6 +3,8 @@
*Release date: XX-XXX-200X*
+- Show paste position if > 80 col. Patch 1659326 Tal Einat.
+
- Update cursor color without restarting. Patch 1725576 Tal Einat.
- Allow keyboard interrupt only when user code is executing in subprocess.
From buildbot at python.org Wed Oct 10 03:09:48 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 01:09:48 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP trunk
Message-ID: <20071010010948.2CD1A1E400D@bag.python.org>
The Buildbot has detected a new failure of amd64 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%20trunk/builds/266
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: brett.cannon
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 03:09:53 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 01:09:53 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071010010954.0F1131E400D@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/102
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_smtplib
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 03:25:07 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 01:25:07 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071010012507.BEB171E400D@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2242
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
1 test failed:
test_urllibnet
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 03:37:32 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 01:37:32 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071010013732.5F20A1E400D@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2534
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 05:00:26 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 03:00:26 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 3.0
Message-ID: <20071010030026.DF2341E400D@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%203.0/builds/10
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum,kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 10 06:27:16 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 04:27:16 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 trunk
Message-ID: <20071010042716.21A461E400D@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/2288
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_socket_ssl
======================================================================
ERROR: test_978833 (test.test_socket_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/test/test_socket_ssl.py", line 123, in test_978833
raise test_support.TestFailed("Failed to close socket")
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/contextlib.py", line 29, in __exit__
self.gen.throw(type, value, traceback)
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/contextlib.py", line 113, in nested
yield vars
File "/Users/buildslave/bb/trunk.psf-g4/build/Lib/test/test_socket_ssl.py", line 113, in test_978833
s.connect(("svn.python.org", 443))
File "", line 1, in connect
error: [Errno 61] Connection refused
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 10 08:50:44 2007
From: python-checkins at python.org (thomas.heller)
Date: Wed, 10 Oct 2007 08:50:44 +0200 (CEST)
Subject: [Python-checkins] r58405 - in python/branches/ctypes-branch:
Lib/ctypes/test/test_callbacks.py Modules/_ctypes/cfield.c
Message-ID: <20071010065044.802FB1E400D@bag.python.org>
Author: thomas.heller
Date: Wed Oct 10 08:50:44 2007
New Revision: 58405
Modified:
python/branches/ctypes-branch/Lib/ctypes/test/test_callbacks.py
python/branches/ctypes-branch/Modules/_ctypes/cfield.c
Log:
Add some debug prints to find out whats going on.
Modified: python/branches/ctypes-branch/Lib/ctypes/test/test_callbacks.py
==============================================================================
--- python/branches/ctypes-branch/Lib/ctypes/test/test_callbacks.py (original)
+++ python/branches/ctypes-branch/Lib/ctypes/test/test_callbacks.py Wed Oct 10 08:50:44 2007
@@ -1,4 +1,5 @@
import unittest
+import sys
from ctypes import *
import _ctypes_test
@@ -78,8 +79,14 @@
self.check_type(c_double, -3.14)
def test_longdouble(self):
+ print >> sys.stderr, "First Test Start"
self.check_type(c_longdouble, 3.14)
- self.check_type(c_longdouble, -3.14)
+ print >> sys.stderr, "First Test Done"
+ print >> sys.stderr
+
+ print >> sys.stderr, "Second Test Start"
+ self.check_type(c_longdouble, 2.78)
+ print >> sys.stderr, "Second Test Done"
def test_char(self):
self.check_type(c_char, "x")
Modified: python/branches/ctypes-branch/Modules/_ctypes/cfield.c
==============================================================================
--- python/branches/ctypes-branch/Modules/_ctypes/cfield.c (original)
+++ python/branches/ctypes-branch/Modules/_ctypes/cfield.c Wed Oct 10 08:50:44 2007
@@ -1001,6 +1001,7 @@
value->ob_type->tp_name);
return NULL;
}
+ fprintf(stderr, "D_set(%p, %f)\n", ptr, (float)x);
memcpy(ptr, &x, sizeof(long double));
_RET(value);
}
@@ -1010,6 +1011,7 @@
{
long double val;
memcpy(&val, ptr, sizeof(long double));
+ fprintf(stderr, "D_get(%p) -> %f\n", ptr, (float)val);
return PyFloat_FromDouble(val);
}
From python-checkins at python.org Wed Oct 10 13:12:38 2007
From: python-checkins at python.org (thomas.heller)
Date: Wed, 10 Oct 2007 13:12:38 +0200 (CEST)
Subject: [Python-checkins] r58406 -
python/branches/ctypes-branch/Modules/_ctypes/cfield.c
Message-ID: <20071010111238.4ECAE1E400D@bag.python.org>
Author: thomas.heller
Date: Wed Oct 10 13:12:38 2007
New Revision: 58406
Modified:
python/branches/ctypes-branch/Modules/_ctypes/cfield.c
Log:
More printing.
Modified: python/branches/ctypes-branch/Modules/_ctypes/cfield.c
==============================================================================
--- python/branches/ctypes-branch/Modules/_ctypes/cfield.c (original)
+++ python/branches/ctypes-branch/Modules/_ctypes/cfield.c Wed Oct 10 13:12:38 2007
@@ -993,7 +993,7 @@
D_set(void *ptr, PyObject *value, Py_ssize_t size)
{
long double x;
-
+ int i;
x = PyFloat_AsDouble(value);
if (x == -1 && PyErr_Occurred()) {
PyErr_Format(PyExc_TypeError,
@@ -1001,8 +1001,11 @@
value->ob_type->tp_name);
return NULL;
}
- fprintf(stderr, "D_set(%p, %f)\n", ptr, (float)x);
memcpy(ptr, &x, sizeof(long double));
+ fprintf(stderr, "D_set(%p, %f) (", ptr, (float)x);
+ for (i = 0; i < sizeof(long double); ++i)
+ fprintf(stderr, "%02x ", ((char *)ptr)[i] & 0xFF);
+ fprintf(stderr, ")\n");
_RET(value);
}
@@ -1010,8 +1013,12 @@
D_get(void *ptr, Py_ssize_t size)
{
long double val;
+ int i;
memcpy(&val, ptr, sizeof(long double));
- fprintf(stderr, "D_get(%p) -> %f\n", ptr, (float)val);
+ fprintf(stderr, "D_get(%p) %f (", ptr, (float)val);
+ for (i = 0; i < sizeof(long double); ++i)
+ fprintf(stderr, "%02x ", ((char *)ptr)[i] & 0xFF);
+ fprintf(stderr, ")\n");
return PyFloat_FromDouble(val);
}
From buildbot at python.org Wed Oct 10 13:40:40 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 10 Oct 2007 11:40:40 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 3.0
Message-ID: <20071010114040.4B2821E4021@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%203.0/builds/10
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: gregory.p.smith,guido.van.rossum,kurt.kaiser
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 06:48:34 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 04:48:34 +0000
Subject: [Python-checkins] buildbot failure in alpha Debian 3.0
Message-ID: <20071011044834.B309F1E4002@bag.python.org>
The Buildbot has detected a new failure of alpha Debian 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/alpha%20Debian%203.0/builds/29
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-alpha
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From nnorwitz at gmail.com Thu Oct 11 10:00:06 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Thu, 11 Oct 2007 04:00:06 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071011080006.GA10258@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From buildbot at python.org Thu Oct 11 13:01:45 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 11:01:45 +0000
Subject: [Python-checkins] buildbot failure in 2.5.msi
Message-ID: <20071011110145.8381B1E4014@bag.python.org>
The Buildbot has detected a new failure of 2.5.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.5.msi/builds/34
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.5.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 14:01:41 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 12:01:41 +0000
Subject: [Python-checkins] buildbot failure in 2.6.msi
Message-ID: <20071011120141.E58191E4004@bag.python.org>
The Buildbot has detected a new failure of 2.6.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.6.msi/builds/37
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.6.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 15:01:32 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 13:01:32 +0000
Subject: [Python-checkins] buildbot failure in 3.0.msi
Message-ID: <20071011130133.026351E4004@bag.python.org>
The Buildbot has detected a new failure of 3.0.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/3.0.msi/builds/41
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '3.0.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 11 21:51:33 2007
From: python-checkins at python.org (thomas.heller)
Date: Thu, 11 Oct 2007 21:51:33 +0200 (CEST)
Subject: [Python-checkins] r58415 - in python/trunk: Lib/ctypes/__init__.py
Misc/NEWS
Message-ID: <20071011195133.0D4001E4005@bag.python.org>
Author: thomas.heller
Date: Thu Oct 11 21:51:32 2007
New Revision: 58415
Modified:
python/trunk/Lib/ctypes/__init__.py
python/trunk/Misc/NEWS
Log:
On OS X, use os.uname() instead of gestalt.sysv(...) to get the
operating system version. This allows to use ctypes when Python
was configured with --disable-toolbox-glue.
Modified: python/trunk/Lib/ctypes/__init__.py
==============================================================================
--- python/trunk/Lib/ctypes/__init__.py (original)
+++ python/trunk/Lib/ctypes/__init__.py Thu Oct 11 21:51:32 2007
@@ -24,19 +24,12 @@
DEFAULT_MODE = RTLD_LOCAL
if _os.name == "posix" and _sys.platform == "darwin":
- import gestalt
-
- # gestalt.gestalt("sysv") returns the version number of the
- # currently active system file as BCD.
- # On OS X 10.4.6 -> 0x1046
- # On OS X 10.2.8 -> 0x1028
- # See also http://www.rgaros.nl/gestalt/
- #
# On OS X 10.3, we use RTLD_GLOBAL as default mode
# because RTLD_LOCAL does not work at least on some
- # libraries.
+ # libraries. OS X 10.3 is Darwin 7, so we check for
+ # that.
- if gestalt.gestalt("sysv") < 0x1040:
+ if int(_os.uname()[2].split('.')[0]) < 8:
DEFAULT_MODE = RTLD_GLOBAL
from _ctypes import FUNCFLAG_CDECL as _FUNCFLAG_CDECL, \
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu Oct 11 21:51:32 2007
@@ -272,6 +272,9 @@
Library
-------
+- Patch #1203: ctypes now does work on OS X when Python is built with
+ --disable-toolbox-glue
+
- collections.deque() now supports a "maxlen" argument.
- itertools.count() is no longer bounded to LONG_MAX. Formerly, it raised
From buildbot at python.org Thu Oct 11 21:56:41 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:56:41 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071011195641.463101E4005@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/264
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:56:44 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:56:44 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071011195644.EBA8D1E4005@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2244
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:56:47 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:56:47 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071011195647.5C82C1E401B@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/875
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:57:01 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:57:01 +0000
Subject: [Python-checkins] buildbot failure in sparc solaris10 gcc trunk
Message-ID: <20071011195701.27FE61E4005@bag.python.org>
The Buildbot has detected a new failure of sparc solaris10 gcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/sparc%20solaris10%20gcc%20trunk/builds/2346
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-sun
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:57:06 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:57:06 +0000
Subject: [Python-checkins] buildbot failure in x86 OpenBSD trunk
Message-ID: <20071011195706.E8B331E4005@bag.python.org>
The Buildbot has detected a new failure of x86 OpenBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20OpenBSD%20trunk/builds/55
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: cortesi
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:58:10 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:58:10 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071011195810.B8B6A1E4005@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/104
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:58:10 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:58:10 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071011195811.1A0521E4005@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/312
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 11 21:59:21 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 19:59:21 +0000
Subject: [Python-checkins] buildbot failure in x86 XP trunk
Message-ID: <20071011195921.620221E4018@bag.python.org>
The Buildbot has detected a new failure of x86 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%20trunk/builds/689
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From nnorwitz at gmail.com Thu Oct 11 22:00:04 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Thu, 11 Oct 2007 16:00:04 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071011200004.GA13148@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From buildbot at python.org Thu Oct 11 22:05:37 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 11 Oct 2007 20:05:37 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071011200542.3145F1E4026@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/105
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 05:01:02 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:01:02 +0200 (CEST)
Subject: [Python-checkins] r58419 - python/trunk/Makefile.pre.in
Message-ID: <20071012030102.4CEC21E402F@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:01:01 2007
New Revision: 58419
Modified:
python/trunk/Makefile.pre.in
Log:
Get rid of warning about not being able to create an existing directory.
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Fri Oct 12 05:01:01 2007
@@ -475,7 +475,7 @@
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
- -@ mkdir Include
+ -@$(INSTALL) -d Include
-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
$(PGEN): $(PGENOBJS)
From python-checkins at python.org Fri Oct 12 05:01:31 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:01:31 +0200 (CEST)
Subject: [Python-checkins] r58420 - in
python/trunk/Modules/_ctypes/libffi/src: alpha/ffi.c
ia64/ffi.c mips/ffi.c pa/ffi.c powerpc/ffi.c s390/ffi.c sparc/ffi.c
Message-ID: <20071012030131.5F02B1E4026@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:01:30 2007
New Revision: 58420
Modified:
python/trunk/Modules/_ctypes/libffi/src/alpha/ffi.c
python/trunk/Modules/_ctypes/libffi/src/ia64/ffi.c
python/trunk/Modules/_ctypes/libffi/src/mips/ffi.c
python/trunk/Modules/_ctypes/libffi/src/pa/ffi.c
python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi.c
python/trunk/Modules/_ctypes/libffi/src/s390/ffi.c
python/trunk/Modules/_ctypes/libffi/src/sparc/ffi.c
Log:
Get rid of warnings on a bunch of platforms by using a proper prototype.
Modified: python/trunk/Modules/_ctypes/libffi/src/alpha/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/alpha/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/alpha/ffi.c Fri Oct 12 05:01:30 2007
@@ -28,7 +28,7 @@
#include
-extern void ffi_call_osf(void *, unsigned long, unsigned, void *, void (*)());
+extern void ffi_call_osf(void *, unsigned long, unsigned, void *, void (*)(void));
extern void ffi_closure_osf(void);
@@ -58,7 +58,7 @@
}
void
-ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue)
+ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
unsigned long *stack, *argp;
long i, avn;
Modified: python/trunk/Modules/_ctypes/libffi/src/ia64/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/ia64/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/ia64/ffi.c Fri Oct 12 05:01:30 2007
@@ -259,10 +259,10 @@
return FFI_OK;
}
-extern int ffi_call_unix (struct ia64_args *, PTR64, void (*)(), UINT64);
+extern int ffi_call_unix (struct ia64_args *, PTR64, void (*)(void), UINT64);
void
-ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue)
+ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
struct ia64_args *stack;
long i, avn, gpcount, fpcount;
@@ -387,7 +387,7 @@
gp pointer to the closure. This allows the function entry code to
both retrieve the user data, and to restire the correct gp pointer. */
-extern void ffi_closure_unix ();
+extern void ffi_closure_unix (void);
ffi_status
ffi_prep_closure (ffi_closure* closure,
Modified: python/trunk/Modules/_ctypes/libffi/src/mips/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/mips/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/mips/ffi.c Fri Oct 12 05:01:30 2007
@@ -445,14 +445,14 @@
/* Low level routine for calling O32 functions */
extern int ffi_call_O32(void (*)(char *, extended_cif *, int, int),
extended_cif *, unsigned,
- unsigned, unsigned *, void (*)());
+ unsigned, unsigned *, void (*)(void));
/* Low level routine for calling N32 functions */
extern int ffi_call_N32(void (*)(char *, extended_cif *, int, int),
extended_cif *, unsigned,
- unsigned, unsigned *, void (*)());
+ unsigned, unsigned *, void (*)(void));
-void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue)
+void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
extended_cif ecif;
Modified: python/trunk/Modules/_ctypes/libffi/src/pa/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/pa/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/pa/ffi.c Fri Oct 12 05:01:30 2007
@@ -345,12 +345,12 @@
/*@out@*/ extended_cif *,
unsigned, unsigned,
/*@out@*/ unsigned *,
- void (*fn)());
+ void (*fn)(void));
/*@=declundef@*/
/*@=exportheader@*/
void ffi_call(/*@dependent@*/ ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
/*@out@*/ void *rvalue,
/*@dependent@*/ void **avalue)
{
Modified: python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi.c Fri Oct 12 05:01:30 2007
@@ -756,17 +756,17 @@
extern void ffi_call_SYSV(/*@out@*/ extended_cif *,
unsigned, unsigned,
/*@out@*/ unsigned *,
- void (*fn)());
+ void (*fn)(void));
extern void FFI_HIDDEN ffi_call_LINUX64(/*@out@*/ extended_cif *,
unsigned long, unsigned long,
/*@out@*/ unsigned long *,
- void (*fn)());
+ void (*fn)(void));
/*@=declundef@*/
/*@=exportheader@*/
void
ffi_call(/*@dependent@*/ ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
/*@out@*/ void *rvalue,
/*@dependent@*/ void **avalue)
{
Modified: python/trunk/Modules/_ctypes/libffi/src/s390/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/s390/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/s390/ffi.c Fri Oct 12 05:01:30 2007
@@ -88,7 +88,7 @@
void (*)(unsigned char *, extended_cif *),
unsigned,
void *,
- void (*fn)());
+ void (*fn)(void));
extern void ffi_closure_SYSV(void);
@@ -480,7 +480,7 @@
void
ffi_call(ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
void *rvalue,
void **avalue)
{
Modified: python/trunk/Modules/_ctypes/libffi/src/sparc/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/sparc/ffi.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/sparc/ffi.c Fri Oct 12 05:01:30 2007
@@ -358,13 +358,13 @@
#ifdef SPARC64
extern int ffi_call_v9(void *, extended_cif *, unsigned,
- unsigned, unsigned *, void (*fn)());
+ unsigned, unsigned *, void (*fn)(void));
#else
extern int ffi_call_v8(void *, extended_cif *, unsigned,
- unsigned, unsigned *, void (*fn)());
+ unsigned, unsigned *, void (*fn)(void));
#endif
-void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue)
+void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
extended_cif ecif;
void *rval = rvalue;
From python-checkins at python.org Fri Oct 12 05:01:55 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:01:55 +0200 (CEST)
Subject: [Python-checkins] r58421 - python/trunk/Modules/_bsddb.c
Message-ID: <20071012030155.92A311E401B@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:01:54 2007
New Revision: 58421
Modified:
python/trunk/Modules/_bsddb.c
Log:
Get rid of compiler warning about retval being used (returned) without
being initialized. (gcc warning and Coverity 202)
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Fri Oct 12 05:01:54 2007
@@ -4765,7 +4765,7 @@
{
int err;
DBT key;
- PyObject *retval;
+ PyObject *retval = NULL;
key.flags = DB_DBT_MALLOC;
CHECK_SEQUENCE_NOT_CLOSED(self)
MYDB_BEGIN_ALLOW_THREADS
From python-checkins at python.org Fri Oct 12 05:03:23 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:03:23 +0200 (CEST)
Subject: [Python-checkins] r58422 - python/trunk/Modules/main.c
Message-ID: <20071012030323.584B21E401B@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:03:23 2007
New Revision: 58422
Modified:
python/trunk/Modules/main.c
Log:
Fix Coverity 168: Close the file before returning (exiting).
Modified: python/trunk/Modules/main.c
==============================================================================
--- python/trunk/Modules/main.c (original)
+++ python/trunk/Modules/main.c Fri Oct 12 05:03:23 2007
@@ -416,6 +416,7 @@
if (fstat(fileno(fp), &sb) == 0 &&
S_ISDIR(sb.st_mode)) {
fprintf(stderr, "%s: '%s' is a directory, cannot continue\n", argv[0], filename);
+ fclose(fp);
return 1;
}
}
From python-checkins at python.org Fri Oct 12 05:04:19 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:04:19 +0200 (CEST)
Subject: [Python-checkins] r58423 - python/trunk/Parser/pgen.c
Message-ID: <20071012030419.4A72F1E4018@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:04:18 2007
New Revision: 58423
Modified:
python/trunk/Parser/pgen.c
Log:
Fix Coverity 180: Don't overallocate. We don't need structs, but pointers.
Also fix a memory leak.
Modified: python/trunk/Parser/pgen.c
==============================================================================
--- python/trunk/Parser/pgen.c (original)
+++ python/trunk/Parser/pgen.c Fri Oct 12 05:04:18 2007
@@ -124,7 +124,7 @@
nf = newnfa(name);
gr->gr_nfa = (nfa **)PyObject_REALLOC(gr->gr_nfa,
- sizeof(nfa) * (gr->gr_nnfas + 1));
+ sizeof(nfa*) * (gr->gr_nnfas + 1));
if (gr->gr_nfa == NULL)
Py_FatalError("out of mem");
gr->gr_nfa[gr->gr_nnfas++] = nf;
@@ -487,6 +487,7 @@
convert(d, xx_nstates, xx_state);
/* XXX cleanup */
+ PyObject_FREE(xx_state);
}
static void
From python-checkins at python.org Fri Oct 12 05:05:19 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:05:19 +0200 (CEST)
Subject: [Python-checkins] r58424 - python/trunk/Python/marshal.c
Message-ID: <20071012030519.60A121E4018@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:05:19 2007
New Revision: 58424
Modified:
python/trunk/Python/marshal.c
Log:
Fix Coverity 185-186: If the passed in FILE is NULL, uninitialized memory
would be accessed.
Will backport.
Modified: python/trunk/Python/marshal.c
==============================================================================
--- python/trunk/Python/marshal.c (original)
+++ python/trunk/Python/marshal.c Fri Oct 12 05:05:19 2007
@@ -1013,6 +1013,7 @@
RFILE rf;
rf.fp = fp;
rf.strings = NULL;
+ rf.ptr = rf.end = NULL;
return r_long(&rf);
}
@@ -1086,6 +1087,7 @@
rf.fp = fp;
rf.strings = PyList_New(0);
rf.depth = 0;
+ rf.ptr = rf.end = NULL;
result = r_object(&rf);
Py_DECREF(rf.strings);
return result;
From python-checkins at python.org Fri Oct 12 05:52:35 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:52:35 +0200 (CEST)
Subject: [Python-checkins] r58425 - python/trunk/Modules/_bsddb.c
Message-ID: <20071012035235.1D03A1E4018@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:52:34 2007
New Revision: 58425
Modified:
python/trunk/Modules/_bsddb.c
Log:
Get this module to compile with bsddb versions prior to 4.3
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Fri Oct 12 05:52:34 2007
@@ -5903,7 +5903,9 @@
bsddb_api.dbenv_type = &DBEnv_Type;
bsddb_api.dbtxn_type = &DBTxn_Type;
bsddb_api.dblock_type = &DBLock_Type;
+#if (DBVER >= 43)
bsddb_api.dbsequence_type = &DBSequence_Type;
+#endif
bsddb_api.makeDBError = makeDBError;
py_api = PyCObject_FromVoidPtr((void*)&bsddb_api, NULL);
From python-checkins at python.org Fri Oct 12 05:59:09 2007
From: python-checkins at python.org (neal.norwitz)
Date: Fri, 12 Oct 2007 05:59:09 +0200 (CEST)
Subject: [Python-checkins] r58426 -
python/branches/release25-maint/Python/marshal.c
Message-ID: <20071012035909.B68651E4018@bag.python.org>
Author: neal.norwitz
Date: Fri Oct 12 05:59:09 2007
New Revision: 58426
Modified:
python/branches/release25-maint/Python/marshal.c
Log:
Backport 58424:
Fix Coverity 185-186: If the passed in FILE is NULL, uninitialized memory
would be accessed.
Modified: python/branches/release25-maint/Python/marshal.c
==============================================================================
--- python/branches/release25-maint/Python/marshal.c (original)
+++ python/branches/release25-maint/Python/marshal.c Fri Oct 12 05:59:09 2007
@@ -1013,6 +1013,7 @@
RFILE rf;
rf.fp = fp;
rf.strings = NULL;
+ rf.ptr = rf.end = NULL;
return r_long(&rf);
}
@@ -1086,6 +1087,7 @@
rf.fp = fp;
rf.strings = PyList_New(0);
rf.depth = 0;
+ rf.ptr = rf.end = NULL;
result = r_object(&rf);
Py_DECREF(rf.strings);
return result;
From buildbot at python.org Fri Oct 12 06:26:35 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 04:26:35 +0000
Subject: [Python-checkins] buildbot failure in x86 OpenBSD trunk
Message-ID: <20071012042635.7936B1E4018@bag.python.org>
The Buildbot has detected a new failure of x86 OpenBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20OpenBSD%20trunk/builds/57
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: cortesi
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_socketserver
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 06:32:58 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 04:32:58 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071012043258.6D11A1E4019@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/106
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 06:49:48 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 04:49:48 +0000
Subject: [Python-checkins] buildbot failure in x86 OpenBSD 2.5
Message-ID: <20071012044949.408EC1E4018@bag.python.org>
The Buildbot has detected a new failure of x86 OpenBSD 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20OpenBSD%202.5/builds/1
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: cortesi
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllibnet
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 06:57:14 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 04:57:14 +0000
Subject: [Python-checkins] buildbot failure in x86 XP 2.5
Message-ID: <20071012045714.8E39A1E4018@bag.python.org>
The Buildbot has detected a new failure of x86 XP 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%202.5/builds/298
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 07:29:58 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 05:29:58 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071012053004.5C1191E4018@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/107
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1001-1001-1001-1001-1001'
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2000-2000-2000-2000-2000'
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0002-0002-0002-0002-0002'
1 test failed:
test_bsddb3
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 08:53:33 2007
From: python-checkins at python.org (thomas.heller)
Date: Fri, 12 Oct 2007 08:53:33 +0200 (CEST)
Subject: [Python-checkins] r58427 - in python/branches/release25-maint:
Misc/NEWS Modules/_ctypes/cfield.c
Message-ID: <20071012065333.29B1A1E401C@bag.python.org>
Author: thomas.heller
Date: Fri Oct 12 08:53:32 2007
New Revision: 58427
Modified:
python/branches/release25-maint/Misc/NEWS
python/branches/release25-maint/Modules/_ctypes/cfield.c
Log:
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.
See also https://bugs.launchpad.net/bugs/72505.
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Fri Oct 12 08:53:32 2007
@@ -32,6 +32,9 @@
Library
-------
+- ctypes will now work correctly on 32-bit systems when Python is
+ configured with --with-system-ffi.
+
- Bug #1777530: ctypes.util.find_library uses dump(1) instead of
objdump(1) on Solaris.
Modified: python/branches/release25-maint/Modules/_ctypes/cfield.c
==============================================================================
--- python/branches/release25-maint/Modules/_ctypes/cfield.c (original)
+++ python/branches/release25-maint/Modules/_ctypes/cfield.c Fri Oct 12 08:53:32 2007
@@ -1549,17 +1549,21 @@
/* XXX Hm, sizeof(int) == sizeof(long) doesn't hold on every platform */
/* As soon as we can get rid of the type codes, this is no longer a problem */
#if SIZEOF_LONG == 4
- { 'l', l_set, l_get, &ffi_type_sint, l_set_sw, l_get_sw},
- { 'L', L_set, L_get, &ffi_type_uint, L_set_sw, L_get_sw},
+ { 'l', l_set, l_get, &ffi_type_sint32, l_set_sw, l_get_sw},
+ { 'L', L_set, L_get, &ffi_type_uint32, L_set_sw, L_get_sw},
#elif SIZEOF_LONG == 8
- { 'l', l_set, l_get, &ffi_type_slong, l_set_sw, l_get_sw},
- { 'L', L_set, L_get, &ffi_type_ulong, L_set_sw, L_get_sw},
+ { 'l', l_set, l_get, &ffi_type_sint64, l_set_sw, l_get_sw},
+ { 'L', L_set, L_get, &ffi_type_uint64, L_set_sw, L_get_sw},
#else
# error
#endif
#ifdef HAVE_LONG_LONG
- { 'q', q_set, q_get, &ffi_type_slong, q_set_sw, q_get_sw},
- { 'Q', Q_set, Q_get, &ffi_type_ulong, Q_set_sw, Q_get_sw},
+#if SIZEOF_LONG_LONG == 8
+ { 'q', q_set, q_get, &ffi_type_sint64, q_set_sw, q_get_sw},
+ { 'Q', Q_set, Q_get, &ffi_type_uint64, Q_set_sw, Q_get_sw},
+#else
+# error
+#endif
#endif
{ 'P', P_set, P_get, &ffi_type_pointer},
{ 'z', z_set, z_get, &ffi_type_pointer},
From python-checkins at python.org Fri Oct 12 09:17:23 2007
From: python-checkins at python.org (brett.cannon)
Date: Fri, 12 Oct 2007 09:17:23 +0200 (CEST)
Subject: [Python-checkins] r58428 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071012071723.C7B011E4031@bag.python.org>
Author: brett.cannon
Date: Fri Oct 12 09:17:22 2007
New Revision: 58428
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Handle the issue of when open() is not defined.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Fri Oct 12 09:17:22 2007
@@ -131,6 +131,63 @@
trimmed_path_len = len(path) - len(ext)
return imp._case_ok(path, trimmed_path_len, module_name)
+def open_(path, flags):
+ """Stand-in replacement for open() in case it is not available yet."""
+ try:
+ raise NameError
+ return open(path, flags)
+ except NameError:
+ return DinkyFile(path, flags)
+
+class DinkyFile(object):
+
+ """Dinky replacement of a file object."""
+
+ def __init__(self, path, flags):
+ self.writing = 'w' in flags
+ self.binary = 'b' in flags
+ if self.writing:
+ posix_flags = _os.O_WRONLY | _os.O_CREAT
+ else:
+ posix_flags = _os.O_RDONLY
+ self.fd = _os.open(path, posix_flags)
+
+ def read(self):
+ if self.writing:
+ raise TypeError("file not opened for reading")
+ hunk_size = 8 * 1024
+ read_out = bytes()
+ while True:
+ just_read = _os.read(self.fd, hunk_size)
+ if not just_read:
+ break
+ read_out.extend(just_read)
+ if len(just_read) < hunk_size:
+ break
+ if self.binary:
+ return read_out
+ else:
+ return read_out.decode("utf8")
+
+ def write(self, data):
+ if not self.writing or not self.binary:
+ raise TypeError("file not opened for writing binary")
+ _os.write(self.fd, data)
+
+ def close(self):
+ if hasattr(self, 'fd') and self.fd != -1:
+ _os.close(self.fd)
+ self.fd = -1
+
+ def __del__(self):
+ self.close()
+
+ def __enter__(self):
+ return self
+
+ def __exit__(self, *args):
+ self.close()
+
class _BuiltinFrozenBaseImporter(object):
@@ -482,7 +539,7 @@
"""
source_path = self._source_path()
if source_path:
- return open(source_path, 'U').read()
+ return open_(source_path, 'U').read()
elif self._bytecode_path():
return None
else:
@@ -498,7 +555,7 @@
"""
try:
- with open(self._bytecode_path(), 'rb') as bytecode_file:
+ with open_(self._bytecode_path(), 'rb') as bytecode_file:
data = bytecode_file.read()
return data[:4], marshal._r_long(data[4:8]), data[8:]
except AttributeError:
@@ -518,7 +575,7 @@
if not bytecode_path:
bytecode_path = self._base_path + suffix_list(imp.PY_COMPILED)[0]
try:
- with open(bytecode_path, 'wb') as bytecode_file:
+ with open_(bytecode_path, 'wb') as bytecode_file:
bytecode_file.write(imp.get_magic())
bytecode_file.write(marshal._w_long(timestamp))
bytecode_file.write(data)
@@ -531,7 +588,7 @@
def get_data(self, path):
"""Return the data from path as raw bytes."""
- return open(path, 'rb').read()
+ return open_(path, 'rb').read()
@check_name
def is_package(self, fullname):
From buildbot at python.org Fri Oct 12 09:19:29 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 07:19:29 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo 2.5
Message-ID: <20071012071929.D97551E401C@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%202.5/builds/364
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: thomas.heller
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 09:41:26 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 07:41:26 +0000
Subject: [Python-checkins] buildbot failure in alpha Tru64 5.1 2.5
Message-ID: <20071012074126.587C01E401C@bag.python.org>
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/329
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: thomas.heller
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 10:56:52 2007
From: python-checkins at python.org (martin.v.loewis)
Date: Fri, 12 Oct 2007 10:56:52 +0200 (CEST)
Subject: [Python-checkins] r58430 - in python/trunk: Misc/NEWS PC/pyconfig.h
Message-ID: <20071012085652.6973E1E401C@bag.python.org>
Author: martin.v.loewis
Date: Fri Oct 12 10:56:52 2007
New Revision: 58430
Modified:
python/trunk/Misc/NEWS
python/trunk/PC/pyconfig.h
Log:
Bug #1216: Restore support for Visual Studio 2002.
Will backport to 2.5.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Oct 12 10:56:52 2007
@@ -1063,6 +1063,8 @@
- Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
+- Bug #1216: Restore support for Visual Studio 2002.
+
Mac
---
Modified: python/trunk/PC/pyconfig.h
==============================================================================
--- python/trunk/PC/pyconfig.h (original)
+++ python/trunk/PC/pyconfig.h Fri Oct 12 10:56:52 2007
@@ -377,11 +377,11 @@
define these.
If some compiler does not provide them, modify the #if appropriately. */
#if defined(_MSC_VER)
-#if _MSC_VER > 1201
+#if _MSC_VER > 1300
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#else
-/* VC6 & eVC4 don't support the C99 LL suffix for 64-bit integer literals */
+/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
#define Py_LL(x) x##I64
#endif /* _MSC_VER > 1200 */
#endif /* _MSC_VER */
From python-checkins at python.org Fri Oct 12 10:58:48 2007
From: python-checkins at python.org (martin.v.loewis)
Date: Fri, 12 Oct 2007 10:58:48 +0200 (CEST)
Subject: [Python-checkins] r58431 - in python/branches/release25-maint:
Misc/NEWS PC/pyconfig.h
Message-ID: <20071012085848.A716B1E401C@bag.python.org>
Author: martin.v.loewis
Date: Fri Oct 12 10:58:48 2007
New Revision: 58431
Modified:
python/branches/release25-maint/Misc/NEWS
python/branches/release25-maint/PC/pyconfig.h
Log:
Bug #1216: Restore support for Visual Studio 2002.
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Fri Oct 12 10:58:48 2007
@@ -151,6 +151,11 @@
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
to include some information about the build environment.
+Windows
+-------
+
+- Bug #1216: Restore support for Visual Studio 2002.
+
What's New in Python 2.5.1?
=============================
Modified: python/branches/release25-maint/PC/pyconfig.h
==============================================================================
--- python/branches/release25-maint/PC/pyconfig.h (original)
+++ python/branches/release25-maint/PC/pyconfig.h Fri Oct 12 10:58:48 2007
@@ -350,11 +350,11 @@
define these.
If some compiler does not provide them, modify the #if appropriately. */
#if defined(_MSC_VER)
-#if _MSC_VER > 1201
+#if _MSC_VER > 1300
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#else
-/* VC6 & eVC4 don't support the C99 LL suffix for 64-bit integer literals */
+/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
#define Py_LL(x) x##I64
#endif /* _MSC_VER > 1200 */
#endif /* _MSC_VER */
From buildbot at python.org Fri Oct 12 11:25:55 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 09:25:55 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071012092555.90F111E401D@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/878
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: martin.v.loewis
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 11:47:13 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 09:47:13 +0000
Subject: [Python-checkins] buildbot failure in x86 XP trunk
Message-ID: <20071012094713.AA1341E401D@bag.python.org>
The Buildbot has detected a new failure of x86 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%20trunk/builds/692
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: martin.v.loewis
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
sincerely,
-The Buildbot
From nnorwitz at gmail.com Fri Oct 12 11:58:51 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Fri, 12 Oct 2007 05:58:51 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071012095851.GA12349@python.psfb.org>
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
test test_bsddb3 failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_dbtables.py", line 188, in test03
assert values[0]['b'] == "bad"
AssertionError
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...
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7359 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
[516606 refs]
From buildbot at python.org Fri Oct 12 12:38:22 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 10:38:22 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 2.5
Message-ID: <20071012103822.86F751E401D@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%202.5/builds/417
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: martin.v.loewis
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 14:08:51 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 12:08:51 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071012120851.9CB741E401D@bag.python.org>
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/212
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: martin.v.loewis
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 238, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From python-checkins at python.org Fri Oct 12 19:41:08 2007
From: python-checkins at python.org (brett.cannon)
Date: Fri, 12 Oct 2007 19:41:08 +0200 (CEST)
Subject: [Python-checkins] r58432 -
python/branches/release25-maint/Modules/main.c
Message-ID: <20071012174108.63C631E4022@bag.python.org>
Author: brett.cannon
Date: Fri Oct 12 19:41:08 2007
New Revision: 58432
Modified:
python/branches/release25-maint/Modules/main.c
Log:
Silence a compiler warning about a function definition not being a prototype.
Modified: python/branches/release25-maint/Modules/main.c
==============================================================================
--- python/branches/release25-maint/Modules/main.c (original)
+++ python/branches/release25-maint/Modules/main.c Fri Oct 12 19:41:08 2007
@@ -182,7 +182,7 @@
"threading" threads have completed. */
#include "abstract.h"
static void
-WaitForThreadShutdown()
+WaitForThreadShutdown(void)
{
#ifdef WITH_THREAD
PyObject *result;
From python-checkins at python.org Fri Oct 12 19:53:12 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Fri, 12 Oct 2007 19:53:12 +0200 (CEST)
Subject: [Python-checkins] r58433 - python/trunk/Lib/test/test_itertools.py
Message-ID: <20071012175312.3BD5A1E4022@bag.python.org>
Author: raymond.hettinger
Date: Fri Oct 12 19:53:11 2007
New Revision: 58433
Modified:
python/trunk/Lib/test/test_itertools.py
Log:
Fix test of count.__repr__() to ignore the 'L' if the count is a long
Modified: python/trunk/Lib/test/test_itertools.py
==============================================================================
--- python/trunk/Lib/test/test_itertools.py (original)
+++ python/trunk/Lib/test/test_itertools.py Fri Oct 12 19:53:11 2007
@@ -67,7 +67,10 @@
c.next()
self.assertEqual(c.next(), -8)
for i in (-sys.maxint-5, -sys.maxint+5 ,-10, -1, 0, 10, sys.maxint-5, sys.maxint+5):
- self.assertEqual(repr(count(i)), 'count(%r)' % i)
+ # Test repr (ignoring the L in longs)
+ r1 = repr(count(i)).replace('L', '')
+ r2 = 'count(%r)'.__mod__(i).replace('L', '')
+ self.assertEqual(r1, r2)
def test_cycle(self):
self.assertEqual(take(10, cycle('abc')), list('abcabcabca'))
From buildbot at python.org Fri Oct 12 20:32:27 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 18:32:27 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071012183228.093551E4028@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2248
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
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_urllib2net
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 20:44:06 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Fri, 12 Oct 2007 20:44:06 +0200 (CEST)
Subject: [Python-checkins] r58434 - in python/trunk/Lib/bsddb: dbshelve.py
test/test_dbshelve.py
Message-ID: <20071012184406.DE9FA1E4022@bag.python.org>
Author: gregory.p.smith
Date: Fri Oct 12 20:44:06 2007
New Revision: 58434
Modified:
python/trunk/Lib/bsddb/dbshelve.py
python/trunk/Lib/bsddb/test/test_dbshelve.py
Log:
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
was useless due to inverted logic. Also adds a test case for RECNO dbs
to test_dbshelve.
Modified: python/trunk/Lib/bsddb/dbshelve.py
==============================================================================
--- python/trunk/Lib/bsddb/dbshelve.py (original)
+++ python/trunk/Lib/bsddb/dbshelve.py Fri Oct 12 20:44:06 2007
@@ -84,6 +84,9 @@
#---------------------------------------------------------------------------
+class DBShelveError(db.DBError): pass
+
+
class DBShelf(DictMixin):
"""A shelf to hold pickled objects, built upon a bsddb DB object. It
automatically pickles/unpickles data objects going to/from the DB.
@@ -162,10 +165,10 @@
return self.db.append(data, txn)
def append(self, value, txn=None):
- if self.get_type() != db.DB_RECNO:
+ if self.get_type() == db.DB_RECNO:
self.append = self.__append
return self.append(value, txn=txn)
- raise db.DBError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
+ raise DBShelveError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
def associate(self, secondaryDB, callback, flags=0):
Modified: python/trunk/Lib/bsddb/test/test_dbshelve.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_dbshelve.py (original)
+++ python/trunk/Lib/bsddb/test/test_dbshelve.py Fri Oct 12 20:44:06 2007
@@ -41,17 +41,22 @@
except os.error:
pass
+ def mk(self, key):
+ """Turn key into an appropriate key type for this db"""
+ # override in child class for RECNO
+ return key
+
def populateDB(self, d):
for x in string.letters:
- d['S' + x] = 10 * x # add a string
- d['I' + x] = ord(x) # add an integer
- d['L' + x] = [x] * 10 # add a list
+ d[self.mk('S' + x)] = 10 * x # add a string
+ d[self.mk('I' + x)] = ord(x) # add an integer
+ d[self.mk('L' + x)] = [x] * 10 # add a list
inst = DataClass() # add an instance
inst.S = 10 * x
inst.I = ord(x)
inst.L = [x] * 10
- d['O' + x] = inst
+ d[self.mk('O' + x)] = inst
# overridable in derived classes to affect how the shelf is created/opened
@@ -85,14 +90,14 @@
print "keys:", k
print "stats:", s
- assert 0 == d.has_key('bad key')
- assert 1 == d.has_key('IA')
- assert 1 == d.has_key('OA')
-
- d.delete('IA')
- del d['OA']
- assert 0 == d.has_key('IA')
- assert 0 == d.has_key('OA')
+ assert 0 == d.has_key(self.mk('bad key'))
+ assert 1 == d.has_key(self.mk('IA'))
+ assert 1 == d.has_key(self.mk('OA'))
+
+ d.delete(self.mk('IA'))
+ del d[self.mk('OA')]
+ assert 0 == d.has_key(self.mk('IA'))
+ assert 0 == d.has_key(self.mk('OA'))
assert len(d) == l-2
values = []
@@ -115,18 +120,18 @@
for key, value in items:
self.checkrec(key, value)
- assert d.get('bad key') == None
- assert d.get('bad key', None) == None
- assert d.get('bad key', 'a string') == 'a string'
- assert d.get('bad key', [1, 2, 3]) == [1, 2, 3]
+ assert d.get(self.mk('bad key')) == None
+ assert d.get(self.mk('bad key'), None) == None
+ assert d.get(self.mk('bad key'), 'a string') == 'a string'
+ assert d.get(self.mk('bad key'), [1, 2, 3]) == [1, 2, 3]
d.set_get_returns_none(0)
- self.assertRaises(db.DBNotFoundError, d.get, 'bad key')
+ self.assertRaises(db.DBNotFoundError, d.get, self.mk('bad key'))
d.set_get_returns_none(1)
- d.put('new key', 'new data')
- assert d.get('new key') == 'new data'
- assert d['new key'] == 'new data'
+ d.put(self.mk('new key'), 'new data')
+ assert d.get(self.mk('new key')) == 'new data'
+ assert d[self.mk('new key')] == 'new data'
@@ -165,14 +170,24 @@
assert count == len(d)
- c.set('SS')
+ c.set(self.mk('SS'))
key, value = c.current()
self.checkrec(key, value)
del c
+ def test03_append(self):
+ # NOTE: this is overridden in RECNO subclass, don't change its name.
+ if verbose:
+ print '\n', '-=' * 30
+ print "Running %s.test03_append..." % self.__class__.__name__
+
+ self.assertRaises(dbshelve.DBShelveError,
+ self.d.append, 'unit test was here')
+
def checkrec(self, key, value):
+ # override this in a subclass if the key type is different
x = key[1]
if key[0] == 'S':
assert type(value) == StringType
@@ -281,7 +296,43 @@
#----------------------------------------------------------------------
-# TODO: Add test cases for a DBShelf in a RECNO DB.
+# test cases for a DBShelf in a RECNO DB.
+
+class RecNoShelveTestCase(BasicShelveTestCase):
+ dbtype = db.DB_RECNO
+ dbflags = db.DB_CREATE
+
+ def setUp(self):
+ BasicShelveTestCase.setUp(self)
+
+ # pool to assign integer key values out of
+ self.key_pool = list(range(1, 5000))
+ self.key_map = {} # map string keys to the number we gave them
+ self.intkey_map = {} # reverse map of above
+
+ def mk(self, key):
+ if key not in self.key_map:
+ self.key_map[key] = self.key_pool.pop(0)
+ self.intkey_map[self.key_map[key]] = key
+ return self.key_map[key]
+
+ def checkrec(self, intkey, value):
+ key = self.intkey_map[intkey]
+ BasicShelveTestCase.checkrec(self, key, value)
+
+ def test03_append(self):
+ if verbose:
+ print '\n', '-=' * 30
+ print "Running %s.test03_append..." % self.__class__.__name__
+
+ self.d[1] = 'spam'
+ self.d[5] = 'eggs'
+ self.assertEqual(6, self.d.append('spam'))
+ self.assertEqual(7, self.d.append('baked beans'))
+ self.assertEqual('spam', self.d.get(6))
+ self.assertEqual('spam', self.d.get(1))
+ self.assertEqual('baked beans', self.d.get(7))
+ self.assertEqual('eggs', self.d.get(5))
#----------------------------------------------------------------------
@@ -298,6 +349,7 @@
suite.addTest(unittest.makeSuite(EnvHashShelveTestCase))
suite.addTest(unittest.makeSuite(EnvThreadBTreeShelveTestCase))
suite.addTest(unittest.makeSuite(EnvThreadHashShelveTestCase))
+ suite.addTest(unittest.makeSuite(RecNoShelveTestCase))
return suite
From buildbot at python.org Fri Oct 12 20:45:11 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 18:45:11 +0000
Subject: [Python-checkins] buildbot failure in alpha Tru64 5.1 2.5
Message-ID: <20071012184511.DB14F1E402D@bag.python.org>
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/331
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: brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_socket
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 20:49:37 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Fri, 12 Oct 2007 20:49:37 +0200 (CEST)
Subject: [Python-checkins] r58435 - in python/branches/release25-maint:
Lib/bsddb/dbshelve.py Lib/bsddb/test/test_dbshelve.py Misc/NEWS
Message-ID: <20071012184937.4F8A01E4029@bag.python.org>
Author: gregory.p.smith
Date: Fri Oct 12 20:49:36 2007
New Revision: 58435
Modified:
python/branches/release25-maint/Lib/bsddb/dbshelve.py
python/branches/release25-maint/Lib/bsddb/test/test_dbshelve.py
python/branches/release25-maint/Misc/NEWS
Log:
Merge trunk 58434:
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
was useless due to inverted logic. Also adds a test case for RECNO dbs
to test_dbshelve.
Modified: python/branches/release25-maint/Lib/bsddb/dbshelve.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/dbshelve.py (original)
+++ python/branches/release25-maint/Lib/bsddb/dbshelve.py Fri Oct 12 20:49:36 2007
@@ -75,6 +75,9 @@
#---------------------------------------------------------------------------
+class DBShelveError(db.DBError): pass
+
+
class DBShelf(DictMixin):
"""A shelf to hold pickled objects, built upon a bsddb DB object. It
automatically pickles/unpickles data objects going to/from the DB.
@@ -150,10 +153,10 @@
return self.db.append(data, txn)
def append(self, value, txn=None):
- if self.get_type() != db.DB_RECNO:
+ if self.get_type() == db.DB_RECNO:
self.append = self.__append
return self.append(value, txn=txn)
- raise db.DBError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
+ raise DBShelveError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
def associate(self, secondaryDB, callback, flags=0):
Modified: python/branches/release25-maint/Lib/bsddb/test/test_dbshelve.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_dbshelve.py (original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_dbshelve.py Fri Oct 12 20:49:36 2007
@@ -41,17 +41,22 @@
except os.error:
pass
+ def mk(self, key):
+ """Turn key into an appropriate key type for this db"""
+ # override in child class for RECNO
+ return key
+
def populateDB(self, d):
for x in string.letters:
- d['S' + x] = 10 * x # add a string
- d['I' + x] = ord(x) # add an integer
- d['L' + x] = [x] * 10 # add a list
+ d[self.mk('S' + x)] = 10 * x # add a string
+ d[self.mk('I' + x)] = ord(x) # add an integer
+ d[self.mk('L' + x)] = [x] * 10 # add a list
inst = DataClass() # add an instance
inst.S = 10 * x
inst.I = ord(x)
inst.L = [x] * 10
- d['O' + x] = inst
+ d[self.mk('O' + x)] = inst
# overridable in derived classes to affect how the shelf is created/opened
@@ -85,14 +90,14 @@
print "keys:", k
print "stats:", s
- assert 0 == d.has_key('bad key')
- assert 1 == d.has_key('IA')
- assert 1 == d.has_key('OA')
-
- d.delete('IA')
- del d['OA']
- assert 0 == d.has_key('IA')
- assert 0 == d.has_key('OA')
+ assert 0 == d.has_key(self.mk('bad key'))
+ assert 1 == d.has_key(self.mk('IA'))
+ assert 1 == d.has_key(self.mk('OA'))
+
+ d.delete(self.mk('IA'))
+ del d[self.mk('OA')]
+ assert 0 == d.has_key(self.mk('IA'))
+ assert 0 == d.has_key(self.mk('OA'))
assert len(d) == l-2
values = []
@@ -115,18 +120,18 @@
for key, value in items:
self.checkrec(key, value)
- assert d.get('bad key') == None
- assert d.get('bad key', None) == None
- assert d.get('bad key', 'a string') == 'a string'
- assert d.get('bad key', [1, 2, 3]) == [1, 2, 3]
+ assert d.get(self.mk('bad key')) == None
+ assert d.get(self.mk('bad key'), None) == None
+ assert d.get(self.mk('bad key'), 'a string') == 'a string'
+ assert d.get(self.mk('bad key'), [1, 2, 3]) == [1, 2, 3]
d.set_get_returns_none(0)
- self.assertRaises(db.DBNotFoundError, d.get, 'bad key')
+ self.assertRaises(db.DBNotFoundError, d.get, self.mk('bad key'))
d.set_get_returns_none(1)
- d.put('new key', 'new data')
- assert d.get('new key') == 'new data'
- assert d['new key'] == 'new data'
+ d.put(self.mk('new key'), 'new data')
+ assert d.get(self.mk('new key')) == 'new data'
+ assert d[self.mk('new key')] == 'new data'
@@ -165,14 +170,24 @@
assert count == len(d)
- c.set('SS')
+ c.set(self.mk('SS'))
key, value = c.current()
self.checkrec(key, value)
del c
+ def test03_append(self):
+ # NOTE: this is overridden in RECNO subclass, don't change its name.
+ if verbose:
+ print '\n', '-=' * 30
+ print "Running %s.test03_append..." % self.__class__.__name__
+
+ self.assertRaises(dbshelve.DBShelveError,
+ self.d.append, 'unit test was here')
+
def checkrec(self, key, value):
+ # override this in a subclass if the key type is different
x = key[1]
if key[0] == 'S':
assert type(value) == StringType
@@ -281,7 +296,43 @@
#----------------------------------------------------------------------
-# TODO: Add test cases for a DBShelf in a RECNO DB.
+# test cases for a DBShelf in a RECNO DB.
+
+class RecNoShelveTestCase(BasicShelveTestCase):
+ dbtype = db.DB_RECNO
+ dbflags = db.DB_CREATE
+
+ def setUp(self):
+ BasicShelveTestCase.setUp(self)
+
+ # pool to assign integer key values out of
+ self.key_pool = list(range(1, 5000))
+ self.key_map = {} # map string keys to the number we gave them
+ self.intkey_map = {} # reverse map of above
+
+ def mk(self, key):
+ if key not in self.key_map:
+ self.key_map[key] = self.key_pool.pop(0)
+ self.intkey_map[self.key_map[key]] = key
+ return self.key_map[key]
+
+ def checkrec(self, intkey, value):
+ key = self.intkey_map[intkey]
+ BasicShelveTestCase.checkrec(self, key, value)
+
+ def test03_append(self):
+ if verbose:
+ print '\n', '-=' * 30
+ print "Running %s.test03_append..." % self.__class__.__name__
+
+ self.d[1] = 'spam'
+ self.d[5] = 'eggs'
+ self.assertEqual(6, self.d.append('spam'))
+ self.assertEqual(7, self.d.append('baked beans'))
+ self.assertEqual('spam', self.d.get(6))
+ self.assertEqual('spam', self.d.get(1))
+ self.assertEqual('baked beans', self.d.get(7))
+ self.assertEqual('eggs', self.d.get(5))
#----------------------------------------------------------------------
@@ -298,6 +349,7 @@
suite.addTest(unittest.makeSuite(EnvHashShelveTestCase))
suite.addTest(unittest.makeSuite(EnvThreadBTreeShelveTestCase))
suite.addTest(unittest.makeSuite(EnvThreadHashShelveTestCase))
+ suite.addTest(unittest.makeSuite(RecNoShelveTestCase))
return suite
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Fri Oct 12 20:49:36 2007
@@ -115,6 +115,9 @@
- Bug #1721309: prevent bsddb module from freeing random memory.
+- Bug #1233: fix bsddb.dbshelve.DBShelf append method to work as
+ intended for RECNO databases.
+
- Bug #1726026: Correct the field names of WIN32_FIND_DATAA and
WIN32_FIND_DATAW structures in the ctypes.wintypes module.
From python-checkins at python.org Fri Oct 12 21:01:19 2007
From: python-checkins at python.org (brett.cannon)
Date: Fri, 12 Oct 2007 21:01:19 +0200 (CEST)
Subject: [Python-checkins] r58436 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071012190119.4CE311E4032@bag.python.org>
Author: brett.cannon
Date: Fri Oct 12 21:01:19 2007
New Revision: 58436
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Remove accidental debugging exception.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Fri Oct 12 21:01:19 2007
@@ -134,7 +134,6 @@
def open_(path, flags):
"""Stand-in replacement for open() in case it is not available yet."""
try:
- raise NameError
return open(path, flags)
except NameError:
return DinkyFile(path, flags)
From python-checkins at python.org Fri Oct 12 21:06:58 2007
From: python-checkins at python.org (brett.cannon)
Date: Fri, 12 Oct 2007 21:06:58 +0200 (CEST)
Subject: [Python-checkins] r58437 -
sandbox/trunk/import_in_py/Py3K/tests/mock_importlib.py
sandbox/trunk/import_in_py/Py3K/tests/test_fs_loader.py
Message-ID: <20071012190658.9BA0C1E4022@bag.python.org>
Author: brett.cannon
Date: Fri Oct 12 21:06:58 2007
New Revision: 58437
Modified:
sandbox/trunk/import_in_py/Py3K/tests/mock_importlib.py
sandbox/trunk/import_in_py/Py3K/tests/test_fs_loader.py
Log:
Fix some tests to move over newly exposed functions in marshal.
Modified: sandbox/trunk/import_in_py/Py3K/tests/mock_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/tests/mock_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/tests/mock_importlib.py Fri Oct 12 21:06:58 2007
@@ -1,8 +1,6 @@
import sys
-import marshal
import imp
from test import test_support
-from importlib import _w_long
def log_call(method):
Modified: sandbox/trunk/import_in_py/Py3K/tests/test_fs_loader.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/tests/test_fs_loader.py (original)
+++ sandbox/trunk/import_in_py/Py3K/tests/test_fs_loader.py Fri Oct 12 21:06:58 2007
@@ -5,6 +5,7 @@
from tests.py_help import TestPyPycPackages
import imp
+import marshal
import os
import py_compile
import sys
@@ -251,10 +252,10 @@
log_call(loader, 'write_bytecode')
with open(self.pyc_path, 'rb') as bytecode_file:
data = bytecode_file.read()
- timestamp = importlib._r_long(data[4:8])
+ timestamp = marshal._r_long(data[4:8])
with open(self.pyc_path, 'wb') as bytecode_file:
bytecode_file.write(data[:4])
- bytecode_file.write(importlib._w_long(timestamp-1))
+ bytecode_file.write(marshal._w_long(timestamp-1))
bytecode_file.write(data[8:])
found = loader.load_module(self.module_name)
self.assert_('write_bytecode' in loader._log)
@@ -314,7 +315,7 @@
source_mtime = int(os.stat(self.py_path).st_mtime)
with open(self.pyc_path, 'wb') as bytecode_file:
bytecode_file.write(imp.get_magic())
- bytecode_file.write(importlib._w_long(source_mtime))
+ bytecode_file.write(marshal._w_long(source_mtime))
loader = importlib._PyFileLoader(self.module_name, self.py_path, False)
self.assertRaises(Exception, loader.load_module, self.module_name)
From buildbot at python.org Fri Oct 12 21:14:49 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 19:14:49 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071012191449.8EDE71E4023@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/317
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_csv
======================================================================
ERROR: test_create_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\trunk.heller-windows\build\lib\test\test_csv.py", line 914, in test_create_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\trunk.heller-windows\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\trunk.heller-windows\build\lib\bsddb\dbshelve.py", line 138, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_create_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\trunk.heller-windows\build\lib\test\test_csv.py", line 930, in test_create_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\trunk.heller-windows\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\trunk.heller-windows\build\lib\bsddb\dbshelve.py", line 138, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\trunk.heller-windows\build\lib\test\test_csv.py", line 946, in test_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\trunk.heller-windows\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\trunk.heller-windows\build\lib\bsddb\dbshelve.py", line 138, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\trunk.heller-windows\build\lib\test\test_csv.py", line 963, in test_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\trunk.heller-windows\build\lib\unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\trunk.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\trunk.heller-windows\build\lib\bsddb\dbshelve.py", line 138, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 21:15:54 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 19:15:54 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071012191554.44E541E4022@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/880
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 21:35:52 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 19:35:52 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 2.5
Message-ID: <20071012193552.4C31B1E402B@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%202.5/builds/77
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_csv
======================================================================
ERROR: test_create_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\2.5.heller-windows\build\lib\test\test_csv.py", line 910, in test_create_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\2.5.heller-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\2.5.heller-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_create_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\2.5.heller-windows\build\lib\test\test_csv.py", line 926, in test_create_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\2.5.heller-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\2.5.heller-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\2.5.heller-windows\build\lib\test\test_csv.py", line 942, in test_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\2.5.heller-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\2.5.heller-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\work\2.5.heller-windows\build\lib\test\test_csv.py", line 959, in test_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot\work\2.5.heller-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot\work\2.5.heller-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot\work\2.5.heller-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 12 21:39:46 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 19:39:46 +0000
Subject: [Python-checkins] buildbot failure in x86 XP 2.5
Message-ID: <20071012193946.D3A141E4022@bag.python.org>
The Buildbot has detected a new failure of x86 XP 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%202.5/builds/302
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 245, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1203-1203-1203-1203-1203'
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0002-0002-0002-0002-0002'
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 460, in __bootstrap
self.run()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\test\test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "C:\test_pow
test_calendar
2 tests failed:
test_csv test_gc
======================================================================
ERROR: test_create_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_csv.py", line 910, in test_create_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_create_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_csv.py", line 926, in test_create_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_read (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_csv.py", line 942, in test_read
self.assertEqual(gc.garbage, [])
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
======================================================================
ERROR: test_write (test.test_csv.TestLeaks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_csv.py", line 959, in test_write
self.assertEqual(gc.garbage, [])
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 167, in __repr__
return repr(dict(self.iteritems()))
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
Traceback (most recent call last):
File "../lib/test/regrtest.py", line 549, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_gc.py", line 636, in
test()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_gc.py", line 623, in test
test_all()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_gc.py", line 586, in test_all
run_test("finalizers", test_finalizer)
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_gc.py", line 18, in run_test
thunk()
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\test\test_gc.py", line 126, in test_finalizer
gc.garbage.remove(obj)
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 173, in __cmp__
return cmp(dict(self.iteritems()), other)
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 105, in iteritems
for k in self:
File "c:\buildbot_py25\2.5.mcintyre-windows\build\lib\UserDict.py", line 92, in __iter__
for k in self.keys():
File "C:\buildbot_py25\2.5.mcintyre-windows\build\lib\bsddb\dbshelve.py", line 126, in keys
return self.db.keys()
DBError: (0, 'DB object has been closed')
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 12 22:25:27 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Fri, 12 Oct 2007 22:25:27 +0200 (CEST)
Subject: [Python-checkins] r58440 - peps/trunk/pep-3105.txt
Message-ID: <20071012202527.9B31F1E4024@bag.python.org>
Author: guido.van.rossum
Date: Fri Oct 12 22:25:27 2007
New Revision: 58440
Modified:
peps/trunk/pep-3105.txt
Log:
Clarify backwards compatibility.
Modified: peps/trunk/pep-3105.txt
==============================================================================
--- peps/trunk/pep-3105.txt (original)
+++ peps/trunk/pep-3105.txt Fri Oct 12 22:25:27 2007
@@ -93,9 +93,23 @@
=======================
The changes proposed in this PEP will render most of today's ``print``
-statements invalid, only those which incidentally feature parentheses
+statements invalid. Only those which incidentally feature parentheses
around all of their arguments will continue to be valid Python syntax
-in version 3.0.
+in version 3.0, and of those, only the ones printing a single
+parenthesized value will continue to do the same thing. For example,
+in 2.x::
+
+ >>> print ("Hello")
+ Hello
+ >>> print ("Hello", "world")
+ ('Hello', 'world')
+
+whereas in 3.0::
+
+ >>> print ("Hello")
+ Hello
+ >>> print ("Hello", "world")
+ Hello world
Luckily, as it is a statement in Python 2, ``print`` can be detected
and replaced reliably and non-ambiguously by an automated tool, so
From nnorwitz at gmail.com Fri Oct 12 23:44:28 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Fri, 12 Oct 2007 17:44:28 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071012214428.GA10940@python.psfb.org>
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
Exception in thread reader 2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 3:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 0:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread writer 1:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1006-1006-1006-1006-1006'
Exception in thread writer 2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2002-2002-2002-2002-2002'
Exception in thread writer 0:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0004-0004-0004-0004-0004'
test test_bsddb3 failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_dbtables.py", line 182, in test03
assert len(values) == 1
AssertionError
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 test_csv failed -- errors occurred; run in verbose mode for details
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 test_gc failed -- errors occurred; run in verbose mode for details
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7359 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
305 tests OK.
3 tests failed:
test_bsddb3 test_csv test_gc
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
[517421 refs]
From buildbot at python.org Sat Oct 13 00:32:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 22:32:33 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071012223234.3942A1E4016@bag.python.org>
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/214
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: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From buildbot at python.org Sat Oct 13 01:55:22 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 12 Oct 2007 23:55:22 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu 3.0
Message-ID: <20071012235522.D05701E4025@bag.python.org>
The Buildbot has detected a new failure of hppa Ubuntu 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/hppa%20Ubuntu%203.0/builds/113
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-hppa
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Unknown signal 37
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 13 03:40:12 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 13 Oct 2007 01:40:12 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux trunk
Message-ID: <20071013014013.0BE051E4024@bag.python.org>
The Buildbot has detected a new failure of ARM Linux trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20trunk/builds/27
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Aborted
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 13 04:41:45 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 13 Oct 2007 02:41:45 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 3.0
Message-ID: <20071013024145.421911E4024@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%203.0/builds/19
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: brett.cannon,travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 133, in
import random
File "/home/pybot/buildarea-arm/3.0.klose-linux-arm/build/Lib/random.py", line 43, in
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
ImportError: No module named math
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 13 05:48:25 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 13 Oct 2007 03:48:25 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 3.0
Message-ID: <20071013034825.6B05A1E4025@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%203.0/builds/17
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: brett.cannon,travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From nnorwitz at gmail.com Sat Oct 13 07:55:04 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Fri, 12 Oct 2007 22:55:04 -0700
Subject: [Python-checkins] r58434 - in python/trunk/Lib/bsddb:
dbshelve.py test/test_dbshelve.py
In-Reply-To: <20071012184406.DE9FA1E4022@bag.python.org>
References: <20071012184406.DE9FA1E4022@bag.python.org>
Message-ID:
Gregory,
After this change, one of the buildbots had a failure when checking gc.garbage:
http://python.org/dev/buildbot/trunk/x86%20XP-3%20trunk/builds/317/step-test/0
It could be the change just triggered an existing issue with a new test.
Also, another buildbot failed with this message:
test test_bsddb3 failed -- errors occurred; run in verbose mode for details
Warning: test created 1 uncollectable object(s).
http://python.org/dev/buildbot/trunk/amd64%20gentoo%20trunk/builds/2249/step-test/0
Could you take a look?
Thanks,
n
--
On Oct 12, 2007 11:44 AM, gregory.p.smith wrote:
> Author: gregory.p.smith
> Date: Fri Oct 12 20:44:06 2007
> New Revision: 58434
>
> Modified:
> python/trunk/Lib/bsddb/dbshelve.py
> python/trunk/Lib/bsddb/test/test_dbshelve.py
> Log:
> Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
> was useless due to inverted logic. Also adds a test case for RECNO dbs
> to test_dbshelve.
>
>
> Modified: python/trunk/Lib/bsddb/dbshelve.py
> ==============================================================================
> --- python/trunk/Lib/bsddb/dbshelve.py (original)
> +++ python/trunk/Lib/bsddb/dbshelve.py Fri Oct 12 20:44:06 2007
> @@ -84,6 +84,9 @@
>
> #---------------------------------------------------------------------------
>
> +class DBShelveError(db.DBError): pass
> +
> +
> class DBShelf(DictMixin):
> """A shelf to hold pickled objects, built upon a bsddb DB object. It
> automatically pickles/unpickles data objects going to/from the DB.
> @@ -162,10 +165,10 @@
> return self.db.append(data, txn)
>
> def append(self, value, txn=None):
> - if self.get_type() != db.DB_RECNO:
> + if self.get_type() == db.DB_RECNO:
> self.append = self.__append
> return self.append(value, txn=txn)
> - raise db.DBError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
> + raise DBShelveError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
>
>
> def associate(self, secondaryDB, callback, flags=0):
>
> Modified: python/trunk/Lib/bsddb/test/test_dbshelve.py
> ==============================================================================
> --- python/trunk/Lib/bsddb/test/test_dbshelve.py (original)
> +++ python/trunk/Lib/bsddb/test/test_dbshelve.py Fri Oct 12 20:44:06 2007
> @@ -41,17 +41,22 @@
> except os.error:
> pass
>
> + def mk(self, key):
> + """Turn key into an appropriate key type for this db"""
> + # override in child class for RECNO
> + return key
> +
> def populateDB(self, d):
> for x in string.letters:
> - d['S' + x] = 10 * x # add a string
> - d['I' + x] = ord(x) # add an integer
> - d['L' + x] = [x] * 10 # add a list
> + d[self.mk('S' + x)] = 10 * x # add a string
> + d[self.mk('I' + x)] = ord(x) # add an integer
> + d[self.mk('L' + x)] = [x] * 10 # add a list
>
> inst = DataClass() # add an instance
> inst.S = 10 * x
> inst.I = ord(x)
> inst.L = [x] * 10
> - d['O' + x] = inst
> + d[self.mk('O' + x)] = inst
>
>
> # overridable in derived classes to affect how the shelf is created/opened
> @@ -85,14 +90,14 @@
> print "keys:", k
> print "stats:", s
>
> - assert 0 == d.has_key('bad key')
> - assert 1 == d.has_key('IA')
> - assert 1 == d.has_key('OA')
> -
> - d.delete('IA')
> - del d['OA']
> - assert 0 == d.has_key('IA')
> - assert 0 == d.has_key('OA')
> + assert 0 == d.has_key(self.mk('bad key'))
> + assert 1 == d.has_key(self.mk('IA'))
> + assert 1 == d.has_key(self.mk('OA'))
> +
> + d.delete(self.mk('IA'))
> + del d[self.mk('OA')]
> + assert 0 == d.has_key(self.mk('IA'))
> + assert 0 == d.has_key(self.mk('OA'))
> assert len(d) == l-2
>
> values = []
> @@ -115,18 +120,18 @@
> for key, value in items:
> self.checkrec(key, value)
>
> - assert d.get('bad key') == None
> - assert d.get('bad key', None) == None
> - assert d.get('bad key', 'a string') == 'a string'
> - assert d.get('bad key', [1, 2, 3]) == [1, 2, 3]
> + assert d.get(self.mk('bad key')) == None
> + assert d.get(self.mk('bad key'), None) == None
> + assert d.get(self.mk('bad key'), 'a string') == 'a string'
> + assert d.get(self.mk('bad key'), [1, 2, 3]) == [1, 2, 3]
>
> d.set_get_returns_none(0)
> - self.assertRaises(db.DBNotFoundError, d.get, 'bad key')
> + self.assertRaises(db.DBNotFoundError, d.get, self.mk('bad key'))
> d.set_get_returns_none(1)
>
> - d.put('new key', 'new data')
> - assert d.get('new key') == 'new data'
> - assert d['new key'] == 'new data'
> + d.put(self.mk('new key'), 'new data')
> + assert d.get(self.mk('new key')) == 'new data'
> + assert d[self.mk('new key')] == 'new data'
>
>
>
> @@ -165,14 +170,24 @@
>
> assert count == len(d)
>
> - c.set('SS')
> + c.set(self.mk('SS'))
> key, value = c.current()
> self.checkrec(key, value)
> del c
>
>
> + def test03_append(self):
> + # NOTE: this is overridden in RECNO subclass, don't change its name.
> + if verbose:
> + print '\n', '-=' * 30
> + print "Running %s.test03_append..." % self.__class__.__name__
> +
> + self.assertRaises(dbshelve.DBShelveError,
> + self.d.append, 'unit test was here')
> +
>
> def checkrec(self, key, value):
> + # override this in a subclass if the key type is different
> x = key[1]
> if key[0] == 'S':
> assert type(value) == StringType
> @@ -281,7 +296,43 @@
>
>
> #----------------------------------------------------------------------
> -# TODO: Add test cases for a DBShelf in a RECNO DB.
> +# test cases for a DBShelf in a RECNO DB.
> +
> +class RecNoShelveTestCase(BasicShelveTestCase):
> + dbtype = db.DB_RECNO
> + dbflags = db.DB_CREATE
> +
> + def setUp(self):
> + BasicShelveTestCase.setUp(self)
> +
> + # pool to assign integer key values out of
> + self.key_pool = list(range(1, 5000))
> + self.key_map = {} # map string keys to the number we gave them
> + self.intkey_map = {} # reverse map of above
> +
> + def mk(self, key):
> + if key not in self.key_map:
> + self.key_map[key] = self.key_pool.pop(0)
> + self.intkey_map[self.key_map[key]] = key
> + return self.key_map[key]
> +
> + def checkrec(self, intkey, value):
> + key = self.intkey_map[intkey]
> + BasicShelveTestCase.checkrec(self, key, value)
> +
> + def test03_append(self):
> + if verbose:
> + print '\n', '-=' * 30
> + print "Running %s.test03_append..." % self.__class__.__name__
> +
> + self.d[1] = 'spam'
> + self.d[5] = 'eggs'
> + self.assertEqual(6, self.d.append('spam'))
> + self.assertEqual(7, self.d.append('baked beans'))
> + self.assertEqual('spam', self.d.get(6))
> + self.assertEqual('spam', self.d.get(1))
> + self.assertEqual('baked beans', self.d.get(7))
> + self.assertEqual('eggs', self.d.get(5))
>
>
> #----------------------------------------------------------------------
> @@ -298,6 +349,7 @@
> suite.addTest(unittest.makeSuite(EnvHashShelveTestCase))
> suite.addTest(unittest.makeSuite(EnvThreadBTreeShelveTestCase))
> suite.addTest(unittest.makeSuite(EnvThreadHashShelveTestCase))
> + suite.addTest(unittest.makeSuite(RecNoShelveTestCase))
>
> return suite
>
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
From nnorwitz at gmail.com Sat Oct 13 11:44:02 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sat, 13 Oct 2007 05:44:02 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071013094402.GA27186@python.psfb.org>
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
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 test_csv failed -- errors occurred; run in verbose mode for details
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 test_gc failed -- errors occurred; run in verbose mode for details
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7359 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
306 tests OK.
2 tests failed:
test_csv test_gc
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
[517422 refs]
From python-checkins at python.org Sat Oct 13 15:19:45 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 13 Oct 2007 15:19:45 +0200 (CEST)
Subject: [Python-checkins] r58444 -
python/branches/release25-maint/Doc/lib/email-unpack.py
Message-ID: <20071013131945.5F0061E401A@bag.python.org>
Author: georg.brandl
Date: Sat Oct 13 15:19:45 2007
New Revision: 58444
Modified:
python/branches/release25-maint/Doc/lib/email-unpack.py
Log:
Fix email example.
Modified: python/branches/release25-maint/Doc/lib/email-unpack.py
==============================================================================
--- python/branches/release25-maint/Doc/lib/email-unpack.py (original)
+++ python/branches/release25-maint/Doc/lib/email-unpack.py Sat Oct 13 15:19:45 2007
@@ -53,7 +53,7 @@
# email message can't be used to overwrite important files
filename = part.get_filename()
if not filename:
- ext = mimetypes.guess_extension(part.get_type())
+ ext = mimetypes.guess_extension(part.get_content_type())
if not ext:
# Use a generic bag-of-bits extension
ext = '.bin'
From python-checkins at python.org Sat Oct 13 15:20:03 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 13 Oct 2007 15:20:03 +0200 (CEST)
Subject: [Python-checkins] r58445 - python/trunk/Doc/includes/email-unpack.py
Message-ID: <20071013132003.BA9451E401A@bag.python.org>
Author: georg.brandl
Date: Sat Oct 13 15:20:03 2007
New Revision: 58445
Modified:
python/trunk/Doc/includes/email-unpack.py
Log:
Fix email example.
Modified: python/trunk/Doc/includes/email-unpack.py
==============================================================================
--- python/trunk/Doc/includes/email-unpack.py (original)
+++ python/trunk/Doc/includes/email-unpack.py Sat Oct 13 15:20:03 2007
@@ -53,7 +53,7 @@
# email message can't be used to overwrite important files
filename = part.get_filename()
if not filename:
- ext = mimetypes.guess_extension(part.get_type())
+ ext = mimetypes.guess_extension(part.get_content_type())
if not ext:
# Use a generic bag-of-bits extension
ext = '.bin'
From python-checkins at python.org Sat Oct 13 23:18:24 2007
From: python-checkins at python.org (travis.oliphant)
Date: Sat, 13 Oct 2007 23:18:24 +0200 (CEST)
Subject: [Python-checkins] r58449 - peps/trunk/pep-3118.txt
Message-ID: <20071013211824.4D5061E4007@bag.python.org>
Author: travis.oliphant
Date: Sat Oct 13 23:18:23 2007
New Revision: 58449
Modified:
peps/trunk/pep-3118.txt
Log:
Improve the text about the readonly member of the Py_buffer structure and how it relates to locked views.
Modified: peps/trunk/pep-3118.txt
==============================================================================
--- peps/trunk/pep-3118.txt (original)
+++ peps/trunk/pep-3118.txt Sat Oct 13 23:18:23 2007
@@ -344,13 +344,13 @@
``readonly``
an integer variable to hold whether or not the memory is readonly.
1 means the memory is readonly, zero means the memory is writable,
- -1 means the memory was "locked" (changed from writable to
- readonly) when this Py_buffer structure was filled-in after a
- readable request and therefore should be unlocked when this
- Py_buffer structure is "released" (this is supported only by some
- exporters). A -2 means this Py_buffer structure has an
- exclusive-write lock on the memory. This should be unlocked when
- the Py_buffer structure is released.
+ -1 means the memory was read "locked" when this Py_buffer
+ structure was filled-in therefore should be unlocked when this
+ Py_buffer structure is "released." A -2 means this Py_buffer
+ structure has an exclusive-write lock on the memory. This should
+ be unlocked when the Py_buffer structure is released. The concept
+ of locking is not supported by all objects that expose the buffer
+ protocol.
``format``
a NULL-terminated format-string (following the struct-style syntax
From buildbot at python.org Sun Oct 14 00:09:48 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 13 Oct 2007 22:09:48 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu 3.0
Message-ID: <20071013220948.788351E4006@bag.python.org>
The Buildbot has detected a new failure of hppa Ubuntu 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/hppa%20Ubuntu%203.0/builds/115
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-hppa
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum,travis.oliphant
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Unknown signal 37
sincerely,
-The Buildbot
From python-checkins at python.org Sun Oct 14 01:02:05 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sun, 14 Oct 2007 01:02:05 +0200 (CEST)
Subject: [Python-checkins] r58450 - python/trunk/Lib/bsddb/dbshelve.py
Message-ID: <20071013230205.9CA451E4006@bag.python.org>
Author: gregory.p.smith
Date: Sun Oct 14 01:02:05 2007
New Revision: 58450
Modified:
python/trunk/Lib/bsddb/dbshelve.py
Log:
Fix an uncollectable reference leak in bsddb.db.DBShelf.append
Modified: python/trunk/Lib/bsddb/dbshelve.py
==============================================================================
--- python/trunk/Lib/bsddb/dbshelve.py (original)
+++ python/trunk/Lib/bsddb/dbshelve.py Sun Oct 14 01:02:05 2007
@@ -93,6 +93,7 @@
"""
def __init__(self, dbenv=None):
self.db = db.DB(dbenv)
+ self._closed = True
if HIGHEST_PROTOCOL:
self.protocol = HIGHEST_PROTOCOL
else:
@@ -138,6 +139,23 @@
return self.db.keys()
+ def open(self, *args, **kwargs):
+ self.db.open(*args, **kwargs)
+ self._closed = False
+
+
+ def close(self, *args, **kwargs):
+ self.db.close(*args, **kwargs)
+ self._closed = True
+
+
+ def __repr__(self):
+ if self._closed:
+ return '' % (id(self))
+ else:
+ return repr(dict(self.iteritems()))
+
+
def items(self, txn=None):
if txn != None:
items = self.db.items(txn)
@@ -166,8 +184,7 @@
def append(self, value, txn=None):
if self.get_type() == db.DB_RECNO:
- self.append = self.__append
- return self.append(value, txn=txn)
+ return self.__append(value, txn=txn)
raise DBShelveError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
From python-checkins at python.org Sun Oct 14 01:05:54 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Sun, 14 Oct 2007 01:05:54 +0200 (CEST)
Subject: [Python-checkins] r58451 -
python/branches/release25-maint/Lib/bsddb/dbshelve.py
Message-ID: <20071013230554.CE2251E4006@bag.python.org>
Author: gregory.p.smith
Date: Sun Oct 14 01:05:54 2007
New Revision: 58451
Modified:
python/branches/release25-maint/Lib/bsddb/dbshelve.py
Log:
Backport 58450: fix uncollectable reference leak in bsddb.db.DBShelf.append
Modified: python/branches/release25-maint/Lib/bsddb/dbshelve.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/dbshelve.py (original)
+++ python/branches/release25-maint/Lib/bsddb/dbshelve.py Sun Oct 14 01:05:54 2007
@@ -154,8 +154,7 @@
def append(self, value, txn=None):
if self.get_type() == db.DB_RECNO:
- self.append = self.__append
- return self.append(value, txn=txn)
+ return self.__append(value, txn=txn)
raise DBShelveError, "append() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO"
From nnorwitz at gmail.com Sun Oct 14 01:39:48 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sat, 13 Oct 2007 19:39:48 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071013233948.GA29764@python.psfb.org>
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
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-1:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-4:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-6:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-16:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-18:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-19:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-26:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-28:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-30:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
WARNING: failed to listen on port 54322, trying another
WARNING: failed to listen on port 9907, trying another
WARNING: failed to listen on port 10243, trying another
WARNING: failed to listen on port 32999, trying another
Exception in thread Thread-32:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/tmp/python-test/local/lib/python2.6/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
test test_asynchat failed -- errors occurred; run in verbose mode for details
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
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...
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 test_csv failed -- errors occurred; run in verbose mode for details
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 test_gc failed -- errors occurred; run in verbose mode for details
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
[7360 refs]
[7360 refs]
[7360 refs]
test_popen2
test_poplib
test test_poplib failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/test/test_poplib.py", line 39, in testBasic
pop = poplib.POP3("localhost", 9091)
File "/tmp/python-test/local/lib/python2.6/poplib.py", line 82, in __init__
self.sock = socket.create_connection((host, port), timeout)
File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in create_connection
raise error, msg
error: [Errno 111] Connection refused
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7362 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
304 tests OK.
4 tests failed:
test_asynchat test_csv test_gc test_poplib
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
[517420 refs]
From buildbot at python.org Sun Oct 14 02:07:45 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 00:07:45 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071014000745.C17EA1E4006@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2541
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_asynchat.py", line 22, in run
PORT = test_support.bind_port(sock, HOST, PORT)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_support.py", line 113, in bind_port
raise TestFailed('unable to find port to listen on')
TestFailed: unable to find port to listen on
1 test failed:
test_asynchat
sincerely,
-The Buildbot
From python-checkins at python.org Sun Oct 14 02:18:41 2007
From: python-checkins at python.org (neal.norwitz)
Date: Sun, 14 Oct 2007 02:18:41 +0200 (CEST)
Subject: [Python-checkins] r58453 - python/trunk/Lib/test/test_support.py
Message-ID: <20071014001841.0BE861E4006@bag.python.org>
Author: neal.norwitz
Date: Sun Oct 14 02:18:40 2007
New Revision: 58453
Modified:
python/trunk/Lib/test/test_support.py
Log:
Let the O/S supply a port if none of the default ports can be used.
This should make the tests more robust at the expense of allowing
tests to be sloppier by not requiring them to cleanup after themselves.
(It will legitamitely help when running two test suites simultaneously
or if another process is already using one of the predefined ports.)
Also simplifies (slightLy) the exception handling elsewhere.
Modified: python/trunk/Lib/test/test_support.py
==============================================================================
--- python/trunk/Lib/test/test_support.py (original)
+++ python/trunk/Lib/test/test_support.py Sun Oct 14 02:18:40 2007
@@ -100,10 +100,19 @@
tests and we don't try multiple ports, the test can fails. This
makes the test more robust."""
- # some random ports that hopefully no one is listening on.
- for port in [preferred_port, 9907, 10243, 32999]:
+ # Find some random ports that hopefully no one is listening on.
+ # Ideally each test would clean up after itself and not continue listening
+ # on any ports. However, this isn't the case. The last port (0) is
+ # a stop-gap that asks the O/S to assign a port. Whenever the warning
+ # message below is printed, the test that is listening on the port should
+ # be fixed to close the socket at the end of the test.
+ # Another reason why we can't use a port is another process (possibly
+ # another instance of the test suite) is using the same port.
+ for port in [preferred_port, 9907, 10243, 32999, 0]:
try:
sock.bind((host, port))
+ if port == 0:
+ port = sock.getsockname()[1]
return port
except socket.error, (err, msg):
if err != errno.EADDRINUSE:
@@ -535,8 +544,7 @@
elif len(result.failures) == 1 and not result.errors:
err = result.failures[0][1]
else:
- msg = "errors occurred; run in verbose mode for details"
- raise TestFailed(msg)
+ err = "errors occurred; run in verbose mode for details"
raise TestFailed(err)
From buildbot at python.org Sun Oct 14 02:24:48 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 00:24:48 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 trunk
Message-ID: <20071014002448.AAAE61E4006@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/110
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 02:28:16 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 00:28:16 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo 2.5
Message-ID: <20071014002816.A03C31E4006@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%202.5/builds/438
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: georg.brandl,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
FAIL: test03 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/2.5.norwitz-x86/build/Lib/bsddb/test/test_dbtables.py", line 187, in test03
assert values[0]['b'] == "bad"
AssertionError
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 02:40:38 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 00:40:38 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071014004038.3EF221E4006@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/111
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_dbtables.py", line 341, in test_Modify
mappings={'Access': increment_access})
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_dbtables.py", line 328, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 02:52:14 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 00:52:14 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071014005214.746E51E4006@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2251
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From nnorwitz at gmail.com Sun Oct 14 10:00:07 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Sun, 14 Oct 2007 04:00:07 -0400
Subject: [Python-checkins] Python Regression Test Failures doc (1)
Message-ID: <20071014080007.GA28481@python.psfb.org>
svn update tools/sphinx
svn: PROPFIND request failed on '/projects/doctools/trunk/sphinx'
svn: PROPFIND of '/projects/doctools/trunk/sphinx': could not connect to server (http://svn.python.org)
make: *** [update] Error 1
From buildbot at python.org Sun Oct 14 13:01:36 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 11:01:36 +0000
Subject: [Python-checkins] buildbot failure in 2.5.msi
Message-ID: <20071014110136.C0A1B1E4026@bag.python.org>
The Buildbot has detected a new failure of 2.5.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.5.msi/builds/37
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.5.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 14:01:38 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 12:01:38 +0000
Subject: [Python-checkins] buildbot failure in 2.6.msi
Message-ID: <20071014120138.87F051E4026@bag.python.org>
The Buildbot has detected a new failure of 2.6.msi.
Full details are available at:
http://www.python.org/dev/buildbot/all/2.6.msi/builds/40
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason: The Nightly scheduler named '2.6.msi' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed svn
sincerely,
-The Buildbot
From python-checkins at python.org Sun Oct 14 16:01:30 2007
From: python-checkins at python.org (erik.forsberg)
Date: Sun, 14 Oct 2007 16:01:30 +0200 (CEST)
Subject: [Python-checkins] r58458 -
tracker/instances/python-dev/detectors/busybody.py
tracker/instances/python-dev/detectors/nosyreaction.py
tracker/instances/python-dev/detectors/sendmail.py
tracker/instances/python-dev/detectors/tellteam.py
Message-ID: <20071014140130.990021E4008@bag.python.org>
Author: erik.forsberg
Date: Sun Oct 14 16:01:30 2007
New Revision: 58458
Added:
tracker/instances/python-dev/detectors/sendmail.py
Removed:
tracker/instances/python-dev/detectors/busybody.py
tracker/instances/python-dev/detectors/tellteam.py
Modified:
tracker/instances/python-dev/detectors/nosyreaction.py
Log:
Modify how mail are sent at changes to issues. Fixes
http://psf.upfronthosting.co.za/roundup/meta/issue141. Details:
* All message sending now in sendmail.py for clarity- removed
busybody.py and tellteam.py. Moved nosy sending from nosyreaction.py
into sendmail.py.
* Send mail on all changes to busybody and nosy.
* Send mail for new issues only, to triage.
* Modified nosyreaction to always add current user to nosy list when
creating new issues. This didn't happen before, if the issue lacked
messges.
Deleted: /tracker/instances/python-dev/detectors/busybody.py
==============================================================================
--- /tracker/instances/python-dev/detectors/busybody.py Sun Oct 14 16:01:30 2007
+++ (empty file)
@@ -1,90 +0,0 @@
-#
-# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
-# This module is free software, and you may redistribute it and/or modify
-# under the same terms as Python, so long as this copyright message and
-# disclaimer are retained in their original form.
-#
-# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
-# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
-# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
-# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
-# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
-# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
-#
-# Modified from nosyreaction by P. Dubois to send mail to a busybody list
-# that wants to know about EVERY change.
-
-import sets
-
-from roundup import roundupdb, hyperdb
-
-def is_spam(db, msgid):
- cutoff_score = float(db.config.detectors['SPAMBAYES_SPAM_CUTOFF'])
-
- msg = db.getnode("msg", msgid)
- if msg.has_key('spambayes_score') and \
- msg['spambayes_score'] > cutoff_score:
- return False
- return True
-
-
-def busyreaction(db, cl, nodeid, oldvalues):
- ''' busybody mail
- '''
- try:
- sendto = db.config.detectors['BUSYBODY_EMAIL'].split(",")
- except KeyError:
- return
-
- msgIDS = determineNewMessages(cl, nodeid, oldvalues)
- if oldvalues is None: # a create
- note = cl.generateCreateNote(nodeid)
- else:
- note = cl.generateChangeNote(nodeid, oldvalues)
-
- for msgid in filter(lambda x: is_spam(db, x), msgIDS):
- try:
- cl.send_message(nodeid, msgid, note, sendto)
- except roundupdb.MessageSendError, message:
- raise roundupdb.DetectorError, message
- if not msgIDS:
- # Find author associated with the last journal entry
- journal = db.getjournal(cl.classname, nodeid)
- authid = None
- if [] != journal:
- authid = journal[-1][2]
- try:
- cl.send_message(nodeid, None, note, sendto, authid=authid)
- except roundupdb.MessageSendError, message:
- raise roundupdb.DetectorError, message
-
-
-def determineNewMessages(cl, nodeid, oldvalues):
- ''' Figure a list of the messages that are being added to the given
- node in this transaction.
- '''
- messages = []
- if oldvalues is None:
- # the action was a create, so use all the messages in the create
- messages = cl.get(nodeid, 'messages')
- elif oldvalues.has_key('messages'):
- # the action was a set (so adding new messages to an existing issue)
- m = {}
- for msgid in oldvalues['messages']:
- m[msgid] = 1
- messages = []
- # figure which of the messages now on the issue weren't there before
- for msgid in cl.get(nodeid, 'messages'):
- if not m.has_key(msgid):
- messages.append(msgid)
- return messages
-
-def init(db):
- db.issue.react('create', busyreaction)
- db.issue.react('set', busyreaction)
-
-# vim: set filetype=python ts=4 sw=4 et si
Modified: tracker/instances/python-dev/detectors/nosyreaction.py
==============================================================================
--- tracker/instances/python-dev/detectors/nosyreaction.py (original)
+++ tracker/instances/python-dev/detectors/nosyreaction.py Sun Oct 14 16:01:30 2007
@@ -1,48 +1,6 @@
import sets
from roundup import roundupdb, hyperdb
-def nosyreaction(db, cl, nodeid, oldvalues):
- ''' A standard detector is provided that watches for additions to the
- "messages" property.
-
- When a new message is added, the detector sends it to all the users on
- the "nosy" list for the issue that are not already on the "recipients"
- list of the message.
-
- Those users are then appended to the "recipients" property on the
- message, so multiple copies of a message are never sent to the same
- user.
-
- The journal recorded by the hyperdatabase on the "recipients" property
- then provides a log of when the message was sent to whom.
- '''
- # send a copy of all new messages to the nosy list
- for msgid in determineNewMessages(cl, nodeid, oldvalues):
- try:
- cl.nosymessage(nodeid, msgid, oldvalues)
- except roundupdb.MessageSendError, message:
- raise roundupdb.DetectorError, message
-
-def determineNewMessages(cl, nodeid, oldvalues):
- ''' Figure a list of the messages that are being added to the given
- node in this transaction.
- '''
- messages = []
- if oldvalues is None:
- # the action was a create, so use all the messages in the create
- messages = cl.get(nodeid, 'messages')
- elif oldvalues.has_key('messages'):
- # the action was a set (so adding new messages to an existing issue)
- m = {}
- for msgid in oldvalues['messages']:
- m[msgid] = 1
- messages = []
- # figure which of the messages now on the issue weren't there before
- for msgid in cl.get(nodeid, 'messages'):
- if not m.has_key(msgid):
- messages.append(msgid)
- return messages
-
def updatenosy(db, cl, nodeid, newvalues):
'''Update the nosy list for changes to the assignee
'''
@@ -59,7 +17,8 @@
for value in nosy:
current_nosy.add(value)
- # if the nosy list changed in this transaction, init from the new value
+ # if the nosy list changed in this transaction, init from the new
+ # value
if newvalues.has_key('nosy'):
nosy = newvalues.get('nosy', [])
for value in nosy:
@@ -114,8 +73,17 @@
# that's it, save off the new nosy list
newvalues['nosy'] = list(new_nosy)
+def addcreator(db, cl, nodeid, newvalues):
+ assert None == nodeid, "addcreator called for existing node"
+ nosy = newvalues.get('nosy', [])
+ if not db.getuid() in nosy:
+ nosy.append(db.getuid())
+ newvalues['nosy'] = nosy
+
+
def init(db):
- db.issue.react('create', nosyreaction)
- db.issue.react('set', nosyreaction)
db.issue.audit('create', updatenosy)
db.issue.audit('set', updatenosy)
+
+ # Make sure creator of issue is added. Do this after 'updatenosy'.
+ db.issue.audit('create', addcreator, priority=110)
Added: tracker/instances/python-dev/detectors/sendmail.py
==============================================================================
--- (empty file)
+++ tracker/instances/python-dev/detectors/sendmail.py Sun Oct 14 16:01:30 2007
@@ -0,0 +1,91 @@
+def determineNewMessages(cl, nodeid, oldvalues):
+ ''' Figure a list of the messages that are being added to the given
+ node in this transaction.
+ '''
+ messages = []
+ if oldvalues is None:
+ # the action was a create, so use all the messages in the create
+ messages = cl.get(nodeid, 'messages')
+ elif oldvalues.has_key('messages'):
+ # the action was a set (so adding new messages to an existing issue)
+ m = {}
+ for msgid in oldvalues['messages']:
+ m[msgid] = 1
+ messages = []
+ # figure which of the messages now on the issue weren't there before
+ for msgid in cl.get(nodeid, 'messages'):
+ if not m.has_key(msgid):
+ messages.append(msgid)
+ return messages
+
+
+def is_spam(db, msgid):
+ """Return true if message has a spambayes score above
+ db.config.detectors['SPAMBAYES_SPAM_CUTOFF']. Also return true if
+ msgid is None, which happens when there are no messages (i.e., a
+ property-only change)"""
+ if not msgid:
+ return False
+ cutoff_score = float(db.config.detectors['SPAMBAYES_SPAM_CUTOFF'])
+
+ msg = db.getnode("msg", msgid)
+ if msg.has_key('spambayes_score') and \
+ msg['spambayes_score'] > cutoff_score:
+ return True
+ return False
+
+
+def sendmail(db, cl, nodeid, oldvalues):
+ """Send mail to various recipients, when changes occur:
+
+ * For all changes (property-only, or with new message), send mail
+ to all e-mail addresses defined in
+ db.config.detectors['BUSYBODY_EMAIL']
+
+ * For all changes (property-only, or with new message), send mail
+ to all members of the nosy list.
+
+ * For new issues, and only for new issue, send mail to
+ db.config.detectors['TRIAGE_EMAIL']
+
+ """
+
+ sendto = []
+
+ # The busybody addresses always get mail.
+ try:
+ sendto += db.config.detectors['BUSYBODY_EMAIL'].split(",")
+ except KeyError:
+ pass
+
+ # New submission?
+ if None == oldvalues:
+ changenote = cl.generateCreateNote(nodeid)
+ try:
+ # Add triage addresses
+ sendto += db.config.detectors['TRIAGE_EMAIL'].split(",")
+ except KeyError:
+ pass
+ else:
+ changenote = cl.generateChangeNote(nodeid, oldvalues)
+
+ authid = db.getuid()
+
+ new_messages = determineNewMessages(cl, nodeid, oldvalues)
+
+ # Make sure we send a nosy mail even for property-only
+ # changes.
+ if not new_messages:
+ new_messages = [None]
+
+ for msgid in [msgid for msgid in new_messages if not is_spam(db, msgid)]:
+ try:
+ cl.send_message(nodeid, msgid, changenote, sendto,
+ authid=authid)
+ cl.nosymessage(nodeid, msgid, oldvalues)
+ except roundupdb.MessageSendError, message:
+ raise roundupdb.DetectorError, message
+
+def init(db):
+ db.issue.react('set', sendmail)
+ db.issue.react('create', sendmail)
Deleted: /tracker/instances/python-dev/detectors/tellteam.py
==============================================================================
--- /tracker/instances/python-dev/detectors/tellteam.py Sun Oct 14 16:01:30 2007
+++ (empty file)
@@ -1,37 +0,0 @@
-from roundup import roundupdb
-
-def is_spam(db, msgid):
- cutoff_score = float(db.config.detectors['SPAMBAYES_SPAM_CUTOFF'])
-
- msg = db.getnode("msg", msgid)
- if msg.has_key('spambayes_score') and \
- msg['spambayes_score'] > cutoff_score:
- return False
- return True
-
-def newissuetriage(db, cl, nodeid, oldvalues):
- ''' Copy a message about new issues to a triage address,
- set in detectors/config.ini
- '''
- # so use all the messages in the create
- change_note = cl.generateCreateNote(nodeid)
-
- # send a copy to the nosy list
- try:
- triage_email = db.config.detectors['TRIAGE_EMAIL'].split(",")
- except KeyError:
- triage_email = []
- if not triage_email:
- return
- for msgid in filter(lambda x: is_spam(db, x), cl.get(nodeid, 'messages')):
- try:
- # note: last arg must be a list
-
- cl.send_message(nodeid, msgid, change_note, triage_email)
- except roundupdb.MessageSendError, message:
- raise roundupdb.DetectorError, message
-
-def init(db):
- db.issue.react('create', newissuetriage)
-
-# vim: set filetype=python ts=4 sw=4 et si
From python-checkins at python.org Sun Oct 14 20:30:21 2007
From: python-checkins at python.org (neal.norwitz)
Date: Sun, 14 Oct 2007 20:30:21 +0200 (CEST)
Subject: [Python-checkins] r58459 -
python/trunk/Lib/bsddb/test/test_dbtables.py
Message-ID: <20071014183021.6673F1E4026@bag.python.org>
Author: neal.norwitz
Date: Sun Oct 14 20:30:21 2007
New Revision: 58459
Modified:
python/trunk/Lib/bsddb/test/test_dbtables.py
Log:
Don't raise a string exception, they don't work anymore.
Modified: python/trunk/Lib/bsddb/test/test_dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_dbtables.py (original)
+++ python/trunk/Lib/bsddb/test/test_dbtables.py Sun Oct 14 20:30:21 2007
@@ -111,7 +111,7 @@
else :
if verbose:
print "values= %r" % (values,)
- raise "Wrong values returned!"
+ raise RuntimeError("Wrong values returned!")
def test03(self):
tabname = "test03"
From python-checkins at python.org Sun Oct 14 20:40:37 2007
From: python-checkins at python.org (neal.norwitz)
Date: Sun, 14 Oct 2007 20:40:37 +0200 (CEST)
Subject: [Python-checkins] r58460 -
python/trunk/Lib/bsddb/test/test_dbtables.py
Message-ID: <20071014184037.7A58C1E4011@bag.python.org>
Author: neal.norwitz
Date: Sun Oct 14 20:40:37 2007
New Revision: 58460
Modified:
python/trunk/Lib/bsddb/test/test_dbtables.py
Log:
Use unittest for assertions
Modified: python/trunk/Lib/bsddb/test/test_dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_dbtables.py (original)
+++ python/trunk/Lib/bsddb/test/test_dbtables.py Sun Oct 14 20:40:37 2007
@@ -78,7 +78,8 @@
tabname, [colname], conditions={colname: None})
colval = pickle.loads(values[0][colname])
- assert(colval > 3.141 and colval < 3.142)
+ self.assert_(colval > 3.141)
+ self.assert_(colval < 3.142)
def test02(self):
@@ -103,11 +104,11 @@
values = self.tdb.Select(tabname, [col2],
conditions={col0: lambda x: pickle.loads(x) >= 8})
- assert len(values) == 2
+ self.assertEqual(len(values), 2)
if values[0]['Species'] == 'Penguin' :
- assert values[1]['Species'] == 'SR-71A Blackbird'
+ self.assertEqual(values[1]['Species'], 'SR-71A Blackbird')
elif values[0]['Species'] == 'SR-71A Blackbird' :
- assert values[1]['Species'] == 'Penguin'
+ self.assertEqual(values[1]['Species'], 'Penguin')
else :
if verbose:
print "values= %r" % (values,)
@@ -137,13 +138,13 @@
{'a': "",
'e': pickle.dumps([{4:5, 6:7}, 'foo'], 1),
'f': "Zero"})
- assert 0
+ self.fail('Expected an exception')
except dbtables.TableDBError:
pass
try:
self.tdb.Select(tabname, [], conditions={'foo': '123'})
- assert 0
+ self.fail('Expected an exception')
except dbtables.TableDBError:
pass
@@ -172,20 +173,20 @@
values = self.tdb.Select(tabname, ['b', 'a', 'd'],
conditions={'e': re.compile('wuzzy').search,
'a': re.compile('^[0-9]+$').match})
- assert len(values) == 2
+ self.assertEqual(len(values), 2)
# now lets delete one of them and try again
self.tdb.Delete(tabname, conditions={'b': dbtables.ExactCond('good')})
values = self.tdb.Select(
tabname, ['a', 'd', 'b'],
conditions={'e': dbtables.PrefixCond('Fuzzy')})
- assert len(values) == 1
- assert values[0]['d'] == None
+ self.assertEqual(len(values), 1)
+ self.assertEqual(values[0]['d'], None)
values = self.tdb.Select(tabname, ['b'],
conditions={'c': lambda c: c == 'meep'})
- assert len(values) == 1
- assert values[0]['b'] == "bad"
+ self.assertEqual(len(values), 1)
+ self.assertEqual(values[0]['b'], "bad")
def test04_MultiCondSelect(self):
@@ -201,7 +202,7 @@
{'a': "",
'e': pickle.dumps([{4:5, 6:7}, 'foo'], 1),
'f': "Zero"})
- assert 0
+ self.fail('Expected an exception')
except dbtables.TableDBError:
pass
@@ -225,7 +226,7 @@
'a': dbtables.ExactCond('A'),
'd': dbtables.PrefixCond('-')
} )
- assert len(values) == 0, values
+ self.assertEqual(len(values), 0, values)
def test_CreateOrExtend(self):
@@ -238,7 +239,7 @@
{'taste': 'crap',
'filling': 'no',
'is it Guinness?': 'no'})
- assert 0, "Insert should've failed due to bad column name"
+ self.fail("Insert should've failed due to bad column name")
except:
pass
self.tdb.CreateOrExtendTable(tabname,
@@ -272,16 +273,16 @@
values = self.tdb.Select(
tabname, ['p', 'e'],
conditions={'e': dbtables.PrefixCond('the l')})
- assert len(values) == 2, values
- assert values[0]['e'] == values[1]['e'], values
- assert values[0]['p'] != values[1]['p'], values
+ self.assertEqual(len(values), 2, values)
+ self.assertEqual(values[0]['e'], values[1]['e'], values)
+ self.assertNotEqual(values[0]['p'], values[1]['p'], values)
values = self.tdb.Select(
tabname, ['d', 'a'],
conditions={'a': dbtables.LikeCond('%aardvark%')})
- assert len(values) == 1, values
- assert values[0]['d'] == "is for dog", values
- assert values[0]['a'] == "is for aardvark", values
+ self.assertEqual(len(values), 1, values)
+ self.assertEqual(values[0]['d'], "is for dog", values)
+ self.assertEqual(values[0]['a'], "is for aardvark", values)
values = self.tdb.Select(tabname, None,
{'b': dbtables.Cond(),
@@ -290,9 +291,9 @@
'd':dbtables.ExactCond('is for dog'),
'c':dbtables.PrefixCond('is for'),
'p':lambda s: not s})
- assert len(values) == 1, values
- assert values[0]['d'] == "is for dog", values
- assert values[0]['a'] == "is for aardvark", values
+ self.assertEqual(len(values), 1, values)
+ self.assertEqual(values[0]['d'], "is for dog", values)
+ self.assertEqual(values[0]['a'], "is for aardvark", values)
def test_Delete(self):
tabname = "test_Delete"
@@ -308,7 +309,7 @@
self.tdb.Delete(tabname, conditions={'x': dbtables.PrefixCond('X')})
values = self.tdb.Select(tabname, ['y'],
conditions={'x': dbtables.PrefixCond('X')})
- assert len(values) == 0
+ self.assertEqual(len(values), 0)
def test_Modify(self):
tabname = "test_Modify"
@@ -354,24 +355,24 @@
values = self.tdb.Select(
tabname, None,
conditions={'Type': dbtables.ExactCond('Unknown')})
- assert len(values) == 1, values
- assert values[0]['Name'] == None, values
- assert values[0]['Access'] == None, values
+ self.assertEqual(len(values), 1, values)
+ self.assertEqual(values[0]['Name'], None, values)
+ self.assertEqual(values[0]['Access'], None, values)
# Modify value by select conditions
values = self.tdb.Select(
tabname, None,
conditions={'Name': dbtables.ExactCond('Nifty.MP3')})
- assert len(values) == 1, values
- assert values[0]['Type'] == "MP3", values
- assert values[0]['Access'] == "2", values
+ self.assertEqual(len(values), 1, values)
+ self.assertEqual(values[0]['Type'], "MP3", values)
+ self.assertEqual(values[0]['Access'], "2", values)
# Make sure change applied only to select conditions
values = self.tdb.Select(
tabname, None, conditions={'Name': dbtables.LikeCond('%doc%')})
- assert len(values) == 1, values
- assert values[0]['Type'] == "Word", values
- assert values[0]['Access'] == "9", values
+ self.assertEqual(len(values), 1, values)
+ self.assertEqual(values[0]['Type'], "Word", values)
+ self.assertEqual(values[0]['Access'], "9", values)
def test_suite():
From buildbot at python.org Sun Oct 14 21:23:10 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 19:23:10 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI trunk
Message-ID: <20071014192310.4A0901E4028@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%20trunk/builds/27
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 21:26:23 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 19:26:23 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071014192623.AF5B81E402C@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2253
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0002-0002-0002-0002-0002'
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2000-2000-2000-2000-2000'
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1001-1001-1001-1001-1001'
======================================================================
ERROR: test02 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 115, in test02
raise RuntimeError("Wrong values returned!")
RuntimeError: Wrong values returned!
======================================================================
FAIL: test03 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 189, in test03
self.assertEqual(values[0]['b'], "bad")
AssertionError: None != 'bad'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 21:36:52 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 19:36:52 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD trunk
Message-ID: <20071014193652.5AC5A1E4011@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%20trunk/builds/113
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/SocketServer.py", line 523, in __init__
self.handle()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 299, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/socket.py", line 366, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
1 test failed:
test_bsddb3
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_dbtables.py", line 341, in test_Modify
mappings={'Access': increment_access})
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/usr/home/db3l/buildarea/trunk.bolen-freebsd/build/Lib/bsddb/test/test_dbtables.py", line 328, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 21:56:07 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 19:56:07 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071014195607.5764F1E402C@bag.python.org>
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/217
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: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From python-checkins at python.org Sun Oct 14 23:07:47 2007
From: python-checkins at python.org (mateusz.rukowicz)
Date: Sun, 14 Oct 2007 23:07:47 +0200 (CEST)
Subject: [Python-checkins] r58462 - sandbox/trunk/decimal-c/_decimal.c
Message-ID: <20071014210747.B375F1E4026@bag.python.org>
Author: mateusz.rukowicz
Date: Sun Oct 14 23:07:47 2007
New Revision: 58462
Modified:
sandbox/trunk/decimal-c/_decimal.c
Log:
Added 05up rounding. Fixed some issues with NaNs and precision (now NaNs diagnostics are truncated to context precision digits).
Modified: sandbox/trunk/decimal-c/_decimal.c
==============================================================================
--- sandbox/trunk/decimal-c/_decimal.c (original)
+++ sandbox/trunk/decimal-c/_decimal.c Sun Oct 14 23:07:47 2007
@@ -1157,7 +1157,8 @@
#define ROUND_HALF_UP 4
#define ROUND_FLOOR 5
#define ROUND_CEILING 6
-#define VALID_ROUND(x) ((x) <= ROUND_CEILING && (x) >= ROUND_DOWN)
+#define ROUND_05UP 7
+#define VALID_ROUND(x) ((x) <= ROUND_05UP && (x) >= ROUND_DOWN)
/* for context->rounding_dec */
#define ALWAYS_ROUND 0
@@ -1277,6 +1278,7 @@
static decimalobject *_do_decimal_subtract(decimalobject *, decimalobject *, contextobject *);
static PyObject *context_ignore_flags(contextobject *self, PyObject *args);
static decimalobject *_do_decimal_power(decimalobject *, decimalobject *, decimalobject *, contextobject *);
+static decimalobject *_decimal_fix_nan(decimalobject *self, contextobject *ctx);
static int _decimal_isint(decimalobject*);
/* Exception handlers *********************************************************/
@@ -1306,7 +1308,7 @@
handle_InvalidOperation(PyTypeObject *type, contextobject *ctx,
char *expl, decimalobject *thing)
{
- decimalobject *res;
+ decimalobject *res, *res2;
long sign, i;
HANDLE_ERROR(ctx, S_INV_OPERATION, expl, NULL);
@@ -1320,13 +1322,16 @@
sign = SIGN_NEGNAN;
else
sign = SIGN_POSNAN;
-
+ /* TODO actually, we don't need to call fixnan, but we do in case it will change */
res = _new_decimalobj(type, thing->ob_size, sign, exp_from_i(0));
if (!res) return NULL;
for (i = 0; i< res->limb_count;i++)
res->limbs[i] = thing->limbs[i];
- return res;
+ res2 = _decimal_fix_nan(res, ctx);
+ if(!res2) return NULL;
+ Py_DECREF(res);
+ return res2;
}
static decimalobject *
@@ -1545,14 +1550,11 @@
return -1;
return 1;
}
-
+ /* decimal_fix gives us new reference, no INCREF requiered */
if (nan1)
- *res = x;
+ *res = _decimal_fix_nan(x, ctx);
else
- *res = y;
- /* since handle_InvalidOperation above returns new references, to be
- * consistent we must incref the returns here too. */
- Py_INCREF(*res);
+ *res = _decimal_fix_nan(y, ctx);
return 1;
}
return 0;
@@ -1743,12 +1745,21 @@
return _round_down(self, prec, expdiff, ctx);
}
+/* Round up if digit prec-1 (0 based) is 0 or 5, otherwise round down*/
+static decimalobject *
+_round_05up(decimalobject *self, long prec, exp_t expdiff, contextobject *ctx) {
+ long dig = _limb_get_digit(self->limbs, self->ob_size, prec-1);
+ if(dig == 0 || dig == 5)
+ return _round_up(self, prec, expdiff, ctx);
+ else return _round_down(self, prec, expdiff, ctx);
+}
+
/* Mapping rounding constants to functions. Since in C this can be indexed with
any value, it's important to check the rounding constants before! */
typedef decimalobject*(*round_func)(decimalobject *, long, exp_t, contextobject *);
static round_func round_funcs[] = {
_round_down, _round_up, _round_half_down, _round_half_even,
- _round_half_up, _round_floor, _round_ceiling
+ _round_half_up, _round_floor, _round_ceiling, _round_05up
};
/* default: prec=-1, rounding=-1 (use context values), see the ROUND_* constants */
@@ -2116,12 +2127,35 @@
return NULL;
}
+
+static decimalobject *
+_decimal_fix_nan(decimalobject *self, contextobject *ctx) {
+ long max_diagnostic_len = ctx->prec - ctx->clamp;
+ long limbs = (max_diagnostic_len + LOG - 1) / LOG;
+ int i;
+ if(self->ob_size <= max_diagnostic_len) {
+ Py_INCREF(self);
+ return self;
+ }
+ /* we need to copy first ceil(self->ob_size / LOG) limbs, and set size
+ * because we truncate most significant limbs */
+ decimalobject *ans = _new_decimalobj(self->ob_type, max_diagnostic_len, self->sign, self->exp);
+ if(!ans)
+ return NULL;
+ for(i = 0; i < limbs; i ++) {
+ ans->limbs[i] = self->limbs[i];
+ }
+ return ans;
+}
+
static decimalobject *
_decimal_fix(decimalobject *self, contextobject *ctx)
{
decimalobject *ans = NULL;
if (ISSPECIAL(self)) {
+ if(GETNAN(self))
+ return _decimal_fix_nan(self, ctx);
Py_INCREF(self);
return self;
}
@@ -2144,6 +2178,8 @@
return ans;
}
+//this one cuts off diagnostic information
+
static PyObject *
decimal_fix(decimalobject *self, PyObject *args, PyObject *kwds)
{
@@ -6633,8 +6669,9 @@
return NULL;
finish:
- if (size > ctx->prec)
- return handle_ConversionSyntax(type, ctx, "diagnostic info too long");
+ /* not used anymore */
+/* if (size > ctx->prec)
+ return handle_ConversionSyntax(type, ctx, "diagnostic info too long"); */
new = _new_decimalobj(type, size, sign, exp_from_i(0));
if (!new)
@@ -8297,6 +8334,9 @@
case ROUND_CEILING:
strcat(roundstr, "CEILING");
break;
+ case ROUND_05UP:
+ strcat(roundstr, "05UP");
+ break;
default:
strcpy(roundstr, "None");
}
@@ -8553,19 +8593,21 @@
if (PyString_Check(value)) {
char *buffer = PyString_AS_STRING(value);
if (!strcmp("ROUND_DOWN", buffer))
- new_round = 0;
+ new_round = ROUND_DOWN;
else if (!strcmp("ROUND_UP", buffer))
- new_round = 1;
+ new_round = ROUND_UP;
else if (!strcmp("ROUND_HALF_DOWN", buffer))
- new_round = 2;
+ new_round = ROUND_HALF_DOWN;
else if (!strcmp("ROUND_HALF_EVEN", buffer))
- new_round = 3;
+ new_round = ROUND_HALF_EVEN;
else if (!strcmp("ROUND_HALF_UP", buffer))
- new_round = 4;
+ new_round = ROUND_HALF_UP;
else if (!strcmp("ROUND_FLOOR", buffer))
- new_round = 5;
+ new_round = ROUND_FLOOR;
else if (!strcmp("ROUND_CEILING", buffer))
- new_round = 6;
+ new_round = ROUND_CEILING;
+ else if (!strcmp("ROUND_05UP", buffer))
+ new_round = ROUND_05UP;
}
else if (new_round == -1) {
PyErr_SetString(PyExc_TypeError, "Rounding should be int or string");
@@ -8813,6 +8855,7 @@
ADD_CONST(m, ROUND_HALF_UP);
ADD_CONST(m, ROUND_FLOOR);
ADD_CONST(m, ROUND_CEILING);
+ ADD_CONST(m, ROUND_05UP);
ADD_CONST(m, ALWAYS_ROUND);
ADD_CONST(m, NEVER_ROUND);
From buildbot at python.org Sun Oct 14 23:28:04 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:28:04 +0000
Subject: [Python-checkins] buildbot failure in sparc solaris10 gcc 3.0
Message-ID: <20071014212805.1B6FA1E4026@bag.python.org>
The Buildbot has detected a new failure of sparc solaris10 gcc 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/sparc%20solaris10%20gcc%203.0/builds/152
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-sun
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test__locale test_pwd
======================================================================
ERROR: test_float_parsing (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test__locale.py", line 116, in test_float_parsing
if localeconv()['decimal_point'] != '.':
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 0: unexpected code byte
======================================================================
ERROR: test_lc_numeric_basic (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test__locale.py", line 88, in test_lc_numeric_basic
li_radixchar = localeconv()[lc]
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 0: unexpected code byte
======================================================================
ERROR: test_lc_numeric_localeconv (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test__locale.py", line 76, in test_lc_numeric_localeconv
self.numeric_tester('localeconv', localeconv()[lc], lc, loc)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 0: unexpected code byte
======================================================================
ERROR: test_lc_numeric_nl_langinfo (test.test__locale._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test__locale.py", line 65, in test_lc_numeric_nl_langinfo
self.numeric_tester('nl_langinfo', nl_langinfo(li), lc, loc)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 0: unexpected code byte
======================================================================
ERROR: test_errors (test.test_pwd.PwdTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test_pwd.py", line 54, in test_errors
for (n, p, u, g, gecos, d, s) in pwd.getpwall():
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-6: unsupported Unicode code range
======================================================================
ERROR: test_values (test.test_pwd.PwdTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/3.0.loewis-sun/build/Lib/test/test_pwd.py", line 9, in test_values
entries = pwd.getpwall()
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-6: unsupported Unicode code range
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 23:33:01 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:33:01 +0000
Subject: [Python-checkins] buildbot failure in ia64 Ubuntu 3.0
Message-ID: <20071014213301.1D9E21E402C@bag.python.org>
The Buildbot has detected a new failure of ia64 Ubuntu 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ia64%20Ubuntu%203.0/builds/144
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ia64
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_email test_socket
======================================================================
ERROR: test_same_boundary_inner_outer (email.test.test_email.TestNonConformant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/email/test/test_email.py", line 1445, in test_same_boundary_inner_outer
msg = self._msgobj('msg_15.txt')
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/email/test/test_email.py", line 67, in _msgobj
return email.message_from_file(fp)
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/email/__init__.py", line 46, in message_from_file
return Parser(*args, **kws).parse(fp)
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/email/parser.py", line 68, in parse
data = fp.read(8192)
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/io.py", line 1230, in read
readahead, pending = self._read_chunk()
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/io.py", line 1126, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 86: ordinal not in range(128)
======================================================================
ERROR: testGetServBy (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.0.klose-debian-ia64/build/Lib/test/test_socket.py", line 354, in testGetServBy
raise socket.error
socket.error
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 23:37:15 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:37:15 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-4 3.0
Message-ID: <20071014213715.8CD5C1E402C@bag.python.org>
The Buildbot has detected a new failure of x86 XP-4 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-4%203.0/builds/80
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-windows
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
12 tests failed:
test_csv test_dumbdbm test_file test_fileinput test_gettext
test_io test_largefile test_mailbox test_netrc test_pep277
test_subprocess test_tempfile
======================================================================
FAIL: test_read_escape_fieldsep (test.test_csv.TestEscapedExcel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 500, in test_read_escape_fieldsep
self.readerAssertEqual('abc\\,def\r\n', [['abc,def']])
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 383, in readerAssertEqual
self.assertEqual(fields, expected_result)
AssertionError: [['abc,def'], []] != [['abc,def']]
======================================================================
FAIL: test_read_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 513, in test_read_escape_fieldsep
self.readerAssertEqual('"abc\\,def"\r\n', [['abc,def']])
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_csv.py", line 383, in readerAssertEqual
self.assertEqual(fields, expected_result)
AssertionError: [['abc,def'], []] != [['abc,def']]
======================================================================
ERROR: test_line_endings (test.test_dumbdbm.DumbDBMTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_dumbdbm.py", line 121, in test_line_endings
f = dumbdbm.open(_fname)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 256, in open
return _Database(file, mode)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 73, in __init__
self._update()
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\dumbdbm.py", line 85, in _update
key, pos_and_siz_pair = eval(line)
File "", line 0
^
SyntaxError: unexpected EOF while parsing
======================================================================
ERROR: testTruncateOnWindows (test.test_file.OtherFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_file.py", line 212, in testTruncateOnWindows
os.unlink(TESTFN)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
FAIL: test_buffer_sizes (test.test_fileinput.BufferSizesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_fileinput.py", line 42, in test_buffer_sizes
self.buffer_size_test(t1, t2, t3, t4, bs, round)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_fileinput.py", line 119, in buffer_size_test
self.assertNotEqual(m, None)
AssertionError: None == None
======================================================================
ERROR: test_weird_metadata (test.test_gettext.WeirdMetadataTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_gettext.py", line 335, in test_weird_metadata
self.assertEqual(info['last-translator'],
KeyError: 'last-translator'
======================================================================
FAIL: test_buffered_file_io (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 163, in test_buffered_file_io
self.write_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 97, in write_ops
self.assertEqual(f.tell(), 13)
AssertionError: 12 != 13
======================================================================
FAIL: test_large_file_ops (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 206, in test_large_file_ops
self.large_file_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 139, in large_file_ops
self.assertEqual(f.tell(), self.LARGE + 2)
AssertionError: 2147483649 != 2147483650
======================================================================
FAIL: test_raw_file_io (test.test_io.IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 149, in test_raw_file_io
self.write_ops(f)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_io.py", line 97, in write_ops
self.assertEqual(f.tell(), 13)
AssertionError: 12 != 13
======================================================================
ERROR: test_add (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 697, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_close (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_from_string (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_mbox_or_mmdf_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_conflict (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_open_close_open (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_relock (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_close (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_from_string (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_mbox_or_mmdf_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_conflict (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_open_close_open (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_relock (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMMDF)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add_and_remove_folders (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_folder (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_list_folders (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pack (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_sequences (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestMH)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_add (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_clear (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_contains (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_delitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_discard (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_dump_message (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flush (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_file (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_message (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_get_string (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_getitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_items (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iter (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteritems (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iterkeys (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_itervalues (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_keys (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_labels (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_len (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_lock_unlock (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_pop (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_popitem (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_remove (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_set_item (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_update (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_values (test.test_mailbox.TestBabyl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 57, in setUp
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_date (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_info (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_info_and_flags (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_subdir (test.test_mailbox.TestMaildirMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_from (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_unixfrom (test.test_mailbox.TestMboxMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_sequences (test.test_mailbox.TestMHMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_labels (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_visible (test.test_mailbox.TestBabylMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_become_message (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_explain_to (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_flags (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_from (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_incorrectly (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_eMM (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_file (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_nothing (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_string (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize_with_unixfrom (test.test_mailbox.TestMMDFMessage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 950, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteration (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_read (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readline (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readlines (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_seek_and_tell (test.test_mailbox.TestProxyFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1564, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_close (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_initialize (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_iteration (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_read (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readline (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_readlines (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: test_seek_and_tell (test.test_mailbox.TestPartialFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1613, in tearDown
self._delete_recursively(self._path)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 47, in _delete_recursively
os.remove(target)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '@test'
======================================================================
ERROR: Test an empty maildir mailbox
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_both (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_cur (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_nonempty_maildir_new (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
ERROR: test_unix_mbox (test.test_mailbox.MaildirTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 1672, in setUp
os.mkdir(self._dir)
WindowsError: [Error 183] Cannot create a file when that file already exists: '@test'
======================================================================
FAIL: test_dump_message (test.test_mailbox.TestMaildir)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 407, in test_dump_message
_sample_message.replace('\n', os.linesep))
AssertionError: None
======================================================================
FAIL: test_add (test.test_mailbox.TestMbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_mailbox.py", line 76, in test_add
self.assertEqual(self._box.get_string(keys[0]), self._template % 0)
AssertionError: '\nFrom: foo\n\n0' != 'From: foo\n\n0'
======================================================================
ERROR: test_case_1 (test.test_netrc.NetrcTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_netrc.py", line 31, in setUp
self.netrc = netrc.netrc(temp_filename)
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\netrc.py", line 56, in __init__
"bad toplevel token %r" % tt, file, lexer.lineno)
netrc.NetrcParseError: bad toplevel token 'line1' (@test, line 9)
======================================================================
ERROR: test_directory (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1097, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_failures (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1097, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_listdir (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1097, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_open (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1097, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_rename (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_pep277.py", line 40, in setUp
f.write((name+'\n').encode("utf-8"))
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 1097, in write
s.__class__.__name__)
TypeError: can't write bytes to text stream
======================================================================
ERROR: test_communicate (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 303, in test_communicate
(stdout, stderr) = p.communicate("banana")
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 597, in communicate
return self._communicate(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 812, in _communicate
self.stdin.write(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 806, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream
======================================================================
ERROR: test_no_leaking (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 404, in test_no_leaking
data = p.communicate("lime")[0]
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 597, in communicate
return self._communicate(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\subprocess.py", line 812, in _communicate
self.stdin.write(input)
File "c:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\io.py", line 806, in write
raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream
======================================================================
ERROR: test_shell_sequence (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 633, in test_shell_sequence
self.assertNotEqual(p.stdout.read().find("physalis"), -1)
TypeError: Type str doesn't support the buffer API
======================================================================
ERROR: test_shell_string (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_subprocess.py", line 642, in test_shell_string
self.assertNotEqual(p.stdout.read().find("physalis"), -1)
TypeError: Type str doesn't support the buffer API
======================================================================
FAIL: test_text_mode (test.test_tempfile.test_SpooledTemporaryFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\db3l\buildarea\3.0.bolen-windows\build\lib\test\test_tempfile.py", line 747, in test_text_mode
self.assertEqual(f.read(), "abc\ndef\nxyzzy\n")
AssertionError: 'abc\n\ndef\n\nxyzzy\n\n' != 'abc\ndef\nxyzzy\n'
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 23:40:12 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:40:12 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 3.0
Message-ID: <20071014214012.A6B6E1E402D@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%203.0/builds/116
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 80, in writerThread
self._writerThread(*args, **kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 269, in _writerThread
self.assertEqual(data, self.makeData(key))
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/unittest.py", line 325, in failUnlessEqual
raise self.failureException(msg or '%r != %r' % (first, second))
AssertionError: None != b'0009-0009-0009-0009-0009'
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 80, in writerThread
self._writerThread(*args, **kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 269, in _writerThread
self.assertEqual(data, self.makeData(key))
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/unittest.py", line 325, in failUnlessEqual
raise self.failureException(msg or '%r != %r' % (first, second))
AssertionError: None != b'1002-1002-1002-1002-1002'
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 80, in writerThread
self._writerThread(*args, **kwargs)
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/bsddb/test/test_thread.py", line 269, in _writerThread
self.assertEqual(data, self.makeData(key))
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/unittest.py", line 325, in failUnlessEqual
raise self.failureException(msg or '%r != %r' % (first, second))
AssertionError: None != b'2010-2010-2010-2010-2010'
2 tests failed:
test_logging test_xmlrpc
======================================================================
FAIL: test_introspection1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 354, in test_introspection1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection2 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 365, in test_introspection2
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection3 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 378, in test_introspection3
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_multicall (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 395, in test_multicall
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_simple1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 341, in test_simple1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_basic (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/bb/3.0.psf-g4/build/Lib/test/test_xmlrpc.py", line 447, in test_basic
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 23:41:58 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:41:58 +0000
Subject: [Python-checkins] buildbot failure in x86 FreeBSD 3.0
Message-ID: <20071014214158.63BAB1E402D@bag.python.org>
The Buildbot has detected a new failure of x86 FreeBSD 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20FreeBSD%203.0/builds/72
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: bolen-freebsd
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/SocketServer.py", line 522, in __init__
self.handle()
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 330, in handle
self.handle_one_request()
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/BaseHTTPServer.py", line 313, in handle_one_request
self.raw_requestline = self.rfile.readline()
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 379, in readline
b = self.read(nreadahead())
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 365, in nreadahead
readahead = self.peek(1, unsafe=True)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 757, in peek
current = self.raw.read(to_read)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 441, in read
n = self.readinto(b)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/socket.py", line 292, in readinto
return self._sock.recv_into(b)
socket.error: [Errno 35] Resource temporarily unavailable
3 tests failed:
test_asynchat test_email test_xmlrpc
======================================================================
FAIL: test_close_when_done (test.test_asynchat.TestAsynchat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_asynchat.py", line 211, in test_close_when_done
self.assertTrue(len(s.buffer) > 0)
AssertionError: None
======================================================================
FAIL: test_close_when_done (test.test_asynchat.TestAsynchat_WithPoll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_asynchat.py", line 211, in test_close_when_done
self.assertTrue(len(s.buffer) > 0)
AssertionError: None
======================================================================
ERROR: test_same_boundary_inner_outer (email.test.test_email.TestNonConformant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/email/test/test_email.py", line 1445, in test_same_boundary_inner_outer
msg = self._msgobj('msg_15.txt')
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/email/test/test_email.py", line 67, in _msgobj
return email.message_from_file(fp)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/email/__init__.py", line 46, in message_from_file
return Parser(*args, **kws).parse(fp)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/email/parser.py", line 68, in parse
data = fp.read(8192)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 1230, in read
readahead, pending = self._read_chunk()
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/io.py", line 1126, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 86: ordinal not in range(128)
======================================================================
FAIL: test_introspection1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 354, in test_introspection1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection2 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 365, in test_introspection2
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_introspection3 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 378, in test_introspection3
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_multicall (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 395, in test_multicall
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_simple1 (test.test_xmlrpc.SimpleServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 341, in test_simple1
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
======================================================================
FAIL: test_basic (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/db3l/buildarea/3.0.bolen-freebsd/build/Lib/test/test_xmlrpc.py", line 447, in test_basic
self.fail("%s\n%s" % (e, e.headers))
AssertionError:
sincerely,
-The Buildbot
From buildbot at python.org Sun Oct 14 23:47:28 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 21:47:28 +0000
Subject: [Python-checkins] buildbot failure in S-390 Debian 3.0
Message-ID: <20071014214728.2C36A1E4026@bag.python.org>
The Buildbot has detected a new failure of S-390 Debian 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/S-390%20Debian%203.0/builds/142
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-s390
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_ctypes test_email
======================================================================
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/ctypes/test/test_callbacks.py", line 81, in test_longdouble
self.check_type(c_longdouble, 3.14)
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/ctypes/test/test_callbacks.py", line 22, in check_type
self.failUnlessEqual(self.got_args, (arg,))
AssertionError: (-inf,) != (3.1400000000000001,)
======================================================================
ERROR: test_same_boundary_inner_outer (email.test.test_email.TestNonConformant)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/email/test/test_email.py", line 1445, in test_same_boundary_inner_outer
msg = self._msgobj('msg_15.txt')
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/email/test/test_email.py", line 67, in _msgobj
return email.message_from_file(fp)
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/email/__init__.py", line 46, in message_from_file
return Parser(*args, **kws).parse(fp)
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/email/parser.py", line 68, in parse
data = fp.read(8192)
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/io.py", line 1230, in read
readahead, pending = self._read_chunk()
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/io.py", line 1126, in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File "/home/pybot/buildarea/3.0.klose-debian-s390/build/Lib/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 86: ordinal not in range(128)
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 15 00:47:44 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 22:47:44 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 3.0
Message-ID: <20071014224744.4C4D51E4026@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%203.0/builds/24
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 15 01:02:14 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sun, 14 Oct 2007 23:02:14 +0000
Subject: [Python-checkins] buildbot failure in MIPS Debian trunk
Message-ID: <20071014230214.9330F1E4026@bag.python.org>
The Buildbot has detected a new failure of MIPS Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/MIPS%20Debian%20trunk/builds/78
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-mips
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: neal.norwitz
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 175, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 244, in _test_urls
f = urllib2.urlopen(url, req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 304, in test_ftp_NoneNodefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 298, in test_ftp_NoneWithdefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 308, in test_ftp_Value
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=60)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/test/test_urllib2net.py", line 291, in test_ftp_basic
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/")
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 380, in open
response = self._open(req, data)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 398, in _open
'_open', req)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 358, in _call_chain
result = func(*args)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1277, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib2.py", line 1323, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 842, in __init__
self.init()
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/urllib.py", line 848, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/home/pybot/buildarea/trunk.klose-debian-mips/build/Lib/socket.py", line 462, in create_connection
raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 15 03:52:17 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 15 Oct 2007 01:52:17 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 3.0
Message-ID: <20071015015225.6B3841E400A@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%203.0/builds/23
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From python-checkins at python.org Mon Oct 15 05:04:47 2007
From: python-checkins at python.org (mateusz.rukowicz)
Date: Mon, 15 Oct 2007 05:04:47 +0200 (CEST)
Subject: [Python-checkins] r58467 - sandbox/trunk/decimal-c/_decimal.c
Message-ID: <20071015030447.7A2731E402F@bag.python.org>
Author: mateusz.rukowicz
Date: Mon Oct 15 05:04:46 2007
New Revision: 58467
Modified:
sandbox/trunk/decimal-c/_decimal.c
Log:
Fixed issues with natural logarithm (However, this function is still TODO, since it's really slugish).
Modified: sandbox/trunk/decimal-c/_decimal.c
==============================================================================
--- sandbox/trunk/decimal-c/_decimal.c (original)
+++ sandbox/trunk/decimal-c/_decimal.c Mon Oct 15 05:04:46 2007
@@ -2178,7 +2178,7 @@
return ans;
}
-//this one cuts off diagnostic information
+/* this one cuts off diagnostic information */
static PyObject *
decimal_fix(decimalobject *self, PyObject *args, PyObject *kwds)
@@ -4720,6 +4720,10 @@
5341, 4889, 4437, 39930, 35534, 31186, 26886, 22630, 18418, 14254,
10130, 6046, 20055};
+/* this function passes all tests, but I am not sure if it's always gives answer with
+ * error < 0.5 ulp. I am not sure if there exists such solution (it's ok if we just truncate
+ * digits, but problem arises when using rounding which checks if last digit is 5
+ * and result ens with 50000...00001) */
static decimalobject *
_do_decimal__ln(decimalobject *self, contextobject *ctx) {
@@ -4812,7 +4816,11 @@
b->sign = 1;
rounding = ctx1->rounding;
- ctx1->rounding = ROUND_HALF_EVEN;
+ /* we'll calculate lower bound, There might be problem with
+ * result which ends wit 50...01 (I dont really think there is rational a,
+ * that ln(a) ends with 500000.... - and we actually operate on rational subset
+ * of R) */
+ ctx1->rounding = ROUND_DOWN;
tmp = _do_decimal_add(ans, b, ctx1);
if (!tmp)
goto err;
@@ -4896,8 +4904,8 @@
rounding = ctx->rounding;
ctx->rounding = ROUND_HALF_EVEN;
- /* we add extra 1 at the end to make proper rounding */
- if (decimal_nonzero(ans) && !ISSPECIAL(ans)) {
+ /* we add extra 1 at the end to make proper rounding only if last digit is not 0 (to avoid 0.9999999...) */
+ if (decimal_nonzero(ans) && !ISSPECIAL(ans) && (ans->limbs[0] % 10) != 9) {
int i;
From python-checkins at python.org Mon Oct 15 09:48:36 2007
From: python-checkins at python.org (armin.rigo)
Date: Mon, 15 Oct 2007 09:48:36 +0200 (CEST)
Subject: [Python-checkins] r58468 - python/trunk/Lib/test/test_zlib.py
Message-ID: <20071015074836.39F401E4026@bag.python.org>
Author: armin.rigo
Date: Mon Oct 15 09:48:35 2007
New Revision: 58468
Modified:
python/trunk/Lib/test/test_zlib.py
Log:
test_bigbits was not testing what it seemed to.
Modified: python/trunk/Lib/test/test_zlib.py
==============================================================================
--- python/trunk/Lib/test/test_zlib.py (original)
+++ python/trunk/Lib/test/test_zlib.py Mon Oct 15 09:48:35 2007
@@ -42,14 +42,18 @@
class ExceptionTestCase(unittest.TestCase):
# make sure we generate some expected errors
- def test_bigbits(self):
- # specifying total bits too large causes an error
- self.assertRaises(zlib.error,
- zlib.compress, 'ERROR', zlib.MAX_WBITS + 1)
+ def test_badlevel(self):
+ # specifying compression level out of range causes an error
+ # (but -1 is Z_DEFAULT_COMPRESSION and apparently the zlib
+ # accepts 0 too)
+ self.assertRaises(zlib.error, zlib.compress, 'ERROR', 10)
def test_badcompressobj(self):
# verify failure on building compress object with bad params
self.assertRaises(ValueError, zlib.compressobj, 1, zlib.DEFLATED, 0)
+ # specifying total bits too large causes an error
+ self.assertRaises(ValueError,
+ zlib.compressobj, 1, zlib.DEFLATED, zlib.MAX_WBITS + 1)
def test_baddecompressobj(self):
# verify failure on building decompress object with bad params
From buildbot at python.org Mon Oct 15 10:22:20 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 15 Oct 2007 08:22:20 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071015082220.BCE821E4026@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2545
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: armin.rigo
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2000-2000-2000-2000-2000'
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1001-1001-1001-1001-1001'
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0002-0002-0002-0002-0002'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Mon Oct 15 17:04:28 2007
From: python-checkins at python.org (mateusz.rukowicz)
Date: Mon, 15 Oct 2007 17:04:28 +0200 (CEST)
Subject: [Python-checkins] r58469 - sandbox/trunk/decimal-c/_decimal.c
Message-ID: <20071015150428.C01D31E4017@bag.python.org>
Author: mateusz.rukowicz
Date: Mon Oct 15 17:04:28 2007
New Revision: 58469
Modified:
sandbox/trunk/decimal-c/_decimal.c
Log:
Fixed some minor bug in richcompare.
Modified: sandbox/trunk/decimal-c/_decimal.c
==============================================================================
--- sandbox/trunk/decimal-c/_decimal.c (original)
+++ sandbox/trunk/decimal-c/_decimal.c Mon Oct 15 17:04:28 2007
@@ -2451,7 +2451,7 @@
if (PyErr_Occurred())
return NULL;
- if ( (res == 0 && (op == Py_EQ || op == Py_LE || op == Py_GT || op == Py_GE)) ||
+ if ( (res == 0 && (op == Py_EQ || op == Py_LE || op == Py_GE)) ||
(res == -1 && (op == Py_NE || op == Py_LT || op == Py_LE)) ||
(res == 1 && (op == Py_NE || op == Py_GT || op == Py_GE)))
Py_RETURN_TRUE;
From python-checkins at python.org Mon Oct 15 17:54:11 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 17:54:11 +0200 (CEST)
Subject: [Python-checkins] r58471 - python/trunk/Parser/tokenizer.c
Message-ID: <20071015155412.1AAF61E4028@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 17:54:11 2007
New Revision: 58471
Modified:
python/trunk/Parser/tokenizer.c
Log:
Change a PyErr_Print() into a PyErr_Clear(),
per discussion in issue 1031213.
Modified: python/trunk/Parser/tokenizer.c
==============================================================================
--- python/trunk/Parser/tokenizer.c (original)
+++ python/trunk/Parser/tokenizer.c Mon Oct 15 17:54:11 2007
@@ -1542,7 +1542,7 @@
Py_DECREF(unicode_text);
}
if (!ret) {
- PyErr_Print();
+ PyErr_Clear();
}
return ret;
}
From buildbot at python.org Mon Oct 15 18:42:32 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 15 Oct 2007 16:42:32 +0000
Subject: [Python-checkins] buildbot failure in sparc solaris10 gcc trunk
Message-ID: <20071015164232.A0F011E4039@bag.python.org>
The Buildbot has detected a new failure of sparc solaris10 gcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/sparc%20solaris10%20gcc%20trunk/builds/2357
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-sun
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_urllib2 test_urllib2net
======================================================================
ERROR: test_trivial (test.test_urllib2.TrivialTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2.py", line 19, in test_trivial
self.assertRaises(ValueError, urllib2.urlopen, 'bogus url')
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/unittest.py", line 329, in failUnlessRaises
callableObj(*args, **kwargs)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_file (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2.py", line 619, in test_file
r = h.file_open(Request(url))
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 1204, in file_open
return self.open_local_file(req)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 1223, in open_local_file
localfile = url2pathname(file)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 55, in url2pathname
return unquote(pathname)
TypeError: 'NoneType' object is not callable
======================================================================
ERROR: test_http (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2.py", line 725, in test_http
r.read; r.readline # wrapped MockFile methods
AttributeError: addinfourl instance has no attribute 'read'
======================================================================
ERROR: test_build_opener (test.test_urllib2.MiscTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2.py", line 1031, in test_build_opener
o = build_opener(FooHandler, BarHandler)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: testURLread (test.test_urllib2net.URLTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 24, in testURLread
f = urllib2.urlopen("http://www.python.org/")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_bad_address (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 147, in test_bad_address
urllib2.urlopen, "http://www.python.invalid./")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/unittest.py", line 329, in failUnlessRaises
callableObj(*args, **kwargs)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_basic (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 105, in test_basic
open_url = urllib2.urlopen("http://www.python.org/")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_geturl (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 129, in test_geturl
open_url = urllib2.urlopen(URL)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_info (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 116, in test_info
open_url = urllib2.urlopen("http://www.python.org/")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_file (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 187, in test_file
self._test_urls(urls, self._extra_handlers())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
urllib2.install_opener(urllib2.build_opener(*handlers))
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 175, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
urllib2.install_opener(urllib2.build_opener(*handlers))
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_http (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 199, in test_http
self._test_urls(urls, self._extra_handlers())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
urllib2.install_opener(urllib2.build_opener(*handlers))
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_range (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 160, in test_range
result = urllib2.urlopen(req)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_close (test.test_urllib2net.CloseSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 76, in test_close
response = urllib2.urlopen("http://www.python.org/")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_ftp_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 304, in test_ftp_NoneNodefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_ftp_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 298, in test_ftp_NoneWithdefault
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_ftp_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 308, in test_ftp_Value
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=60)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 291, in test_ftp_basic
u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_http_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 287, in test_http_NoneNodefault
u = urllib2.urlopen("http://www.python.org", timeout=None)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_http_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 277, in test_http_NoneWithdefault
u = urllib2.urlopen("http://www.python.org", timeout=None)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_http_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 283, in test_http_Value
u = urllib2.urlopen("http://www.python.org", timeout=120)
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
======================================================================
ERROR: test_http_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_urllib2net.py", line 270, in test_http_basic
u = urllib2.urlopen("http://www.python.org")
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen
_opener = build_opener()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 461, in build_opener
opener.add_handler(klass())
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib2.py", line 670, in __init__
proxies = getproxies()
File "/opt/users/buildbot/slave/trunk.loewis-sun/build/Lib/urllib.py", line 1280, in getproxies_environment
for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'
sincerely,
-The Buildbot
From buildbot at python.org Mon Oct 15 18:51:44 2007
From: buildbot at python.org (buildbot at python.org)
Date: Mon, 15 Oct 2007 16:51:44 +0000
Subject: [Python-checkins] buildbot failure in g4 osx.4 trunk
Message-ID: <20071015165144.C2B631E4020@bag.python.org>
The Buildbot has detected a new failure of g4 osx.4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/2300
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: psf-g4
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Mon Oct 15 18:56:28 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 18:56:28 +0200 (CEST)
Subject: [Python-checkins] r58473 - peps/trunk/pep-3137.txt
Message-ID: <20071015165628.2748B1E4020@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 18:56:27 2007
New Revision: 58473
Modified:
peps/trunk/pep-3137.txt
Log:
Add table of old and new names for affected types.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 18:56:27 2007
@@ -73,6 +73,22 @@
While eventually it makes sense to change the C API names, this PEP
maintains the old C API names, which should be familiar to all.
+Summary
+-------
+
+Here's a simple ASCII-art table summarizing the type names in various
+Python versions::
+
+ +--------------+-------------+------------+--------------------+
+ | C name | 2.x repr | 3.0a1 repr | 3.0a2 repr |
+ +--------------+-------------+------------+--------------------+
+ | PyUnicode | unicode u"" | str "" | str "" |
+ | PyString | str "" | str8 s"" | bytes "" |
+ | PyBytes | N/A | bytes b"" | buffer buffer(b"") |
+ | PyBuffer | buffer N/A | buffer N/A | N/A |
+ | PyMemoryView | N/A | N/A | memoryview N/A |
+ +--------------+-------------+------------+--------------------+
+
Literal Notations
=================
From python-checkins at python.org Mon Oct 15 18:59:07 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 18:59:07 +0200 (CEST)
Subject: [Python-checkins] r58474 - peps/trunk/pep-3137.txt
Message-ID: <20071015165907.40EF11E4020@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 18:59:06 2007
New Revision: 58474
Modified:
peps/trunk/pep-3137.txt
Log:
Oops, "" should be b"" for PyString in last column.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 18:59:06 2007
@@ -83,7 +83,7 @@
| C name | 2.x repr | 3.0a1 repr | 3.0a2 repr |
+--------------+-------------+------------+--------------------+
| PyUnicode | unicode u"" | str "" | str "" |
- | PyString | str "" | str8 s"" | bytes "" |
+ | PyString | str "" | str8 s"" | bytes b"" |
| PyBytes | N/A | bytes b"" | buffer buffer(b"") |
| PyBuffer | buffer N/A | buffer N/A | N/A |
| PyMemoryView | N/A | N/A | memoryview N/A |
From python-checkins at python.org Mon Oct 15 19:00:31 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 19:00:31 +0200 (CEST)
Subject: [Python-checkins] r58475 - peps/trunk/pep-3137.txt
Message-ID: <20071015170031.E26551E4020@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 19:00:31 2007
New Revision: 58475
Modified:
peps/trunk/pep-3137.txt
Log:
Don't put N/A in the repr column for PyBuffer or PyBytes.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 19:00:31 2007
@@ -85,8 +85,8 @@
| PyUnicode | unicode u"" | str "" | str "" |
| PyString | str "" | str8 s"" | bytes b"" |
| PyBytes | N/A | bytes b"" | buffer buffer(b"") |
- | PyBuffer | buffer N/A | buffer N/A | N/A |
- | PyMemoryView | N/A | N/A | memoryview N/A |
+ | PyBuffer | buffer | buffer | N/A |
+ | PyMemoryView | N/A | N/A | memoryview |
+--------------+-------------+------------+--------------------+
Literal Notations
From python-checkins at python.org Mon Oct 15 19:05:13 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 19:05:13 +0200 (CEST)
Subject: [Python-checkins] r58476 - peps/trunk/pep-3137.txt
Message-ID: <20071015170513.B0DA71E4020@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 19:05:13 2007
New Revision: 58476
Modified:
peps/trunk/pep-3137.txt
Log:
Missed memoryview in the 3.0a1 column.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 19:05:13 2007
@@ -86,7 +86,7 @@
| PyString | str "" | str8 s"" | bytes b"" |
| PyBytes | N/A | bytes b"" | buffer buffer(b"") |
| PyBuffer | buffer | buffer | N/A |
- | PyMemoryView | N/A | N/A | memoryview |
+ | PyMemoryView | N/A | memoryview | memoryview |
+--------------+-------------+------------+--------------------+
Literal Notations
From python-checkins at python.org Mon Oct 15 19:13:10 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Mon, 15 Oct 2007 19:13:10 +0200 (CEST)
Subject: [Python-checkins] r58477 - peps/trunk/pep-3137.txt
Message-ID: <20071015171310.39D211E4020@bag.python.org>
Author: guido.van.rossum
Date: Mon Oct 15 19:13:07 2007
New Revision: 58477
Modified:
peps/trunk/pep-3137.txt
Log:
Use '' instead of "" for repr, as that is the default repr.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 19:13:07 2007
@@ -82,9 +82,9 @@
+--------------+-------------+------------+--------------------+
| C name | 2.x repr | 3.0a1 repr | 3.0a2 repr |
+--------------+-------------+------------+--------------------+
- | PyUnicode | unicode u"" | str "" | str "" |
- | PyString | str "" | str8 s"" | bytes b"" |
- | PyBytes | N/A | bytes b"" | buffer buffer(b"") |
+ | PyUnicode | unicode u'' | str '' | str '' |
+ | PyString | str '' | str8 s'' | bytes b'' |
+ | PyBytes | N/A | bytes b'' | buffer buffer(b'') |
| PyBuffer | buffer | buffer | N/A |
| PyMemoryView | N/A | memoryview | memoryview |
+--------------+-------------+------------+--------------------+
From python-checkins at python.org Mon Oct 15 21:02:27 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 21:02:27 +0200 (CEST)
Subject: [Python-checkins] r58478 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015190227.0C5B11E4028@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 21:02:25 2007
New Revision: 58478
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Use UTF-8 as the default encoding. This in no way helps deal with -*- stanzas,
though.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 21:02:25 2007
@@ -134,7 +134,9 @@
def open_(path, flags):
"""Stand-in replacement for open() in case it is not available yet."""
try:
- return open(path, flags)
+ # XXX Forcing UTF-8 is fine for a default but there are -*- stanzas to
+ # worry about at some point.
+ return open(path, flags, encoding="utf8")
except NameError:
return DinkyFile(path, flags)
From python-checkins at python.org Mon Oct 15 21:12:15 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 21:12:15 +0200 (CEST)
Subject: [Python-checkins] r58479 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015191215.9555B1E4028@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 21:11:53 2007
New Revision: 58479
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Make sure that the encoding is not accidentally specified when dealing with
binary.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 21:11:53 2007
@@ -136,7 +136,7 @@
try:
# XXX Forcing UTF-8 is fine for a default but there are -*- stanzas to
# worry about at some point.
- return open(path, flags, encoding="utf8")
+ return open(path, flags, encoding=(None if 'b' in flags else "utf8"))
except NameError:
return DinkyFile(path, flags)
From python-checkins at python.org Mon Oct 15 21:38:22 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 21:38:22 +0200 (CEST)
Subject: [Python-checkins] r58480 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015193822.24B041E42C5@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 21:38:21 2007
New Revision: 58480
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Use straight ASCII for text decoding until open() is set in site.py.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 21:38:21 2007
@@ -168,7 +168,7 @@
if self.binary:
return read_out
else:
- return read_out.decode("utf8")
+ return str(read_out)
def write(self, data):
if not self.writing or not self.binary:
From python-checkins at python.org Mon Oct 15 22:01:56 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 22:01:56 +0200 (CEST)
Subject: [Python-checkins] r58482 -
sandbox/trunk/import_in_py/Py3K/tests/test_regression.py
Message-ID: <20071015200156.802CC1E4038@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 22:01:56 2007
New Revision: 58482
Modified:
sandbox/trunk/import_in_py/Py3K/tests/test_regression.py
Log:
Fix test to use marshal._r_long().
Modified: sandbox/trunk/import_in_py/Py3K/tests/test_regression.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/tests/test_regression.py (original)
+++ sandbox/trunk/import_in_py/Py3K/tests/test_regression.py Mon Oct 15 22:01:56 2007
@@ -2,7 +2,6 @@
from tests import mock_importlib
from tests.py_help import TestPyPycPackages
-from importlib import _r_long
import imp
import marshal
@@ -132,8 +131,7 @@
data = pyc_file.read()
self.failUnlessEqual(data[:4], imp.get_magic())
py_mod = int(os.stat(self.py_path).st_mtime)
- # XXX Using importer's _r_long.
- pyc_mod = _r_long(data[4:8])
+ pyc_mod = marshal._r_long(data[4:8])
self.failUnlessEqual(py_mod, pyc_mod)
code = marshal.loads(data[8:])
module = mock_importlib.MockModule(self.module_name)
From python-checkins at python.org Mon Oct 15 22:02:54 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 22:02:54 +0200 (CEST)
Subject: [Python-checkins] r58483 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015200254.4F5881E402D@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 22:02:54 2007
New Revision: 58483
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Remove an apparently unneeded try/except clause.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 22:02:54 2007
@@ -509,11 +509,8 @@
@check_name
def load_module(self, fullname):
"""Load a Python source or bytecode file."""
- try:
- code_object, path = self._handler(fullname, self._source_path(),
- self._bytecode_path())
- except ValueError:
- raise ImportError("loader cannot handle %s" % fullname)
+ code_object, path = self._handler(fullname, self._source_path(),
+ self._bytecode_path())
return self._module_init(code_object, fullname, path, self._is_pkg)
@check_name
From python-checkins at python.org Mon Oct 15 22:05:55 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 22:05:55 +0200 (CEST)
Subject: [Python-checkins] r58484 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015200555.35DE01E4037@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 22:05:54 2007
New Revision: 58484
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Add a comment about the assumption made in DinkyFile for decoding text.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 22:05:54 2007
@@ -168,6 +168,10 @@
if self.binary:
return read_out
else:
+ # Since codecs requires the ability to import from the encodings
+ # package, bytes.decode() cannot be used. This forces the
+ # assumption that all files imported before open() is set are
+ # encoded in ASCII.
return str(read_out)
def write(self, data):
From python-checkins at python.org Mon Oct 15 23:00:24 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 23:00:24 +0200 (CEST)
Subject: [Python-checkins] r58487 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015210024.082E41E4039@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 23:00:23 2007
New Revision: 58487
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Add an XXX comment listing an idea on how to deal with -*- stanzas.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Mon Oct 15 23:00:23 2007
@@ -136,6 +136,12 @@
try:
# XXX Forcing UTF-8 is fine for a default but there are -*- stanzas to
# worry about at some point.
+ # XXX Opening in UTF-8 prevents the import of heapq and test_coding to
+ # fail at least.
+ # XXX Opening in Latin-1 causes test_pep263 and pep_3131 to fail.
+ # XXX One possible solution is to read the file in as bytes, do the
+ # universal newline translation, and then look for the -*- stanza to
+ # then do a bytes.decode() call (basically do PEPs 263 and 278).
return open(path, flags, encoding=(None if 'b' in flags else "utf8"))
except NameError:
return DinkyFile(path, flags)
From python-checkins at python.org Mon Oct 15 23:04:19 2007
From: python-checkins at python.org (brett.cannon)
Date: Mon, 15 Oct 2007 23:04:19 +0200 (CEST)
Subject: [Python-checkins] r58489 - peps/trunk/pep-3137.txt
Message-ID: <20071015210419.4E6F61E402D@bag.python.org>
Author: brett.cannon
Date: Mon Oct 15 23:04:19 2007
New Revision: 58489
Modified:
peps/trunk/pep-3137.txt
Log:
Fix a reST typo; someone has used too much LaTeX.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Mon Oct 15 23:04:19 2007
@@ -190,7 +190,7 @@
the return type is that of the first argument (this seems arbitrary
until you consider how ``+=`` works).
- - ``b1 += b2'': mutates b1 if it is a buffer object.
+ - ``b1 += b2``: mutates b1 if it is a buffer object.
- ``b * n``, ``n * b``: repetition; n must be an integer.
From python-checkins at python.org Tue Oct 16 01:23:29 2007
From: python-checkins at python.org (brett.cannon)
Date: Tue, 16 Oct 2007 01:23:29 +0200 (CEST)
Subject: [Python-checkins] r58490 -
sandbox/trunk/import_in_py/Py3K/_importlib.py
Message-ID: <20071015232329.649AA1E402D@bag.python.org>
Author: brett.cannon
Date: Tue Oct 16 01:23:29 2007
New Revision: 58490
Modified:
sandbox/trunk/import_in_py/Py3K/_importlib.py
Log:
Add yet another comment about how to possibly deal with source file encodings
and -*- markers through exposing more of the C implementation of import.c.
Either way, though, if the imp API stays (e.g., imp.find_module()) then
exposing this won't help with opening the file object properly.
Modified: sandbox/trunk/import_in_py/Py3K/_importlib.py
==============================================================================
--- sandbox/trunk/import_in_py/Py3K/_importlib.py (original)
+++ sandbox/trunk/import_in_py/Py3K/_importlib.py Tue Oct 16 01:23:29 2007
@@ -142,6 +142,7 @@
# XXX One possible solution is to read the file in as bytes, do the
# universal newline translation, and then look for the -*- stanza to
# then do a bytes.decode() call (basically do PEPs 263 and 278).
+ # XXX Otherwise consider exposing Python/import.c:parse_source_module().
return open(path, flags, encoding=(None if 'b' in flags else "utf8"))
except NameError:
return DinkyFile(path, flags)
From buildbot at python.org Tue Oct 16 02:33:06 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 16 Oct 2007 00:33:06 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 3.0
Message-ID: <20071016003307.042261E421C@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%203.0/builds/29
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 16 07:11:10 2007
From: python-checkins at python.org (mateusz.rukowicz)
Date: Tue, 16 Oct 2007 07:11:10 +0200 (CEST)
Subject: [Python-checkins] r58492 - sandbox/trunk/decimal-c/_decimal.c
Message-ID: <20071016051110.8909A1E402D@bag.python.org>
Author: mateusz.rukowicz
Date: Tue Oct 16 07:11:09 2007
New Revision: 58492
Modified:
sandbox/trunk/decimal-c/_decimal.c
Log:
Completely rewritten sqrt. Now it's faster and better :>.
Modified: sandbox/trunk/decimal-c/_decimal.c
==============================================================================
--- sandbox/trunk/decimal-c/_decimal.c (original)
+++ sandbox/trunk/decimal-c/_decimal.c Tue Oct 16 07:11:09 2007
@@ -212,6 +212,25 @@
}
}
+/* self = self * 10 + dig */
+static void
+_limb_add_one_digit(long *self, long ndigits, long dig) {
+ long i;
+ /* it's not bug, we have ndigits + 1 digs */
+ long limb_count = (ndigits + LOG)/LOG;
+
+ if(ndigits % LOG == 0)
+ self[limb_count-1] = 0; /* we added extra limb, clear it */
+
+ for(i = limb_count-1; i > 0; i--) {
+ self[i] *= 10;
+ self[i] += self[i-1] / (BASE/10);
+ self[i-1] %= (BASE/10);
+ }
+ self[0] *= 10;
+ self[0] += dig;
+}
+
static void
_limb_fill(long *self, long ndigits, long x)
{
@@ -486,7 +505,7 @@
/* XXX it's naive dividing, very slow */
/* min_new_pos tells, when we should stop dividing, useful for integer division
* make it > flimbs - 2, and it will have no impact*/
-
+/* function assumes that rest is filled with 0s */
static long
_limb_divide(long *first, long flimbs, long *second, long slimbs,
long *out, long prec, long *rest, long min_new_pos)
@@ -589,6 +608,67 @@
free(tmp);
return new_pos;
}
+
+
+/* integer division, returns how many limbs result has */
+static long
+_limb_integer_divide(long *first, long flimbs, long *second, long slimbs, long *out, long *remainder) {
+ long rpos;
+ int i;
+ rpos = _limb_divide(first, flimbs, second, slimbs, out, flimbs, remainder, -1);
+ /* this is index of first limb that is before dot */
+ rpos ++;
+ for(i = rpos; i < flimbs; i ++)
+ out[i-rpos] = out[i];
+ return _limb_size(out, flimbs - rpos);
+
+}
+/* computes floor(sqrt(first)), first and result are integers,
+ * res should have at least (flimbs+1)/2 + 1 size */
+static long
+_limb_sqrt(long *first, long flimbs, long *res) {
+ /* it's Newton's method, we start with x_1 = first */
+ int i;
+ int cmp_res;
+ int rlimbs;
+ int qlimbs;
+ long *remainder;
+ long *quot = (long*)malloc(sizeof(long) * (flimbs + 1));
+ remainder = (long*)malloc(sizeof(long) * (flimbs + 1));
+
+ /* upper bound */
+ rlimbs = (flimbs + 1) / 2 + 1;
+ for(i = 0; i < rlimbs-1; i++)
+ res[i] = 0;
+ res[rlimbs-1] = 1;
+
+ while(1) {
+ /* quot = floor(first / res */
+ memset(remainder, 0, (flimbs + 1) * sizeof(long));
+ qlimbs = _limb_integer_divide(first, flimbs, res, rlimbs, quot, remainder);
+
+ /* if rest <= quot then break - we stop here because otherwise result would grow
+ * and become ceiling instead of floor */
+ cmp_res = _limb_compare(res, rlimbs, quot, qlimbs);
+ if(cmp_res <= 0)
+ break;
+
+ /* res = res + quot */
+ rlimbs = (_limb_add(res, LOG * rlimbs, quot, LOG * qlimbs, res) + LOG - 1) / LOG;
+
+ /* res = floor(res / 2) */
+ for(i=rlimbs-1;i>0;i--) {
+ res[i-1] += (res[i] &1) * BASE;
+ res[i] >>= 1;
+ }
+ res[0] >>= 1;
+ if(rlimbs > 1 &&!res[rlimbs-1]) rlimbs --;
+ }
+ free(remainder);
+ free(quot);
+ return rlimbs;
+}
+
/*
static long
_limb_normalize(long *first, long size) {
@@ -3059,20 +3139,17 @@
static decimalobject *
_do_decimal_sqrt(decimalobject *self, contextobject *ctx)
{
- decimalobject *ret = 0;
- decimalobject *ans = 0;
- decimalobject *tmp = 0, *tmp2 = 0, *tmp3 = 0;
- contextobject *ctx2 = 0;
- decimalobject *half = 0;
- PyObject *flags = 0;
- exp_t expadd;
- long firstprec;
- long i;
- exp_t Emax;
- exp_t Emin;
- long maxp;
- long rounding;
- exp_t prevexp;
+ decimalobject *ret = 0, *ret2 = 0;
+ long *b_tab; /* our temporal storage for integer DD */
+ long b_limbs;
+ exp_t e; /* as below */
+ int i;
+ int exact = 1; /* is result exact */
+ int shift = 0; /* in case result is exact - we need
+ to restore perfect exponent */
+ long ret_limbs;
+ int rounding;
+
if (ISSPECIAL(self)) {
decimalobject *nan;
@@ -3099,307 +3176,147 @@
return handle_InvalidOperation(self->ob_type, ctx, "sqrt(-x), x > 0", NULL);
}
- tmp = _NEW_decimalobj(self->ob_size + 1, self->sign, self->exp);
-
- if (!tmp)
- return NULL;
-
- expadd = exp_floordiv_i(tmp->exp, 2);
-
- if (exp_mod_i(tmp->exp, 2)) {
- _limb_first_n_digits(self->limbs, self->ob_size, 0, tmp->limbs, tmp->ob_size);
+ /* The idea is pretty much the same that in Python code.
+ * Assume, that we have real a, computed with precision prec + 1
+ * that a <= sqrt(self) < a + 1ULP, and we know if a == sqrt(self)
+ * (is it exact). With this a, we have two cases:
+ * a) a == sqrt(self) -- just round a, and return
+ * b) otherwise -- we know, that a < sqrt(self) < a + 1ULP
+ * the only problem that arise, is when a ends with 5 or 0 (this is
+ * the only case, that ROUND_HALF_EVEN will give incorrect result,
+ * because if result ends with 5 or 5000..0, it's actually bigger)
+ * so we just check last digit, if it's 5, we add 1ULP to a, round,
+ * and return.
+ *
+ * So now we want to find a. We'll find such b and e, that
+ * self = b * 10^e, e mod 2 == 0, e is integer and
+ * floor(sqrt(b)) has at last prec+1 significant digits -- that is
+ * c = floor(sqrt(b)) 10^(prec) <= c, so 10^(prec) <= sqrt(b), so
+ * 10^(2*prec) <= b. Given b and e, a = floor(sqrt(floor(b)) * 10^(e/2)
+ * we know that floor(sqrt(floor(b)) <= sqrt(b), so
+ * a <= sqrt(b) * 10^(e/2) = self. On the other side
+ * floor(sqrt(floor(b)) <= sqrt(b) < floor(sqrt(floor(b)) + 1
+ * [the proof is pretty straightforward, show that there is no x /in (i,i+1)
+ * that sqrt(x) is integer for any integer i]
+ * Concluding, self < (a+1) * 10^(e/2) = a * 10^(e/2) + 10^(e/2) = a * 10^(e/2) + 1ULP []
+ * Concluding (one more time), we get b with at least 2*prec + 1 digits
+ * and we make sure, that e is even, self = b * 10^e; now, we truncate
+ * fractional part b (let DD = floor(b)), and set a = floor(sqrt(DD)) * 10^(e/2) */
+
+ /* we need at last ctx->prec*2 + 1 digits, givent n limbs,
+ * we have at last n*4-3 digits, n*4-3 >= ctx->prec*2 + 1
+ * n*4 >= ctx->prec * 2 + 4, n >= ctx->prec/2 + 1, so will
+ * set n = ctx->prec/2 + 3 (because there might be possibility, that
+ * we'll need to make exp even - in that case we'll extend b)
+ * but we have to fill b_limbs - 1 limbs */
+ b_limbs = ctx->prec/2 + 3;
+ b_tab = (long*)malloc(b_limbs * sizeof(long));
+ if(b_limbs -1 > self->limb_count) {
+ /* we have to extend */
+ int diff = (b_limbs - 1) - self->limb_count;
+ shift = -diff * 4; /*exp becomes smaller */
+ for(i = 0;i < self->limb_count; i++)
+ b_tab[i+diff] = self->limbs[i];
+
+ for(i = 0;i < diff; i++)
+ b_tab[i] = 0;
}
else {
- tmp->ob_size --;
- tmp->limb_count = self->limb_count;
- for(i = 0; i < tmp->limb_count ; i++)
- tmp->limbs[i] = self->limbs[i];
- }
-
- tmp->exp = exp_from_i(0);
-
- ctx2 = context_copy(ctx);
-
- if (!ctx2) {
- Py_DECREF(tmp);
- return NULL;
+ /* we have to truncate, we'll fill b_limbs-1 limbs */
+ int diff = self->limb_count - (b_limbs - 1);
+ shift = diff * 4; /* we truncated diff limbs, so exp will become greater */
+ for(i = 0;i < b_limbs - 1; i++)
+ b_tab[i] = self->limbs[i + diff];
+ /* we'll check remainding limbs of self, to check if
+ * we truncated something important */
+ for(i = 0;i < diff; i++)
+ if(self->limbs[i]) {
+ exact = 0;
+ break;
+ }
}
- flags = context_ignore_all_flags(ctx2);
+ b_tab[b_limbs-1] = 0; /* only one we didn't set */
- if (!flags) {
- Py_DECREF(tmp);
- Py_DECREF(ctx2);
+ /* in case exp mod 2 = 1, we'll extend multiply b_tab * 10, and decrease shift
+ * [that's why we made room for another limb] */
+ if(exp_mod_i(self->exp, 2)) {
+ shift --;
+ _limb_add_one_digit(b_tab, (b_limbs-1) * LOG, 0);
+ }
+ b_limbs = _limb_size(b_tab, b_limbs);
+
+ /* ok, now our DD is b_tab, and our e is self->exp + shift */
+
+ /* how big tab we need - sqrt uses ceil(limbs/2) + 1, but there
+ * is possibility that we're going to set ideal exp
+ * Our result exp will be (self->exp + shift)/2, and ideal exp is
+ * floor(self->exp/2), so we might be forced to extend mantisa by
+ * shift/2 */
+ ret_limbs = (b_limbs + 1)/2 + 2 + (shift > 0 ? (shift + 1)/2 + 1 : 0);
+ /* TODO maybe I should use some temporary tab first? */
+ ret = _NEW_decimalobj(ret_limbs * LOG, self->sign, exp_from_i(0));
+ if(!ret) {
+ free(b_tab);
return NULL;
}
- ans = _NEW_decimalobj(3, 0, exp_from_i(0));
-
- if (!ans) {
- Py_DECREF(tmp);
- Py_DECREF(ctx2);
- Py_DECREF(flags);
- }
-
- tmp2 = _NEW_decimalobj(3, 0, exp_from_i(0));
-
- if (!tmp2) {
- Py_DECREF(tmp);
- Py_DECREF(ctx2);
- Py_DECREF(flags);
- Py_DECREF(ans);
- }
-
- if (exp_mod_i(ADJUSTED(tmp), 2) == 0) {
- ans->limbs[0] = 819;
- ans->exp = exp_sub_i(ADJUSTED(tmp), 2);
- tmp2->limbs[0] = 259;
- exp_inp_sub_i(&(tmp2->exp), 2);
- }
- else {
- ans->limbs[0] = 259;
- ans->exp = exp_add_i(tmp->exp, tmp->ob_size - 3);
- tmp2->limbs[0] = 819;
- exp_inp_sub_i(&(tmp2->exp), 3);
- }
-
- firstprec = ctx2->prec;
- ctx2->prec = 3;
- /* ans += tmp * tmp2 */
-
- tmp3 = _do_decimal_multiply(tmp, tmp2, ctx2);
-
- if (!tmp3)
- goto err;
-
- Py_DECREF(tmp2);
- tmp2 = _do_decimal_add(ans, tmp3, ctx2);
- Py_DECREF(tmp3);
- tmp3 = 0;
-
- if (!tmp2)
- goto err;
-
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
-/* ans->exp -= 1 + ADJUSTED(tmp)/2;
- if (1 + ADJUSTED(tmp) < 0 && (1 + ADJUSTED(tmp)) % 2)
- ans->exp --;
- */
- exp_inp_sub(&(ans->exp),exp_add_i(exp_floordiv_i(ADJUSTED(tmp), 2), 1));
- Emax = ctx2->Emax;
- Emin = ctx2->Emin;
-
- ctx2->Emax = PyDecimal_DefaultContext->Emax;
- ctx2->Emin = PyDecimal_DefaultContext->Emin;
-
- half = _decimal_fromliteral(self->ob_type, "0.5", 3, ctx2);
-
- if (!half)
- goto err;
-
- maxp = firstprec + 2;
- rounding = ctx2->rounding;
- ctx2->rounding = ROUND_HALF_EVEN;
-
- while (1) {
- ctx2->prec = 2 * ctx2->prec - 2 < maxp ? 2 * ctx2->prec - 2: maxp;
- /* ans = half * (ans + tmp/ans) */
- tmp2 = (decimalobject*) _do_decimal__divide(tmp, ans, 0, ctx2);
- if (!tmp2)
- goto err;
- /* ans = half * (ans + tmp2) */
- tmp3 = _do_decimal_add(ans, tmp2, ctx2);
- if (!tmp3)
- goto err;
-
- /* ans = half * tmp3 */
- Py_DECREF(ans);
- ans = _do_decimal_multiply(half, tmp3, ctx2);
-
- if (!ans)
- goto err;
-
- Py_DECREF(tmp2);
- Py_DECREF(tmp3);
- tmp2 = 0;
- tmp3 = 0;
-
- if (ctx2->prec == maxp)
- break;
- }
-
- ctx2->prec = firstprec;
- prevexp = ADJUSTED(ans);
- tmp2 = _decimal_round(ans, -1, ctx2, -1);
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = _NEW_decimalobj(tmp2->ob_size + 1, tmp2->sign, tmp2->exp);
- if (!ans)
- goto err;
-
- ctx2->prec = firstprec + 1;
- if (exp_ne(prevexp, ADJUSTED(tmp2))) {
- _limb_first_n_digits(tmp2->limbs, tmp2->ob_size, 0, ans->limbs, ans->ob_size);
- exp_dec(&(ans->exp));
- }
- else {
- ans->limb_count = tmp2->limb_count;
- ans->ob_size = tmp2->ob_size;
- for (i = 0; i < ans->limb_count; i++)
- ans->limbs[i] = tmp2->limbs[i];
- }
-
- Py_DECREF(tmp2);
- tmp2 = 0;
-
- {
- int cmp;
- decimalobject *lower;
- half->exp = exp_sub_i(ans->exp, 1);
- half->limbs[0] = 5;
- lower = _do_decimal_subtract(ans, half, ctx2);
- if (!lower)
- goto err;
-
- ctx2->rounding = ROUND_UP;
- tmp2 = _do_decimal_multiply(lower, lower, ctx2);
- Py_DECREF(lower);
- lower = 0;
- if (!tmp2) {
- goto err;
- }
-
- cmp = _do_real_decimal_compare(tmp2, tmp, ctx2);
- if (PyErr_Occurred()) {
- goto err;
- }
-
- Py_DECREF(tmp2);
- tmp2 = 0;
-
- if (cmp == 1) {
- half->exp = ans->exp;
- half->limbs[0] = 1;
- tmp2 = _do_decimal_subtract(ans, half, ctx2);
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
+ ret_limbs = _limb_sqrt(b_tab, b_limbs, ret->limbs);
+ ret->limb_count = ret_limbs;
+ ret->ob_size = _limb_size_s(ret->limbs, ret_limbs * LOG);
+ /* let's check if it's exact */
+ {
+ long tmp_digs;
+ long cmp_res;
+ long *tmp = (long*)malloc((ret_limbs * 2 + 1) * sizeof(long));
+ tmp_digs = _limb_multiply(ret->limbs, ret->ob_size, ret->limbs,
+ ret->ob_size, tmp);
+
+ cmp_res = _limb_compare_un(b_tab, b_limbs, tmp, (tmp_digs +LOG-1)/LOG);
+ exact = exact && cmp_res == 0;
+ free(tmp);
+ }
+ free(b_tab);
+
+ /* now all we need is to set exp :> and add 1 ULP in case it's not exact ;> */
+
+ if (exact) {
+ long expdiff;
+ exp_t tmp_exp;
+ ret->exp = exp_floordiv_i(self->exp, 2);
+ tmp_exp = exp_floordiv_i(exp_add_i(self->exp, shift), 2);
+ expdiff = exp_to_i(exp_sub(ret->exp, tmp_exp));
+ /* TODO SLOW */
+ if(expdiff > 0) {
+ while(expdiff && ret->ob_size > 1) {
+ assert(!(ret->limbs[0] % 10)); /* Am I sure?? TODO */
+ _limb_cut_one_digit(ret->limbs, ret->ob_size);
+ ret->ob_size --;
+ expdiff --;
+ }
}
else {
- decimalobject *upper;
- half->exp = exp_sub_i(ans->exp, 1);
- half->limbs[0] = 5;
- upper = _do_decimal_add(ans, half, ctx2);
- if (!upper)
- goto err;
- ctx2->rounding = ROUND_DOWN;
-
- tmp2 = _do_decimal_multiply(upper, upper, ctx2);
-
- Py_DECREF(upper);
- upper = 0;
-
- cmp = _do_real_decimal_compare(tmp2, tmp, ctx2);
- if (PyErr_Occurred())
- goto err;
-
- Py_DECREF(tmp2);
- tmp2 = 0;
-
- if (cmp == -1) {
- half->exp = ans->exp;
- half->limbs[0] = 1;
- tmp2 = _do_decimal_add(ans, half, ctx2);
-
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
+ while(expdiff) {
+ _limb_add_one_digit(ret->limbs, ret->ob_size, 0);
+ ret->ob_size ++;
+ expdiff ++;
}
}
}
-
- exp_inp_add(&(ans->exp), expadd);
- ctx2->rounding = rounding;
-
- tmp2 = _decimal_fix(ans, ctx2);
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
-
- rounding = ctx2->rounding_dec;
- ctx2->rounding_dec = NEVER_ROUND;
-
- {
- int cmp;
- tmp2 = _do_decimal_multiply(ans, ans, ctx2);
- if (!tmp2)
- goto err;
-
- cmp = _do_real_decimal_compare(tmp2, self, ctx2);
-
- if (PyErr_Occurred())
- goto err;
-
- Py_DECREF(tmp2);
- tmp2 = 0;
-
- if (cmp != 0) {
- if (handle_Rounded(ctx, NULL))
- goto err;
-
- if (handle_Inexact(ctx, NULL))
- goto err;
- }
-
- else {
-/* long exp = self->exp / 2;
- if (self->exp < 0 && self->exp % 2)
- exp --;*/
- exp_t exp = exp_floordiv_i(self->exp, 2);
- ctx2->prec += exp_to_i(exp_sub(ans->exp, exp));
- tmp2 = _decimal_rescale(ans, exp, ctx2, -1, 1);
-
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
- ctx2->prec = firstprec;
- }
+ else {
+ if(ret->limbs[0] % 5 == 0) ret->limbs[0] ++;
+ ret-> exp = exp_floordiv_i(exp_add_i(self->exp, shift), 2);
}
- tmp2 = _decimal_fix(ans, ctx);
- if (!tmp2)
- goto err;
- Py_DECREF(ans);
- ans = tmp2;
- tmp2 = 0;
-
- Py_DECREF(flags);
- Py_DECREF(ctx2);
- Py_DECREF(half);
- Py_DECREF(tmp);
-
- return ans;
-
-err:
- Py_XDECREF(tmp);
- Py_XDECREF(tmp2);
- Py_XDECREF(tmp3);
- Py_XDECREF(ans);
- Py_XDECREF(flags);
- Py_XDECREF(ctx2);
- Py_XDECREF(ret);
- Py_XDECREF(half);
+ /* TODO it's not thread safe */
+ rounding = ctx->rounding;
+ ctx->rounding = ROUND_HALF_EVEN;
+
+ ret2 = _decimal_fix(ret, ctx);
+ ctx->rounding = rounding;
+ Py_DECREF(ret);
+ return ret2;
+
return NULL;
}
DECIMAL_UNARY_FUNC(sqrt)
From buildbot at python.org Tue Oct 16 07:45:51 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 16 Oct 2007 05:45:51 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 3.0
Message-ID: <20071016054551.65DD31E402D@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%203.0/builds/27
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 82, in run
svr = svrcls(self.__addr, self.__hdlrcls)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/SocketServer.py", line 331, in __init__
self.server_bind()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_socketserver.py", line 166, in server_bind
(err, msg) = e
TypeError: 'gaierror' object is not iterable
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
Traceback (most recent call last):
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 485, in _bootstrap_inner
self.run()
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/threading.py", line 445, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/buildarea-armeabi/3.0.klose-linux-armeabi/build/Lib/test/test_xmlrpc.py", line 279, in http_server
except socket.timeout:
NameError: global name 'socket' is not defined
sincerely,
-The Buildbot
From python-checkins at python.org Tue Oct 16 18:58:38 2007
From: python-checkins at python.org (guido.van.rossum)
Date: Tue, 16 Oct 2007 18:58:38 +0200 (CEST)
Subject: [Python-checkins] r58494 - peps/trunk/pep-3137.txt
Message-ID: <20071016165838.A0B171E403B@bag.python.org>
Author: guido.van.rossum
Date: Tue Oct 16 18:58:38 2007
New Revision: 58494
Modified:
peps/trunk/pep-3137.txt
Log:
Add removal of basestring.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Tue Oct 16 18:58:38 2007
@@ -282,6 +282,13 @@
contiguous array of bytes at all. Therefore, the PEP 3118 buffer API
will be removed from the str type.
+The ``basestring`` Type
+-----------------------
+
+The ``basestring`` type will be removed from the language. Code that
+used to say ``isinstance(x, basestring)`` should be changed to use
+``isinstance(x, str)`` instead.
+
Pickling
--------
From python-checkins at python.org Tue Oct 16 21:18:45 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Tue, 16 Oct 2007 21:18:45 +0200 (CEST)
Subject: [Python-checkins] r58500 - python/trunk/Lib/collections.py
Message-ID: <20071016191845.BD3041E4031@bag.python.org>
Author: raymond.hettinger
Date: Tue Oct 16 21:18:30 2007
New Revision: 58500
Modified:
python/trunk/Lib/collections.py
Log:
Improve error messages
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Tue Oct 16 21:18:30 2007
@@ -32,16 +32,17 @@
if isinstance(field_names, basestring):
field_names = field_names.replace(',', ' ').split() # names separated by whitespace and/or commas
field_names = tuple(field_names)
- if not ''.join((typename,) + field_names).replace('_', '').isalnum():
- raise ValueError('Type names and field names can only contain alphanumeric characters and underscores')
+ for name in (typename,) + field_names:
+ if not name.replace('_', '').isalnum():
+ raise ValueError('Type names and field names can only contain alphanumeric characters and underscores: %r' % name)
+ if name[0].isdigit():
+ raise ValueError('Type names and field names cannot start with a number: %r' % name)
seen_names = set()
for name in field_names:
if name.startswith('__') and name.endswith('__'):
- raise ValueError('Field names cannot start and end with double underscores: %s' % name)
- if name[:1].isdigit():
- raise ValueError('Field names cannot start with a number: %s' % name)
+ raise ValueError('Field names cannot start and end with double underscores: %r' % name)
if name in seen_names:
- raise ValueError('Encountered duplicate field name: %s' % name)
+ raise ValueError('Encountered duplicate field name: %r' % name)
seen_names.add(name)
# Create and fill-in the class template
From buildbot at python.org Tue Oct 16 22:48:50 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 16 Oct 2007 20:48:50 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071016204850.DF7611E400E@bag.python.org>
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/221
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:
1 test failed:
test_bsddb3
======================================================================
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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 55, 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 39, 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 39, 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 39, 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 47, 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
From python-checkins at python.org Tue Oct 16 23:28:44 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Tue, 16 Oct 2007 23:28:44 +0200 (CEST)
Subject: [Python-checkins] r58506 - in python/trunk:
Doc/library/collections.rst Lib/collections.py
Lib/test/test_collections.py
Message-ID: <20071016212844.9ECED1E404E@bag.python.org>
Author: raymond.hettinger
Date: Tue Oct 16 23:28:32 2007
New Revision: 58506
Modified:
python/trunk/Doc/library/collections.rst
python/trunk/Lib/collections.py
python/trunk/Lib/test/test_collections.py
Log:
More docs, error messages, and tests
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Tue Oct 16 23:28:32 2007
@@ -365,9 +365,13 @@
The *fieldnames* are a single string with each fieldname separated by whitespace
and/or commas (for example 'x y' or 'x, y'). Alternatively, the *fieldnames*
- can be specified as a list of strings (such as ['x', 'y']). Any valid
- Python identifier may be used for a fieldname except for names starting and
- ending with double underscores.
+ can be specified as a list of strings (such as ['x', 'y']).
+
+ Any valid Python identifier may be used for a fieldname except for names
+ starting and ending with double underscores. Valid identifiers consist of
+ letters, digits, and underscores but do not start with a digit and cannot be
+ a :mod:`keyword` such as *class*, *for*, *return*, *global*, *pass*, *print*,
+ or *raise*.
If *verbose* is true, will print the class definition.
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Tue Oct 16 23:28:32 2007
@@ -2,6 +2,7 @@
from _collections import deque, defaultdict
from operator import itemgetter as _itemgetter
+from keyword import iskeyword as _iskeyword
import sys as _sys
def named_tuple(typename, field_names, verbose=False):
@@ -35,6 +36,8 @@
for name in (typename,) + field_names:
if not name.replace('_', '').isalnum():
raise ValueError('Type names and field names can only contain alphanumeric characters and underscores: %r' % name)
+ if _iskeyword(name):
+ raise ValueError('Type names and field names cannot be a keyword: %r' % name)
if name[0].isdigit():
raise ValueError('Type names and field names cannot start with a number: %r' % name)
seen_names = set()
Modified: python/trunk/Lib/test/test_collections.py
==============================================================================
--- python/trunk/Lib/test/test_collections.py (original)
+++ python/trunk/Lib/test/test_collections.py Tue Oct 16 23:28:32 2007
@@ -11,11 +11,17 @@
self.assertEqual(Point.__slots__, ())
self.assertEqual(Point.__module__, __name__)
self.assertEqual(Point.__getitem__, tuple.__getitem__)
- self.assertRaises(ValueError, named_tuple, 'abc%', 'def ghi')
- self.assertRaises(ValueError, named_tuple, 'abc', 'def g%hi')
- self.assertRaises(ValueError, named_tuple, 'abc', '__def__ ghi')
- self.assertRaises(ValueError, named_tuple, 'abc', 'def def ghi')
- self.assertRaises(ValueError, named_tuple, 'abc', '8def 9ghi')
+
+ self.assertRaises(ValueError, named_tuple, 'abc%', 'efg ghi') # type has non-alpha char
+ self.assertRaises(ValueError, named_tuple, 'class', 'efg ghi') # type has keyword
+ self.assertRaises(ValueError, named_tuple, '9abc', 'efg ghi') # type starts with digit
+
+ self.assertRaises(ValueError, named_tuple, 'abc', 'efg g%hi') # field with non-alpha char
+ self.assertRaises(ValueError, named_tuple, 'abc', 'abc class') # field has keyword
+ self.assertRaises(ValueError, named_tuple, 'abc', '8efg 9ghi') # field starts with digit
+ self.assertRaises(ValueError, named_tuple, 'abc', '__efg__ ghi') # field with double underscores
+ self.assertRaises(ValueError, named_tuple, 'abc', 'efg efg ghi') # duplicate field
+
named_tuple('Point0', 'x1 y2') # Verify that numbers are allowed in names
def test_instance(self):
@@ -66,7 +72,6 @@
self.assertEqual(p.y, y)
self.assertRaises(AttributeError, eval, 'p.z', locals())
-
def test_odd_sizes(self):
Zero = named_tuple('Zero', '')
self.assertEqual(Zero(), ())
From nnorwitz at gmail.com Tue Oct 16 23:47:42 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Tue, 16 Oct 2007 17:47:42 -0400
Subject: [Python-checkins] Python Regression Test Failures all (1)
Message-ID: <20071016214742.GA11952@python.psfb.org>
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
/tmp/python-test/local/lib/python2.6/bsddb/test/test_1413192.py:32: RuntimeWarning: DBTxn aborted in destructor. No prior commit() or abort().
del self.the_txn
Exception in thread reader 0:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 4:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread reader 3:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/tmp/python-test/local/lib/python2.6/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Exception in thread writer 0:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 245, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '0114-0114-0114-0114-0114'
Exception in thread writer 1:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '1001-1001-1001-1001-1001'
Exception in thread writer 2:
Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/threading.py", line 486, in __bootstrap_inner
self.run()
File "/tmp/python-test/local/lib/python2.6/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_thread.py", line 260, in writerThread
self.assertEqual(data, self.makeData(key))
File "/tmp/python-test/local/lib/python2.6/unittest.py", line 343, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: None != '2000-2000-2000-2000-2000'
test test_bsddb3 failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_dbtables.py", line 342, in test_Modify
mappings={'Access': increment_access})
File "/tmp/python-test/local/lib/python2.6/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/tmp/python-test/local/lib/python2.6/bsddb/test/test_dbtables.py", line 329, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7362 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
[516832 refs]
From buildbot at python.org Tue Oct 16 23:59:29 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 16 Oct 2007 21:59:29 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071016215936.AFF3B1E4010@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2257
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
1 test failed:
test_bsddb3
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
======================================================================
FAIL: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 360, in test_Modify
self.assertEqual(values[0]['Access'], None, values)
AssertionError: [{'Access': '0', 'Type': 'Unknown', 'Name': None}]
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Wed Oct 17 00:32:14 2007
From: buildbot at python.org (buildbot at python.org)
Date: Tue, 16 Oct 2007 22:32:14 +0000
Subject: [Python-checkins] buildbot failure in x86 mvlgcc trunk
Message-ID: <20071016223215.253E21E403A@bag.python.org>
The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/883
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: loewis-linux
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: armin.rigo,guido.van.rossum,neal.norwitz,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/bsddb/test/test_dbtables.py", line 342, in test_Modify
mappings={'Access': increment_access})
File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/bsddb/test/test_dbtables.py", line 329, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Wed Oct 17 00:58:43 2007
From: python-checkins at python.org (andrew.kuchling)
Date: Wed, 17 Oct 2007 00:58:43 +0200 (CEST)
Subject: [Python-checkins] r58507 - python/trunk/Doc/whatsnew/2.6.rst
Message-ID: <20071016225843.0877F1E4005@bag.python.org>
Author: andrew.kuchling
Date: Wed Oct 17 00:58:03 2007
New Revision: 58507
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Log:
Add items
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Wed Oct 17 00:58:03 2007
@@ -515,6 +515,12 @@
by module name. Consult the :file:`Misc/NEWS` file in the source tree for a more
complete list of changes, or look through the CVS logs for all the details.
+* The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol
+ available, instead of restricting itself to protocol 1.
+ (Contributed by W. Barnes.)
+
+ .. % Patch 1551443
+
* A new data type in the :mod:`collections` module: :class:`named_tuple(typename,
fieldnames)` is a factory function that creates subclasses of the standard tuple
whose fields are accessible by name as well as index. For example::
@@ -531,17 +537,48 @@
1 1
>>> print var[2], var.type # Equivalent
int int
+ >>> var.__asdict__()
+ {'size': 4, 'type': 'int', 'id': 1, 'name': 'frequency'}
>>> v2 = var.__replace__('name', 'amplitude')
>>> v2
variable(id=1, name='amplitude', type='int', size=4)
(Contributed by Raymond Hettinger.)
+* Another change to the :mod:`collections` module is that the
+ :class:`deque` type now supports an optional `maxlen` parameter;
+ if supplied, the deque's size will be restricted to no more
+ than ``maxlen`` items. Adding more items to a full deque causes
+ old items to be discarded.
+
+ ::
+
+ >>> from collections import deque
+ >>> dq=deque(maxlen=3)
+ >>> dq
+ deque([], maxlen=3)
+ >>> dq.append(1) ; dq.append(2) ; dq.append(3)
+ >>> dq
+ deque([1, 2, 3], maxlen=3)
+ >>> dq.append(4)
+ >>> dq
+ deque([2, 3, 4], maxlen=3)
+
+ (Contributed by Raymond Hettinger.)
+
* The :mod:`ctypes` module now supports a :class:`c_bool` datatype
that represents the C99 ``bool`` type. (Contributed by David Remahl.)
.. % Patch 1649190
+ The :mod:`ctypes` string, buffer and array types also have improved
+ support for extended slicing syntax,
+ where various combinations of ``(start, stop, step)`` are supplied.
+ (Implemented by Thomas Wouters.)
+
+ .. % Revision 57769
+
+
* A new method in the :mod:`curses` module: for a window, :meth:`chgat` changes
the display characters for a certain number of characters on a single line.
::
@@ -626,6 +663,12 @@
.. % Patch 1273829
+* The ``os.environ`` object's :meth:`clear` method will now unset the
+ environment variables using :func:`os.unsetenv` in addition to clearing
+ the object's keys. (Contributed by XXX.)
+
+ .. % Patch #1181
+
* In the :mod:`os.path` module, the :func:`splitext` function
has been changed to not split on leading period characters.
This produces better results when operating on Unix's dot-files.
@@ -799,7 +842,13 @@
Changes to Python's build process and to the C API include:
-* Detailed changes will be listed here.
+* The BerkeleyDB module now has a C API object, available as
+ ``bsddb.db.api``. This object can be used by other C extensions
+ that wish to use the :mod:`bsddb` module for their own purposes.
+ (Contributed by Duncan Grisby.)
+
+ .. % Patch 1551895
+
.. % ======================================================================
From python-checkins at python.org Wed Oct 17 01:24:06 2007
From: python-checkins at python.org (brett.cannon)
Date: Wed, 17 Oct 2007 01:24:06 +0200 (CEST)
Subject: [Python-checkins] r58508 - python/trunk/Doc/library/csv.rst
Message-ID: <20071016232406.E7C461E565F@bag.python.org>
Author: brett.cannon
Date: Wed Oct 17 01:24:06 2007
New Revision: 58508
Modified:
python/trunk/Doc/library/csv.rst
Log:
Remove ``:const:`` notation on None in parameter list. Since the markup is not
rendered for parameters it just showed up as ``:const:`None` `` in the output.
Modified: python/trunk/Doc/library/csv.rst
==============================================================================
--- python/trunk/Doc/library/csv.rst (original)
+++ python/trunk/Doc/library/csv.rst Wed Oct 17 01:24:06 2007
@@ -143,7 +143,7 @@
The :mod:`csv` module defines the following classes:
-.. class:: DictReader(csvfile[, fieldnames=:const:None,[, restkey=:const:None[, restval=None[, dialect='excel'[, *args, **kwds]]]]])
+.. class:: DictReader(csvfile[, fieldnames=None[, restkey=None[, restval=None[, dialect='excel'[, *args, **kwds]]]]])
Create an object which operates like a regular reader but maps the information
read into a dict whose keys are given by the optional *fieldnames* parameter.
From python-checkins at python.org Wed Oct 17 01:26:45 2007
From: python-checkins at python.org (brett.cannon)
Date: Wed, 17 Oct 2007 01:26:45 +0200 (CEST)
Subject: [Python-checkins] r58509 - python/trunk/Doc/c-api/abstract.rst
Message-ID: <20071016232645.9B6341E4120@bag.python.org>
Author: brett.cannon
Date: Wed Oct 17 01:26:45 2007
New Revision: 58509
Modified:
python/trunk/Doc/c-api/abstract.rst
Log:
Re-order some functions whose parameters differ between PyObject and const char
* so that they are next to each other.
Modified: python/trunk/Doc/c-api/abstract.rst
==============================================================================
--- python/trunk/Doc/c-api/abstract.rst (original)
+++ python/trunk/Doc/c-api/abstract.rst Wed Oct 17 01:26:45 2007
@@ -31,21 +31,14 @@
instead of the :func:`repr`.
-.. cfunction:: int PyObject_HasAttrString(PyObject *o, const char *attr_name)
+.. cfunction:: int PyObject_HasAttr(PyObject *o, PyObject *attr_name)
Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. This
is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
always succeeds.
-.. cfunction:: PyObject* PyObject_GetAttrString(PyObject *o, const char *attr_name)
-
- Retrieve an attribute named *attr_name* from object *o*. Returns the attribute
- value on success, or *NULL* on failure. This is the equivalent of the Python
- expression ``o.attr_name``.
-
-
-.. cfunction:: int PyObject_HasAttr(PyObject *o, PyObject *attr_name)
+.. cfunction:: int PyObject_HasAttrString(PyObject *o, const char *attr_name)
Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. This
is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
@@ -59,27 +52,34 @@
expression ``o.attr_name``.
-.. cfunction:: int PyObject_SetAttrString(PyObject *o, const char *attr_name, PyObject *v)
+.. cfunction:: PyObject* PyObject_GetAttrString(PyObject *o, const char *attr_name)
+
+ Retrieve an attribute named *attr_name* from object *o*. Returns the attribute
+ value on success, or *NULL* on failure. This is the equivalent of the Python
+ expression ``o.attr_name``.
+
+
+.. cfunction:: int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v)
Set the value of the attribute named *attr_name*, for object *o*, to the value
*v*. Returns ``-1`` on failure. This is the equivalent of the Python statement
``o.attr_name = v``.
-.. cfunction:: int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v)
+.. cfunction:: int PyObject_SetAttrString(PyObject *o, const char *attr_name, PyObject *v)
Set the value of the attribute named *attr_name*, for object *o*, to the value
*v*. Returns ``-1`` on failure. This is the equivalent of the Python statement
``o.attr_name = v``.
-.. cfunction:: int PyObject_DelAttrString(PyObject *o, const char *attr_name)
+.. cfunction:: int PyObject_DelAttr(PyObject *o, PyObject *attr_name)
Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on failure.
- This is the equivalent of the Python statement: ``del o.attr_name``.
+ This is the equivalent of the Python statement ``del o.attr_name``.
-.. cfunction:: int PyObject_DelAttr(PyObject *o, PyObject *attr_name)
+.. cfunction:: int PyObject_DelAttrString(PyObject *o, const char *attr_name)
Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on failure.
This is the equivalent of the Python statement ``del o.attr_name``.
From python-checkins at python.org Wed Oct 17 20:44:25 2007
From: python-checkins at python.org (erik.forsberg)
Date: Wed, 17 Oct 2007 20:44:25 +0200 (CEST)
Subject: [Python-checkins] r58521 -
tracker/instances/python-dev/detectors/sendmail.py
Message-ID: <20071017184425.706961E401F@bag.python.org>
Author: erik.forsberg
Date: Wed Oct 17 20:44:25 2007
New Revision: 58521
Modified:
tracker/instances/python-dev/detectors/sendmail.py
Log:
Get rid of empty messages generated when adding and removing
files. Fixes http://psf.upfronthosting.co.za/roundup/meta/issue164.
Modified: tracker/instances/python-dev/detectors/sendmail.py
==============================================================================
--- tracker/instances/python-dev/detectors/sendmail.py (original)
+++ tracker/instances/python-dev/detectors/sendmail.py Wed Oct 17 20:44:25 2007
@@ -1,3 +1,5 @@
+from roundup import roundupdb
+
def determineNewMessages(cl, nodeid, oldvalues):
''' Figure a list of the messages that are being added to the given
node in this transaction.
@@ -66,8 +68,29 @@
sendto += db.config.detectors['TRIAGE_EMAIL'].split(",")
except KeyError:
pass
+ oldfiles = []
else:
changenote = cl.generateChangeNote(nodeid, oldvalues)
+ oldfiles = oldvalues.get('files', [])
+
+ newfiles = db.issue.get(nodeid, 'files', [])
+ if oldfiles != newfiles:
+ added = [fid for fid in newfiles if fid not in oldfiles]
+ removed = [fid for fid in oldfiles if fid not in newfiles]
+ filemsg = ""
+
+ for fid in added:
+ url = db.config.TRACKER_WEB + "file%s/%s" % \
+ (fid, db.file.get(fid, "name"))
+ filemsg+="Added file: %s\n" % url
+ for fid in removed:
+ url = db.config.TRACKER_WEB + "file%s/%s" % \
+ (fid, db.file.get(fid, "name"))
+ filemsg+="Removed file: %s" % url
+
+ siglen = len(cl.email_signature(nodeid, None))
+ changenote = changenote[:-siglen] + filemsg + \
+ changenote[-siglen:]
authid = db.getuid()
@@ -82,10 +105,89 @@
try:
cl.send_message(nodeid, msgid, changenote, sendto,
authid=authid)
- cl.nosymessage(nodeid, msgid, oldvalues)
+ nosymessage(db, nodeid, msgid, oldvalues, changenote)
except roundupdb.MessageSendError, message:
raise roundupdb.DetectorError, message
+def nosymessage(db, nodeid, msgid, oldvalues, note,
+ whichnosy='nosy',
+ from_address=None, cc=[], bcc=[]):
+ """Send a message to the members of an issue's nosy list.
+
+ The message is sent only to users on the nosy list who are not
+ already on the "recipients" list for the message.
+
+ These users are then added to the message's "recipients" list.
+
+ If 'msgid' is None, the message gets sent only to the nosy
+ list, and it's called a 'System Message'.
+
+ The "cc" argument indicates additional recipients to send the
+ message to that may not be specified in the message's recipients
+ list.
+
+ The "bcc" argument also indicates additional recipients to send the
+ message to that may not be specified in the message's recipients
+ list. These recipients will not be included in the To: or Cc:
+ address lists.
+ """
+ if msgid:
+ authid = db.msg.get(msgid, 'author')
+ recipients = db.msg.get(msgid, 'recipients', [])
+ else:
+ # "system message"
+ authid = None
+ recipients = []
+
+ sendto = []
+ bcc_sendto = []
+ seen_message = {}
+ for recipient in recipients:
+ seen_message[recipient] = 1
+
+ def add_recipient(userid, to):
+ # make sure they have an address
+ address = db.user.get(userid, 'address')
+ if address:
+ to.append(address)
+ recipients.append(userid)
+
+ def good_recipient(userid):
+ # Make sure we don't send mail to either the anonymous
+ # user or a user who has already seen the message.
+ return (userid and
+ (db.user.get(userid, 'username') != 'anonymous') and
+ not seen_message.has_key(userid))
+
+ # possibly send the message to the author, as long as they aren't
+ # anonymous
+ if (good_recipient(authid) and
+ (db.config.MESSAGES_TO_AUTHOR == 'yes' or
+ (db.config.MESSAGES_TO_AUTHOR == 'new' and not oldvalues))):
+ add_recipient(authid, sendto)
+
+ if authid:
+ seen_message[authid] = 1
+
+ # now deal with the nosy and cc people who weren't recipients.
+ for userid in cc + db.issue.get(nodeid, whichnosy):
+ if good_recipient(userid):
+ add_recipient(userid, sendto)
+
+ # now deal with bcc people.
+ for userid in bcc:
+ if good_recipient(userid):
+ add_recipient(userid, bcc_sendto)
+
+ # If we have new recipients, update the message's recipients
+ # and send the mail.
+ if sendto or bcc_sendto:
+ if msgid is not None:
+ db.msg.set(msgid, recipients=recipients)
+ db.issue.send_message(nodeid, msgid, note, sendto, from_address,
+ bcc_sendto)
+
+
def init(db):
db.issue.react('set', sendmail)
db.issue.react('create', sendmail)
From python-checkins at python.org Wed Oct 17 20:46:38 2007
From: python-checkins at python.org (armin.rigo)
Date: Wed, 17 Oct 2007 20:46:38 +0200 (CEST)
Subject: [Python-checkins] r58522 - in python/trunk: Lib/test/test_list.py
Objects/listobject.c
Message-ID: <20071017184638.356161E403A@bag.python.org>
Author: armin.rigo
Date: Wed Oct 17 20:46:37 2007
New Revision: 58522
Modified:
python/trunk/Lib/test/test_list.py
python/trunk/Objects/listobject.c
Log:
Fix the overflow checking of list_repeat.
Introduce overflow checking into list_inplace_repeat.
Backport candidate, possibly.
Modified: python/trunk/Lib/test/test_list.py
==============================================================================
--- python/trunk/Lib/test/test_list.py (original)
+++ python/trunk/Lib/test/test_list.py Wed Oct 17 20:46:37 2007
@@ -1,4 +1,5 @@
import unittest
+import sys
from test import test_support, list_tests
class ListTest(list_tests.CommonTest):
@@ -18,6 +19,14 @@
self.assertEqual(len([0]), 1)
self.assertEqual(len([0, 1, 2]), 3)
+ def test_overflow(self):
+ lst = [4, 5, 6, 7]
+ n = int((sys.maxint*2+2) // len(lst))
+ def mul(a, b): return a * b
+ def imul(a, b): a *= b
+ self.assertRaises((MemoryError, OverflowError), mul, lst, n)
+ self.assertRaises((MemoryError, OverflowError), imul, lst, n)
+
def test_main(verbose=None):
test_support.run_unittest(ListTest)
Modified: python/trunk/Objects/listobject.c
==============================================================================
--- python/trunk/Objects/listobject.c (original)
+++ python/trunk/Objects/listobject.c Wed Oct 17 20:46:37 2007
@@ -499,10 +499,10 @@
if (n < 0)
n = 0;
size = Py_Size(a) * n;
- if (size == 0)
- return PyList_New(0);
if (n && size/n != Py_Size(a))
return PyErr_NoMemory();
+ if (size == 0)
+ return PyList_New(0);
np = (PyListObject *) PyList_New(size);
if (np == NULL)
return NULL;
@@ -669,7 +669,7 @@
list_inplace_repeat(PyListObject *self, Py_ssize_t n)
{
PyObject **items;
- Py_ssize_t size, i, j, p;
+ Py_ssize_t size, i, j, p, newsize;
size = PyList_GET_SIZE(self);
@@ -684,7 +684,10 @@
return (PyObject *)self;
}
- if (list_resize(self, size*n) == -1)
+ newsize = size * n;
+ if (newsize/n != size)
+ return PyErr_NoMemory();
+ if (list_resize(self, newsize) == -1)
return NULL;
p = size;
From python-checkins at python.org Wed Oct 17 21:10:25 2007
From: python-checkins at python.org (erik.forsberg)
Date: Wed, 17 Oct 2007 21:10:25 +0200 (CEST)
Subject: [Python-checkins] r58523 -
tracker/instances/python-dev/detectors/sendmail.py
Message-ID: <20071017191025.145731E4038@bag.python.org>
Author: erik.forsberg
Date: Wed Oct 17 21:10:24 2007
New Revision: 58523
Modified:
tracker/instances/python-dev/detectors/sendmail.py
Log:
Move msg about added/removed files to bottom of changelist.
Modified: tracker/instances/python-dev/detectors/sendmail.py
==============================================================================
--- tracker/instances/python-dev/detectors/sendmail.py (original)
+++ tracker/instances/python-dev/detectors/sendmail.py Wed Oct 17 21:10:24 2007
@@ -82,15 +82,12 @@
for fid in added:
url = db.config.TRACKER_WEB + "file%s/%s" % \
(fid, db.file.get(fid, "name"))
- filemsg+="Added file: %s\n" % url
+ changenote+="\nAdded file: %s" % url
for fid in removed:
url = db.config.TRACKER_WEB + "file%s/%s" % \
(fid, db.file.get(fid, "name"))
- filemsg+="Removed file: %s" % url
+ changenote+="\nRemoved file: %s" % url
- siglen = len(cl.email_signature(nodeid, None))
- changenote = changenote[:-siglen] + filemsg + \
- changenote[-siglen:]
authid = db.getuid()
From buildbot at python.org Wed Oct 17 21:15:34 2007
From: buildbot at python.org (buildbot at python.org)
Date: Wed, 17 Oct 2007 19:15:34 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071017191534.9B0FA1E4038@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2549
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: andrew.kuchling,armin.rigo,brett.cannon
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 18 05:16:03 2007
From: python-checkins at python.org (facundo.batista)
Date: Thu, 18 Oct 2007 05:16:03 +0200 (CEST)
Subject: [Python-checkins] r58530 - in python/trunk/Lib: httplib.py
test/test_httplib.py
Message-ID: <20071018031604.893721E4016@bag.python.org>
Author: facundo.batista
Date: Thu Oct 18 05:16:03 2007
New Revision: 58530
Modified:
python/trunk/Lib/httplib.py
python/trunk/Lib/test/test_httplib.py
Log:
Issue #1580738. When HTTPConnection reads the whole stream with read(),
it closes itself. When the stream is read in several calls to read(n),
it should behave in the same way if HTTPConnection knows where the end
of the stream is (through self.length). Added a test case for this
behaviour.
Modified: python/trunk/Lib/httplib.py
==============================================================================
--- python/trunk/Lib/httplib.py (original)
+++ python/trunk/Lib/httplib.py Thu Oct 18 05:16:03 2007
@@ -530,7 +530,8 @@
s = self.fp.read(amt)
if self.length is not None:
self.length -= len(s)
-
+ if not self.length:
+ self.close()
return s
def _read_chunked(self, amt):
Modified: python/trunk/Lib/test/test_httplib.py
==============================================================================
--- python/trunk/Lib/test/test_httplib.py (original)
+++ python/trunk/Lib/test/test_httplib.py Thu Oct 18 05:16:03 2007
@@ -81,13 +81,25 @@
resp = httplib.HTTPResponse(sock)
resp.begin()
self.assertEqual(resp.read(), 'Text')
- resp.close()
+ self.assertTrue(resp.isclosed())
body = "HTTP/1.1 400.100 Not Ok\r\n\r\nText"
sock = FakeSocket(body)
resp = httplib.HTTPResponse(sock)
self.assertRaises(httplib.BadStatusLine, resp.begin)
+ def test_partial_reads(self):
+ # if we have a lenght, the system knows when to close itself
+ # same behaviour than when we read the whole thing with read()
+ body = "HTTP/1.1 200 Ok\r\nContent-Length: 4\r\n\r\nText"
+ sock = FakeSocket(body)
+ resp = httplib.HTTPResponse(sock)
+ resp.begin()
+ self.assertEqual(resp.read(2), 'Te')
+ self.assertFalse(resp.isclosed())
+ self.assertEqual(resp.read(2), 'xt')
+ self.assertTrue(resp.isclosed())
+
def test_host_port(self):
# Check invalid host_port
@@ -133,7 +145,6 @@
resp.begin()
if resp.read() != "":
self.fail("Did not expect response from HEAD request")
- resp.close()
def test_send_file(self):
expected = 'GET /foo HTTP/1.1\r\nHost: example.com\r\n' \
From python-checkins at python.org Thu Oct 18 05:44:49 2007
From: python-checkins at python.org (facundo.batista)
Date: Thu, 18 Oct 2007 05:44:49 +0200 (CEST)
Subject: [Python-checkins] r58531 - python/trunk/Doc/library/stdtypes.rst
Message-ID: <20071018034449.380601E4016@bag.python.org>
Author: facundo.batista
Date: Thu Oct 18 05:44:48 2007
New Revision: 58531
Modified:
python/trunk/Doc/library/stdtypes.rst
Log:
Issue 1289, just a typo.
Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst (original)
+++ python/trunk/Doc/library/stdtypes.rst Thu Oct 18 05:44:48 2007
@@ -2160,7 +2160,7 @@
.. method:: contextmanager.__exit__(exc_type, exc_val, exc_tb)
- Exit the runtime context and return a Boolean flag indicating if any expection
+ Exit the runtime context and return a Boolean flag indicating if any exception
that occurred should be suppressed. If an exception occurred while executing the
body of the :keyword:`with` statement, the arguments contain the exception type,
value and traceback information. Otherwise, all three arguments are ``None``.
From buildbot at python.org Thu Oct 18 06:02:31 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 04:02:31 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071018040231.790E51E4016@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/271
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
======================================================================
ERROR: test_fail_no_info (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/test/test_xmlrpc.py", line 497, in test_fail_no_info
p.pow(6,8)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1157, in __call__
return self.__send(self.__name, args)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1447, in __request
verbose=self.__verbose
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1195, in request
errcode, errmsg, headers = h.getreply()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 1006, in getreply
response = self._conn.getresponse()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 932, in getresponse
response.begin()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 415, in begin
self.msg = HTTPMessage(self.fp, 0)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/rfc822.py", line 104, in __init__
self.readheaders()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 271, in readheaders
line = self.fp.readline()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/socket.py", line 351, in readline
data = recv(1)
error: [Errno 104] Connection reset by peer
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 18 09:56:55 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Thu, 18 Oct 2007 09:56:55 +0200 (CEST)
Subject: [Python-checkins] r58532 - in python/trunk/Lib/bsddb: dbtables.py
test/test_dbtables.py
Message-ID: <20071018075655.1FB981E4024@bag.python.org>
Author: gregory.p.smith
Date: Thu Oct 18 09:56:54 2007
New Revision: 58532
Modified:
python/trunk/Lib/bsddb/dbtables.py
python/trunk/Lib/bsddb/test/test_dbtables.py
Log:
cleanup test_dbtables to use mkdtemp. cleanup dbtables to pass txn as a
keyword argument whenever possible to avoid bugs and confusion. (dbtables.py
line 447 self.db.get using txn as a non-keyword was an actual bug due to this)
Modified: python/trunk/Lib/bsddb/dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/dbtables.py (original)
+++ python/trunk/Lib/bsddb/dbtables.py Thu Oct 18 09:56:54 2007
@@ -20,8 +20,9 @@
import re
import sys
import copy
-import xdrlib
import random
+import struct
+import base64
from types import ListType, StringType
import cPickle as pickle
@@ -255,7 +256,7 @@
flags=DB_RMW))
tablelist.append(table)
# delete 1st, in case we opened with DB_DUP
- self.db.delete(_table_names_key, txn)
+ self.db.delete(_table_names_key, txn=txn)
self.db.put(_table_names_key, pickle.dumps(tablelist, 1), txn=txn)
txn.commit()
@@ -329,7 +330,7 @@
# store the table's new extended column list
if newcolumnlist != oldcolumnlist :
# delete the old one first since we opened with DB_DUP
- self.db.delete(columnlist_key, txn)
+ self.db.delete(columnlist_key, txn=txn)
self.db.put(columnlist_key,
pickle.dumps(newcolumnlist, 1),
txn=txn)
@@ -362,10 +363,9 @@
# Generate a random 64-bit row ID string
# (note: this code has <64 bits of randomness
# but it's plenty for our database id needs!)
- p = xdrlib.Packer()
- p.pack_int(int(random.random()*2147483647))
- p.pack_int(int(random.random()*2147483647))
- newid = p.get_buffer()
+ newid = struct.pack('ll',
+ random.randint(0, 2147483647),
+ random.randint(0, 2147483647))
# Guarantee uniqueness by adding this key to the database
try:
@@ -444,10 +444,10 @@
try:
dataitem = self.db.get(
_data_key(table, column, rowid),
- txn)
+ txn=txn)
self.db.delete(
_data_key(table, column, rowid),
- txn)
+ txn=txn)
except DBNotFoundError:
# XXXXXXX row key somehow didn't exist, assume no
# error
@@ -490,13 +490,13 @@
# delete the data key
try:
self.db.delete(_data_key(table, column, rowid),
- txn)
+ txn=txn)
except DBNotFoundError:
# XXXXXXX column may not exist, assume no error
pass
try:
- self.db.delete(_rowid_key(table, rowid), txn)
+ self.db.delete(_rowid_key(table, rowid), txn=txn)
except DBNotFoundError:
# XXXXXXX row key somehow didn't exist, assume no error
pass
@@ -652,7 +652,7 @@
txn = self.env.txn_begin()
# delete the column list
- self.db.delete(_columns_key(table), txn)
+ self.db.delete(_columns_key(table), txn=txn)
cur = self.db.cursor(txn)
@@ -691,7 +691,7 @@
# hmm, it wasn't there, oh well, that's what we want.
pass
# delete 1st, incase we opened with DB_DUP
- self.db.delete(_table_names_key, txn)
+ self.db.delete(_table_names_key, txn=txn)
self.db.put(_table_names_key, pickle.dumps(tablelist, 1), txn=txn)
txn.commit()
Modified: python/trunk/Lib/bsddb/test/test_dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_dbtables.py (original)
+++ python/trunk/Lib/bsddb/test/test_dbtables.py Thu Oct 18 09:56:54 2007
@@ -21,6 +21,8 @@
# $Id$
import sys, os, re
+import tempfile
+import shutil
try:
import cPickle
pickle = cPickle
@@ -47,8 +49,8 @@
db_name = 'test-table.db'
def setUp(self):
- homeDir = os.path.join(tempfile.gettempdir(), 'db_home')
- self.homeDir = homeDir
+ homeDir = tempfile.mkdtemp()
+ self.testHomeDir = homeDir
try: os.mkdir(homeDir)
except os.error: pass
self.tdb = dbtables.bsdTableDB(
@@ -56,10 +58,7 @@
def tearDown(self):
self.tdb.close()
- import glob
- files = glob.glob(os.path.join(self.homeDir, '*'))
- for file in files:
- os.remove(file)
+ shutil.rmtree(self.testHomeDir)
def test01(self):
tabname = "test01"
From nnorwitz at gmail.com Thu Oct 18 10:18:52 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Thu, 18 Oct 2007 04:18:52 -0400
Subject: [Python-checkins] Python Regression Test Failures opt (1)
Message-ID: <20071018081852.GA12844@python.psfb.org>
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_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
[9105 refs]
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test test_telnetlib failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/test/test_telnetlib.py", line 47, in testTimeoutValue
telnet = telnetlib.Telnet("localhost", 9091, timeout=30)
File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 209, in __init__
self.open(host, port, timeout)
File "/tmp/python-test/local/lib/python2.6/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), self.timeout)
File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in create_connection
raise error, msg
error: [Errno 111] Connection refused
test_tempfile
[7359 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_telnetlib
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
[506485 refs]
From buildbot at python.org Thu Oct 18 10:27:27 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 08:27:27 +0000
Subject: [Python-checkins] buildbot failure in amd64 gentoo trunk
Message-ID: <20071018082727.6BE981E403F@bag.python.org>
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/2260
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_thread.py", line 281, in readerThread
rec = dbutils.DeadlockWrap(c.next, max_retries=10)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbutils.py", line 62, in DeadlockWrap
return function(*_args, **_kwargs)
DBLockDeadlockError: (-30995, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')
1 test failed:
test_bsddb3
======================================================================
ERROR: test02 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 114, in test02
raise RuntimeError("Wrong values returned!")
RuntimeError: Wrong values returned!
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 341, in test_Modify
mappings={'Access': increment_access})
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 328, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
======================================================================
FAIL: test03 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 175, in test03
self.assertEqual(len(values), 2)
AssertionError: 0 != 2
======================================================================
FAIL: test_CondObjs (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 275, in test_CondObjs
self.assertEqual(len(values), 2, values)
AssertionError: [{'p': None, 'e': 'the letter E'}]
======================================================================
FAIL: test_Delete (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/bsddb/test/test_dbtables.py", line 311, in test_Delete
self.assertEqual(len(values), 0)
AssertionError: 1 != 0
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 18 10:29:58 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 08:29:58 +0000
Subject: [Python-checkins] buildbot failure in x86 gentoo trunk
Message-ID: <20071018082958.7D08B1E4021@bag.python.org>
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2551
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 18 10:34:20 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Thu, 18 Oct 2007 10:34:20 +0200 (CEST)
Subject: [Python-checkins] r58533 - python/trunk/Lib/bsddb/dbtables.py
Message-ID: <20071018083420.C5ACA1E401D@bag.python.org>
Author: gregory.p.smith
Date: Thu Oct 18 10:34:20 2007
New Revision: 58533
Modified:
python/trunk/Lib/bsddb/dbtables.py
Log:
Fix a weird bug in dbtables: if it chose a random rowid string that contained
NULL bytes it would cause the database all sorts of problems in the future
leading to very strange random failures and corrupt dbtables.bsdTableDb dbs.
Modified: python/trunk/Lib/bsddb/dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/dbtables.py (original)
+++ python/trunk/Lib/bsddb/dbtables.py Thu Oct 18 10:34:20 2007
@@ -22,7 +22,6 @@
import copy
import random
import struct
-import base64
from types import ListType, StringType
import cPickle as pickle
@@ -361,11 +360,12 @@
unique = 0
while not unique:
# Generate a random 64-bit row ID string
- # (note: this code has <64 bits of randomness
+ # (note: this code has <56 bits of randomness
# but it's plenty for our database id needs!)
+ # The | 0x01010101 is to ensure no null bytes are in the value
newid = struct.pack('ll',
- random.randint(0, 2147483647),
- random.randint(0, 2147483647))
+ random.randint(0, 2147483647) | 0x01010101,
+ random.randint(0, 2147483647) | 0x01010101)
# Guarantee uniqueness by adding this key to the database
try:
From buildbot at python.org Thu Oct 18 11:02:58 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 09:02:58 +0000
Subject: [Python-checkins] buildbot failure in ia64 Ubuntu trunk
Message-ID: <20071018090258.3917E1E50B6@bag.python.org>
The Buildbot has detected a new failure of ia64 Ubuntu trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ia64%20Ubuntu%20trunk/builds/982
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ia64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
ERROR: test02 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 114, in test02
raise RuntimeError("Wrong values returned!")
RuntimeError: Wrong values returned!
======================================================================
ERROR: test_Modify (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 341, in test_Modify
mappings={'Access': increment_access})
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/dbtables.py", line 455, in Modify
dataitem = mappings[column](dataitem)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 328, in increment_access
return str(int(count)+1)
TypeError: int() argument must be a string or a number, not 'NoneType'
======================================================================
FAIL: test03 (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 175, in test03
self.assertEqual(len(values), 2)
AssertionError: 1 != 2
======================================================================
FAIL: test_CondObjs (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 275, in test_CondObjs
self.assertEqual(len(values), 2, values)
AssertionError: [{'p': None, 'e': 'the letter E'}]
======================================================================
FAIL: test_Delete (bsddb.test.test_dbtables.TableDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/bsddb/test/test_dbtables.py", line 311, in test_Delete
self.assertEqual(len(values), 0)
AssertionError: 1 != 0
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 18 11:23:03 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 09:23:03 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071018092303.55B761E401D@bag.python.org>
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/225
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: facundo.batista,gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 162, 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 162, 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 162, 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 162, 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 162, 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 162, 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 162, 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 162, 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 39, 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 39, 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 39, 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 47, 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
From python-checkins at python.org Thu Oct 18 18:32:02 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Thu, 18 Oct 2007 18:32:02 +0200 (CEST)
Subject: [Python-checkins] r58534 - python/trunk/Lib/bsddb/dbtables.py
Message-ID: <20071018163202.BB0A71E4022@bag.python.org>
Author: gregory.p.smith
Date: Thu Oct 18 18:32:02 2007
New Revision: 58534
Modified:
python/trunk/Lib/bsddb/dbtables.py
Log:
A cleaner fix than the one committed last night. Generate random rowids that
do not contain null bytes.
Modified: python/trunk/Lib/bsddb/dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/dbtables.py (original)
+++ python/trunk/Lib/bsddb/dbtables.py Thu Oct 18 18:32:02 2007
@@ -360,12 +360,13 @@
unique = 0
while not unique:
# Generate a random 64-bit row ID string
- # (note: this code has <56 bits of randomness
+ # (note: this code has <64 bits of randomness
# but it's plenty for our database id needs!)
- # The | 0x01010101 is to ensure no null bytes are in the value
- newid = struct.pack('ll',
- random.randint(0, 2147483647) | 0x01010101,
- random.randint(0, 2147483647) | 0x01010101)
+ # We must ensure that no null bytes are in the id value.
+ blist = []
+ for x in xrange(_rowid_str_len):
+ blist.append(random.randint(1,255))
+ newid = struct.pack('B'*_rowid_str_len, *blist)
# Guarantee uniqueness by adding this key to the database
try:
From python-checkins at python.org Thu Oct 18 19:15:20 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Thu, 18 Oct 2007 19:15:20 +0200 (CEST)
Subject: [Python-checkins] r58536 - in python/branches/release25-maint:
Lib/bsddb/dbtables.py Lib/bsddb/test/test_dbtables.py Misc/NEWS
Message-ID: <20071018171520.985341E4021@bag.python.org>
Author: gregory.p.smith
Date: Thu Oct 18 19:15:20 2007
New Revision: 58536
Modified:
python/branches/release25-maint/Lib/bsddb/dbtables.py
python/branches/release25-maint/Lib/bsddb/test/test_dbtables.py
python/branches/release25-maint/Misc/NEWS
Log:
Backport 58532, 58533, 58534:
- Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
picking a rowid string with null bytes in it. Such rows could not
later be deleted, modified or individually selected. Existing
bsdTableDb databases created with such rows are out of luck.
- Use mkdtemp for the test_dbtables test database environment and
clean it up afterwards using shutil.rmtree.
Modified: python/branches/release25-maint/Lib/bsddb/dbtables.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/dbtables.py (original)
+++ python/branches/release25-maint/Lib/bsddb/dbtables.py Thu Oct 18 19:15:20 2007
@@ -20,7 +20,7 @@
import re
import sys
import copy
-import xdrlib
+import struct
import random
from types import ListType, StringType
import cPickle as pickle
@@ -362,10 +362,11 @@
# Generate a random 64-bit row ID string
# (note: this code has <64 bits of randomness
# but it's plenty for our database id needs!)
- p = xdrlib.Packer()
- p.pack_int(int(random.random()*2147483647))
- p.pack_int(int(random.random()*2147483647))
- newid = p.get_buffer()
+ # We must ensure that no null bytes are in the id value.
+ blist = []
+ for x in xrange(_rowid_str_len):
+ blist.append(random.randint(1,255))
+ newid = struct.pack('B'*_rowid_str_len, *blist)
# Guarantee uniqueness by adding this key to the database
try:
@@ -444,7 +445,7 @@
try:
dataitem = self.db.get(
_data_key(table, column, rowid),
- txn)
+ txn=txn)
self.db.delete(
_data_key(table, column, rowid),
txn)
Modified: python/branches/release25-maint/Lib/bsddb/test/test_dbtables.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_dbtables.py (original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_dbtables.py Thu Oct 18 19:15:20 2007
@@ -21,9 +21,10 @@
# $Id$
import sys, os, re
+import shutil
+import tempfile
try:
- import cPickle
- pickle = cPickle
+ import cPickle as pickle
except ImportError:
import pickle
@@ -42,12 +43,9 @@
#----------------------------------------------------------------------
class TableDBTestCase(unittest.TestCase):
- db_home = 'db_home'
- db_name = 'test-table.db'
-
def setUp(self):
- homeDir = os.path.join(os.path.dirname(sys.argv[0]), 'db_home')
- self.homeDir = homeDir
+ homeDir = tempfile.mkdtemp()
+ self.testHomeDir = homeDir
try: os.mkdir(homeDir)
except os.error: pass
self.tdb = dbtables.bsdTableDB(
@@ -55,10 +53,7 @@
def tearDown(self):
self.tdb.close()
- import glob
- files = glob.glob(os.path.join(self.homeDir, '*'))
- for file in files:
- os.remove(file)
+ shutil.rmtree(self.testHomeDir)
def test01(self):
tabname = "test01"
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Thu Oct 18 19:15:20 2007
@@ -118,6 +118,10 @@
- Bug #1233: fix bsddb.dbshelve.DBShelf append method to work as
intended for RECNO databases.
+- Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
+ picking a rowid string with null bytes in it. Such rows could not
+ later be deleted, modified or individually selected.
+
- Bug #1726026: Correct the field names of WIN32_FIND_DATAA and
WIN32_FIND_DATAW structures in the ctypes.wintypes module.
From python-checkins at python.org Thu Oct 18 19:17:57 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Thu, 18 Oct 2007 19:17:57 +0200 (CEST)
Subject: [Python-checkins] r58537 - python/trunk/Misc/NEWS
Message-ID: <20071018171757.869BB1E4021@bag.python.org>
Author: gregory.p.smith
Date: Thu Oct 18 19:17:57 2007
New Revision: 58537
Modified:
python/trunk/Misc/NEWS
Log:
mention bsddb fixes.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu Oct 18 19:17:57 2007
@@ -805,6 +805,13 @@
- Bug #1721309: prevent bsddb module from freeing random memory.
+- Bug #1233: fix bsddb.dbshelve.DBShelf append method to work as
+ intended for RECNO databases.
+
+- Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
+ picking a rowid string with null bytes in it. Such rows could not
+ later be deleted, modified or individually selected.
+
- Bug #1686475: Support stat'ing open files on Windows again.
- Patch #1185447: binascii.b2a_qp() now correctly quotes binary characters
From buildbot at python.org Thu Oct 18 20:21:41 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 18:21:41 +0000
Subject: [Python-checkins] buildbot failure in alpha Tru64 5.1 2.5
Message-ID: <20071018182141.3635D1E401F@bag.python.org>
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/334
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:
1 test failed:
test_socket
======================================================================
FAIL: testInterruptedTimeout (test.test_socket.TCPTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/net/taipan/scratch1/nnorwitz/python/2.5.norwitz-tru64/build/Lib/test/test_socket.py", line 879, in testInterruptedTimeout
self.fail("got Alarm in wrong place")
AssertionError: got Alarm in wrong place
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 18 20:52:47 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 18:52:47 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu 2.5
Message-ID: <20071018185248.3C2EF1E4024@bag.python.org>
The Buildbot has detected a new failure of hppa Ubuntu 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/hppa%20Ubuntu%202.5/builds/57
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-hppa
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
2 tests failed:
test_bsddb3 test_resource
======================================================================
ERROR: test00_associateDBError (bsddb.test.test_associate.AssociateErrorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbobj.py", line 44, in test01_both
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbobj.py", line 57, in test02_dbobj_dict_interface
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbshelve.py", line 35, in setUp
self.do_open()
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_dbtables.py", line 52, in setUp
filename='tabletest.db', dbhome=homeDir, create=1)
File "/home/pybot/buildarea/2.5.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/2.5.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/2.5.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/2.5.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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 39, 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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 39, 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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_lock.py", line 39, 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/2.5.klose-ubuntu-hppa/build/Lib/bsddb/test/test_misc.py", line 46, 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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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/2.5.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')
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 549, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/home/pybot/buildarea/2.5.klose-ubuntu-hppa/build/Lib/test/test_resource.py", line 42, in
f.close()
IOError: [Errno 27] File too large
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Thu Oct 18 21:12:35 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 19:12:35 +0000
Subject: [Python-checkins] buildbot failure in alpha Debian 3.0
Message-ID: <20071018191235.98E9B1E4034@bag.python.org>
The Buildbot has detected a new failure of alpha Debian 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/alpha%20Debian%203.0/builds/35
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-alpha
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From python-checkins at python.org Thu Oct 18 23:13:07 2007
From: python-checkins at python.org (raymond.hettinger)
Date: Thu, 18 Oct 2007 23:13:07 +0200 (CEST)
Subject: [Python-checkins] r58538 - python/trunk/Doc/c-api/index.rst
Message-ID: <20071018211307.304381E4021@bag.python.org>
Author: raymond.hettinger
Date: Thu Oct 18 23:13:06 2007
New Revision: 58538
Modified:
python/trunk/Doc/c-api/index.rst
Log:
Remove useless warning
Modified: python/trunk/Doc/c-api/index.rst
==============================================================================
--- python/trunk/Doc/c-api/index.rst (original)
+++ python/trunk/Doc/c-api/index.rst Thu Oct 18 23:13:06 2007
@@ -12,12 +12,6 @@
which describes the general principles of extension writing but does not
document the API functions in detail.
-.. warning::
-
- The current version of this document is somewhat incomplete. However, most of
- the important functions, types and structures are described.
-
-
.. toctree::
:maxdepth: 2
From buildbot at python.org Thu Oct 18 23:38:06 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 21:38:06 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux 2.5
Message-ID: <20071018213806.739D51E4021@bag.python.org>
The Buildbot has detected a new failure of ARM Linux 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%202.5/builds/10
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-arm
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed test
Excerpt from the test logfile:
make: *** [buildbottest] Aborted
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 19 01:47:59 2007
From: buildbot at python.org (buildbot at python.org)
Date: Thu, 18 Oct 2007 23:47:59 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 2.5
Message-ID: <20071018234759.64D141E4039@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 2.5.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%202.5/builds/8
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/release25-maint] HEAD
Blamelist: gregory.p.smith
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 19 09:31:20 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Fri, 19 Oct 2007 09:31:20 +0200 (CEST)
Subject: [Python-checkins] r58539 -
python/trunk/Lib/bsddb/test/test_1413192.py
Message-ID: <20071019073120.EE9C41E4043@bag.python.org>
Author: gregory.p.smith
Date: Fri Oct 19 09:31:20 2007
New Revision: 58539
Modified:
python/trunk/Lib/bsddb/test/test_1413192.py
Log:
squelch the warning that this test is supposed to trigger.
Modified: python/trunk/Lib/bsddb/test/test_1413192.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_1413192.py (original)
+++ python/trunk/Lib/bsddb/test/test_1413192.py Fri Oct 19 09:31:20 2007
@@ -5,6 +5,7 @@
import shutil
import tempfile
+import warnings
try:
# For Pythons w/distutils and add-on pybsddb
from bsddb3 import db
@@ -32,8 +33,12 @@
del self.the_txn
-context = Context()
-del context
+warnings.filterwarnings('ignore', 'DBTxn aborted in destructor')
+try:
+ context = Context()
+ del context
+finally:
+ warnings.resetwarnings()
# try not to leave a turd
try:
From python-checkins at python.org Fri Oct 19 09:35:22 2007
From: python-checkins at python.org (gregory.p.smith)
Date: Fri, 19 Oct 2007 09:35:22 +0200 (CEST)
Subject: [Python-checkins] r58541 -
python/branches/release25-maint/Lib/bsddb/test/test_1413192.py
Message-ID: <20071019073522.D214A1E4022@bag.python.org>
Author: gregory.p.smith
Date: Fri Oct 19 09:35:22 2007
New Revision: 58541
Modified:
python/branches/release25-maint/Lib/bsddb/test/test_1413192.py
Log:
Backport 58539: squelch the warning that this test is intended to raise.
Modified: python/branches/release25-maint/Lib/bsddb/test/test_1413192.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_1413192.py (original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_1413192.py Fri Oct 19 09:35:22 2007
@@ -5,6 +5,7 @@
import shutil
import tempfile
+import warnings
try:
# For Pythons w/distutils and add-on pybsddb
from bsddb3 import db
@@ -32,8 +33,12 @@
del self.the_txn
-context = Context()
-del context
+warnings.filterwarnings('ignore', 'DBTxn aborted in destructor')
+try:
+ context = Context()
+ del context
+finally:
+ warnings.resetwarnings()
# try not to leave a turd
try:
From buildbot at python.org Fri Oct 19 10:06:39 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 08:06:39 +0000
Subject: [Python-checkins] buildbot failure in x86 XP-3 trunk
Message-ID: <20071019080639.A16EB1E4034@bag.python.org>
The Buildbot has detected a new failure of x86 XP-3 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP-3%20trunk/builds/331
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_urllib2net
sincerely,
-The Buildbot
From nnorwitz at gmail.com Fri Oct 19 10:23:40 2007
From: nnorwitz at gmail.com (Neal Norwitz)
Date: Fri, 19 Oct 2007 04:23:40 -0400
Subject: [Python-checkins] Python Regression Test Failures opt (1)
Message-ID: <20071019082340.GA9438@python.psfb.org>
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_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
[9105 refs]
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 test_ftplib failed -- Traceback (most recent call last):
File "/tmp/python-test/local/lib/python2.6/test/test_ftplib.py", line 42, in testBasic
ftp = ftplib.FTP("localhost")
File "/tmp/python-test/local/lib/python2.6/ftplib.py", line 114, in __init__
self.connect(host)
File "/tmp/python-test/local/lib/python2.6/ftplib.py", line 129, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in create_connection
raise error, msg
error: [Errno 111] Connection refused
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
[7360 refs]
[7360 refs]
[7360 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
[7735 refs]
[7735 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
[7355 refs]
[7353 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7353 refs]
[8966 refs]
[7571 refs]
[7356 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
[7355 refs]
.
[7355 refs]
[7355 refs]
this bit of output is from a test of stdout in a different process ...
[7355 refs]
[7355 refs]
[7571 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[7355 refs]
[7355 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[7362 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_ftplib
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
[506474 refs]
From buildbot at python.org Fri Oct 19 10:31:55 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 08:31:55 +0000
Subject: [Python-checkins] buildbot failure in x86 XP trunk
Message-ID: <20071019083155.C9DB71E4021@bag.python.org>
The Buildbot has detected a new failure of x86 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%20trunk/builds/708
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith,raymond.hettinger
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 19 10:43:59 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 08:43:59 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI trunk
Message-ID: <20071019084359.581F11E4021@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%20trunk/builds/37
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: gregory.p.smith,raymond.hettinger
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 19 14:09:55 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 12:09:55 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP 3.0
Message-ID: <20071019120955.EA1D91E4022@bag.python.org>
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/145
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: alexandre.vassalotti,brett.cannon,gregory.p.smith,guido.van.rossum,kurt.kaiser,neal.norwitz
BUILD FAILED: failed compile
sincerely,
-The Buildbot
From python-checkins at python.org Fri Oct 19 14:32:39 2007
From: python-checkins at python.org (georg.brandl)
Date: Fri, 19 Oct 2007 14:32:39 +0200 (CEST)
Subject: [Python-checkins] r58542 - python/trunk/Doc/library/functions.rst
Message-ID: <20071019123239.6C3731E4021@bag.python.org>
Author: georg.brandl
Date: Fri Oct 19 14:32:39 2007
New Revision: 58542
Modified:
python/trunk/Doc/library/functions.rst
Log:
Clarify wording for apply().
Modified: python/trunk/Doc/library/functions.rst
==============================================================================
--- python/trunk/Doc/library/functions.rst (original)
+++ python/trunk/Doc/library/functions.rst Fri Oct 19 14:32:39 2007
@@ -1292,12 +1292,11 @@
present, it must be a dictionary whose keys are strings. It specifies keyword
arguments to be added to the end of the argument list. Calling :func:`apply` is
different from just calling ``function(args)``, since in that case there is
- always exactly one argument. The use of :func:`apply` is equivalent to
- ``function(*args, **keywords)``. Use of :func:`apply` is not necessary since the
- "extended call syntax," as used in the last example, is completely equivalent.
+ always exactly one argument. The use of :func:`apply` is exactly equivalent to
+ ``function(*args, **keywords)``.
.. deprecated:: 2.3
- Use the extended call syntax instead, as described above.
+ Use the extended call syntax with ``*args`` and ``**keywords`` instead.
.. function:: buffer(object[, offset[, size]])
From python-checkins at python.org Fri Oct 19 14:34:20 2007
From: python-checkins at python.org (georg.brandl)
Date: Fri, 19 Oct 2007 14:34:20 +0200 (CEST)
Subject: [Python-checkins] r58543 -
python/branches/release25-maint/Doc/lib/libfuncs.tex
Message-ID: <20071019123420.8E80D1E4021@bag.python.org>
Author: georg.brandl
Date: Fri Oct 19 14:34:20 2007
New Revision: 58543
Modified:
python/branches/release25-maint/Doc/lib/libfuncs.tex
Log:
Backport r58542.
Modified: python/branches/release25-maint/Doc/lib/libfuncs.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libfuncs.tex (original)
+++ python/branches/release25-maint/Doc/lib/libfuncs.tex Fri Oct 19 14:34:20 2007
@@ -1280,13 +1280,11 @@
to be added to the end of the argument list.
Calling \function{apply()} is different from just calling
\code{\var{function}(\var{args})}, since in that case there is always
- exactly one argument. The use of \function{apply()} is equivalent
- to \code{\var{function}(*\var{args}, **\var{keywords})}.
- Use of \function{apply()} is not necessary since the ``extended call
- syntax,'' as used in the last example, is completely equivalent.
+ exactly one argument. The use of \function{apply()} is exactly
+ equivalent to \code{\var{function}(*\var{args}, **\var{keywords})}.
- \deprecated{2.3}{Use the extended call syntax instead, as described
- above.}
+ \deprecated{2.3}{Use the extended call syntax with \code{*args}
+ and \code{**keywords} instead.}
\end{funcdesc}
\begin{funcdesc}{buffer}{object\optional{, offset\optional{, size}}}
From python-checkins at python.org Fri Oct 19 14:48:18 2007
From: python-checkins at python.org (mark.summerfield)
Date: Fri, 19 Oct 2007 14:48:18 +0200 (CEST)
Subject: [Python-checkins] r58544 - python/trunk/Doc/library/difflib.rst
python/trunk/Doc/library/filecmp.rst
Message-ID: <20071019124818.444121E4082@bag.python.org>
Author: mark.summerfield
Date: Fri Oct 19 14:48:17 2007
New Revision: 58544
Modified:
python/trunk/Doc/library/difflib.rst
python/trunk/Doc/library/filecmp.rst
Log:
Added a cross-ref to each other.
Modified: python/trunk/Doc/library/difflib.rst
==============================================================================
--- python/trunk/Doc/library/difflib.rst (original)
+++ python/trunk/Doc/library/difflib.rst Fri Oct 19 14:48:17 2007
@@ -12,6 +12,10 @@
.. versionadded:: 2.1
+This module provides classes and functions for comparing sequences. It
+can be used for example, for comparing files, and can produce difference
+information in various formats, including HTML and context and unified
+diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
.. class:: SequenceMatcher
Modified: python/trunk/Doc/library/filecmp.rst
==============================================================================
--- python/trunk/Doc/library/filecmp.rst (original)
+++ python/trunk/Doc/library/filecmp.rst Fri Oct 19 14:48:17 2007
@@ -8,7 +8,8 @@
The :mod:`filecmp` module defines functions to compare files and directories,
-with various optional time/correctness trade-offs.
+with various optional time/correctness trade-offs. For comparing files,
+see also the :mod:`difflib` module.
The :mod:`filecmp` module defines the following functions:
From python-checkins at python.org Fri Oct 19 19:38:49 2007
From: python-checkins at python.org (georg.brandl)
Date: Fri, 19 Oct 2007 19:38:49 +0200 (CEST)
Subject: [Python-checkins] r58545 - python/trunk/Doc/library/mailbox.rst
Message-ID: <20071019173849.9D0261E4009@bag.python.org>
Author: georg.brandl
Date: Fri Oct 19 19:38:49 2007
New Revision: 58545
Modified:
python/trunk/Doc/library/mailbox.rst
Log:
#1284: "S" means "seen", not unread.
Modified: python/trunk/Doc/library/mailbox.rst
==============================================================================
--- python/trunk/Doc/library/mailbox.rst (original)
+++ python/trunk/Doc/library/mailbox.rst Fri Oct 19 19:38:49 2007
@@ -806,7 +806,7 @@
A message is typically moved from :file:`new` to :file:`cur` after its mailbox
has been accessed, whether or not the message is has been read. A message
- ``msg`` has been read if ``"S" not in msg.get_flags()`` is ``True``.
+ ``msg`` has been read if ``"S" in msg.get_flags()`` is ``True``.
.. method:: MaildirMessage.set_subdir(subdir)
From python-checkins at python.org Fri Oct 19 19:39:18 2007
From: python-checkins at python.org (georg.brandl)
Date: Fri, 19 Oct 2007 19:39:18 +0200 (CEST)
Subject: [Python-checkins] r58546 -
python/branches/release25-maint/Doc/lib/libmailbox.tex
Message-ID: <20071019173918.A1EDC1E4009@bag.python.org>
Author: georg.brandl
Date: Fri Oct 19 19:39:18 2007
New Revision: 58546
Modified:
python/branches/release25-maint/Doc/lib/libmailbox.tex
Log:
Backport r58545.
Modified: python/branches/release25-maint/Doc/lib/libmailbox.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libmailbox.tex (original)
+++ python/branches/release25-maint/Doc/lib/libmailbox.tex Fri Oct 19 19:39:18 2007
@@ -699,7 +699,7 @@
subdirectory) or "cur" (if the message should be stored in the \file{cur}
subdirectory). \note{A message is typically moved from \file{new} to \file{cur}
after its mailbox has been accessed, whether or not the message is has been
-read. A message \code{msg} has been read if \code{"S" not in msg.get_flags()}
+read. A message \code{msg} has been read if \code{"S" in msg.get_flags()}
is \code{True}.}
\end{methoddesc}
From python-checkins at python.org Fri Oct 19 20:11:41 2007
From: python-checkins at python.org (thomas.heller)
Date: Fri, 19 Oct 2007 20:11:41 +0200 (CEST)
Subject: [Python-checkins] r58548 - in python/trunk: Misc/NEWS
Modules/_ctypes/cfield.c
Message-ID: <20071019181141.749D71E4009@bag.python.org>
Author: thomas.heller
Date: Fri Oct 19 20:11:41 2007
New Revision: 58548
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/_ctypes/cfield.c
Log:
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.
See also https://bugs.launchpad.net/bugs/72505.
Ported from release25-maint branch.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Oct 19 20:11:41 2007
@@ -272,6 +272,9 @@
Library
-------
+- ctypes will now work correctly on 32-bit systems when Python is
+ configured with --with-system-ffi.
+
- Patch #1203: ctypes now does work on OS X when Python is built with
--disable-toolbox-glue
Modified: python/trunk/Modules/_ctypes/cfield.c
==============================================================================
--- python/trunk/Modules/_ctypes/cfield.c (original)
+++ python/trunk/Modules/_ctypes/cfield.c Fri Oct 19 20:11:41 2007
@@ -1616,17 +1616,21 @@
/* XXX Hm, sizeof(int) == sizeof(long) doesn't hold on every platform */
/* As soon as we can get rid of the type codes, this is no longer a problem */
#if SIZEOF_LONG == 4
- { 'l', l_set, l_get, &ffi_type_sint, l_set_sw, l_get_sw},
- { 'L', L_set, L_get, &ffi_type_uint, L_set_sw, L_get_sw},
+ { 'l', l_set, l_get, &ffi_type_sint32, l_set_sw, l_get_sw},
+ { 'L', L_set, L_get, &ffi_type_uint32, L_set_sw, L_get_sw},
#elif SIZEOF_LONG == 8
- { 'l', l_set, l_get, &ffi_type_slong, l_set_sw, l_get_sw},
- { 'L', L_set, L_get, &ffi_type_ulong, L_set_sw, L_get_sw},
+ { 'l', l_set, l_get, &ffi_type_sint64, l_set_sw, l_get_sw},
+ { 'L', L_set, L_get, &ffi_type_uint64, L_set_sw, L_get_sw},
#else
# error
#endif
#ifdef HAVE_LONG_LONG
- { 'q', q_set, q_get, &ffi_type_slong, q_set_sw, q_get_sw},
- { 'Q', Q_set, Q_get, &ffi_type_ulong, Q_set_sw, Q_get_sw},
+#if SIZEOF_LONG_LONG == 8
+ { 'q', q_set, q_get, &ffi_type_sint64, q_set_sw, q_get_sw},
+ { 'Q', Q_set, Q_get, &ffi_type_uint64, Q_set_sw, Q_get_sw},
+#else
+# error
+#endif
#endif
{ 'P', P_set, P_get, &ffi_type_pointer},
{ 'z', z_set, z_get, &ffi_type_pointer},
From python-checkins at python.org Fri Oct 19 21:25:57 2007
From: python-checkins at python.org (facundo.batista)
Date: Fri, 19 Oct 2007 21:25:57 +0200 (CEST)
Subject: [Python-checkins] r58550 - in python/trunk/Lib: decimal.py
test/test_decimal.py
Message-ID: <20071019192557.885591E54C4@bag.python.org>
Author: facundo.batista
Date: Fri Oct 19 21:25:57 2007
New Revision: 58550
Modified:
python/trunk/Lib/decimal.py
python/trunk/Lib/test/test_decimal.py
Log:
The constructor from tuple was way too permissive: it allowed bad
coefficient numbers, floats in the sign, and other details that
generated directly the wrong number in the best case, or triggered
misfunctionality in the alorithms.
Test cases added for these issues. Thanks Mark Dickinson.
Modified: python/trunk/Lib/decimal.py
==============================================================================
--- python/trunk/Lib/decimal.py (original)
+++ python/trunk/Lib/decimal.py Fri Oct 19 21:25:57 2007
@@ -562,20 +562,46 @@
# tuple/list conversion (possibly from as_tuple())
if isinstance(value, (list,tuple)):
if len(value) != 3:
- raise ValueError('Invalid arguments')
- if value[0] not in (0,1):
- raise ValueError('Invalid sign')
- for digit in value[1]:
- if not isinstance(digit, (int,long)) or digit < 0:
- raise ValueError("The second value in the tuple must be "
- "composed of non negative integer elements.")
+ raise ValueError('Invalid tuple size in creation of Decimal '
+ 'from list or tuple. The list or tuple '
+ 'should have exactly three elements.')
+ # process sign. The isinstance test rejects floats
+ if not (isinstance(value[0], (int, long)) and value[0] in (0,1)):
+ raise ValueError("Invalid sign. The first value in the tuple "
+ "should be an integer; either 0 for a "
+ "positive number or 1 for a negative number.")
self._sign = value[0]
- self._int = tuple(value[1])
- if value[2] in ('F','n','N'):
+ if value[2] == 'F':
+ # infinity: value[1] is ignored
+ self._int = (0,)
self._exp = value[2]
self._is_special = True
else:
- self._exp = int(value[2])
+ # process and validate the digits in value[1]
+ digits = []
+ for digit in value[1]:
+ if isinstance(digit, (int, long)) and 0 <= digit <= 9:
+ # skip leading zeros
+ if digits or digit != 0:
+ digits.append(digit)
+ else:
+ raise ValueError("The second value in the tuple must "
+ "be composed of integers in the range "
+ "0 through 9.")
+ if value[2] in ('n', 'N'):
+ # NaN: digits form the diagnostic
+ self._int = tuple(digits)
+ self._exp = value[2]
+ self._is_special = True
+ elif isinstance(value[2], (int, long)):
+ # finite number: digits give the coefficient
+ self._int = tuple(digits or [0])
+ self._exp = value[2]
+ self._is_special = False
+ else:
+ raise ValueError("The third value in the tuple must "
+ "be an integer, or one of the "
+ "strings 'F', 'n', 'N'.")
return self
if isinstance(value, float):
Modified: python/trunk/Lib/test/test_decimal.py
==============================================================================
--- python/trunk/Lib/test/test_decimal.py (original)
+++ python/trunk/Lib/test/test_decimal.py Fri Oct 19 21:25:57 2007
@@ -452,13 +452,18 @@
#bad sign
self.assertRaises(ValueError, Decimal, (8, (4, 3, 4, 9, 1), 2) )
+ self.assertRaises(ValueError, Decimal, (0., (4, 3, 4, 9, 1), 2) )
+ self.assertRaises(ValueError, Decimal, (Decimal(1), (4, 3, 4, 9, 1), 2))
#bad exp
self.assertRaises(ValueError, Decimal, (1, (4, 3, 4, 9, 1), 'wrong!') )
+ self.assertRaises(ValueError, Decimal, (1, (4, 3, 4, 9, 1), 0.) )
+ self.assertRaises(ValueError, Decimal, (1, (4, 3, 4, 9, 1), '1') )
#bad coefficients
self.assertRaises(ValueError, Decimal, (1, (4, 3, 4, None, 1), 2) )
self.assertRaises(ValueError, Decimal, (1, (4, -3, 4, 9, 1), 2) )
+ self.assertRaises(ValueError, Decimal, (1, (4, 10, 4, 9, 1), 2) )
def test_explicit_from_Decimal(self):
@@ -1060,6 +1065,28 @@
d = Decimal("Infinity")
self.assertEqual(d.as_tuple(), (0, (0,), 'F') )
+ #leading zeros in coefficient should be stripped
+ d = Decimal( (0, (0, 0, 4, 0, 5, 3, 4), -2) )
+ self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), -2) )
+ d = Decimal( (1, (0, 0, 0), 37) )
+ self.assertEqual(d.as_tuple(), (1, (0,), 37))
+ d = Decimal( (1, (), 37) )
+ self.assertEqual(d.as_tuple(), (1, (0,), 37))
+
+ #leading zeros in NaN diagnostic info should be stripped
+ d = Decimal( (0, (0, 0, 4, 0, 5, 3, 4), 'n') )
+ self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), 'n') )
+ d = Decimal( (1, (0, 0, 0), 'N') )
+ self.assertEqual(d.as_tuple(), (1, (), 'N') )
+ d = Decimal( (1, (), 'n') )
+ self.assertEqual(d.as_tuple(), (1, (), 'n') )
+
+ #coefficient in infinity should be ignored
+ d = Decimal( (0, (4, 5, 3, 4), 'F') )
+ self.assertEqual(d.as_tuple(), (0, (0,), 'F'))
+ d = Decimal( (1, (0, 2, 7, 1), 'F') )
+ self.assertEqual(d.as_tuple(), (1, (0,), 'F'))
+
def test_immutability_operations(self):
# Do operations and check that it didn't change change internal objects.
From buildbot at python.org Fri Oct 19 21:36:03 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 19:36:03 +0000
Subject: [Python-checkins] buildbot failure in hppa Ubuntu trunk
Message-ID: <20071019193603.92F1A1E4009@bag.python.org>
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/229
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: georg.brandl,mark.summerfield,thomas.heller
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_bsddb3
======================================================================
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 39, 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 39, 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 39, 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 47, 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
From buildbot at python.org Fri Oct 19 21:45:47 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 19:45:47 +0000
Subject: [Python-checkins] buildbot failure in amd64 XP trunk
Message-ID: <20071019194548.137231E4009@bag.python.org>
The Buildbot has detected a new failure of amd64 XP trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20XP%20trunk/builds/269
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: heller-windows-amd64
Build Reason: The web-page 'rebuild' button was pressed by 'Thomas Heller': try again
Build Source Stamp: [branch trunk] HEAD
Blamelist: georg.brandl,mark.summerfield,thomas.heller
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_winsound
======================================================================
ERROR: test_extremes (test.test_winsound.BeepTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 18, in test_extremes
winsound.Beep(37, 75)
RuntimeError: Failed to beep
======================================================================
ERROR: test_increasingfrequency (test.test_winsound.BeepTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 23, in test_increasingfrequency
winsound.Beep(i, 75)
RuntimeError: Failed to beep
======================================================================
ERROR: test_alias_asterisk (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 64, in test_alias_asterisk
winsound.PlaySound('SystemAsterisk', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_exclamation (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 74, in test_alias_exclamation
winsound.PlaySound('SystemExclamation', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_exit (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 84, in test_alias_exit
winsound.PlaySound('SystemExit', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_hand (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 94, in test_alias_hand
winsound.PlaySound('SystemHand', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
======================================================================
ERROR: test_alias_question (test.test_winsound.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot\trunk.heller-windows-amd64\build\lib\test\test_winsound.py", line 104, in test_alias_question
winsound.PlaySound('SystemQuestion', winsound.SND_ALIAS)
RuntimeError: Failed to play sound
sincerely,
-The Buildbot
From buildbot at python.org Fri Oct 19 22:13:44 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 20:13:44 +0000
Subject: [Python-checkins] buildbot failure in PPC64 Debian trunk
Message-ID: <20071019201344.705311E4023@bag.python.org>
The Buildbot has detected a new failure of PPC64 Debian trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/PPC64%20Debian%20trunk/builds/277
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: facundo.batista
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_xmlrpc
======================================================================
ERROR: test_fail_no_info (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/test/test_xmlrpc.py", line 497, in test_fail_no_info
p.pow(6,8)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1157, in __call__
return self.__send(self.__name, args)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1447, in __request
verbose=self.__verbose
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1195, in request
errcode, errmsg, headers = h.getreply()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 1006, in getreply
response = self._conn.getresponse()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 932, in getresponse
response.begin()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 415, in begin
self.msg = HTTPMessage(self.fp, 0)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/rfc822.py", line 104, in __init__
self.readheaders()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 271, in readheaders
line = self.fp.readline()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/socket.py", line 351, in readline
data = recv(1)
error: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_fail_with_info (test.test_xmlrpc.FailingServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/test/test_xmlrpc.py", line 517, in test_fail_with_info
p.pow(6,8)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1157, in __call__
return self.__send(self.__name, args)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1447, in __request
verbose=self.__verbose
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/xmlrpclib.py", line 1195, in request
errcode, errmsg, headers = h.getreply()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 1006, in getreply
response = self._conn.getresponse()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 932, in getresponse
response.begin()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 415, in begin
self.msg = HTTPMessage(self.fp, 0)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/mimetools.py", line 16, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/rfc822.py", line 104, in __init__
self.readheaders()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/httplib.py", line 271, in readheaders
line = self.fp.readline()
File "/home/pybot/buildarea64/trunk.klose-debian-ppc64/build/Lib/socket.py", line 351, in readline
data = recv(1)
error: [Errno 104] Connection reset by peer
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 20 00:11:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 22:11:33 +0000
Subject: [Python-checkins] buildbot failure in x86 XP 3.0
Message-ID: <20071019221133.BBB201E4009@bag.python.org>
The Buildbot has detected a new failure of x86 XP 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%203.0/builds/164
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 20 01:39:09 2007
From: buildbot at python.org (buildbot at python.org)
Date: Fri, 19 Oct 2007 23:39:09 +0000
Subject: [Python-checkins] buildbot failure in x86 XP 3.0
Message-ID: <20071019233910.18F6C1E400B@bag.python.org>
The Buildbot has detected a new failure of x86 XP 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20XP%203.0/builds/166
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: mcintyre-windows
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed failed slave lost
sincerely,
-The Buildbot
From buildbot at python.org Sat Oct 20 13:53:33 2007
From: buildbot at python.org (buildbot at python.org)
Date: Sat, 20 Oct 2007 11:53:33 +0000
Subject: [Python-checkins] buildbot failure in ARM Linux EABI 3.0
Message-ID: <20071020115333.904FE1E4026@bag.python.org>
The Buildbot has detected a new failure of ARM Linux EABI 3.0.
Full details are available at:
http://www.python.org/dev/buildbot/all/ARM%20Linux%20EABI%203.0/builds/34
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-linux-armeabi
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: guido.van.rossum
BUILD FAILED: failed test
Excerpt from the test logfile:
sincerely,
-The Buildbot
From python-checkins at python.org Sat Oct 20 15:22:54 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 15:22:54 +0200 (CEST)
Subject: [Python-checkins] r58559 - python/trunk/Doc/library/dis.rst
Message-ID: <20071020132254.15F2D1E4022@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 15:22:53 2007
New Revision: 58559
Modified:
python/trunk/Doc/library/dis.rst
Log:
Fix code being interpreted as a target.
Modified: python/trunk/Doc/library/dis.rst
==============================================================================
--- python/trunk/Doc/library/dis.rst (original)
+++ python/trunk/Doc/library/dis.rst Sat Oct 20 15:22:53 2007
@@ -523,9 +523,9 @@
context manager's :meth:`__exit__` bound method. Below that are 1--3 values
indicating how/why the finally clause was entered:
- * SECOND = None
- * (SECOND, THIRD) = (WHY_{RETURN,CONTINUE}), retval
- * SECOND = WHY_\*; no retval below it
+ * SECOND = ``None``
+ * (SECOND, THIRD) = (``WHY_{RETURN,CONTINUE}``), retval
+ * SECOND = ``WHY_*``; no retval below it
* (SECOND, THIRD, FOURTH) = exc_info()
In the last case, ``TOS(SECOND, THIRD, FOURTH)`` is called, otherwise
@@ -535,6 +535,8 @@
returns a 'true' value, this information is "zapped", to prevent ``END_FINALLY``
from re-raising the exception. (But non-local gotos should still be resumed.)
+ .. XXX explain the WHY stuff!
+
All of the following opcodes expect arguments. An argument is two bytes, with
the more significant byte last.
From python-checkins at python.org Sat Oct 20 15:36:14 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 15:36:14 +0200 (CEST)
Subject: [Python-checkins] r58560 - doctools/trunk/sphinx/directives.py
doctools/trunk/sphinx/highlighting.py
Message-ID: <20071020133614.CFF221E4022@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 15:36:14 2007
New Revision: 58560
Modified:
doctools/trunk/sphinx/directives.py
doctools/trunk/sphinx/highlighting.py
Log:
Add "cmdoption" directive for command-line options.
Modified: doctools/trunk/sphinx/directives.py
==============================================================================
--- doctools/trunk/sphinx/directives.py (original)
+++ doctools/trunk/sphinx/directives.py Sat Oct 20 15:36:14 2007
@@ -299,8 +299,20 @@
name = parse_c_signature(signode, sig, desctype)
elif desctype == 'opcode':
name = parse_opcode_signature(signode, sig, desctype)
+ elif desctype == 'cmdoption':
+ # TODO: add custom parsing for parts?
+ signode.clear()
+ signode += addnodes.desc_name(sig, sig)
+ if not noindex:
+ targetname = 'cmdoption-%s' % env.index_num
+ env.index_num += 1
+ signode['ids'].append(targetname)
+ state.document.note_explicit_target(signode)
+ env.note_index_entry('pair', 'command line option; %s' % sig,
+ targetname, targetname)
+ continue
else:
- # describe: use generic fallback
+ # for "describe": use generic fallback
raise ValueError
except ValueError, err:
signode.clear()
@@ -364,7 +376,8 @@
'cvar',
# the odd one
'opcode',
- # the generic one
+ # the generic ones
+ 'cmdoption', # for command line options
'describe',
]
Modified: doctools/trunk/sphinx/highlighting.py
==============================================================================
--- doctools/trunk/sphinx/highlighting.py (original)
+++ doctools/trunk/sphinx/highlighting.py Sat Oct 20 15:36:14 2007
@@ -22,7 +22,7 @@
from pygments.filters import ErrorToken
from pygments.style import Style
from pygments.styles.friendly import FriendlyStyle
- from pygments.token import Generic, Comment
+ from pygments.token import Generic, Comment, Number
except ImportError:
pygments = None
else:
@@ -38,6 +38,7 @@
styles.update({
Generic.Output: 'italic #333',
Comment: 'italic #408090',
+ Number: '#208050',
})
lexers = defaultdict(TextLexer,
From python-checkins at python.org Sat Oct 20 15:36:24 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 15:36:24 +0200 (CEST)
Subject: [Python-checkins] r58561 - python/trunk/Doc/documenting/markup.rst
Message-ID: <20071020133624.E27951E4022@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 15:36:24 2007
New Revision: 58561
Modified:
python/trunk/Doc/documenting/markup.rst
Log:
Document new "cmdoption" directive.
Modified: python/trunk/Doc/documenting/markup.rst
==============================================================================
--- python/trunk/Doc/documenting/markup.rst (original)
+++ python/trunk/Doc/documenting/markup.rst Sat Oct 20 15:36:24 2007
@@ -212,6 +212,14 @@
Describes a Python bytecode instruction.
+.. describe:: cmdoption
+
+ Describes a command line option or switch. Option argument names should be
+ enclosed in angle brackets. Example::
+
+ .. cmdoption:: -m
+
+ Run a module as a script.
There is also a generic version of these directives:
From python-checkins at python.org Sat Oct 20 17:21:22 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 17:21:22 +0200 (CEST)
Subject: [Python-checkins] r58562 - python/trunk/Doc/tutorial/interactive.rst
Message-ID: <20071020152122.C5A311E400D@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 17:21:22 2007
New Revision: 58562
Modified:
python/trunk/Doc/tutorial/interactive.rst
Log:
Make a path more Unix-standardy.
Modified: python/trunk/Doc/tutorial/interactive.rst
==============================================================================
--- python/trunk/Doc/tutorial/interactive.rst (original)
+++ python/trunk/Doc/tutorial/interactive.rst Sat Oct 20 17:21:22 2007
@@ -123,7 +123,7 @@
# bound to the Esc key by default (you can change it - see readline docs).
#
# Store the file in ~/.pystartup, and set an environment variable to point
- # to it: "export PYTHONSTARTUP=/max/home/itamar/.pystartup" in bash.
+ # to it: "export PYTHONSTARTUP=/home/user/.pystartup" in bash.
#
# Note that PYTHONSTARTUP does *not* expand "~", so you have to put in the
# full path to your home directory.
From python-checkins at python.org Sat Oct 20 19:50:45 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 19:50:45 +0200 (CEST)
Subject: [Python-checkins] r58563 - doctools/trunk/sphinx/builder.py
doctools/trunk/sphinx/directives.py
doctools/trunk/sphinx/environment.py doctools/trunk/sphinx/roles.py
doctools/trunk/sphinx/writer.py
Message-ID: <20071020175045.EBC1C1E4025@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 19:50:45 2007
New Revision: 58563
Modified:
doctools/trunk/sphinx/builder.py
doctools/trunk/sphinx/directives.py
doctools/trunk/sphinx/environment.py
doctools/trunk/sphinx/roles.py
doctools/trunk/sphinx/writer.py
Log:
Add an envvar directive too. Link from :envvar: and :option: to the relevant directives.
Modified: doctools/trunk/sphinx/builder.py
==============================================================================
--- doctools/trunk/sphinx/builder.py (original)
+++ doctools/trunk/sphinx/builder.py Sat Oct 20 19:50:45 2007
@@ -407,7 +407,8 @@
pl = pl.split(', ') if pl else []
platforms.update(pl)
if fl != mn[0].lower() and mn[0] != '_':
- modindexentries.append(['', False, 0, False, mn[0].upper(), '', [], False])
+ modindexentries.append(['', False, 0, False,
+ mn[0].upper(), '', [], False])
tn = mn.partition('.')[0]
if tn != mn:
# submodule
Modified: doctools/trunk/sphinx/directives.py
==============================================================================
--- doctools/trunk/sphinx/directives.py (original)
+++ doctools/trunk/sphinx/directives.py Sat Oct 20 19:50:45 2007
@@ -246,7 +246,7 @@
opcode_sig_re = re.compile(r'(\w+(?:\+\d)?)\s*\((.*)\)')
-def parse_opcode_signature(signode, sig, desctype):
+def parse_opcode_signature(signode, sig):
"""Transform an opcode signature into RST nodes."""
m = opcode_sig_re.match(sig)
if m is None: raise ValueError
@@ -258,6 +258,18 @@
return opname.strip()
+option_desc_re = re.compile(r'([-/])([-_a-zA-Z0-9]+)(\s*.*)')
+
+def parse_option_desc(signode, sig):
+ """Transform an option description into RST nodes."""
+ m = option_desc_re.match(sig)
+ if m is None: raise ValueError
+ prefix, optname, args = m.groups()
+ signode += addnodes.desc_name(prefix+optname, prefix+optname)
+ signode += addnodes.desc_classname(args, args)
+ return optname
+
+
def add_refcount_annotation(env, node, name):
"""Add a reference count annotation. Return None."""
entry = env.refcounts.get(name)
@@ -298,18 +310,27 @@
elif desctype in ('cfunction', 'cmember', 'cmacro', 'ctype', 'cvar'):
name = parse_c_signature(signode, sig, desctype)
elif desctype == 'opcode':
- name = parse_opcode_signature(signode, sig, desctype)
+ name = parse_opcode_signature(signode, sig)
elif desctype == 'cmdoption':
- # TODO: add custom parsing for parts?
+ optname = parse_option_desc(signode, sig)
+ if not noindex:
+ targetname = 'cmdoption-' + optname
+ signode['ids'].append(targetname)
+ state.document.note_explicit_target(signode)
+ env.note_index_entry('pair', 'command line option; %s' % sig,
+ targetname, targetname)
+ env.note_reftarget('option', optname, targetname)
+ continue
+ elif desctype == 'envvar':
signode.clear()
signode += addnodes.desc_name(sig, sig)
if not noindex:
- targetname = 'cmdoption-%s' % env.index_num
- env.index_num += 1
+ targetname = 'envvar-' + sig
signode['ids'].append(targetname)
state.document.note_explicit_target(signode)
- env.note_index_entry('pair', 'command line option; %s' % sig,
+ env.note_index_entry('pair', 'environment variable; %s' % sig,
targetname, targetname)
+ env.note_reftarget('envvar', sig, targetname)
continue
else:
# for "describe": use generic fallback
@@ -378,6 +399,7 @@
'opcode',
# the generic ones
'cmdoption', # for command line options
+ 'envvar', # for environment variables
'describe',
]
@@ -472,7 +494,7 @@
if idname not in state.document.ids:
subnode['ids'].append(idname)
state.document.note_implicit_target(subnode, subnode)
- env.note_token(subnode['tokenname'])
+ env.note_reftarget('token', subnode['tokenname'], idname)
subnode.extend(token_xrefs(tokens, env))
node.append(subnode)
return [node] + messages
@@ -621,7 +643,7 @@
env.gloss_entries.add(new_id)
li[0]['names'].append(new_id)
li[0]['ids'].append(new_id)
- state.document.settings.env.note_glossaryterm(termtext, new_id)
+ state.document.settings.env.note_reftarget('term', termtext, new_id)
return [node]
glossary_directive.content = 1
Modified: doctools/trunk/sphinx/environment.py
==============================================================================
--- doctools/trunk/sphinx/environment.py (original)
+++ doctools/trunk/sphinx/environment.py Sat Oct 20 19:50:45 2007
@@ -52,7 +52,7 @@
# This is increased every time a new environment attribute is added
# to properly invalidate pickle files.
-ENV_VERSION = 11
+ENV_VERSION = 12
def walk_depth(node, depth, maxdepth):
@@ -204,9 +204,9 @@
self.descrefs = {} # fullname -> filename, desctype
self.filemodules = {} # filename -> [modules]
self.modules = {} # modname -> filename, synopsis, platform, deprecated
- self.tokens = {} # tokenname -> filename
- self.labels = {} # labelname -> filename, labelid
- self.glossary = {} # term -> filename, labelid
+ self.labels = {} # labelname -> filename, labelid, sectionname
+ self.reftargets = {} # (type, name) -> filename, labelid
+ # where type is term, token, option, envvar
# Other inventories
self.indexentries = {} # filename -> list of
@@ -244,15 +244,12 @@
for modname, (fn, _, _, _) in self.modules.items():
if fn == filename:
del self.modules[modname]
- for tokenname, fn in self.tokens.items():
- if fn == filename:
- del self.tokens[tokenname]
for labelname, (fn, _, _) in self.labels.items():
if fn == filename:
del self.labels[labelname]
- for term, (fn, _) in self.glossary.items():
+ for key, (fn, _) in self.reftargets.items():
if fn == filename:
- del self.glossary[term]
+ del self.reftargets[key]
self.indexentries.pop(filename, None)
for version, changes in self.versionchanges.items():
new = [change for change in changes if change[1] != filename]
@@ -302,7 +299,8 @@
Yields a summary and then filenames as it processes them.
"""
added, changed, removed = self.get_outdated_files(config)
- msg = '%s added, %s changed, %s removed' % (len(added), len(changed), len(removed))
+ msg = '%s added, %s changed, %s removed' % (len(added), len(changed),
+ len(removed))
if self.config != config:
msg = '[config changed] ' + msg
yield msg
@@ -502,8 +500,8 @@
self.modules[modname] = (self.filename, synopsis, platform, deprecated)
self.filemodules.setdefault(self.filename, []).append(modname)
- def note_token(self, tokenname):
- self.tokens[tokenname] = self.filename
+ def note_reftarget(self, type, name, labelid):
+ self.reftargets[type, name] = (self.filename, labelid)
def note_index_entry(self, type, string, targetid, aliasname):
self.indexentries.setdefault(self.filename, []).append(
@@ -512,9 +510,6 @@
def note_versionchange(self, type, version, node):
self.versionchanges.setdefault(version, []).append(
(type, self.filename, self.currmodule, self.currdesc, node.deepcopy()))
-
- def note_glossaryterm(self, text, labelname):
- self.glossary[text] = (self.filename, labelname)
# -------
# --------- RESOLVING REFERENCES AND TOCTREES ------------------------------
@@ -584,8 +579,6 @@
typ = node['reftype']
target = node['reftarget']
- modname = node['modname']
- clsname = node['classname']
if typ == 'ref':
filename, labelid, sectname = self.labels.get(target, ('','',''))
@@ -602,11 +595,12 @@
newnode['refuri'] = builder.get_relative_uri(
docfilename, filename) + '#' + labelid
newnode.append(nodes.emphasis(sectname, sectname))
- elif typ == 'term':
- filename, labelid = self.glossary.get(target, ('', ''))
+ elif typ in ('token', 'term', 'envvar', 'option'):
+ filename, labelid = self.reftargets.get((typ, target), ('', ''))
if not filename:
- print >>self.warning_stream, \
- '%s: term not in glossary: %s' % (docfilename, target)
+ if typ == 'term':
+ print >>self.warning_stream, \
+ '%s: term not in glossary: %s' % (docfilename, target)
newnode = contnode
else:
newnode = nodes.reference('', '')
@@ -616,18 +610,6 @@
newnode['refuri'] = builder.get_relative_uri(
docfilename, filename) + '#' + labelid
newnode.append(contnode)
- elif typ == 'token':
- filename = self.tokens.get(target, '')
- if not filename:
- newnode = contnode
- else:
- newnode = nodes.reference('', '')
- if filename == docfilename:
- newnode['refid'] = 'grammar-token-' + target
- else:
- newnode['refuri'] = builder.get_relative_uri(
- docfilename, filename) + '#grammar-token-' + target
- newnode.append(contnode)
elif typ == 'mod':
filename, synopsis, platform, deprecated = \
self.modules.get(target, ('','','', ''))
@@ -649,6 +631,8 @@
synopsis, (' (deprecated)' if deprecated else ''))
newnode.append(contnode)
else:
+ modname = node['modname']
+ clsname = node['classname']
searchorder = 1 if node.hasattr('refspecific') else 0
name, desc = self.find_desc(modname, clsname, target, typ, searchorder)
if not desc:
Modified: doctools/trunk/sphinx/roles.py
==============================================================================
--- doctools/trunk/sphinx/roles.py (original)
+++ doctools/trunk/sphinx/roles.py Sat Oct 20 19:50:45 2007
@@ -29,7 +29,6 @@
'manpage' : addnodes.literal_emphasis,
'mimetype' : addnodes.literal_emphasis,
'newsgroup' : addnodes.literal_emphasis,
- 'option' : addnodes.literal_emphasis,
'program' : nodes.strong,
'regexp' : nodes.literal,
}
@@ -48,10 +47,14 @@
if typ == 'envvar':
env.note_index_entry('single', '%s' % text,
targetid, text)
- env.note_index_entry('single', 'environment variables!%s' % text,
+ env.note_index_entry('single', 'environment variable; %s' % text,
targetid, text)
- textnode = nodes.strong(text, text)
- return [targetnode, textnode], []
+ #textnode = nodes.strong(text, text)
+ pnode = addnodes.pending_xref(rawtext)
+ pnode['reftype'] = 'envvar'
+ pnode['reftarget'] = text
+ pnode += nodes.strong(text, text, classes=['xref'])
+ return [targetnode, pnode], []
elif typ == 'pep':
env.note_index_entry('single', 'Python Enhancement Proposals!PEP %s' % text,
targetid, 'PEP %s' % text)
@@ -91,6 +94,7 @@
'ref': nodes.emphasis,
'term': nodes.emphasis,
'token': nodes.strong,
+ 'option': addnodes.literal_emphasis,
}
def xfileref_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
@@ -112,7 +116,12 @@
typ in ('data', 'exc', 'func', 'class', 'const', 'attr', 'meth'):
text = text[1:]
pnode['refspecific'] = True
- pnode['reftarget'] = ws_re.sub((' ' if typ == 'term' else ''), text)
+ if typ == 'term':
+ pnode['reftarget'] = ws_re.sub(' ', text)
+ elif typ == 'option':
+ pnode['reftarget'] = text[1:] if text[0] in '-/' else text
+ else:
+ pnode['reftarget'] = ws_re.sub('', text)
pnode['modname'] = env.currmodule
pnode['classname'] = env.currclass
pnode += innernodetypes.get(typ, nodes.literal)(rawtext, text, classes=['xref'])
@@ -160,6 +169,7 @@
'ref': xfileref_role,
'token' : xfileref_role,
'term': xfileref_role,
+ 'option': xfileref_role,
'menuselection' : menusel_role,
'file' : emph_literal_role,
Modified: doctools/trunk/sphinx/writer.py
==============================================================================
--- doctools/trunk/sphinx/writer.py (original)
+++ doctools/trunk/sphinx/writer.py Sat Oct 20 19:50:45 2007
@@ -258,6 +258,14 @@
self.depart_emphasis(node)
self.no_smarty -= 1
+ def visit_desc_signature(self, node):
+ self.no_smarty += 1
+ HTMLTranslator.visit_desc_signature(self, node)
+
+ def depart_desc_signature(self, node):
+ self.no_smarty -= 1
+ HTMLTranslator.depart_desc_signature(self, node)
+
def visit_productionlist(self, node):
self.no_smarty += 1
try:
From python-checkins at python.org Sat Oct 20 19:51:39 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 19:51:39 +0200 (CEST)
Subject: [Python-checkins] r58564 - python/trunk/Doc/documenting/markup.rst
Message-ID: <20071020175139.DA2601E4029@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 19:51:39 2007
New Revision: 58564
Modified:
python/trunk/Doc/documenting/markup.rst
Log:
Document new directive "envvar".
Modified: python/trunk/Doc/documenting/markup.rst
==============================================================================
--- python/trunk/Doc/documenting/markup.rst (original)
+++ python/trunk/Doc/documenting/markup.rst Sat Oct 20 19:51:39 2007
@@ -221,6 +221,11 @@
Run a module as a script.
+.. describe:: envvar
+
+ Describes an environment variable that Python uses or defines.
+
+
There is also a generic version of these directives:
.. describe:: describe
From python-checkins at python.org Sat Oct 20 19:56:06 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 19:56:06 +0200 (CEST)
Subject: [Python-checkins] r58565 - doctools/trunk/sphinx/highlighting.py
Message-ID: <20071020175606.C69E61E4022@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 19:56:06 2007
New Revision: 58565
Modified:
doctools/trunk/sphinx/highlighting.py
Log:
Don't italicize interactive mode output.
Modified: doctools/trunk/sphinx/highlighting.py
==============================================================================
--- doctools/trunk/sphinx/highlighting.py (original)
+++ doctools/trunk/sphinx/highlighting.py Sat Oct 20 19:56:06 2007
@@ -36,7 +36,7 @@
styles = FriendlyStyle.styles
styles.update({
- Generic.Output: 'italic #333',
+ Generic.Output: '#333',
Comment: 'italic #408090',
Number: '#208050',
})
From python-checkins at python.org Sat Oct 20 20:04:28 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 20:04:28 +0200 (CEST)
Subject: [Python-checkins] r58566 -
doctools/trunk/sphinx/templates/index.html
doctools/trunk/sphinx/templates/search.html
Message-ID: <20071020180428.D3E3D1E4022@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 20:04:28 2007
New Revision: 58566
Modified:
doctools/trunk/sphinx/templates/index.html
doctools/trunk/sphinx/templates/search.html
Log:
Prepare for new toplevel chapter, "Using Python."
Modified: doctools/trunk/sphinx/templates/index.html
==============================================================================
--- doctools/trunk/sphinx/templates/index.html (original)
+++ doctools/trunk/sphinx/templates/index.html Sat Oct 20 20:04:28 2007
@@ -17,6 +17,8 @@
changes since previous major release
Library Reference
Modified: doctools/trunk/sphinx/templates/search.html
==============================================================================
--- doctools/trunk/sphinx/templates/search.html (original)
+++ doctools/trunk/sphinx/templates/search.html Sat Oct 20 20:04:28 2007
@@ -25,6 +25,7 @@
{% for id, name, checked in [
('tutorial', 'Python Tutorial', true),
('library', 'Library Reference', true),
+ ('using', 'Using Python', true),
('reference', 'Language Reference', false),
('extending', 'Extending and Embedding', false),
('c-api', 'Python/C API', false),
From python-checkins at python.org Sat Oct 20 20:08:15 2007
From: python-checkins at python.org (georg.brandl)
Date: Sat, 20 Oct 2007 20:08:15 +0200 (CEST)
Subject: [Python-checkins] r58567 - in python/trunk/Doc: contents.rst
howto/index.rst howto/pythonmac.rst using using/cmdline.rst
using/index.rst using/mac.rst
Message-ID: <20071020180815.6C8521E4029@bag.python.org>
Author: georg.brandl
Date: Sat Oct 20 20:08:14 2007
New Revision: 58567
Added:
python/trunk/Doc/using/
python/trunk/Doc/using/cmdline.rst
python/trunk/Doc/using/index.rst
python/trunk/Doc/using/mac.rst
- copied unchanged from r58468, python/trunk/Doc/howto/pythonmac.rst
Removed:
python/trunk/Doc/howto/pythonmac.rst
Modified:
python/trunk/Doc/contents.rst
python/trunk/Doc/howto/index.rst
Log:
* Add new toplevel chapter, "Using Python." (how to install,
configure and setup python on different platforms -- at least
in theory.)
* Move the Python on Mac docs in that chapter.
* Add a new chapter about the command line invocation, by stargaming.
Modified: python/trunk/Doc/contents.rst
==============================================================================
--- python/trunk/Doc/contents.rst (original)
+++ python/trunk/Doc/contents.rst Sat Oct 20 20:08:14 2007
@@ -6,6 +6,7 @@
whatsnew/2.6.rst
tutorial/index.rst
+ using/index.rst
reference/index.rst
library/index.rst
extending/index.rst
Modified: python/trunk/Doc/howto/index.rst
==============================================================================
--- python/trunk/Doc/howto/index.rst (original)
+++ python/trunk/Doc/howto/index.rst Sat Oct 20 20:08:14 2007
@@ -14,7 +14,6 @@
:maxdepth: 1
advocacy.rst
- pythonmac.rst
curses.rst
doanddont.rst
functional.rst
Deleted: /python/trunk/Doc/howto/pythonmac.rst
==============================================================================
--- /python/trunk/Doc/howto/pythonmac.rst Sat Oct 20 20:08:14 2007
+++ (empty file)
@@ -1,202 +0,0 @@
-
-.. _using-on-mac:
-
-***************************
-Using Python on a Macintosh
-***************************
-
-:Author: Bob Savage
-
-
-Python on a Macintosh running Mac OS X is in principle very similar to Python on
-any other Unix platform, but there are a number of additional features such as
-the IDE and the Package Manager that are worth pointing out.
-
-The Mac-specific modules are documented in :ref:`mac-specific-services`.
-
-Python on Mac OS 9 or earlier can be quite different from Python on Unix or
-Windows, but is beyond the scope of this manual, as that platform is no longer
-supported, starting with Python 2.4. See http://www.cwi.nl/~jack/macpython for
-installers for the latest 2.3 release for Mac OS 9 and related documentation.
-
-
-.. _getting-osx:
-
-Getting and Installing MacPython
-================================
-
-Mac OS X 10.4 comes with Python 2.3 pre-installed by Apple. However, you are
-encouraged to install the most recent version of Python from the Python website
-(http://www.python.org). A "universal binary" build of Python 2.5, which runs
-natively on the Mac's new Intel and legacy PPC CPU's, is available there.
-
-What you get after installing is a number of things:
-
-* A :file:`MacPython 2.5` folder in your :file:`Applications` folder. In here
- you find IDLE, the development environment that is a standard part of official
- Python distributions; PythonLauncher, which handles double-clicking Python
- scripts from the Finder; and the "Build Applet" tool, which allows you to
- package Python scripts as standalone applications on your system.
-
-* A framework :file:`/Library/Frameworks/Python.framework`, which includes the
- Python executable and libraries. The installer adds this location to your shell
- path. To uninstall MacPython, you can simply remove these three things. A
- symlink to the Python executable is placed in /usr/local/bin/.
-
-The Apple-provided build of Python is installed in
-:file:`/System/Library/Frameworks/Python.framework` and :file:`/usr/bin/python`,
-respectively. You should never modify or delete these, as they are
-Apple-controlled and are used by Apple- or third-party software.
-
-IDLE includes a help menu that allows you to access Python documentation. If you
-are completely new to Python you should start reading the tutorial introduction
-in that document.
-
-If you are familiar with Python on other Unix platforms you should read the
-section on running Python scripts from the Unix shell.
-
-
-How to run a Python script
---------------------------
-
-Your best way to get started with Python on Mac OS X is through the IDLE
-integrated development environment, see section :ref:`ide` and use the Help menu
-when the IDE is running.
-
-If you want to run Python scripts from the Terminal window command line or from
-the Finder you first need an editor to create your script. Mac OS X comes with a
-number of standard Unix command line editors, :program:`vim` and
-:program:`emacs` among them. If you want a more Mac-like editor,
-:program:`BBEdit` or :program:`TextWrangler` from Bare Bones Software (see
-http://www.barebones.com/products/bbedit/index.shtml) are good choices, as is
-:program:`TextMate` (see http://macromates.com/). Other editors include
-:program:`Gvim` (http://macvim.org) and :program:`Aquamacs`
-(http://aquamacs.org).
-
-To run your script from the Terminal window you must make sure that
-:file:`/usr/local/bin` is in your shell search path.
-
-To run your script from the Finder you have two options:
-
-* Drag it to :program:`PythonLauncher`
-
-* Select :program:`PythonLauncher` as the default application to open your
- script (or any .py script) through the finder Info window and double-click it.
- :program:`PythonLauncher` has various preferences to control how your script is
- launched. Option-dragging allows you to change these for one invocation, or use
- its Preferences menu to change things globally.
-
-
-.. _osx-gui-scripts:
-
-Running scripts with a GUI
---------------------------
-
-With older versions of Python, there is one Mac OS X quirk that you need to be
-aware of: programs that talk to the Aqua window manager (in other words,
-anything that has a GUI) need to be run in a special way. Use :program:`pythonw`
-instead of :program:`python` to start such scripts.
-
-With Python 2.5, you can use either :program:`python` or :program:`pythonw`.
-
-
-Configuration
--------------
-
-Python on OS X honors all standard Unix environment variables such as
-:envvar:`PYTHONPATH`, but setting these variables for programs started from the
-Finder is non-standard as the Finder does not read your :file:`.profile` or
-:file:`.cshrc` at startup. You need to create a file :file:`~
-/.MacOSX/environment.plist`. See Apple's Technical Document QA1067 for details.
-
-For more information on installation Python packages in MacPython, see section
-:ref:`mac-package-manager`.
-
-
-.. _ide:
-
-The IDE
-=======
-
-MacPython ships with the standard IDLE development environment. A good
-introduction to using IDLE can be found at http://hkn.eecs.berkeley.edu/
-dyoo/python/idle_intro/index.html.
-
-
-.. _mac-package-manager:
-
-Installing Additional Python Packages
-=====================================
-
-There are several methods to install additional Python packages:
-
-* http://pythonmac.org/packages/ contains selected compiled packages for Python
- 2.5, 2.4, and 2.3.
-
-* Packages can be installed via the standard Python distutils mode (``python
- setup.py install``).
-
-* Many packages can also be installed via the :program:`setuptools` extension.
-
-
-GUI Programming on the Mac
-==========================
-
-There are several options for building GUI applications on the Mac with Python.
-
-*PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework, which is
-the foundation of most modern Mac development. Information on PyObjC is
-available from http://pyobjc.sourceforge.net.
-
-The standard Python GUI toolkit is :mod:`Tkinter`, based on the cross-platform
-Tk toolkit (http://www.tcl.tk). An Aqua-native version of Tk is bundled with OS
-X by Apple, and the latest version can be downloaded and installed from
-http://www.activestate.com; it can also be built from source.
-
-*wxPython* is another popular cross-platform GUI toolkit that runs natively on
-Mac OS X. Packages and documentation are available from http://www.wxpython.org.
-
-*PyQt* is another popular cross-platform GUI toolkit that runs natively on Mac
-OS X. More information can be found at
-http://www.riverbankcomputing.co.uk/pyqt/.
-
-
-Distributing Python Applications on the Mac
-===========================================
-
-The "Build Applet" tool that is placed in the MacPython 2.5 folder is fine for
-packaging small Python scripts on your own machine to run as a standard Mac
-application. This tool, however, is not robust enough to distribute Python
-applications to other users.
-
-The standard tool for deploying standalone Python applications on the Mac is
-:program:`py2app`. More information on installing and using py2app can be found
-at http://undefined.org/python/#py2app.
-
-
-Application Scripting
-=====================
-
-Python can also be used to script other Mac applications via Apple's Open
-Scripting Architecture (OSA); see http://appscript.sourceforge.net. Appscript is
-a high-level, user-friendly Apple event bridge that allows you to control
-scriptable Mac OS X applications using ordinary Python scripts. Appscript makes
-Python a serious alternative to Apple's own *AppleScript* language for
-automating your Mac. A related package, *PyOSA*, is an OSA language component
-for the Python scripting language, allowing Python code to be executed by any
-OSA-enabled application (Script Editor, Mail, iTunes, etc.). PyOSA makes Python
-a full peer to AppleScript.
-
-
-Other Resources
-===============
-
-The MacPython mailing list is an excellent support resource for Python users and
-developers on the Mac:
-
-http://www.python.org/community/sigs/current/pythonmac-sig/
-
-Another useful resource is the MacPython wiki:
-
-http://wiki.python.org/moin/MacPython
-
Added: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- (empty file)
+++ python/trunk/Doc/using/cmdline.rst Sat Oct 20 20:08:14 2007
@@ -0,0 +1,427 @@
+.. highlightlang:: none
+
+Invoking the Python executable
+==============================
+
+The CPython interpreter scans the command line and the environment for various
+settings.
+
+.. note::
+
+ Other implementation's command line schemes may differ. See
+ :ref:`implementations` for further resources.
+
+
+Command line
+------------
+
+When invoking Python, you may specify any of these options::
+
+ python [-dEiOQStuUvxX3?] [-c command | -m module-name | script | - ] [args]
+
+The most common use case is, of course, a simple invocation of a script::
+
+ python myscript.py
+
+
+Interface options
+~~~~~~~~~~~~~~~~~
+
+The interpreter interface resembles that of the UNIX shell:
+
+* When called with standard input connected to a tty device, it prompts for
+ commands and executes them until an EOF (an end-of-file character, you can
+ produce that with *Ctrl-D* on UNIX or *Ctrl-Z, Enter* on Windows) is read.
+* When called with a file name argument or with a file as standard input, it
+ reads and executes a script from that file.
+* When called with ``-c command``, it executes the Python statement(s) given as
+ *command*. Here *command* may contain multiple statements separated by
+ newlines. Leading whitespace is significant in Python statements!
+* When called with ``-m module-name``, the given module is searched on the
+ Python module path and executed as a script.
+
+In non-interactive mode, the entire input is parsed before it is executed.
+
+An interface option terminates the list of options consumed by the interpreter,
+all consecutive arguments will end up in :data:`sys.argv` -- note that the first
+element, subscript zero (``sys.argv[0]``), is a string reflecting the program's
+source.
+
+.. cmdoption:: -c
+
+ Execute the Python code in *command*. *command* can be one ore more
+ statements separated by newlines, with significant leading whitespace as in
+ normal module code.
+
+ If this option is given, the first element of :data:`sys.argv` will be
+ ``"-c"``.
+
+
+.. cmdoption:: -m
+
+ Search :data:`sys.path` for the named module and run the corresponding module
+ file as if it were executed with ``python modulefile.py`` as a script.
+
+ Since the argument is a *module* name, you must not give a file extension
+ (``.py``). However, the ``module-name`` does not have to be a valid Python
+ identifer (e.g. you can use a file name including a hyphen).
+
+ .. note::
+
+ This option cannot be used with builtin modules and extension modules
+ written in C, since they do not have Python module files.
+
+ If this option is given, the first element of :data:`sys.argv` will be the
+ full path to the module file.
+
+ Many standard library modules contain code that is invoked on their execution
+ as a script. An example is the :mod:`timeit` module::
+
+ python -mtimeit -s 'setup here' 'benchmarked code here'
+ python -mtimeit -h # for details
+
+ .. seealso::
+ :func:`runpy.run_module`
+ The actual implementation of this feature.
+
+ :pep:`338` -- Executing modules as scripts
+
+ .. versionchanged:: 2.5
+ The module name can now include packages.
+
+
+.. describe:: `` end tag is processed by the `JavascriptLexer`, while the
+end tag is yielded as a normal token with the `Name.Tag` type.
+
+As an additional goodie, if the lexer class is replaced by `this` (imported from
+`pygments.lexer`), the "other" lexer will be the current one (because you cannot
+refer to the current class within the code that runs at class definition time).
+
+Also note the ``(r'<\s*script\s*', Name.Tag, ('script-content', 'tag'))`` rule.
+Here, two states are pushed onto the state stack, ``'script-content'`` and
+``'tag'``. That means that first ``'tag'`` is processed, which will parse
+attributes and the closing ``>``, then the ``'tag'`` state is popped and the
+next state on top of the stack will be ``'script-content'``.
+
+The `using()` helper has a special keyword argument, `state`, which works as
+follows: if given, the lexer to use initially is not in the ``"root"`` state,
+but in the state given by this argument. This *only* works with a `RegexLexer`.
+
+Any other keywords arguments passed to `using()` are added to the keyword
+arguments used to create the lexer.
+
+
+Delegating Lexer
+================
+
+Another approach for nested lexers is the `DelegatingLexer` which is for
+example used for the template engine lexers. It takes two lexers as
+arguments on initialisation: a `root_lexer` and a `language_lexer`.
+
+The input is processed as follows: First, the whole text is lexed with the
+`language_lexer`. All tokens yielded with a type of ``Other`` are then
+concatenated and given to the `root_lexer`. The language tokens of the
+`language_lexer` are then inserted into the `root_lexer`'s token stream
+at the appropriate positions.
+
+.. sourcecode:: python
+
+ from pygments.lexer import DelegatingLexer
+ from pygments.lexers.web import HtmlLexer, PhpLexer
+
+ class HtmlPhpLexer(DelegatingLexer):
+ def __init__(self, **options):
+ super(HtmlPhpLexer, self).__init__(HtmlLexer, PhpLexer, **options)
+
+This procedure ensures that e.g. HTML with template tags in it is highlighted
+correctly even if the template tags are put into HTML tags or attributes.
+
+If you want to change the needle token ``Other`` to something else, you can
+give the lexer another token type as the third parameter:
+
+.. sourcecode:: python
+
+ DelegatingLexer.__init__(MyLexer, OtherLexer, Text, **options)
+
+
+Callbacks
+=========
+
+Sometimes the grammar of a language is so complex that a lexer would be unable
+to parse it just by using regular expressions and stacks.
+
+For this, the `RegexLexer` allows callbacks to be given in rule tuples, instead
+of token types (`bygroups` and `using` are nothing else but preimplemented
+callbacks). The callback must be a function taking two arguments:
+
+* the lexer itself
+* the match object for the last matched rule
+
+The callback must then return an iterable of (or simply yield) ``(index,
+tokentype, value)`` tuples, which are then just passed through by
+`get_tokens_unprocessed()`. The ``index`` here is the position of the token in
+the input string, ``tokentype`` is the normal token type (like `Name.Builtin`),
+and ``value`` the associated part of the input string.
+
+You can see an example here:
+
+.. sourcecode:: python
+
+ from pygments.lexer import RegexLexer
+ from pygments.token import Generic
+
+ class HypotheticLexer(RegexLexer):
+
+ def headline_callback(lexer, match):
+ equal_signs = match.group(1)
+ text = match.group(2)
+ yield match.start(), Generic.Headline, equal_signs + text + equal_signs
+
+ tokens = {
+ 'root': [
+ (r'(=+)(.*?)(\1)', headline_callback)
+ ]
+ }
+
+If the regex for the `headline_callback` matches, the function is called with the
+match object. Note that after the callback is done, processing continues
+normally, that is, after the end of the previous match. The callback has no
+possibility to influence the position.
+
+There are not really any simple examples for lexer callbacks, but you can see
+them in action e.g. in the `compiled.py`_ source code in the `CLexer` and
+`JavaLexer` classes.
+
+.. _compiled.py: http://trac.pocoo.org/repos/pygments/lexers/compiled.py
+
+
+The ExtendedRegexLexer class
+============================
+
+The `RegexLexer`, even with callbacks, unfortunately isn't powerful enough for
+the funky syntax rules of some languages that will go unnamed, such as Ruby.
+
+But fear not; even then you don't have to abandon the regular expression
+approach. For Pygments has a subclass of `RegexLexer`, the `ExtendedRegexLexer`.
+All features known from RegexLexers are available here too, and the tokens are
+specified in exactly the same way, *except* for one detail:
+
+The `get_tokens_unprocessed()` method holds its internal state data not as local
+variables, but in an instance of the `pygments.lexer.LexerContext` class, and
+that instance is passed to callbacks as a third argument. This means that you
+can modify the lexer state in callbacks.
+
+The `LexerContext` class has the following members:
+
+* `text` -- the input text
+* `pos` -- the current starting position that is used for matching regexes
+* `stack` -- a list containing the state stack
+* `end` -- the maximum position to which regexes are matched, this defaults to
+ the length of `text`
+
+Additionally, the `get_tokens_unprocessed()` method can be given a
+`LexerContext` instead of a string and will then process this context instead of
+creating a new one for the string argument.
+
+Note that because you can set the current position to anything in the callback,
+it won't be automatically be set by the caller after the callback is finished.
+For example, this is how the hypothetical lexer above would be written with the
+`ExtendedRegexLexer`:
+
+.. sourcecode:: python
+
+ from pygments.lexer import ExtendedRegexLexer
+ from pygments.token import Generic
+
+ class ExHypotheticLexer(ExtendedRegexLexer):
+
+ def headline_callback(lexer, match, ctx):
+ equal_signs = match.group(1)
+ text = match.group(2)
+ yield match.start(), Generic.Headline, equal_signs + text + equal_signs
+ ctx.pos = match.end()
+
+ tokens = {
+ 'root': [
+ (r'(=+)(.*?)(\1)', headline_callback)
+ ]
+ }
+
+This might sound confusing (and it can really be). But it is needed, and for an
+example look at the Ruby lexer in `agile.py`_.
+
+.. _agile.py: http://trac.pocoo.org/repos/pygments/trunk/pygments/lexers/agile.py
+
+
+Filtering Token Streams
+=======================
+
+Some languages ship a lot of builtin functions (for example PHP). The total
+amount of those functions differs from system to system because not everybody
+has every extension installed. In the case of PHP there are over 3000 builtin
+functions. That's an incredible huge amount of functions, much more than you
+can put into a regular expression.
+
+But because only `Name` tokens can be function names it's solvable by overriding
+the ``get_tokens_unprocessed()`` method. The following lexer subclasses the
+`PythonLexer` so that it highlights some additional names as pseudo keywords:
+
+.. sourcecode:: python
+
+ from pygments.lexers.agile import PythonLexer
+ from pygments.token import Name, Keyword
+
+ class MyPythonLexer(PythonLexer):
+ EXTRA_KEYWORDS = ['foo', 'bar', 'foobar', 'barfoo', 'spam', 'eggs']
+
+ def get_tokens_unprocessed(self, text):
+ for index, token, value in PythonLexer.get_tokens_unprocessed(self, text):
+ if token is Name and value in self.EXTRA_KEYWORDS:
+ yield index, Keyword.Pseudo, value
+ else:
+ yield index, token, value
+
+The `PhpLexer` and `LuaLexer` use this method to resolve builtin functions.
+
+**Note** Do not confuse this with the `filter`_ system.
+
+.. _filter: filters.txt
Added: external/Pygments-0.9/docs/src/lexers.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/lexers.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,62 @@
+.. -*- mode: rst -*-
+
+================
+Available lexers
+================
+
+This page lists all available builtin lexers and the options they take.
+
+Currently, **all lexers** support these options:
+
+`stripnl`
+ Strip leading and trailing newlines from the input (default: ``True``)
+
+`stripall`
+ Strip all leading and trailing whitespace from the input (default:
+ ``False``).
+
+`tabsize`
+ If given and greater than 0, expand tabs in the input (default: ``0``).
+
+`encoding`
+ *New in Pygments 0.6.*
+
+ If given, must be an encoding name (such as ``"utf-8"``). This encoding
+ will be used to convert the input string to Unicode (if it is not already
+ a Unicode string). The default is ``"latin1"``.
+
+ If this option is set to ``"guess"``, a simple UTF-8 vs. Latin-1
+ detection is used, if it is set to ``"chardet"``, the
+ `chardet library `__ is used to
+ guess the encoding of the input.
+
+
+The "Short Names" field lists the identifiers that can be used with the
+`get_lexer_by_name()` function.
+
+These lexers are builtin and can be imported from `pygments.lexers`:
+
+[builtin_lexer_docs]
+
+Iterating over all lexers
+-------------------------
+
+*New in Pygments 0.6.*
+
+To get all lexers (both the builtin and the plugin ones), you can
+use the `get_all_lexers()` function from the `pygments.lexers`
+module:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.lexers import get_all_lexers
+ >>> i = get_all_lexers()
+ >>> i.next()
+ ('Diff', ('diff',), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch'))
+ >>> i.next()
+ ('Delphi', ('delphi', 'objectpascal', 'pas', 'pascal'), ('*.pas',), ('text/x-pascal',))
+ >>> i.next()
+ ('XML+Ruby', ('xml+erb', 'xml+ruby'), (), ())
+
+As you can see, the return value is an iterator which yields tuples
+in the form ``(name, aliases, filetypes, mimetypes)``.
Added: external/Pygments-0.9/docs/src/moinmoin.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/moinmoin.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,39 @@
+.. -*- mode: rst -*-
+
+============================
+Using Pygments with MoinMoin
+============================
+
+From Pygments 0.7, the source distribution ships a `Moin`_ parser plugin that
+can be used to get Pygments highlighting in Moin wiki pages.
+
+To use it, copy the file `external/moin-parser.py` from the Pygments
+distribution to the `data/plugin/parser` subdirectory of your Moin instance.
+Edit the options at the top of the file (currently ``ATTACHMENTS`` and
+``INLINESTYLES``) and rename the file to the name that the parser directive
+should have. For example, if you name the file ``code.py``, you can get a
+highlighted Python code sample with this Wiki markup::
+
+ {{{
+ #!code python
+ [...]
+ }}}
+
+where ``python`` is the Pygments name of the lexer to use.
+
+Additionally, if you set the ``ATTACHMENTS`` option to True, Pygments will also
+be called for all attachments for whose filenames there is no other parser
+registered.
+
+You are responsible for including CSS rules that will map the Pygments CSS
+classes to colors. You can output a stylesheet file with `pygmentize`, put it
+into the `htdocs` directory of your Moin instance and then include it in the
+`stylesheets` configuration option in the Moin config, e.g.::
+
+ stylesheets = [('screen', '/htdocs/pygments.css')]
+
+If you do not want to do that and are willing to accept larger HTML output, you
+can set the ``INLINESTYLES`` option to True.
+
+
+.. _Moin: http://moinmoin.wikiwikiweb.de/
Added: external/Pygments-0.9/docs/src/plugins.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/plugins.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,94 @@
+================
+Register Plugins
+================
+
+If you want to extend Pygments without hacking the sources, but want to
+use the lexer/formatter/style/filter lookup functions (`lexers.get_lexer_by_name`
+et al.), you can use `setuptools`_ entrypoints to add new lexers, formatters
+or styles as if they were in the Pygments core.
+
+.. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools
+
+That means you can use your highlighter modules with the `pygmentize` script,
+which relies on the mentioned functions.
+
+
+Entrypoints
+===========
+
+Here is a list of setuptools entrypoints that Pygments understands:
+
+`pygments.lexers`
+
+ This entrypoint is used for adding new lexers to the Pygments core.
+ The name of the entrypoint values doesn't really matter, Pygments extracts
+ required metadata from the class definition:
+
+ .. sourcecode:: ini
+
+ [pygments.lexers]
+ yourlexer = yourmodule:YourLexer
+
+ Note that you have to define ``name``, ``aliases`` and ``filename``
+ attributes so that you can use the highlighter from the command line:
+
+ .. sourcecode:: python
+
+ class YourLexer(...):
+ name = 'Name Of Your Lexer'
+ aliases = ['alias']
+ filenames = ['*.ext']
+
+
+`pygments.formatters`
+
+ You can use this entrypoint to add new formatters to Pygments. The
+ name of an entrypoint item is the name of the formatter. If you
+ prefix the name with a slash it's used as a filename pattern:
+
+ .. sourcecode:: ini
+
+ [pygments.formatters]
+ yourformatter = yourmodule:YourFormatter
+ /.ext = yourmodule:YourFormatter
+
+
+`pygments.styles`
+
+ To add a new style you can use this entrypoint. The name of the entrypoint
+ is the name of the style:
+
+ .. sourcecode:: ini
+
+ [pygments.styles]
+ yourstyle = yourmodule:YourStyle
+
+
+`pygments.filters`
+
+ Use this entrypoint to register a new filter. The name of the
+ entrypoint is the name of the filter:
+
+ .. sourcecode:: ini
+
+ [pygments.filters]
+ yourfilter = yourmodule:YourFilter
+
+
+How To Use Entrypoints
+======================
+
+This documentation doesn't explain how to use those entrypoints because this is
+covered in the `setuptools documentation`_. That page should cover everything
+you need to write a plugin. Also `this blog entry`_ might be interesting.
+
+.. _setuptools documentation: http://peak.telecommunity.com/DevCenter/setuptools
+.. _this blog entry: http://lucumr.pocoo.org/entry/setuptools-plugins/
+
+
+Extending The Core
+==================
+
+If you have written a Pygments plugin that is open source, please inform us
+about that. There is a high chance that we'll add it to the Pygments
+distribution.
Added: external/Pygments-0.9/docs/src/quickstart.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/quickstart.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,191 @@
+.. -*- mode: rst -*-
+
+===========================
+Introduction and Quickstart
+===========================
+
+
+Welcome to Pygments! This document explains the basic concepts and terms and
+gives a few examples of how to use the library.
+
+
+Architecture
+============
+
+There are four types of components that work together highlighting a piece of
+code:
+
+* A **lexer** splits the source into tokens, fragments of the source that
+ have a token type that determines what the text represents semantically
+ (e.g., keyword, string, or comment). There is a lexer for every language
+ or markup format that Pygments supports.
+* The token stream can be piped through **filters**, which usually modify
+ the token types or text fragments, e.g. uppercasing all keywords.
+* A **formatter** then takes the token stream and writes it to an output
+ file, in a format such as HTML, LaTeX or RTF.
+* While writing the output, a **style** determines how to highlight all the
+ different token types. It maps them to attributes like "red and bold".
+
+
+Example
+=======
+
+Here is a small example for highlighting Python code:
+
+.. sourcecode:: python
+
+ from pygments import highlight
+ from pygments.lexers import PythonLexer
+ from pygments.formatters import HtmlFormatter
+
+ code = 'print "Hello World"'
+ print highlight(code, PythonLexer(), HtmlFormatter())
+
+which prints something like this:
+
+.. sourcecode:: html
+
+
+
print"Hello World"
+
+
+As you can see, Pygments uses CSS classes (by default, but you can change that)
+instead of inline styles in order to avoid outputting redundant style information over
+and over. A CSS stylesheet that contains all CSS classes possibly used in the output
+can be produced by:
+
+.. sourcecode:: python
+
+ print HtmlFormatter().get_style_defs('.highlight')
+
+The argument to `get_style_defs` is used as an additional CSS selector: the output
+may look like this:
+
+.. sourcecode:: css
+
+ .highlight .k { color: #AA22FF; font-weight: bold }
+ .highlight .s { color: #BB4444 }
+ ...
+
+
+Options
+=======
+
+The `highlight()` function supports a fourth argument called `outfile`, it must be
+a file object if given. The formatted output will then be written to this file
+instead of being returned as a string.
+
+Lexers and formatters both support options. They are given to them as keyword
+arguments either to the class or to the lookup method:
+
+.. sourcecode:: python
+
+ from pygments import highlight
+ from pygments.lexers import get_lexer_by_name
+ from pygments.formatters import HtmlFormatter
+
+ lexer = get_lexer_by_name("python", stripall=True)
+ formatter = HtmlFormatter(linenos=True, cssclass="source")
+ result = highlight(code, lexer, formatter)
+
+This makes the lexer strip all leading and trailing whitespace from the input
+(`stripall` option), lets the formatter output line numbers (`linenos` option),
+and sets the wrapping ``
``'s class to ``source`` (instead of
+``highlight``).
+
+Important options include:
+
+`encoding` : for lexers and formatters
+ Since Pygments uses Unicode strings internally, this determines which
+ encoding will be used to convert to or from byte strings.
+`style` : for formatters
+ The name of the style to use when writing the output.
+
+
+For an overview of builtin lexers and formatters and their options, visit the
+`lexer `_ and `formatters `_ lists.
+
+For a documentation on filters, see `this page `_.
+
+
+Lexer and formatter lookup
+==========================
+
+If you want to lookup a built-in lexer by its alias or a filename, you can use
+one of the following methods:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.lexers import (get_lexer_by_name,
+ ... get_lexer_for_filename, get_lexer_for_mimetype)
+
+ >>> get_lexer_by_name('python')
+
+
+ >>> get_lexer_for_filename('spam.rb')
+
+
+ >>> get_lexer_for_mimetype('text/x-perl')
+
+
+All these functions accept keyword arguments; they will be passed to the lexer
+as options.
+
+A similar API is available for formatters: use `get_formatter_by_name()` and
+`get_formatter_for_filename()` from the `pygments.formatters` module
+for this purpose.
+
+
+Guessing lexers
+===============
+
+If you don't know the content of the file, or you want to highlight a file
+whose extension is ambiguous, such as ``.html`` (which could contain plain HTML
+or some template tags), use these functions:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.lexers import guess_lexer, guess_lexer_for_filename
+
+ >>> guess_lexer('#!/usr/bin/python\nprint "Hello World!"')
+
+
+ >>> guess_lexer_for_filename('test.py', 'print "Hello World!"')
+
+
+`guess_lexer()` passes the given content to the lexer classes' `analyze_text()`
+method and returns the one for which it returns the highest number.
+
+All lexers have two different filename pattern lists: the primary and the
+secondary one. The `get_lexer_for_filename()` function only uses the primary
+list, whose entries are supposed to be unique among all lexers.
+`guess_lexer_for_filename()`, however, will first loop through all lexers and
+look at the primary and secondary filename patterns if the filename matches.
+If only one lexer matches, it is returned, else the guessing mechanism of
+`guess_lexer()` is used with the matching lexers.
+
+As usual, keyword arguments to these functions are given to the created lexer
+as options.
+
+
+Command line usage
+==================
+
+You can use Pygments from the command line, using the `pygmentize` script::
+
+ $ pygmentize test.py
+
+will highlight the Python file test.py using ANSI escape sequences
+(a.k.a. terminal colors) and print the result to standard output.
+
+To output HTML, use the ``-f`` option::
+
+ $ pygmentize -f html -o test.html test.py
+
+to write an HTML-highlighted version of test.py to the file test.html.
+
+The stylesheet can be created with::
+
+ $ pygmentize -S default -f html > style.css
+
+More options and tricks and be found in the `command line referene `_.
Added: external/Pygments-0.9/docs/src/rstdirective.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/rstdirective.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,22 @@
+.. -*- mode: rst -*-
+
+================================
+Using Pygments in ReST documents
+================================
+
+Many Python people use `ReST`_ for documentation their sourcecode, programs,
+scripts et cetera. This also means that documentation often includes sourcecode
+samples or snippets.
+
+You can easily enable Pygments support for your ReST texts using a custom
+directive -- this is also how this documentation displays source code.
+
+From Pygments 0.9, the directive is shipped in the distribution as
+`external/rst-directive.py`. You can copy and adapt this code to your liking.
+
+
+*Loosely related note:* The ReST lexer now recognizes ``.. sourcecode::`` and
+``.. code::`` directives and highlights the contents in the specified language
+if the `handlecodeblocks` option is true.
+
+.. _ReST: http://docutils.sf.net/rst.html
Added: external/Pygments-0.9/docs/src/styles.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/styles.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,143 @@
+.. -*- mode: rst -*-
+
+======
+Styles
+======
+
+Pygments comes with some builtin styles that work for both the HTML and
+LaTeX formatter.
+
+The builtin styles can be looked up with the `get_style_by_name` function:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.styles import get_style_by_name
+ >>> get_style_by_name('colorful')
+
+
+You can pass a instance of a `Style` class to a formatter as the `style`
+option in form of a string:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.styles import get_style_by_name
+ >>> HtmlFormatter(style='colorful').style
+
+
+Or you can also import your own style (which must be a subclass of
+`pygments.style.Style`) and pass it to the formatter:
+
+.. sourcecode:: pycon
+
+ >>> from yourapp.yourmodule import YourStyle
+ >>> HtmlFormatter(style=YourStyle).style
+
+
+
+Creating Own Styles
+===================
+
+So, how to create a style? All you have to do is to subclass `Style` and
+define some styles:
+
+.. sourcecode:: python
+
+ from pygments.style import Style
+ from pygments.token import Keyword, Name, Comment, String, Error, \
+ Number, Operator, Generic
+
+ class YourStyle(Style):
+ default_style = ""
+ styles = {
+ Comment: 'italic #888',
+ Keyword: 'bold #005',
+ Name: '#f00',
+ Name.Function: '#0f0',
+ Name.Class: 'bold #0f0',
+ String: 'bg:#eee #111'
+ }
+
+That's it. There are just a few rules. When you define a style for `Name`
+the style automatically also affects `Name.Function` and so on. If you
+defined ``'bold'`` and you don't want boldface for a subtoken use ``'nobold'``.
+
+(Philosophy: the styles aren't written in CSS syntax since this way
+they can be used for a variety of formatters.)
+
+`default_style` is the style inherited by all token types.
+
+To make the style usable for Pygments, you must
+
+* either register it as a plugin (see `the plugin docs `_)
+* or drop it into the `styles` subpackage of your Pygments distribution one style
+ class per style, where the file name is the style name and the class name is
+ `StylenameClass`. For example, if your style should be called
+ ``"mondrian"``, name the class `MondrianStyle`, put it into the file
+ ``mondrian.py`` and this file into the ``pygments.styles`` subpackage
+ directory.
+
+
+Style Rules
+===========
+
+Here a small overview of all allowed styles:
+
+``bold``
+ render text as bold
+``nobold``
+ don't render text as bold (to prevent subtokens behing highlighted bold)
+``italic``
+ render text italic
+``noitalic``
+ don't render text as italic
+``underline``
+ render text underlined
+``nounderline``
+ don't render text underlined
+``bg:``
+ transparent background
+``bg:#000000``
+ background color (black)
+``border:``
+ no border
+``border:#ffffff``
+ border color (white)
+``#ff0000``
+ text color (red)
+``noinherit``
+ don't inherit styles from supertoken
+
+Note that there may not be a space between ``bg:`` and the color value
+since the style definition string is split at whitespace.
+Also, using named colors is not allowed since the supported color names
+vary for different formatters.
+
+Furthermore, not all lexers might support every style.
+
+
+Builtin Styles
+==============
+
+Pygments ships some builtin styles which are maintained by the Pygments team.
+
+To get a list of known styles you can use this snippet:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.styles import STYLE_MAP
+ >>> STYLE_MAP.keys()
+ ['default', 'emacs', 'friendly', 'colorful']
+
+
+Getting a list of available styles
+==================================
+
+*New in Pygments 0.6.*
+
+Because it could be that a plugin registered a style, there is
+a way to iterate over all styles:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.styles import get_all_styles
+ >>> styles = list(get_all_styles())
Added: external/Pygments-0.9/docs/src/tokens.txt
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/docs/src/tokens.txt Tue Oct 23 20:20:22 2007
@@ -0,0 +1,345 @@
+.. -*- mode: rst -*-
+
+==============
+Builtin Tokens
+==============
+
+Inside the `pygments.token` module, there is a special object called `Token`
+that is used to create token types.
+
+You can create a new token type by accessing an attribute of `Token`:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.token import Token
+ >>> Token.String
+ Token.String
+ >>> Token.String is Token.String
+ True
+
+Note that tokens are singletons so you can use the ``is`` operator for comparing
+token types.
+
+As of Pygments 0.7 you can also use the ``in`` operator to perform set tests:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.token import Comment
+ >>> Comment.Single in Comment
+ True
+ >>> Comment in Comment.Multi
+ False
+
+This can be useful in `filters`_ and if you write lexers on your own without
+using the base lexers.
+
+You can also split a token type into a hierarchy, and get the parent of it:
+
+.. sourcecode:: pycon
+
+ >>> String.split()
+ [Token, Token.Literal, Token.Literal.String]
+ >>> String.parent
+ Token.Literal
+
+In principle, you can create an unlimited number of token types but nobody can
+guarantee that a style would define style rules for a token type. Because of
+that, Pygments proposes some global token types defined in the
+`pygments.token.STANDARD_TYPES` dict.
+
+For some tokens aliases are already defined:
+
+.. sourcecode:: pycon
+
+ >>> from pygments.token import String
+ >>> String
+ Token.Literal.String
+
+Inside the `pygments.token` module the following aliases are defined:
+
+============= ============================ ====================================
+`Text` `Token.Text` for any type of text data
+`Whitespace` `Token.Text.Whitespace` for specially highlighted whitespace
+`Error` `Token.Error` represents lexer errors
+`Other` `Token.Other` special token for data not
+ matched by a parser (e.g. HTML
+ markup in PHP code)
+`Keyword` `Token.Keyword` any kind of keywords
+`Name` `Token.Name` variable/function names
+`Literal` `Token.Literal` Any literals
+`String` `Token.Literal.String` string literals
+`Number` `Token.Literal.Number` number literals
+`Operator` `Token.Operator` operators (``+``, ``not``...)
+`Punctuation` `Token.Punctuation` punctuation (``[``, ``(``...)
+`Comment` `Token.Comment` any kind of comments
+`Generic` `Token.Generic` generic tokens (have a look at
+ the explanation below)
+============= ============================ ====================================
+
+The `Whitespace` token type is new in Pygments 0.8. It is used only by the
+`VisibleWhitespaceFilter` currently.
+
+Normally you just create token types using the already defined aliases. For each
+of those token aliases, a number of subtypes exists (excluding the special tokens
+`Token.Text`, `Token.Error` and `Token.Other`)
+
+The `is_token_subtype()` function in the `pygments.token` module can be used to
+test if a token type is a subtype of another (such as `Name.Tag` and `Name`).
+(This is the same as ``Name.Tag in Name``. The overloaded `in` operator was newly
+introduced in Pygments 0.7, the function still exists for backwards
+compatiblity.)
+
+With Pygments 0.7, it's also possible to convert strings to token types (for example
+if you want to supply a token from the command line):
+
+.. sourcecode:: pycon
+
+ >>> from pygments.token import String, string_to_tokentype
+ >>> string_to_tokentype("String")
+ Token.Literal.String
+ >>> string_to_tokentype("Token.Literal.String")
+ Token.Literal.String
+ >>> string_to_tokentype(String)
+ Token.Literal.String
+
+
+Keyword Tokens
+==============
+
+`Keyword`
+ For any kind of keyword (especially if it doesn't match any of the
+ subtypes of course).
+
+`Keyword.Constant`
+ For keywords that are constants (e.g. ``None`` in future Python versions).
+
+`Keyword.Declaration`
+ For keywords used for variable declaration (e.g. ``var`` in some programming
+ languages like JavaScript).
+
+`Keyword.Pseudo`
+ For keywords that aren't really keywords (e.g. ``None`` in old Python
+ versions).
+
+`Keyword.Reserved`
+ For reserved keywords.
+
+`Keyword.Type`
+ For builtin types that can't be used as identifiers (e.g. ``int``,
+ ``char`` etc. in C).
+
+
+Name Tokens
+===========
+
+`Name`
+ For any name (variable names, function names, classes).
+
+`Name.Attribute`
+ For all attributes (e.g. in HTML tags).
+
+`Name.Builtin`
+ Builtin names; names that are available in the global namespace.
+
+`Name.Builtin.Pseudo`
+ Builtin names that are implicit (e.g. ``self`` in Ruby, ``this`` in Java).
+
+`Name.Class`
+ Class names. Because no lexer can know if a name is a class or a function
+ or something else this token is meant for class declarations.
+
+`Name.Constant`
+ Token type for constants. In some languages you can recognise a token by the
+ way it's defined (the value after a ``const`` keyword for example). In
+ other languages constants are uppercase by definition (Ruby).
+
+`Name.Decorator`
+ Token type for decorators. Decorators are synatic elements in the Python
+ language. Similar syntax elements exist in C# and Java.
+
+`Name.Entity`
+ Token type for special entities. (e.g. `` `` in HTML).
+
+`Name.Exception`
+ Token type for exception names (e.g. ``RuntimeError`` in Python). Some languages
+ define exceptions in the function signature (Java). You can highlight
+ the name of that exception using this token then.
+
+`Name.Function`
+ Token type for function names.
+
+`Name.Label`
+ Token type for label names (e.g. in languages that support ``goto``).
+
+`Name.Namespace`
+ Token type for namespaces. (e.g. import paths in Java/Python), names following
+ the ``module``/``namespace`` keyword in other languages.
+
+`Name.Other`
+ Other names. Normally unused.
+
+`Name.Tag`
+ Tag names (in HTML/XML markup or configuration files).
+
+`Name.Variable`
+ Token type for variables. Some languages have prefixes for variable names
+ (PHP, Ruby, Perl). You can highlight them using this token.
+
+`Name.Variable.Class`
+ same as `Name.Variable` but for class variables (also static variables).
+
+`Name.Variable.Global`
+ same as `Name.Variable` but for global variables (used in Ruby, for
+ example).
+
+`Name.Variable.Instance`
+ same as `Name.Variable` but for instance variables.
+
+
+Literals
+========
+
+`Literal`
+ For any literal (if not further defined).
+
+`Literal.Date`
+ for date literals (e.g. ``42d`` in Boo).
+
+
+`String`
+ For any string literal.
+
+`String.Backtick`
+ Token type for strings enclosed in backticks.
+
+`String.Char`
+ Token type for single characters (e.g. Java, C).
+
+`String.Doc`
+ Token type for documentation strings (for example Python).
+
+`String.Double`
+ Double quoted strings.
+
+`String.Escape`
+ Token type for escape sequences in strings.
+
+`String.Heredoc`
+ Token type for "heredoc" strings (e.g. in Ruby or Perl).
+
+`String.Interpol`
+ Token type for interpolated parts in strings (e.g. ``#{foo}`` in Ruby).
+
+`String.Other`
+ Token type for any other strings (for example ``%q{foo}`` string constructs
+ in Ruby).
+
+`String.Regex`
+ Token type for regular expression literals (e.g. ``/foo/`` in JavaScript).
+
+`String.Single`
+ Token type for single quoted strings.
+
+`String.Symbol`
+ Token type for symbols (e.g. ``:foo`` in LISP or Ruby).
+
+
+`Number`
+ Token type for any number literal.
+
+`Number.Float`
+ Token type for float literals (e.g. ``42.0``).
+
+`Number.Hex`
+ Token type for hexadecimal number literals (e.g. ``0xdeadbeef``).
+
+`Number.Integer`
+ Token type for integer literals (e.g. ``42``).
+
+`Number.Integer.Long`
+ Token type for long integer literals (e.g. ``42L`` in Python).
+
+`Number.Oct`
+ Token type for octal literals.
+
+
+Operators
+=========
+
+`Operator`
+ For any punctuation operator (e.g. ``+``, ``-``).
+
+`Operator.Word`
+ For any operator that is a word (e.g. ``not``).
+
+
+Punctuation
+===========
+
+*New in Pygments 0.7.*
+
+`Punctuation`
+ For any punctuation which is not an operator (e.g. ``[``, ``(``...)
+
+
+Comments
+========
+
+`Comment`
+ Token type for any comment.
+
+`Comment.Multiline`
+ Token type for multiline comments.
+
+`Comment.Preproc`
+ Token type for preprocessor comments (also ```_.
+
+*New in Pygments 0.7*: the formatters now also accept an `outencoding` option
+which will override the `encoding` option if given. This makes it possible to
+use a single options dict with lexers and formatters, and still have different
+input and output encodings.
+
+.. _chardet: http://chardet.feedparser.org/
Added: external/Pygments-0.9/external/markdown-processor.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/external/markdown-processor.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+"""
+ The Pygments Markdown Preprocessor
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ This fragment is a Markdown_ preprocessor that renders source code
+ to HTML via Pygments. To use it, invoke Markdown like so::
+
+ from markdown import Markdown
+
+ md = Markdown()
+ md.preprocessors.insert(0, CodeBlockPreprocessor())
+ markdown = md.__str__
+
+ markdown is then a callable that can be passed to the context of
+ a template and used in that template, for example.
+
+ This uses CSS classes by default, so use
+ ``pygmentize -S -f html > pygments.css``
+ to create a stylesheet to be added to the website.
+
+ You can then highlight source code in your markdown markup::
+
+ [sourcecode:lexer]
+ some code
+ [/sourcecode]
+
+ .. _Markdown: http://www.freewisdom.org/projects/python-markdown/
+
+ :copyright: 2007 by Jochen Kupperschmidt.
+ :license: BSD, see LICENSE for more details.
+"""
+
+# Options
+# ~~~~~~~
+
+# Set to True if you want inline CSS styles instead of classes
+INLINESTYLES = False
+
+
+import re
+
+from markdown import Preprocessor
+
+from pygments import highlight
+from pygments.formatters import HtmlFormatter
+from pygments.lexers import get_lexer_by_name, TextLexer
+
+
+class CodeBlockPreprocessor(Preprocessor):
+
+ pattern = re.compile(
+ r'\[sourcecode:(.+?)\](.+?)\[/sourcecode\]', re.S)
+
+ formatter = HtmlFormatter(noclasses=INLINESTYLES)
+
+ def run(self, lines):
+ def repl(m):
+ try:
+ lexer = get_lexer_by_name(m.group(1))
+ except ValueError:
+ lexer = TextLexer()
+ code = highlight(m.group(2), lexer, formatter)
+ code = code.replace('\n\n', '\n \n')
+ return '\n\n
%s
\n\n' % code
+ return self.pattern.sub(
+ repl, '\n'.join(lines)).split('\n')
Added: external/Pygments-0.9/external/moin-parser.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/external/moin-parser.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,112 @@
+# -*- coding: utf-8 -*-
+"""
+ The Pygments MoinMoin Parser
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ This is a MoinMoin parser plugin that renders source code to HTML via
+ Pygments; you need Pygments 0.7 or newer for this parser to work.
+
+ To use it, set the options below to match your setup and put this file in
+ the data/plugin/parser subdirectory of your Moin instance, and give it the
+ name that the parser directive should have. For example, if you name the
+ file ``code.py``, you can get a highlighted Python code sample with this
+ Wiki markup::
+
+ {{{
+ #!code python
+ [...]
+ }}}
+
+ Additionally, if you set ATTACHMENTS below to True, Pygments will also be
+ called for all attachments for whose filenames there is no other parser
+ registered.
+
+ You are responsible for including CSS rules that will map the Pygments CSS
+ classes to colors. You can output a stylesheet file with `pygmentize`, put
+ it into the `htdocs` directory of your Moin instance and then include it in
+ the `stylesheets` configuration option in the Moin config, e.g.::
+
+ stylesheets = [('screen', '/htdocs/pygments.css')]
+
+ If you do not want to do that and are willing to accept larger HTML
+ output, you can set the INLINESTYLES option below to True.
+
+ :copyright: 2007 by Georg Brandl.
+ :license: BSD, see LICENSE for more details.
+"""
+
+# Options
+# ~~~~~~~
+
+# Set to True if you want to highlight attachments, in addition to
+# {{{ }}} blocks.
+ATTACHMENTS = True
+
+# Set to True if you want inline CSS styles instead of classes
+INLINESTYLES = False
+
+
+import sys
+
+from pygments import highlight
+from pygments.lexers import get_lexer_by_name, get_lexer_for_filename, TextLexer
+from pygments.formatters import HtmlFormatter
+from pygments.util import ClassNotFound
+
+
+# wrap lines in s so that the Moin-generated line numbers work
+class MoinHtmlFormatter(HtmlFormatter):
+ def wrap(self, source, outfile):
+ for line in source:
+ yield 1, '' + line[1] + ''
+
+htmlformatter = MoinHtmlFormatter(noclasses=INLINESTYLES)
+textlexer = TextLexer()
+codeid = [0]
+
+
+class Parser:
+ """
+ MoinMoin Pygments parser.
+ """
+ if ATTACHMENTS:
+ extensions = '*'
+ else:
+ extensions = []
+
+ Dependencies = []
+
+ def __init__(self, raw, request, **kw):
+ self.raw = raw
+ self.req = request
+ if "format_args" in kw:
+ # called from a {{{ }}} block
+ try:
+ self.lexer = get_lexer_by_name(kw['format_args'].strip())
+ except ClassNotFound:
+ self.lexer = textlexer
+ return
+ if "filename" in kw:
+ # called for an attachment
+ filename = kw['filename']
+ else:
+ # called for an attachment by an older moin
+ # HACK: find out the filename by peeking into the execution
+ # frame which might not always work
+ try:
+ frame = sys._getframe(1)
+ filename = frame.f_locals['filename']
+ except:
+ filename = 'x.txt'
+ try:
+ self.lexer = get_lexer_for_filename(filename)
+ except ClassNotFound:
+ self.lexer = textlexer
+
+ def format(self, formatter):
+ codeid[0] += 1
+ id = "pygments_%s" % codeid[0]
+ w = self.req.write
+ w(formatter.code_area(1, id, start=1, step=1))
+ w(formatter.rawHTML(highlight(self.raw, self.lexer, htmlformatter)))
+ w(formatter.code_area(0, id))
Added: external/Pygments-0.9/external/rst-directive.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/external/rst-directive.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,77 @@
+# -*- coding: utf-8 -*-
+"""
+ The Pygments MoinMoin Parser
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ This fragment is a Docutils_ 0.4 directive that renders source code
+ (to HTML only, currently) via Pygments.
+
+ To use it, adjust the options below and copy the code into a module
+ that you import on initialization. The code then automatically
+ registers a ``sourcecode`` directive that you can use instead of
+ normal code blocks like this::
+
+ .. sourcecode:: python
+
+ My code goes here.
+
+ If you want to have different code styles, e.g. one with line numbers
+ and one without, add formatters with their names in the VARIANTS dict
+ below. You can invoke them instead of the DEFAULT one by using a
+ directive option::
+
+ .. sourcecode:: python
+ :linenos:
+
+ My code goes here.
+
+ Look at the `directive documentation`_ to get all the gory details.
+
+ .. _Docutils: http://docutils.sf.net/
+ .. _directive documentation:
+ http://docutils.sourceforge.net/docs/howto/rst-directives.html
+
+ :copyright: 2007 by Georg Brandl.
+ :license: BSD, see LICENSE for more details.
+"""
+
+# Options
+# ~~~~~~~
+
+# Set to True if you want inline CSS styles instead of classes
+INLINESTYLES = False
+
+from pygments.formatters import HtmlFormatter
+
+# The default formatter
+DEFAULT = HtmlFormatter(noclasses=INLINESTYLES)
+
+# Add name -> formatter pairs for every variant you want to use
+VARIANTS = {
+ # 'linenos': HtmlFormatter(noclasses=INLINESTYLES, linenos=True),
+}
+
+
+from docutils import nodes
+from docutils.parsers.rst import directives
+
+from pygments import highlight
+from pygments.lexers import get_lexer_by_name, TextLexer
+
+def pygments_directive(name, arguments, options, content, lineno,
+ content_offset, block_text, state, state_machine):
+ try:
+ lexer = get_lexer_by_name(arguments[0])
+ except ValueError:
+ # no lexer found - use the text one instead of an exception
+ lexer = TextLexer()
+ # take an arbitrary option if more than one is given
+ formatter = options and VARIANTS[options.keys()[0]] or DEFAULT
+ parsed = highlight(u'\n'.join(content), lexer, formatter)
+ return [nodes.raw('', parsed, format='html')]
+
+pygments_directive.arguments = (1, 0, 1)
+pygments_directive.content = 1
+pygments_directive.options = dict([(key, directives.flag) for key in VARIANTS])
+
+directives.register_directive('sourcecode', pygments_directive)
Added: external/Pygments-0.9/ez_setup.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/ez_setup.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,217 @@
+#!python
+"""Bootstrap setuptools installation
+
+If you want to use setuptools in your package's setup.py, just include this
+file in the same directory with it, and add this to the top of your setup.py::
+
+ from ez_setup import use_setuptools
+ use_setuptools()
+
+If you want to require a specific version of setuptools, set a download
+mirror, or use an alternate download directory, you can do so by supplying
+the appropriate options to ``use_setuptools()``.
+
+This file can also be run as a script to install or upgrade setuptools.
+"""
+import sys
+DEFAULT_VERSION = "0.6c3"
+DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % \
+ sys.version[:3]
+
+md5_data = {
+ 'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca',
+ 'setuptools-0.6b1-py2.4.egg': 'b79a8a403e4502fbb85ee3f1941735cb',
+ 'setuptools-0.6b2-py2.3.egg': '5657759d8a6d8fc44070a9d07272d99b',
+ 'setuptools-0.6b2-py2.4.egg': '4996a8d169d2be661fa32a6e52e4f82a',
+ 'setuptools-0.6b3-py2.3.egg': 'bb31c0fc7399a63579975cad9f5a0618',
+ 'setuptools-0.6b3-py2.4.egg': '38a8c6b3d6ecd22247f179f7da669fac',
+ 'setuptools-0.6b4-py2.3.egg': '62045a24ed4e1ebc77fe039aa4e6f7e5',
+ 'setuptools-0.6b4-py2.4.egg': '4cb2a185d228dacffb2d17f103b3b1c4',
+ 'setuptools-0.6c1-py2.3.egg': 'b3f2b5539d65cb7f74ad79127f1a908c',
+ 'setuptools-0.6c1-py2.4.egg': 'b45adeda0667d2d2ffe14009364f2a4b',
+ 'setuptools-0.6c2-py2.3.egg': 'f0064bf6aa2b7d0f3ba0b43f20817c27',
+ 'setuptools-0.6c2-py2.4.egg': '616192eec35f47e8ea16cd6a122b7277',
+ 'setuptools-0.6c3-py2.3.egg': 'f181fa125dfe85a259c9cd6f1d7b78fa',
+ 'setuptools-0.6c3-py2.4.egg': 'e0ed74682c998bfb73bf803a50e7b71e',
+ 'setuptools-0.6c3-py2.5.egg': 'abef16fdd61955514841c7c6bd98965e',
+}
+
+import sys, os
+
+def _validate_md5(egg_name, data):
+ if egg_name in md5_data:
+ from md5 import md5
+ digest = md5(data).hexdigest()
+ if digest != md5_data[egg_name]:
+ print >>sys.stderr, (
+ "md5 validation of %s failed! (Possible download problem?)"
+ % egg_name
+ )
+ sys.exit(2)
+ return data
+
+
+def use_setuptools(
+ version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,
+ download_delay=15
+):
+ """Automatically find/download setuptools and make it available on sys.path
+
+ `version` should be a valid setuptools version number that is available
+ as an egg for download under the `download_base` URL (which should end with
+ a '/'). `to_dir` is the directory where setuptools will be downloaded, if
+ it is not already available. If `download_delay` is specified, it should
+ be the number of seconds that will be paused before initiating a download,
+ should one be required. If an older version of setuptools is installed,
+ this routine will print a message to ``sys.stderr`` and raise SystemExit in
+ an attempt to abort the calling script.
+ """
+ try:
+ import setuptools
+ if setuptools.__version__ == '0.0.1':
+ print >>sys.stderr, (
+ "You have an obsolete version of setuptools installed. Please\n"
+ "remove it from your system entirely before rerunning this script."
+ )
+ sys.exit(2)
+ except ImportError:
+ egg = download_setuptools(version, download_base, to_dir, download_delay)
+ sys.path.insert(0, egg)
+ import setuptools; setuptools.bootstrap_install_from = egg
+
+ import pkg_resources
+ try:
+ pkg_resources.require("setuptools>="+version)
+
+ except pkg_resources.VersionConflict, e:
+ print >>sys.stderr, (
+ "The required version of setuptools (>=%s) is not available, and\n"
+ "can't be installed while this script is running. Please install\n"
+ " a more recent version first.\n\n(Currently using %r)"
+ ) % (version, e.args[0])
+ sys.exit(2)
+
+def download_setuptools(
+ version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir,
+ delay = 15
+):
+ """Download setuptools from a specified location and return its filename
+
+ `version` should be a valid setuptools version number that is available
+ as an egg for download under the `download_base` URL (which should end
+ with a '/'). `to_dir` is the directory where the egg will be downloaded.
+ `delay` is the number of seconds to pause before an actual download attempt.
+ """
+ import urllib2, shutil
+ egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3])
+ url = download_base + egg_name
+ saveto = os.path.join(to_dir, egg_name)
+ src = dst = None
+ if not os.path.exists(saveto): # Avoid repeated downloads
+ try:
+ from distutils import log
+ if delay:
+ log.warn("""
+---------------------------------------------------------------------------
+This script requires setuptools version %s to run (even to display
+help). I will attempt to download it for you (from
+%s), but
+you may need to enable firewall access for this script first.
+I will start the download in %d seconds.
+
+(Note: if this machine does not have network access, please obtain the file
+
+ %s
+
+and place it in this directory before rerunning this script.)
+---------------------------------------------------------------------------""",
+ version, download_base, delay, url
+ ); from time import sleep; sleep(delay)
+ log.warn("Downloading %s", url)
+ src = urllib2.urlopen(url)
+ # Read/write all in one block, so we don't create a corrupt file
+ # if the download is interrupted.
+ data = _validate_md5(egg_name, src.read())
+ dst = open(saveto,"wb"); dst.write(data)
+ finally:
+ if src: src.close()
+ if dst: dst.close()
+ return os.path.realpath(saveto)
+
+def main(argv, version=DEFAULT_VERSION):
+ """Install or upgrade setuptools and EasyInstall"""
+
+ try:
+ import setuptools
+ except ImportError:
+ egg = None
+ try:
+ egg = download_setuptools(version, delay=0)
+ sys.path.insert(0,egg)
+ from setuptools.command.easy_install import main
+ return main(list(argv)+[egg]) # we're done here
+ finally:
+ if egg and os.path.exists(egg):
+ os.unlink(egg)
+ else:
+ if setuptools.__version__ == '0.0.1':
+ # tell the user to uninstall obsolete version
+ use_setuptools(version)
+
+ req = "setuptools>="+version
+ import pkg_resources
+ try:
+ pkg_resources.require(req)
+ except pkg_resources.VersionConflict:
+ try:
+ from setuptools.command.easy_install import main
+ except ImportError:
+ from easy_install import main
+ main(list(argv)+[download_setuptools(delay=0)])
+ sys.exit(0) # try to force an exit
+ else:
+ if argv:
+ from setuptools.command.easy_install import main
+ main(argv)
+ else:
+ print "Setuptools version",version,"or greater has been installed."
+ print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)'
+
+
+
+def update_md5(filenames):
+ """Update our built-in md5 registry"""
+
+ import re
+ from md5 import md5
+
+ for name in filenames:
+ base = os.path.basename(name)
+ f = open(name,'rb')
+ md5_data[base] = md5(f.read()).hexdigest()
+ f.close()
+
+ data = [" %r: %r,\n" % it for it in md5_data.items()]
+ data.sort()
+ repl = "".join(data)
+
+ import inspect
+ srcfile = inspect.getsourcefile(sys.modules[__name__])
+ f = open(srcfile, 'rb'); src = f.read(); f.close()
+
+ match = re.search("\nmd5_data = {\n([^}]+)}", src)
+ if not match:
+ print >>sys.stderr, "Internal error!"
+ sys.exit(2)
+
+ src = src[:match.start(1)] + repl + src[match.end(1):]
+ f = open(srcfile,'w')
+ f.write(src)
+ f.close()
+
+
+if __name__=='__main__':
+ if len(sys.argv)>2 and sys.argv[1]=='--md5update':
+ update_md5(sys.argv[2:])
+ else:
+ main(sys.argv[1:])
Added: external/Pygments-0.9/pygmentize
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/pygmentize Tue Oct 23 20:20:22 2007
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+
+import sys, pygments.cmdline
+sys.exit(pygments.cmdline.main(sys.argv))
Added: external/Pygments-0.9/pygments/__init__.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/pygments/__init__.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,90 @@
+# -*- coding: utf-8 -*-
+"""
+ Pygments
+ ~~~~~~~~
+
+ Pygments is a syntax highlighting package written in Python.
+
+ It is a generic syntax highlighter for general use in all kinds of software
+ such as forum systems, wikis or other applications that need to prettify
+ source code. Highlights are:
+
+ * a wide range of common languages and markup formats is supported
+ * special attention is paid to details, increasing quality by a fair amount
+ * support for new languages and formats are added easily
+ * a number of output formats, presently HTML, LaTeX, RTF, SVG and ANSI sequences
+ * it is usable as a command-line tool and as a library
+ * ... and it highlights even Brainfuck!
+
+ :copyright: 2006-2007 by Georg Brandl, Armin Ronacher and others.
+ :license: BSD, see LICENSE for more details.
+"""
+
+__version__ = '0.9'
+__author__ = 'Georg Brandl '
+__url__ = 'http://pygments.org/'
+__license__ = 'BSD License'
+__docformat__ = 'restructuredtext'
+
+__all__ = ['lex', 'format', 'highlight']
+
+
+import sys, os
+from StringIO import StringIO
+from cStringIO import StringIO as CStringIO
+
+
+def lex(code, lexer):
+ """
+ Lex ``code`` with ``lexer`` and return an iterable of tokens.
+ """
+ try:
+ return lexer.get_tokens(code)
+ except TypeError, err:
+ if isinstance(err.args[0], str) and \
+ 'unbound method get_tokens' in err.args[0]:
+ raise TypeError('lex() argument must be a lexer instance, '
+ 'not a class')
+ raise
+
+
+def format(tokens, formatter, outfile=None):
+ """
+ Format a tokenlist ``tokens`` with the formatter ``formatter``.
+
+ If ``outfile`` is given and a valid file object (an object
+ with a ``write`` method), the result will be written to it, otherwise
+ it is returned as a string.
+ """
+ try:
+ if not outfile:
+ # if we want Unicode output, we have to use Python StringIO
+ realoutfile = formatter.encoding and CStringIO() or StringIO()
+ formatter.format(tokens, realoutfile)
+ return realoutfile.getvalue()
+ else:
+ formatter.format(tokens, outfile)
+ except TypeError, err:
+ if isinstance(err.args[0], str) and \
+ 'unbound method format' in err.args[0]:
+ raise TypeError('format() argument must be a formatter instance, '
+ 'not a class')
+ raise
+
+
+def highlight(code, lexer, formatter, outfile=None):
+ """
+ Lex ``code`` with ``lexer`` and format it with the formatter
+ ``formatter``. If ``filters`` are given they will be applied
+ on the token stream.
+
+ If ``outfile`` is given and a valid file object (an object
+ with a ``write`` method), the result will be written to it, otherwise
+ it is returned as a string.
+ """
+ return format(lex(code, lexer), formatter, outfile)
+
+
+if __name__ == '__main__':
+ from pygments.cmdline import main
+ sys.exit(main(sys.argv))
Added: external/Pygments-0.9/pygments/cmdline.py
==============================================================================
--- (empty file)
+++ external/Pygments-0.9/pygments/cmdline.py Tue Oct 23 20:20:22 2007
@@ -0,0 +1,384 @@
+# -*- coding: utf-8 -*-
+"""
+ pygments.cmdline
+ ~~~~~~~~~~~~~~~~
+
+ Command line interface.
+
+ :copyright: 2006-2007 by Georg Brandl.
+ :license: BSD, see LICENSE for more details.
+"""
+import sys
+import getopt
+from textwrap import dedent
+
+from pygments import __version__, __author__, highlight
+from pygments.util import ClassNotFound, OptionError, docstring_headline
+from pygments.lexers import get_all_lexers, get_lexer_by_name, get_lexer_for_filename, \
+ find_lexer_class
+from pygments.formatters import get_all_formatters, get_formatter_by_name, \
+ get_formatter_for_filename, find_formatter_class, \
+ TerminalFormatter # pylint:disable-msg=E0611
+from pygments.filters import get_all_filters, find_filter_class
+from pygments.styles import get_all_styles, get_style_by_name
+
+
+USAGE = """\
+Usage: %s [-l ] [-F [:]] [-f ]
+ [-O ] [-P