Commit Graph

4 Commits

Author SHA1 Message Date
Ben Darnell b909d37e54 docs,demos: Update for asyncio.run pattern
Adapt for Python 3.10 deprecation changes by using asyncio.run
instead of IOLoop.start throughout (except for TCPServer multi-process
docs).

Demos have all been changed but I haven't tested all of them.
2022-06-03 14:50:20 -04:00
Ben Darnell e332a7de7e *: Remove Python2 __future__ imports throughout the codebase 2018-07-14 16:58:48 -04:00
Jehiah Czebotar 8906b3afd8 make executable bit and shebang consistent on various source files
setup.py is intended to be run with "python setup.py install"

sources in the tornado module which have main functions/clauses
are intended to be run with "python -m tornado.xxx"

various demos and scripts can be run directly
2018-01-06 20:35:44 -05:00
Michael V. DePalatis 1920c86dd6 Add TCP echo demo 2016-08-12 08:27:04 +02:00