Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
91007b38
Commit
91007b38
authored
Dec 12, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverage w/o extension modules bulit.
parent
2ffa8f2b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
99 additions
and
93 deletions
+99
-93
BTrees/IFBTree.py
BTrees/IFBTree.py
+11
-10
BTrees/IIBTree.py
BTrees/IIBTree.py
+11
-10
BTrees/IOBTree.py
BTrees/IOBTree.py
+9
-8
BTrees/LFBTree.py
BTrees/LFBTree.py
+11
-10
BTrees/LLBTree.py
BTrees/LLBTree.py
+11
-10
BTrees/LOBTree.py
BTrees/LOBTree.py
+9
-8
BTrees/OIBTree.py
BTrees/OIBTree.py
+10
-9
BTrees/OLBTree.py
BTrees/OLBTree.py
+10
-9
BTrees/OOBTree.py
BTrees/OOBTree.py
+8
-7
BTrees/fsBTree.py
BTrees/fsBTree.py
+9
-12
No files found.
BTrees/IFBTree.py
View file @
91007b38
...
...
@@ -100,16 +100,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, IFSetPy)
try
:
from
_IFBTree
import
IFBucket
from
_IFBTree
import
IFSet
from
_IFBTree
import
IFBTree
from
_IFBTree
import
IFTreeSet
from
_IFBTree
import
difference
from
_IFBTree
import
union
from
_IFBTree
import
intersection
from
_IFBTree
import
multiunion
from
_OIBTree
import
weightedUnion
from
_OIBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
IFBucket
=
IFBucketPy
IFSet
=
IFSetPy
IFBTree
=
IFBTreePy
...
...
@@ -120,6 +111,16 @@ except ImportError: #pragma NO COVER
multiunion
=
multiunionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_IFBTree
import
IFSet
from
_IFBTree
import
IFBTree
from
_IFBTree
import
IFTreeSet
from
_IFBTree
import
difference
from
_IFBTree
import
union
from
_IFBTree
import
intersection
from
_IFBTree
import
multiunion
from
_IFBTree
import
weightedUnion
from
_IFBTree
import
weightedIntersection
Bucket
=
IFBucket
Set
=
IFSet
...
...
BTrees/IIBTree.py
View file @
91007b38
...
...
@@ -101,16 +101,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, IISetPy)
try
:
from
_IIBTree
import
IIBucket
from
_IIBTree
import
IISet
from
_IIBTree
import
IIBTree
from
_IIBTree
import
IITreeSet
from
_IIBTree
import
difference
from
_IIBTree
import
union
from
_IIBTree
import
intersection
from
_IIBTree
import
multiunion
from
_IIBTree
import
weightedUnion
from
_IIBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
IIBucket
=
IIBucketPy
IISet
=
IISetPy
IIBTree
=
IIBTreePy
...
...
@@ -121,6 +112,16 @@ except ImportError: #pragma NO COVER
multiunion
=
multiunionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_IIBTree
import
IISet
from
_IIBTree
import
IIBTree
from
_IIBTree
import
IITreeSet
from
_IIBTree
import
difference
from
_IIBTree
import
union
from
_IIBTree
import
intersection
from
_IIBTree
import
multiunion
from
_IIBTree
import
weightedUnion
from
_IIBTree
import
weightedIntersection
Bucket
=
IIBucket
Set
=
IISet
...
...
BTrees/IOBTree.py
View file @
91007b38
...
...
@@ -84,14 +84,7 @@ multiunionPy = _set_operation(_multiunion, IOSetPy)
try
:
from
_IOBTree
import
IOBucket
from
_IOBTree
import
IOSet
from
_IOBTree
import
IOBTree
from
_IOBTree
import
IOTreeSet
from
_IOBTree
import
difference
from
_IOBTree
import
union
from
_IOBTree
import
intersection
from
_IOBTree
import
multiunion
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
IOBucket
=
IOBucketPy
IOSet
=
IOSetPy
IOBTree
=
IOBTreePy
...
...
@@ -100,6 +93,14 @@ except ImportError: #pragma NO COVER
union
=
unionPy
intersection
=
intersectionPy
multiunion
=
multiunionPy
else
:
#pragma NO COVER w/o C extensions
from
_IOBTree
import
IOSet
from
_IOBTree
import
IOBTree
from
_IOBTree
import
IOTreeSet
from
_IOBTree
import
difference
from
_IOBTree
import
union
from
_IOBTree
import
intersection
from
_IOBTree
import
multiunion
Bucket
=
IOBucket
Set
=
IOSet
...
...
BTrees/LFBTree.py
View file @
91007b38
...
...
@@ -101,16 +101,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, LFSetPy)
try
:
from
_LFBTree
import
LFBucket
from
_LFBTree
import
LFSet
from
_LFBTree
import
LFBTree
from
_LFBTree
import
LFTreeSet
from
_LFBTree
import
difference
from
_LFBTree
import
union
from
_LFBTree
import
intersection
from
_LFBTree
import
multiunion
from
_OIBTree
import
weightedUnion
from
_OIBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
LFBucket
=
LFBucketPy
LFSet
=
LFSetPy
LFBTree
=
LFBTreePy
...
...
@@ -121,6 +112,16 @@ except ImportError: #pragma NO COVER
multiunion
=
multiunionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_LFBTree
import
LFSet
from
_LFBTree
import
LFBTree
from
_LFBTree
import
LFTreeSet
from
_LFBTree
import
difference
from
_LFBTree
import
union
from
_LFBTree
import
intersection
from
_LFBTree
import
multiunion
from
_LFBTree
import
weightedUnion
from
_LFBTree
import
weightedIntersection
Bucket
=
LFBucket
Set
=
LFSet
...
...
BTrees/LLBTree.py
View file @
91007b38
...
...
@@ -101,16 +101,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, LLSetPy)
try
:
from
_LLBTree
import
LLBucket
from
_LLBTree
import
LLSet
from
_LLBTree
import
LLBTree
from
_LLBTree
import
LLTreeSet
from
_LLBTree
import
difference
from
_LLBTree
import
union
from
_LLBTree
import
intersection
from
_LLBTree
import
multiunion
from
_LLBTree
import
weightedUnion
from
_LLBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
LLBucket
=
LLBucketPy
LLSet
=
LLSetPy
LLBTree
=
LLBTreePy
...
...
@@ -121,6 +112,16 @@ except ImportError: #pragma NO COVER
multiunion
=
multiunionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_LLBTree
import
LLSet
from
_LLBTree
import
LLBTree
from
_LLBTree
import
LLTreeSet
from
_LLBTree
import
difference
from
_LLBTree
import
union
from
_LLBTree
import
intersection
from
_LLBTree
import
multiunion
from
_LLBTree
import
weightedUnion
from
_LLBTree
import
weightedIntersection
Bucket
=
LLBucket
Set
=
LLSet
...
...
BTrees/LOBTree.py
View file @
91007b38
...
...
@@ -84,14 +84,7 @@ multiunionPy = _set_operation(_multiunion, LOSetPy)
try
:
from
_LOBTree
import
LOBucket
from
_LOBTree
import
LOSet
from
_LOBTree
import
LOBTree
from
_LOBTree
import
LOTreeSet
from
_LOBTree
import
difference
from
_LOBTree
import
union
from
_LOBTree
import
intersection
from
_LOBTree
import
multiunion
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
LOBucket
=
LOBucketPy
LOSet
=
LOSetPy
LOBTree
=
LOBTreePy
...
...
@@ -100,6 +93,14 @@ except ImportError: #pragma NO COVER
union
=
unionPy
intersection
=
intersectionPy
multiunion
=
multiunionPy
else
:
#pragma NO COVER w/o C extensions
from
_LOBTree
import
LOSet
from
_LOBTree
import
LOBTree
from
_LOBTree
import
LOTreeSet
from
_LOBTree
import
difference
from
_LOBTree
import
union
from
_LOBTree
import
intersection
from
_LOBTree
import
multiunion
Bucket
=
LOBucket
Set
=
LOSet
...
...
BTrees/OIBTree.py
View file @
91007b38
...
...
@@ -98,15 +98,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, OISetPy)
try
:
from
_OIBTree
import
OIBucket
from
_OIBTree
import
OISet
from
_OIBTree
import
OIBTree
from
_OIBTree
import
OITreeSet
from
_OIBTree
import
difference
from
_OIBTree
import
union
from
_OIBTree
import
intersection
from
_OIBTree
import
weightedUnion
from
_OIBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
OIBucket
=
OIBucketPy
OISet
=
OISetPy
OIBTree
=
OIBTreePy
...
...
@@ -116,6 +108,15 @@ except ImportError: #pragma NO COVER
intersection
=
intersectionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_OIBTree
import
OISet
from
_OIBTree
import
OIBTree
from
_OIBTree
import
OITreeSet
from
_OIBTree
import
difference
from
_OIBTree
import
union
from
_OIBTree
import
intersection
from
_OIBTree
import
weightedUnion
from
_OIBTree
import
weightedIntersection
Bucket
=
OIBucket
...
...
BTrees/OLBTree.py
View file @
91007b38
...
...
@@ -99,15 +99,7 @@ weightedIntersectionPy = _set_operation(_weightedIntersection, OLSetPy)
try
:
from
_OLBTree
import
OLBucket
from
_OLBTree
import
OLSet
from
_OLBTree
import
OLBTree
from
_OLBTree
import
OLTreeSet
from
_OLBTree
import
difference
from
_OLBTree
import
union
from
_OLBTree
import
intersection
from
_OLBTree
import
weightedUnion
from
_OLBTree
import
weightedIntersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
OLBucket
=
OLBucketPy
OLSet
=
OLSetPy
OLBTree
=
OLBTreePy
...
...
@@ -117,6 +109,15 @@ except ImportError: #pragma NO COVER
intersection
=
intersectionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_OLBTree
import
OLSet
from
_OLBTree
import
OLBTree
from
_OLBTree
import
OLTreeSet
from
_OLBTree
import
difference
from
_OLBTree
import
union
from
_OLBTree
import
intersection
from
_OLBTree
import
weightedUnion
from
_OLBTree
import
weightedIntersection
Bucket
=
OLBucket
Set
=
OLSet
...
...
BTrees/OOBTree.py
View file @
91007b38
...
...
@@ -79,13 +79,7 @@ intersectionPy = _set_operation(_intersection, OOSetPy)
try
:
from
_OOBTree
import
OOBucket
from
_OOBTree
import
OOSet
from
_OOBTree
import
OOBTree
from
_OOBTree
import
OOTreeSet
from
_OOBTree
import
difference
from
_OOBTree
import
union
from
_OOBTree
import
intersection
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
OOBucket
=
OOBucketPy
OOSet
=
OOSetPy
OOBTree
=
OOBTreePy
...
...
@@ -93,6 +87,13 @@ except ImportError: #pragma NO COVER
difference
=
differencePy
union
=
unionPy
intersection
=
intersectionPy
else
:
#pragma NO COVER w/o C extensions
from
_OOBTree
import
OOSet
from
_OOBTree
import
OOBTree
from
_OOBTree
import
OOTreeSet
from
_OOBTree
import
difference
from
_OOBTree
import
union
from
_OOBTree
import
intersection
Bucket
=
OOBucket
Set
=
OOSet
...
...
BTrees/fsBTree.py
View file @
91007b38
...
...
@@ -17,7 +17,7 @@
__all__
=
(
'Bucket'
,
'Set'
,
'BTree'
,
'TreeSet'
,
'fsBucket'
,
'fsSet'
,
'fsBTree'
,
'fsTreeSet'
,
'union'
,
'intersection'
,
'difference'
,
'multiunion'
,
'union'
,
'intersection'
,
'difference'
,
)
...
...
@@ -30,7 +30,6 @@ from ._base import Tree as BTree
from
._base
import
TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set_operation
as
_set_operation
from
._base
import
to_str
as
_to_str
from
._base
import
union
as
_union
...
...
@@ -104,18 +103,10 @@ fsTreeSetPy._set_type = fsTreeSetPy._bucket_type = fsSetPy
differencePy
=
_set_operation
(
_difference
,
fsSetPy
)
unionPy
=
_set_operation
(
_union
,
fsSetPy
)
intersectionPy
=
_set_operation
(
_intersection
,
fsSetPy
)
multiunionPy
=
_set_operation
(
_multiunion
,
fsSetPy
)
try
:
from
_fsBTree
import
fsBucket
from
_fsBTree
import
fsSet
from
_fsBTree
import
fsBTree
from
_fsBTree
import
fsTreeSet
from
_fsBTree
import
difference
from
_fsBTree
import
union
from
_fsBTree
import
intersection
from
_fsBTree
import
multiunion
except
ImportError
:
#pragma NO COVER
except
ImportError
:
#pragma NO COVER w/ C extensions
fsBucket
=
fsBucketPy
fsSet
=
fsSetPy
fsBTree
=
fsBTreePy
...
...
@@ -123,7 +114,13 @@ except ImportError: #pragma NO COVER
difference
=
differencePy
union
=
unionPy
intersection
=
intersectionPy
multiunion
=
multiunionPy
else
:
#pragma NO COVER w/o C extensions
from
_fsBTree
import
fsSet
from
_fsBTree
import
fsBTree
from
_fsBTree
import
fsTreeSet
from
_fsBTree
import
difference
from
_fsBTree
import
union
from
_fsBTree
import
intersection
Bucket
=
fsBucket
Set
=
fsSet
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment