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
Gwenaël Samain
cython
Commits
997ac5b6
Commit
997ac5b6
authored
Oct 11, 2007
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New version
parent
9c1bf4c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-3
Cython/Compiler/Version.py
Cython/Compiler/Version.py
+1
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
997ac5b6
...
@@ -596,13 +596,11 @@ class CharNode(ConstNode):
...
@@ -596,13 +596,11 @@ class CharNode(ConstNode):
class
IntNode
(
ConstNode
):
class
IntNode
(
ConstNode
):
type
=
PyrexTypes
.
c_long_type
type
=
PyrexTypes
.
c_long_type
def
analyse_types
(
self
,
env
):
self
.
entry
=
env
.
get_py_num
(
self
.
value
)
def
coerce_to
(
self
,
dst_type
,
env
):
def
coerce_to
(
self
,
dst_type
,
env
):
# Arrange for a Python version of the string to be pre-allocated
# Arrange for a Python version of the string to be pre-allocated
# when coercing to a Python type.
# when coercing to a Python type.
if
dst_type
.
is_pyobject
:
if
dst_type
.
is_pyobject
:
self
.
entry
=
env
.
get_py_num
(
self
.
value
)
self
.
type
=
PyrexTypes
.
py_object_type
self
.
type
=
PyrexTypes
.
py_object_type
# We still need to perform normal coerce_to processing on the
# We still need to perform normal coerce_to processing on the
# result, because we might be coercing to an extension type,
# result, because we might be coercing to an extension type,
...
...
Cython/Compiler/Version.py
View file @
997ac5b6
version
=
'0.9.6.
6
'
version
=
'0.9.6.
7
'
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