Commits

Author Commit Message Labels Comments Date
Denis Bilenko
monkey.py: do not silent too much
Denis Bilenko
remove a comment
Denis Bilenko
remove incorrect mention of libevent in the comment
Denis Bilenko
remove incorrect mention of libevent in the comment
Denis Bilenko
test__socket_dns.py: log time it took to execute a function
Denis Bilenko
add examples/multiple_threads.py
Denis Bilenko
gevent.monkey: add get_unpatched() function
Denis Bilenko
test__core.py: fix failure in test_io()
Denis Bilenko
libev: fix evpipe on windows (async watcher)
Denis Bilenko
update copyright years
Denis Bilenko
core.async: add send() method and 'sent' property
Denis Bilenko
remove duplicate method definition
Denis Bilenko
core.ppyx: remove unnecessary check It is unnecessary because vfd_open will check the handle and return a valid pseudo-fd
Denis Bilenko
ignore some windows errors
Denis Bilenko
resolver_ares.py: when getnameinfo() returns None instead of service, convert it to '0' for compatibility with stdlib's socket module
Denis Bilenko
resolver_ares.py: when ares.gethostbyname returns empty host list, raise gaierror for compatibility with stdlib's socket module
Denis Bilenko
reorganize test__socket_dns.py, so that each comparison is its own test case
Denis Bilenko
update test__examples.py
Denis Bilenko
greentest/mysubprocess.py: add gevent_wait() method to Popen
Denis Bilenko
add examples/udp_client.py
Denis Bilenko
add examples/udp_server.py
Denis Bilenko
add server.DatagramServer; modify baseserver.BaseServer in such a way that makes it a good base class for both StreamServer and DatagramServer baseserver.py: - BaseServer no longer accepts 'backlog' parameter. It is now done by StreamServer. - BaseServer implements start_accepting() and stop_accepting() methods - BaseServer now implements "termporarily stop accepting" strategy - BaseServer now has _do_read method which does everything except for actually calling accept()/recvfrom() - pre_start() method is renamed to init_socket() - renam…
Denis Bilenko
test__pool.py: do not create functions inside tests, that confuses refcounter
Denis Bilenko
slightly shorten echoserver.py
Denis Bilenko
callbacks.c: update comments
Denis Bilenko
test__semaphore.py: add test_release_twice()
Denis Bilenko
Semaphore: avoid copying list of links; rawlink() no longer schedules notification Avoid copying list of links by maintaining a 'dirty' flag that causes _notify_links to restart iteration. This makes sure that we don't miss a recently added link because notification is already in progress. It is possible to notify the same links (that did not remove themselvers) more than once, but it's better than not notifying some links at all. rawlink() no longer schedules notification imm…
Denis Bilenko
greentest.py: simplify code
Denis Bilenko
greentest.py: make not matching 'switch_expected' into an exception
Denis Bilenko
greentest.py: when checking global refcount, expect negative and oscillating changes
  1. Prev
  2. Next