Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
aa70a17e
Commit
aa70a17e
authored
May 26, 2006
by
Bob Ippolito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable all of the struct tests, use ssize_t, fix some whitespace
parent
51324078
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
59 deletions
+68
-59
Lib/test/test_struct.py
Lib/test/test_struct.py
+1
-1
Modules/_struct.c
Modules/_struct.c
+67
-58
No files found.
Lib/test/test_struct.py
View file @
aa70a17e
...
@@ -323,7 +323,7 @@ class IntTester:
...
@@ -323,7 +323,7 @@ class IntTester:
else
:
else
:
# x is out of range -- verify pack realizes that.
# x is out of range -- verify pack realizes that.
if
code
in
self
.
BUGGY_RANGE_CHECK
:
if
not
PY_STRUCT_RANGE_CHECKING
and
code
in
self
.
BUGGY_RANGE_CHECK
:
if
verbose
:
if
verbose
:
print
"Skipping buggy range check for code"
,
code
print
"Skipping buggy range check for code"
,
code
else
:
else
:
...
...
Modules/_struct.c
View file @
aa70a17e
This diff is collapsed.
Click to expand it.
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