Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
9c39d87d
Commit
9c39d87d
authored
May 23, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b0c36db3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
bigfile/virtmem.c
bigfile/virtmem.c
+10
-0
setup.py
setup.py
+2
-0
tox.ini
tox.ini
+3
-0
No files found.
bigfile/virtmem.c
View file @
9c39d87d
...
...
@@ -100,6 +100,16 @@ void virt_unlock()
void
virt_lock_hookgil
(
const
VirtGilHooks
*
gilhooks
)
{
// FIXME we hit vvv assert for real because `import bigfile,
// wendelin.bigfile` import bigfile/__init__.py twice and that in turn
// imports bigfile/_bigfile.so twice. However Python loads _bigfile.so DSO
// only once - oops. The bug happens in practice when running tests via
// pytest under python3.
//
// XXX temp hack to workaround that bug for now.
if
(
virtmem_gilhooks
==
gilhooks
)
virtmem_gilhooks
=
NULL
;
BUG_ON
(
virtmem_gilhooks
);
/* prevent registering multiple times */
virtmem_gilhooks
=
gilhooks
;
}
...
...
setup.py
View file @
9c39d87d
...
...
@@ -249,6 +249,8 @@ setup(
'psutil'
,
# demo_zbigarray
'pygolang >= 0.0.0.dev4'
,
# wcfs
'zodbtools'
,
# XXX clarify whether we can always require it (check lib/zodb.py)
],
extras_require
=
{
...
...
tox.ini
View file @
9c39d87d
...
...
@@ -10,6 +10,9 @@ deps =
# why tox does not get it from extras_require['test'] ?
pytest
# XXX temp hack
cython
# latest ZODB from 3 series
ZODB3:
ZODB3
>=3.10,
<3.11dev
ZODB3:
transaction
<2.0dev
...
...
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