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
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
Boxiang Sun
cython
Commits
319814a0
Commit
319814a0
authored
Jul 25, 2015
by
Petr Viktorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2to3: Run the 'import' fixer
parent
512c8411
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
+7
-8
2to3-fixers.txt
2to3-fixers.txt
+0
-1
Cython/Debugger/Tests/test_libpython_in_gdb.py
Cython/Debugger/Tests/test_libpython_in_gdb.py
+2
-2
Cython/Tempita/__init__.py
Cython/Tempita/__init__.py
+1
-1
pyximport/__init__.py
pyximport/__init__.py
+2
-2
pyximport/pyxbuild.py
pyximport/pyxbuild.py
+1
-1
pyximport/pyximport.py
pyximport/pyximport.py
+1
-1
No files found.
2to3-fixers.txt
View file @
319814a0
lib2to3.fixes.fix_basestring
lib2to3.fixes.fix_basestring
lib2to3.fixes.fix_dict
lib2to3.fixes.fix_dict
lib2to3.fixes.fix_future
lib2to3.fixes.fix_future
lib2to3.fixes.fix_import
lib2to3.fixes.fix_imports
lib2to3.fixes.fix_imports
lib2to3.fixes.fix_isinstance
lib2to3.fixes.fix_isinstance
lib2to3.fixes.fix_itertools
lib2to3.fixes.fix_itertools
...
...
Cython/Debugger/Tests/test_libpython_in_gdb.py
View file @
319814a0
...
@@ -14,8 +14,8 @@ import gdb
...
@@ -14,8 +14,8 @@ import gdb
from
Cython.Debugger
import
libcython
from
Cython.Debugger
import
libcython
from
Cython.Debugger
import
libpython
from
Cython.Debugger
import
libpython
import
test_libcython_in_gdb
from
.
import
test_libcython_in_gdb
from
test_libcython_in_gdb
import
_debug
,
inferior_python_version
from
.
test_libcython_in_gdb
import
_debug
,
inferior_python_version
class
TestPrettyPrinters
(
test_libcython_in_gdb
.
DebugTestCase
):
class
TestPrettyPrinters
(
test_libcython_in_gdb
.
DebugTestCase
):
...
...
Cython/Tempita/__init__.py
View file @
319814a0
# The original Tempita implements all of its templating code here.
# The original Tempita implements all of its templating code here.
# Moved it to _tempita.py to make the compilation portable.
# Moved it to _tempita.py to make the compilation portable.
from
_tempita
import
*
from
.
_tempita
import
*
pyximport/__init__.py
View file @
319814a0
from
pyximport
import
*
from
.
pyximport
import
*
# replicate docstring
# replicate docstring
from
pyximport
import
__doc__
from
.
pyximport
import
__doc__
pyximport/pyxbuild.py
View file @
319814a0
...
@@ -153,5 +153,5 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0,
...
@@ -153,5 +153,5 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0,
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
pyx_to_dll
(
"dummy.pyx"
)
pyx_to_dll
(
"dummy.pyx"
)
import
test
from
.
import
test
pyximport/pyximport.py
View file @
319814a0
...
@@ -177,7 +177,7 @@ def build_module(name, pyxfilename, pyxbuild_dir=None, inplace=False, language_l
...
@@ -177,7 +177,7 @@ def build_module(name, pyxfilename, pyxbuild_dir=None, inplace=False, language_l
sargs
.
update
(
setup_args
)
sargs
.
update
(
setup_args
)
build_in_temp
=
sargs
.
pop
(
'build_in_temp'
,
build_in_temp
)
build_in_temp
=
sargs
.
pop
(
'build_in_temp'
,
build_in_temp
)
import
pyxbuild
from
.
import
pyxbuild
so_path
=
pyxbuild
.
pyx_to_dll
(
pyxfilename
,
extension_mod
,
so_path
=
pyxbuild
.
pyx_to_dll
(
pyxfilename
,
extension_mod
,
build_in_temp
=
build_in_temp
,
build_in_temp
=
build_in_temp
,
pyxbuild_dir
=
pyxbuild_dir
,
pyxbuild_dir
=
pyxbuild_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