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
54ab9f4c
Commit
54ab9f4c
authored
Aug 22, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py3k test fix
parent
7631e5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/compile/pylong.pyx
tests/compile/pylong.pyx
+2
-2
No files found.
tests/compile/pylong.pyx
View file @
54ab9f4c
...
...
@@ -10,11 +10,11 @@ cdef extern from "longintrepr.h":
cdef
struct
_longobject
:
int
ob_refcnt
PyTypeObject
*
ob_type
int
ob_size
# int ob_size # not in Py3k
unsigned
int
*
ob_digit
def
test
(
temp
=
long
(
0
)):
cdef
_longobject
*
l
l
=
<
_longobject
*>
temp
print
sizeof
(
l
.
ob_size
)
#print sizeof(l.ob_size) # not in Py3k
print
sizeof
(
l
.
ob_digit
[
0
])
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