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
7f1d9eb9
Commit
7f1d9eb9
authored
Sep 11, 2016
by
Kevin Modzelewski
Committed by
Kevin Modzelewski
Sep 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get test_threading_local.py working
parent
ac1fa8f3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
from_cpython/Lib/_threading_local.py
from_cpython/Lib/_threading_local.py
+2
-1
from_cpython/Lib/test/test_threading_local.py
from_cpython/Lib/test/test_threading_local.py
+0
-1
test/CPYTHON_TEST_NOTES.md
test/CPYTHON_TEST_NOTES.md
+2
-3
No files found.
from_cpython/Lib/_threading_local.py
View file @
7f1d9eb9
...
@@ -15,8 +15,9 @@ a thread-local object and use its attributes:
...
@@ -15,8 +15,9 @@ a thread-local object and use its attributes:
42
42
You can also access the local-object's dictionary:
You can also access the local-object's dictionary:
(Pyston change: changed this to dict(mydata.__dict__) to make more portable)
>>>
mydata.__dict__
>>>
dict(mydata.__dict__)
{'number': 42}
{'number': 42}
>>> mydata.__dict__.setdefault('widgets', [])
>>> mydata.__dict__.setdefault('widgets', [])
[]
[]
...
...
from_cpython/Lib/test/test_threading_local.py
View file @
7f1d9eb9
# expected: fail
import
unittest
import
unittest
from
doctest
import
DocTestSuite
from
doctest
import
DocTestSuite
from
test
import
test_support
from
test
import
test_support
...
...
test/CPYTHON_TEST_NOTES.md
View file @
7f1d9eb9
...
@@ -141,9 +141,8 @@ test_syntax [unknown]
...
@@ -141,9 +141,8 @@ test_syntax [unknown]
test_sys_setprofile [unknown]
test_sys_setprofile [unknown]
test_sys_settrace [unknown]
test_sys_settrace [unknown]
test_sys we're missing some attributes in the sys module (call_tracing, __excepthook__, setrecursionlimit, etc)
test_sys we're missing some attributes in the sys module (call_tracing, __excepthook__, setrecursionlimit, etc)
test_tcl [unknown]
test_tcl No module named _tkinter
test_threading_local [unknown]
test_threading Multiple issues, including not having sys.settrace
test_threading [unknown]
test_tk [unknown]
test_tk [unknown]
test_tools [unknown]
test_tools [unknown]
test_traceback [unknown]
test_traceback [unknown]
...
...
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