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
d1bf1c68
Commit
d1bf1c68
authored
Aug 25, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated copyright
parent
675a5ffa
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
0 deletions
+24
-0
examples/concurrent_download.py
examples/concurrent_download.py
+2
-0
gevent/__init__.py
gevent/__init__.py
+2
-0
gevent/event.py
gevent/event.py
+2
-0
gevent/greenlet.py
gevent/greenlet.py
+2
-0
gevent/hub.py
gevent/hub.py
+2
-0
gevent/monkey.py
gevent/monkey.py
+2
-0
gevent/pool.py
gevent/pool.py
+2
-0
gevent/queue.py
gevent/queue.py
+2
-0
gevent/rawgreenlet.py
gevent/rawgreenlet.py
+2
-0
gevent/select.py
gevent/select.py
+2
-0
gevent/socket.py
gevent/socket.py
+2
-0
gevent/timeout.py
gevent/timeout.py
+2
-0
No files found.
examples/concurrent_download.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
"""Spawn multiple workers and wait for them to complete"""
urls
=
[
'http://www.google.com'
,
'http://www.yandex.ru'
,
'http://www.python.org'
]
...
...
gevent/__init__.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
version_info
=
(
0
,
10
,
0
)
__version__
=
'0.10.0'
...
...
gevent/event.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
import
sys
import
traceback
from
gevent
import
core
...
...
gevent/greenlet.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
import
sys
import
traceback
from
gevent
import
core
...
...
gevent/hub.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
import
sys
import
os
import
traceback
...
...
gevent/monkey.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
import
sys
def
patch_os
():
...
...
gevent/pool.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
from
collections
import
deque
from
gevent.hub
import
GreenletExit
,
getcurrent
from
gevent.greenlet
import
joinall
,
Greenlet
...
...
gevent/queue.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
import
sys
import
heapq
import
collections
...
...
gevent/rawgreenlet.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
"""A few utilities for raw greenlets.
# XXX these functions do not support 'timeout' parameter as gevent.greenlet API
...
...
gevent/select.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
from
gevent
import
core
from
gevent.hub
import
get_hub
,
getcurrent
from
gevent.timeout
import
Timeout
...
...
gevent/socket.py
View file @
d1bf1c68
# Copyright (c) 2005-2006, Bob Ippolito
# Copyright (c) 2007, Linden Research, Inc.
# Copyright (c) 2009 Denis Bilenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
...
...
gevent/timeout.py
View file @
d1bf1c68
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details.
from
gevent
import
core
from
gevent.hub
import
getcurrent
...
...
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