Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
117239ff
Commit
117239ff
authored
Oct 10, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix test__signal.test_reload on linux.
parent
7e783032
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/gevent/__init__.py
src/gevent/__init__.py
+7
-1
No files found.
src/gevent/__init__.py
View file @
117239ff
...
...
@@ -82,7 +82,13 @@ from gevent import signal as _signal_module
class
_signal_metaclass
(
type
):
def
__getattr__
(
cls
,
name
):
return
getattr
(
_signal_module
,
name
)
val
=
getattr
(
_signal_module
,
name
)
if
name
==
'__cached__'
and
val
is
None
:
# In 3.6b1 on Travis, the signal module's
# __cached__ is somehow None, which breaks
# reloading because os.path.abspath blows up on None.
# It gracefully handles an AttributeError, though.
raise
AttributeError
(
name
)
def
__setattr__
(
cls
,
name
,
value
):
# For symmetry with getattr and dir, pass all
...
...
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