Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
uvloop/uvloop/includes/stdlib.pxi at master · MagicStack/uvloop · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
MagicStack
/
uvloop
Public
Notifications
You must be signed in to change notification settings
Fork
615
Star
11.9k
Code
Issues
129
Pull requests
31
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
uvloop
/
uvloop
/
includes
/
stdlib.pxi
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
176 lines (148 loc) · 6.23 KB
master
Breadcrumbs
uvloop
/
uvloop
/
includes
/
stdlib.pxi
Copy path
Top
File metadata and controls
Code
Blame
176 lines (148 loc) · 6.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#
flake8: noqa
import
asyncio, asyncio.log, asyncio.base_events, \
asyncio.sslproto, asyncio.coroutines, \
asyncio.futures, asyncio.transports
import
collections.abc
import
concurrent.futures
import
errno
import
functools
import
gc
import
inspect
import
itertools
import
os
import
signal
import
socket
import
subprocess
import
ssl
import
stat
import
sys
import
threading
import
traceback
import
time
import
warnings
import
weakref
cdef aio_get_event_loop
=
asyncio.get_event_loop
cdef aio_CancelledError
=
asyncio.CancelledError
cdef aio_InvalidStateError
=
asyncio.InvalidStateError
cdef aio_TimeoutError
=
asyncio.TimeoutError
cdef aio_Future
=
asyncio.Future
cdef aio_Task
=
asyncio.Task
cdef aio_ensure_future
=
asyncio.ensure_future
cdef aio_gather
=
asyncio.gather
cdef aio_wait
=
asyncio.wait
cdef aio_wrap_future
=
asyncio.wrap_future
cdef aio_logger
=
asyncio.log.logger
cdef aio_iscoroutine
=
asyncio.iscoroutine
cdef aio_BaseProtocol
=
asyncio.BaseProtocol
cdef aio_Protocol
=
asyncio.Protocol
cdef aio_isfuture
=
getattr
(asyncio,
'
isfuture
'
,
None
)
cdef aio_get_running_loop
=
getattr
(asyncio,
'
_get_running_loop
'
,
None
)
cdef aio_set_running_loop
=
getattr
(asyncio,
'
_set_running_loop
'
,
None
)
cdef aio_debug_wrapper
=
getattr
(asyncio.coroutines,
'
debug_wrapper
'
,
None
)
cdef aio_AbstractChildWatcher
=
getattr
(asyncio,
"
AbstractChildWatcher
"
, ())
cdef aio_Transport
=
asyncio.Transport
cdef aio_FlowControlMixin
=
asyncio.transports._FlowControlMixin
cdef col_deque
=
collections.deque
cdef col_Iterable
=
collections.abc.Iterable
cdef col_Counter
=
collections.Counter
cdef col_OrderedDict
=
collections.OrderedDict
cdef cc_ThreadPoolExecutor
=
concurrent.futures.ThreadPoolExecutor
cdef cc_Future
=
concurrent.futures.Future
cdef errno_EBADF
=
errno.EBADF
cdef errno_EINVAL
=
errno.EINVAL
cdef ft_partial
=
functools.partial
cdef gc_disable
=
gc.disable
cdef iter_chain
=
itertools.chain
cdef inspect_isgenerator
=
inspect.isgenerator
cdef inspect_iscoroutinefunction
=
inspect.iscoroutinefunction
cdef
int
has_IPV6_V6ONLY
=
hasattr
(socket,
'
IPV6_V6ONLY
'
)
cdef
int
IPV6_V6ONLY
=
getattr
(socket,
'
IPV6_V6ONLY
'
,
-
1
)
cdef
int
has_SO_REUSEPORT
=
hasattr
(socket,
'
SO_REUSEPORT
'
)
cdef
int
SO_REUSEPORT
=
getattr
(socket,
'
SO_REUSEPORT
'
,
0
)
cdef
int
SO_BROADCAST
=
getattr
(socket,
'
SO_BROADCAST
'
)
cdef
int
SOCK_NONBLOCK
=
getattr
(socket,
'
SOCK_NONBLOCK
'
,
-
1
)
cdef
int
socket_AI_CANONNAME
=
getattr
(socket,
'
AI_CANONNAME
'
)
cdef socket_gaierror
=
socket.gaierror
cdef socket_error
=
socket.error
cdef socket_timeout
=
socket.timeout
cdef socket_socket
=
socket.socket
cdef socket_socketpair
=
socket.socketpair
cdef socket_getservbyname
=
socket.getservbyname
cdef socket_AddressFamily
=
socket.AddressFamily
cdef socket_SocketKind
=
socket.SocketKind
cdef
int
socket_EAI_ADDRFAMILY
=
getattr
(socket,
'
EAI_ADDRFAMILY
'
,
-
1
)
cdef
int
socket_EAI_AGAIN
=
getattr
(socket,
'
EAI_AGAIN
'
,
-
1
)
cdef
int
socket_EAI_BADFLAGS
=
getattr
(socket,
'
EAI_BADFLAGS
'
,
-
1
)
cdef
int
socket_EAI_BADHINTS
=
getattr
(socket,
'
EAI_BADHINTS
'
,
-
1
)
cdef
int
socket_EAI_CANCELED
=
getattr
(socket,
'
EAI_CANCELED
'
,
-
1
)
cdef
int
socket_EAI_FAIL
=
getattr
(socket,
'
EAI_FAIL
'
,
-
1
)
cdef
int
socket_EAI_FAMILY
=
getattr
(socket,
'
EAI_FAMILY
'
,
-
1
)
cdef
int
socket_EAI_MEMORY
=
getattr
(socket,
'
EAI_MEMORY
'
,
-
1
)
cdef
int
socket_EAI_NODATA
=
getattr
(socket,
'
EAI_NODATA
'
,
-
1
)
cdef
int
socket_EAI_NONAME
=
getattr
(socket,
'
EAI_NONAME
'
,
-
1
)
cdef
int
socket_EAI_OVERFLOW
=
getattr
(socket,
'
EAI_OVERFLOW
'
,
-
1
)
cdef
int
socket_EAI_PROTOCOL
=
getattr
(socket,
'
EAI_PROTOCOL
'
,
-
1
)
cdef
int
socket_EAI_SERVICE
=
getattr
(socket,
'
EAI_SERVICE
'
,
-
1
)
cdef
int
socket_EAI_SOCKTYPE
=
getattr
(socket,
'
EAI_SOCKTYPE
'
,
-
1
)
cdef
str
os_name
=
os.name
cdef os_environ
=
os.environ
cdef os_dup
=
os.dup
cdef os_set_inheritable
=
os.set_inheritable
cdef os_get_inheritable
=
os.get_inheritable
cdef os_close
=
os.close
cdef os_open
=
os.open
cdef os_devnull
=
os.devnull
cdef os_O_RDWR
=
os.O_RDWR
cdef os_pipe
=
os.pipe
cdef os_read
=
os.read
cdef os_remove
=
os.remove
cdef os_stat
=
os.stat
cdef os_unlink
=
os.unlink
cdef os_fspath
=
os.fspath
cdef stat_S_ISSOCK
=
stat.S_ISSOCK
cdef sys_ignore_environment
=
sys.flags.ignore_environment
cdef sys_dev_mode
=
sys.flags.dev_mode
cdef sys_exc_info
=
sys.exc_info
cdef sys_set_coroutine_wrapper
=
getattr
(sys,
'
set_coroutine_wrapper
'
,
None
)
cdef sys_get_coroutine_wrapper
=
getattr
(sys,
'
get_coroutine_wrapper
'
,
None
)
cdef sys_getframe
=
sys._getframe
cdef sys_version_info
=
sys.version_info
cdef sys_getfilesystemencoding
=
sys.getfilesystemencoding
cdef
str
sys_platform
=
sys.platform
cdef ssl_SSLContext
=
ssl.SSLContext
cdef ssl_MemoryBIO
=
ssl.MemoryBIO
cdef ssl_create_default_context
=
ssl.create_default_context
cdef ssl_SSLError
=
ssl.SSLError
cdef ssl_SSLAgainErrors
=
(ssl.SSLWantReadError, ssl.SSLSyscallError)
cdef ssl_SSLZeroReturnError
=
ssl.SSLZeroReturnError
cdef ssl_CertificateError
=
ssl.CertificateError
cdef
int
ssl_SSL_ERROR_WANT_READ
=
ssl.SSL_ERROR_WANT_READ
cdef
int
ssl_SSL_ERROR_WANT_WRITE
=
ssl.SSL_ERROR_WANT_WRITE
cdef
int
ssl_SSL_ERROR_SYSCALL
=
ssl.SSL_ERROR_SYSCALL
cdef threading_Thread
=
threading.Thread
cdef threading_main_thread
=
threading.main_thread
cdef
int
subprocess_PIPE
=
subprocess.PIPE
cdef
int
subprocess_STDOUT
=
subprocess.STDOUT
cdef
int
subprocess_DEVNULL
=
subprocess.DEVNULL
cdef subprocess_SubprocessError
=
subprocess.SubprocessError
cdef
int
signal_NSIG
=
signal.NSIG
cdef signal_signal
=
signal.signal
cdef signal_siginterrupt
=
signal.siginterrupt
cdef signal_set_wakeup_fd
=
signal.set_wakeup_fd
cdef signal_default_int_handler
=
signal.default_int_handler
cdef signal_SIG_DFL
=
signal.SIG_DFL
cdef time_sleep
=
time.sleep
cdef time_monotonic
=
time.monotonic
cdef tb_StackSummary
=
traceback.StackSummary
cdef tb_walk_stack
=
traceback.walk_stack
cdef tb_format_list
=
traceback.format_list
cdef warnings_warn
=
warnings.warn
cdef weakref_WeakValueDictionary
=
weakref.WeakValueDictionary
cdef weakref_WeakSet
=
weakref.WeakSet
cdef py_inf
=
float
(
'
inf
'
)
#
Cython doesn't clean-up imported objects properly in Py3 mode,
#
so we delete refs to all modules manually (except sys)
del
asyncio, concurrent, collections, errno
del
functools, inspect, itertools, socket, os, threading
del
signal, subprocess, ssl
del
time, traceback, warnings, weakref
You can’t perform that action at this time.