Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Boxiang Sun
Pyston
Commits
d7543b90
Commit
d7543b90
authored
Nov 26, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #235 from undingen/floorDivIntTest
Add missing FloorDivInt test
parents
35c3b424
ade57259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/runtime/set.h
src/runtime/set.h
+4
-1
test/tests/arith.py
test/tests/arith.py
+5
-0
No files found.
src/runtime/set.h
View file @
d7543b90
...
...
@@ -35,7 +35,10 @@ public:
Set
s
;
BoxedSet
(
BoxedClass
*
cls
)
__attribute__
((
visibility
(
"default"
)))
:
Box
(
cls
)
{}
BoxedSet
(
Set
&&
s
,
BoxedClass
*
cls
)
__attribute__
((
visibility
(
"default"
)))
:
Box
(
cls
),
s
(
s
)
{}
template
<
typename
T
>
__attribute__
((
visibility
(
"default"
)))
BoxedSet
(
T
&&
s
,
BoxedClass
*
cls
)
:
Box
(
cls
),
s
(
std
::
forward
<
T
>
(
s
))
{}
};
}
...
...
test/tests/arith.py
View file @
d7543b90
...
...
@@ -36,6 +36,11 @@ try:
except
TypeError
,
e
:
print
e
try
:
f
(
2.0
,
1
)
except
TypeError
,
e
:
print
e
try
:
f
(
2
,
-
2
)
except
ValueError
,
e
:
...
...
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