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
ab7e20c7
Commit
ab7e20c7
authored
Dec 14, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zap relative imports from C extensions.
parent
b4cda4da
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
89 additions
and
89 deletions
+89
-89
BTrees/IFBTree.py
BTrees/IFBTree.py
+10
-10
BTrees/IIBTree.py
BTrees/IIBTree.py
+10
-10
BTrees/IOBTree.py
BTrees/IOBTree.py
+8
-8
BTrees/LFBTree.py
BTrees/LFBTree.py
+10
-10
BTrees/LLBTree.py
BTrees/LLBTree.py
+10
-10
BTrees/LOBTree.py
BTrees/LOBTree.py
+8
-8
BTrees/OIBTree.py
BTrees/OIBTree.py
+9
-9
BTrees/OLBTree.py
BTrees/OLBTree.py
+9
-9
BTrees/OOBTree.py
BTrees/OOBTree.py
+8
-8
BTrees/fsBTree.py
BTrees/fsBTree.py
+7
-7
No files found.
BTrees/IFBTree.py
View file @
ab7e20c7
...
@@ -99,7 +99,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IFSetPy)
...
@@ -99,7 +99,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IFSetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
IFSetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
IFSetPy
)
try
:
try
:
from
_IFBTree
import
IFBucket
from
.
_IFBTree
import
IFBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
IFBucket
=
IFBucketPy
IFBucket
=
IFBucketPy
IFSet
=
IFSetPy
IFSet
=
IFSetPy
...
@@ -112,15 +112,15 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -112,15 +112,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_IFBTree
import
IFSet
from
.
_IFBTree
import
IFSet
from
_IFBTree
import
IFBTree
from
.
_IFBTree
import
IFBTree
from
_IFBTree
import
IFTreeSet
from
.
_IFBTree
import
IFTreeSet
from
_IFBTree
import
difference
from
.
_IFBTree
import
difference
from
_IFBTree
import
union
from
.
_IFBTree
import
union
from
_IFBTree
import
intersection
from
.
_IFBTree
import
intersection
from
_IFBTree
import
multiunion
from
.
_IFBTree
import
multiunion
from
_IFBTree
import
weightedUnion
from
.
_IFBTree
import
weightedUnion
from
_IFBTree
import
weightedIntersection
from
.
_IFBTree
import
weightedIntersection
Bucket
=
IFBucket
Bucket
=
IFBucket
Set
=
IFSet
Set
=
IFSet
...
...
BTrees/IIBTree.py
View file @
ab7e20c7
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IISetPy)
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IISetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
IISetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
IISetPy
)
try
:
try
:
from
_IIBTree
import
IIBucket
from
.
_IIBTree
import
IIBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
IIBucket
=
IIBucketPy
IIBucket
=
IIBucketPy
IISet
=
IISetPy
IISet
=
IISetPy
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_IIBTree
import
IISet
from
.
_IIBTree
import
IISet
from
_IIBTree
import
IIBTree
from
.
_IIBTree
import
IIBTree
from
_IIBTree
import
IITreeSet
from
.
_IIBTree
import
IITreeSet
from
_IIBTree
import
difference
from
.
_IIBTree
import
difference
from
_IIBTree
import
union
from
.
_IIBTree
import
union
from
_IIBTree
import
intersection
from
.
_IIBTree
import
intersection
from
_IIBTree
import
multiunion
from
.
_IIBTree
import
multiunion
from
_IIBTree
import
weightedUnion
from
.
_IIBTree
import
weightedUnion
from
_IIBTree
import
weightedIntersection
from
.
_IIBTree
import
weightedIntersection
Bucket
=
IIBucket
Bucket
=
IIBucket
Set
=
IISet
Set
=
IISet
...
...
BTrees/IOBTree.py
View file @
ab7e20c7
...
@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, IOSetPy)
...
@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, IOSetPy)
multiunionPy
=
_set_operation
(
_multiunion
,
IOSetPy
)
multiunionPy
=
_set_operation
(
_multiunion
,
IOSetPy
)
try
:
try
:
from
_IOBTree
import
IOBucket
from
.
_IOBTree
import
IOBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
IOBucket
=
IOBucketPy
IOBucket
=
IOBucketPy
IOSet
=
IOSetPy
IOSet
=
IOSetPy
...
@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
intersection
=
intersectionPy
intersection
=
intersectionPy
multiunion
=
multiunionPy
multiunion
=
multiunionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_IOBTree
import
IOSet
from
.
_IOBTree
import
IOSet
from
_IOBTree
import
IOBTree
from
.
_IOBTree
import
IOBTree
from
_IOBTree
import
IOTreeSet
from
.
_IOBTree
import
IOTreeSet
from
_IOBTree
import
difference
from
.
_IOBTree
import
difference
from
_IOBTree
import
union
from
.
_IOBTree
import
union
from
_IOBTree
import
intersection
from
.
_IOBTree
import
intersection
from
_IOBTree
import
multiunion
from
.
_IOBTree
import
multiunion
Bucket
=
IOBucket
Bucket
=
IOBucket
Set
=
IOSet
Set
=
IOSet
...
...
BTrees/LFBTree.py
View file @
ab7e20c7
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LFSetPy)
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LFSetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
LFSetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
LFSetPy
)
try
:
try
:
from
_LFBTree
import
LFBucket
from
.
_LFBTree
import
LFBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
LFBucket
=
LFBucketPy
LFBucket
=
LFBucketPy
LFSet
=
LFSetPy
LFSet
=
LFSetPy
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_LFBTree
import
LFSet
from
.
_LFBTree
import
LFSet
from
_LFBTree
import
LFBTree
from
.
_LFBTree
import
LFBTree
from
_LFBTree
import
LFTreeSet
from
.
_LFBTree
import
LFTreeSet
from
_LFBTree
import
difference
from
.
_LFBTree
import
difference
from
_LFBTree
import
union
from
.
_LFBTree
import
union
from
_LFBTree
import
intersection
from
.
_LFBTree
import
intersection
from
_LFBTree
import
multiunion
from
.
_LFBTree
import
multiunion
from
_LFBTree
import
weightedUnion
from
.
_LFBTree
import
weightedUnion
from
_LFBTree
import
weightedIntersection
from
.
_LFBTree
import
weightedIntersection
Bucket
=
LFBucket
Bucket
=
LFBucket
Set
=
LFSet
Set
=
LFSet
...
...
BTrees/LLBTree.py
View file @
ab7e20c7
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LLSetPy)
...
@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LLSetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
LLSetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
LLSetPy
)
try
:
try
:
from
_LLBTree
import
LLBucket
from
.
_LLBTree
import
LLBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
LLBucket
=
LLBucketPy
LLBucket
=
LLBucketPy
LLSet
=
LLSetPy
LLSet
=
LLSetPy
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_LLBTree
import
LLSet
from
.
_LLBTree
import
LLSet
from
_LLBTree
import
LLBTree
from
.
_LLBTree
import
LLBTree
from
_LLBTree
import
LLTreeSet
from
.
_LLBTree
import
LLTreeSet
from
_LLBTree
import
difference
from
.
_LLBTree
import
difference
from
_LLBTree
import
union
from
.
_LLBTree
import
union
from
_LLBTree
import
intersection
from
.
_LLBTree
import
intersection
from
_LLBTree
import
multiunion
from
.
_LLBTree
import
multiunion
from
_LLBTree
import
weightedUnion
from
.
_LLBTree
import
weightedUnion
from
_LLBTree
import
weightedIntersection
from
.
_LLBTree
import
weightedIntersection
Bucket
=
LLBucket
Bucket
=
LLBucket
Set
=
LLSet
Set
=
LLSet
...
...
BTrees/LOBTree.py
View file @
ab7e20c7
...
@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, LOSetPy)
...
@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, LOSetPy)
multiunionPy
=
_set_operation
(
_multiunion
,
LOSetPy
)
multiunionPy
=
_set_operation
(
_multiunion
,
LOSetPy
)
try
:
try
:
from
_LOBTree
import
LOBucket
from
.
_LOBTree
import
LOBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
LOBucket
=
LOBucketPy
LOBucket
=
LOBucketPy
LOSet
=
LOSetPy
LOSet
=
LOSetPy
...
@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
intersection
=
intersectionPy
intersection
=
intersectionPy
multiunion
=
multiunionPy
multiunion
=
multiunionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_LOBTree
import
LOSet
from
.
_LOBTree
import
LOSet
from
_LOBTree
import
LOBTree
from
.
_LOBTree
import
LOBTree
from
_LOBTree
import
LOTreeSet
from
.
_LOBTree
import
LOTreeSet
from
_LOBTree
import
difference
from
.
_LOBTree
import
difference
from
_LOBTree
import
union
from
.
_LOBTree
import
union
from
_LOBTree
import
intersection
from
.
_LOBTree
import
intersection
from
_LOBTree
import
multiunion
from
.
_LOBTree
import
multiunion
Bucket
=
LOBucket
Bucket
=
LOBucket
Set
=
LOSet
Set
=
LOSet
...
...
BTrees/OIBTree.py
View file @
ab7e20c7
...
@@ -97,7 +97,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OISetPy)
...
@@ -97,7 +97,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OISetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
OISetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
OISetPy
)
try
:
try
:
from
_OIBTree
import
OIBucket
from
.
_OIBTree
import
OIBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
OIBucket
=
OIBucketPy
OIBucket
=
OIBucketPy
OISet
=
OISetPy
OISet
=
OISetPy
...
@@ -109,14 +109,14 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -109,14 +109,14 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_OIBTree
import
OISet
from
.
_OIBTree
import
OISet
from
_OIBTree
import
OIBTree
from
.
_OIBTree
import
OIBTree
from
_OIBTree
import
OITreeSet
from
.
_OIBTree
import
OITreeSet
from
_OIBTree
import
difference
from
.
_OIBTree
import
difference
from
_OIBTree
import
union
from
.
_OIBTree
import
union
from
_OIBTree
import
intersection
from
.
_OIBTree
import
intersection
from
_OIBTree
import
weightedUnion
from
.
_OIBTree
import
weightedUnion
from
_OIBTree
import
weightedIntersection
from
.
_OIBTree
import
weightedIntersection
Bucket
=
OIBucket
Bucket
=
OIBucket
...
...
BTrees/OLBTree.py
View file @
ab7e20c7
...
@@ -98,7 +98,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OLSetPy)
...
@@ -98,7 +98,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OLSetPy)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
OLSetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
OLSetPy
)
try
:
try
:
from
_OLBTree
import
OLBucket
from
.
_OLBTree
import
OLBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
OLBucket
=
OLBucketPy
OLBucket
=
OLBucketPy
OLSet
=
OLSetPy
OLSet
=
OLSetPy
...
@@ -110,14 +110,14 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -110,14 +110,14 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion
=
weightedUnionPy
weightedUnion
=
weightedUnionPy
weightedIntersection
=
weightedIntersectionPy
weightedIntersection
=
weightedIntersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_OLBTree
import
OLSet
from
.
_OLBTree
import
OLSet
from
_OLBTree
import
OLBTree
from
.
_OLBTree
import
OLBTree
from
_OLBTree
import
OLTreeSet
from
.
_OLBTree
import
OLTreeSet
from
_OLBTree
import
difference
from
.
_OLBTree
import
difference
from
_OLBTree
import
union
from
.
_OLBTree
import
union
from
_OLBTree
import
intersection
from
.
_OLBTree
import
intersection
from
_OLBTree
import
weightedUnion
from
.
_OLBTree
import
weightedUnion
from
_OLBTree
import
weightedIntersection
from
.
_OLBTree
import
weightedIntersection
Bucket
=
OLBucket
Bucket
=
OLBucket
Set
=
OLSet
Set
=
OLSet
...
...
BTrees/OOBTree.py
View file @
ab7e20c7
...
@@ -78,8 +78,8 @@ unionPy = _set_operation(_union, OOSetPy)
...
@@ -78,8 +78,8 @@ unionPy = _set_operation(_union, OOSetPy)
intersectionPy
=
_set_operation
(
_intersection
,
OOSetPy
)
intersectionPy
=
_set_operation
(
_intersection
,
OOSetPy
)
try
:
try
:
from
_OOBTree
import
OOBucket
from
.
_OOBTree
import
OOBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
as
e
:
#pragma NO COVER w/ C extensions
OOBucket
=
OOBucketPy
OOBucket
=
OOBucketPy
OOSet
=
OOSetPy
OOSet
=
OOSetPy
OOBTree
=
OOBTreePy
OOBTree
=
OOBTreePy
...
@@ -88,12 +88,12 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -88,12 +88,12 @@ except ImportError: #pragma NO COVER w/ C extensions
union
=
unionPy
union
=
unionPy
intersection
=
intersectionPy
intersection
=
intersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_OOBTree
import
OOSet
from
.
_OOBTree
import
OOSet
from
_OOBTree
import
OOBTree
from
.
_OOBTree
import
OOBTree
from
_OOBTree
import
OOTreeSet
from
.
_OOBTree
import
OOTreeSet
from
_OOBTree
import
difference
from
.
_OOBTree
import
difference
from
_OOBTree
import
union
from
.
_OOBTree
import
union
from
_OOBTree
import
intersection
from
.
_OOBTree
import
intersection
Bucket
=
OOBucket
Bucket
=
OOBucket
Set
=
OOSet
Set
=
OOSet
...
...
BTrees/fsBTree.py
View file @
ab7e20c7
...
@@ -100,7 +100,7 @@ unionPy = _set_operation(_union, fsSetPy)
...
@@ -100,7 +100,7 @@ unionPy = _set_operation(_union, fsSetPy)
intersectionPy
=
_set_operation
(
_intersection
,
fsSetPy
)
intersectionPy
=
_set_operation
(
_intersection
,
fsSetPy
)
try
:
try
:
from
_fsBTree
import
fsBucket
from
.
_fsBTree
import
fsBucket
except
ImportError
:
#pragma NO COVER w/ C extensions
except
ImportError
:
#pragma NO COVER w/ C extensions
fsBucket
=
fsBucketPy
fsBucket
=
fsBucketPy
fsSet
=
fsSetPy
fsSet
=
fsSetPy
...
@@ -110,12 +110,12 @@ except ImportError: #pragma NO COVER w/ C extensions
...
@@ -110,12 +110,12 @@ except ImportError: #pragma NO COVER w/ C extensions
union
=
unionPy
union
=
unionPy
intersection
=
intersectionPy
intersection
=
intersectionPy
else
:
#pragma NO COVER w/o C extensions
else
:
#pragma NO COVER w/o C extensions
from
_fsBTree
import
fsSet
from
.
_fsBTree
import
fsSet
from
_fsBTree
import
fsBTree
from
.
_fsBTree
import
fsBTree
from
_fsBTree
import
fsTreeSet
from
.
_fsBTree
import
fsTreeSet
from
_fsBTree
import
difference
from
.
_fsBTree
import
difference
from
_fsBTree
import
union
from
.
_fsBTree
import
union
from
_fsBTree
import
intersection
from
.
_fsBTree
import
intersection
Bucket
=
fsBucket
Bucket
=
fsBucket
Set
=
fsSet
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