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
ad8d03c3
Commit
ad8d03c3
authored
Oct 05, 2015
by
Kevin Modzelewski
Committed by
Kevin Modzelewski
Oct 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have tuple remember what it boxed to
parent
711a3224
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
49 deletions
+153
-49
src/codegen/compvars.cpp
src/codegen/compvars.cpp
+141
-49
test/tests/int_ids.py
test/tests/int_ids.py
+12
-0
No files found.
src/codegen/compvars.cpp
View file @
ad8d03c3
This diff is collapsed.
Click to expand it.
test/tests/int_ids.py
View file @
ad8d03c3
...
...
@@ -41,3 +41,15 @@ def f4(a, b):
assert
id
(
a
)
==
id
(
b
)
for
i
in
xrange
(
11000
):
f4
(
1000
,
1000
)
# This applies to other data types as well. (maybe should call this test file something else)
def
ident
(
x
):
return
x
def
f5
():
t
=
(
1
,
2
,
3
)
print
ident
(
t
)
is
t
for
i
in
xrange
(
10
):
f5
()
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