Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
f7c6b725
Commit
f7c6b725
authored
Sep 21, 2014
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #322 from Carreau/patch-1
Fix caching issues of cython magic.
parents
626c685c
626fe79a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Build/IpythonMagic.py
Cython/Build/IpythonMagic.py
+1
-1
No files found.
Cython/Build/IpythonMagic.py
View file @
f7c6b725
...
@@ -214,7 +214,7 @@ class CythonMagics(Magics):
...
@@ -214,7 +214,7 @@ class CythonMagics(Magics):
code
=
cell
if
cell
.
endswith
(
'
\
n
'
)
else
cell
+
'
\
n
'
code
=
cell
if
cell
.
endswith
(
'
\
n
'
)
else
cell
+
'
\
n
'
lib_dir
=
os
.
path
.
join
(
get_ipython_cache_dir
(),
'cython'
)
lib_dir
=
os
.
path
.
join
(
get_ipython_cache_dir
(),
'cython'
)
quiet
=
True
quiet
=
True
key
=
code
,
sys
.
version_info
,
sys
.
executable
,
cython_version
key
=
code
,
line
,
sys
.
version_info
,
sys
.
executable
,
cython_version
if
not
os
.
path
.
exists
(
lib_dir
):
if
not
os
.
path
.
exists
(
lib_dir
):
os
.
makedirs
(
lib_dir
)
os
.
makedirs
(
lib_dir
)
...
...
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