Commits on Feb 24, 2014
Commits on Feb 23, 2014
  1. Fix bit-rotted app engine tests.

    bdarnell committed Feb 23, 2014
    sys.argv is no longer empty in dev_appserver.
Commits on Feb 22, 2014
  1. Merge pull request #977 from schlamar/fix-port-allocation

    bdarnell committed Feb 22, 2014
    Fixed automatic port allocation in bind_sockets.
Commits on Feb 21, 2014
  1. Fixed automatic port allocation in bind_sockets.

    schlamar committed Jan 23, 2014
    bind_sockets should use the same port on IPv4 and IPv6 if port=None.
Commits on Feb 19, 2014
  1. Catch up on next-release notes.

    bdarnell committed Feb 19, 2014
  2. Document the fact that tornado.options configures logging by default.

    bdarnell committed Feb 19, 2014
    Add tests and comments for how to disable this configuration.
    Make it slightly easier to disable by making the command line
    flag case-insensitive and allowing `None` instead of the string "none"
    when setting the flag in code.
    Closes #952.
Commits on Feb 18, 2014
  1. Add python 3.4 tests to tox

    bdarnell committed Feb 18, 2014
Commits on Feb 17, 2014
  1. Add a fast path to stack_context when there are no active contexts.

    bdarnell committed Feb 17, 2014
    This case is increasingly common now that coroutines are decoupled
    from stack contexts.
  2. Bring Future support for IOStream read operations into IOStream itself.

    bdarnell committed Feb 17, 2014
    This speeds things up in comparison to the _iostream_return_future
    decorator by removing unnecessary abstraction and especially by allowing
    Futures to bypass some of the hoops IOStream jumps through to ensure a
    clean slate for its callbacks.
  3. Microoptimizations for coroutines

    bdarnell committed Feb 17, 2014
    * Lazily initialize data structures for YieldPoints
    * Get rid of Runner.exc_info
  4. Fold TracebackFuture into Future.

    bdarnell committed Feb 17, 2014
    Since it is no longer possible for TracebackFuture to modify
    concurrent.futures.Future instead, there is no need for separate
    classes.  Removing the subclass speeds things up a bit by removing
    a level of indirection.
    Also microoptimized a few methods of Future.
Commits on Jan 27, 2014
  1. gen: Defer creation of stack context until a YieldPoint is reached.

    bdarnell committed Jan 26, 2014
    The runner alone can catch all necessary exceptions as long as Futures
    are used; stack contexts are only needed for YieldPoints (especially
    Callback/Wait; Task could be changed to use a local-only stack
    This is slightly backwards incompatible for code that assumes the existence
    of a stack context without yielding anything.
  2. Detect stack context inconsistency in gen.Runner.

    bdarnell committed Jan 27, 2014
    The existing checks in StackContext.__exit__ are run after the damage has
    been done and may raise exceptions in the wrong place; gen.Runner
    is a more reliable place to detect this problem.
    Throwing the exception into the generator provides a better stack trace
    for the problem and also simplifies some of the complexity of testing for
    this feature.
Commits on Jan 26, 2014
  1. gen.Runner now communicates back to the decorator via a Future instea…

    bdarnell committed Jan 26, 2014
    …d of a callback.
    This allows for failures to be reported without relying on stack_context.
  2. Consolidate implementations of gen.engine and gen.coroutine.

    bdarnell committed Jan 26, 2014
    The shared implementation is nearly identical to the old gen.coroutine,
    with a small tweak for the callback argument.
  3. Pivot tornado.gen to use Futures natively.

    bdarnell committed Jan 20, 2014
    This improves performance of applications using @coroutine and Futures,
    at the expense of some performance degradation for the older YieldPoint
  4. tornado.concurrent.Future is now always thread-unsafe.

    bdarnell committed Jan 26, 2014
    This improves performance and provides more consistent semantics
    (independent of the presence or absence of the concurrent.futures
    The parts of Tornado that accept Futures will accept both Tornado's
    thread-unsafe Futures and the thread-safe concurrent.futures.Future.
Commits on Jan 25, 2014
  1. Add support in AsyncTestCase for detecting undecorated generators.

    bdarnell committed Jan 25, 2014
    Fix a test that was not being run because of this issue.
  2. Merge pull request #979 from mike4999/simple_fix

    bdarnell committed Jan 25, 2014
     Fix for RequestHandler.write   to check for NoneType in argument
Commits on Jan 24, 2014
  1. This is a fix to check the argument to RequestHandler.write()

    mike4999 committed Jan 24, 2014
    is one of the accepted types: dict, bytes or unicode and raise a TypeError otherwise
Commits on Jan 20, 2014
  1. Return a Future from IOStream methods.

    bdarnell committed Jan 20, 2014
    This makes it easier to use IOStreams directly from coroutines.
    Closes #953.
  2. Merge pull request #976 from daftshady/master

    bdarnell committed Jan 20, 2014
    removed unnecessary else statements
Commits on Jan 19, 2014
  1. Add tornado.test.__main__ so the tests can be run with "-m tornado.te…

    bdarnell committed Jan 19, 2014
    (This doesn't work on python 2.6)