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
Xavier Thompson
cython
Commits
63f17c88
Commit
63f17c88
authored
Aug 26, 2011
by
Mark Florisson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix python 3 build
parent
381380c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
Cython/Compiler/Code.pxd
Cython/Compiler/Code.pxd
+0
-1
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+0
-3
runtests.py
runtests.py
+2
-1
No files found.
Cython/Compiler/Code.pxd
View file @
63f17c88
...
@@ -13,7 +13,6 @@ cdef class UtilityCode(UtilityCodeBase):
...
@@ -13,7 +13,6 @@ cdef class UtilityCode(UtilityCodeBase):
cdef
public
dict
_cache
cdef
public
dict
_cache
cdef
public
list
specialize_list
cdef
public
list
specialize_list
cdef
public
object
proto_block
cdef
public
object
proto_block
cdef
public
object
name
cdef
public
object
file
cdef
public
object
file
cpdef
put_code
(
self
,
output
)
cpdef
put_code
(
self
,
output
)
...
...
Cython/Compiler/PyrexTypes.py
View file @
63f17c88
...
@@ -699,9 +699,6 @@ class PyObjectType(PyrexType):
...
@@ -699,9 +699,6 @@ class PyObjectType(PyrexType):
def
__repr__
(
self
):
def
__repr__
(
self
):
return
"<PyObjectType>"
return
"<PyObjectType>"
def
__eq__
(
self
,
other
):
return
isinstance
(
other
,
PyObjectType
)
and
self
.
name
==
other
.
name
def
can_coerce_to_pyobject
(
self
,
env
):
def
can_coerce_to_pyobject
(
self
,
env
):
return
True
return
True
...
...
runtests.py
View file @
63f17c88
...
@@ -1234,7 +1234,8 @@ def check_thread_termination(ignore_seen=True):
...
@@ -1234,7 +1234,8 @@ def check_thread_termination(ignore_seen=True):
def subprocess_output(cmd):
def subprocess_output(cmd):
try:
try:
return subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).communicate()[0]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
return p.communicate()[0].decode('UTF-8')
except OSError:
except OSError:
return ''
return ''
...
...
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