]> git.ipfire.org Git - thirdparty/tornado.git/commit
Disallow multiple calls to add_handler for the same fd in IOLoop.
authorBen Darnell <ben@bendarnell.com>
Fri, 29 Jun 2012 07:53:22 +0000 (00:53 -0700)
committerBen Darnell <ben@bendarnell.com>
Fri, 29 Jun 2012 07:53:22 +0000 (00:53 -0700)
commited7030d280962a2ba5a9861689eecd6edbabfd94
tree4fc81994b732de89b1edc86c1205e52c37d25722
parentcfd7a96c7e93c1bed28cca2c556680b1cc5fd537
Disallow multiple calls to add_handler for the same fd in IOLoop.

This was already true for epoll; this change adds a check for
kqueue and select implementations.
tornado/ioloop.py
tornado/test/ioloop_test.py