Skip to content

IGNORE#1347

Closed
shuklaabhi wants to merge 62 commits intostablefrom
master
Closed

IGNORE#1347
shuklaabhi wants to merge 62 commits intostablefrom
master

Conversation

@shuklaabhi
Copy link

IGNORE PLEASE

st4lk and others added 30 commits January 27, 2015 14:45
Skip falsy values for some SimpleCookie flags
some modifications in demos/benchmark so it can run both in py2 and py3
The only remaining flake8 errors are for line length.
…hanges of the system time differently:

 * calculating next timeout value directly while advancing by a multiple of callback_time
 * when the system time changes, jumps into the future make the _schedule_next method do a busy wait.
 * on slow machines (RPi), jumps of a few months into the future can block the loop for a few minutes
=> added a check for big differences in current system time and the current value of the next scheduled timeout

On a first boot of an older RPi image, tornado sometime starts before the date&time were updated through NTP, hence blocking the ioloop for several minutes.
Avoid busy waiting in ioloop when system time is skipped forward
Added logging for debugging and fixes for flake8
In Python 3 every exception has an auto-attached __context__ exception if it was
raised while an existing exception was being handled.  This is often a very
useful property and allows users to see the underlying cause of many problems.

However, when dealing with async code via coroutines this feature can suddenly
become a pretty big issue.  Namely, if you generator.throw back into a coroutine
to raise an exception in the correct scope, and that coroutine raises an
exception at a later time you can have nested exceptions which shouldn't
logically be nested.

This patch resolves this issue in the coroutine code by moving the gen.throw
outside of the exception handler.  By doing this the user-code scope is able to
later raise exceptions without worrying about inheriting prior exception
context.
Coroutine exception __context__ leak in python 3
It is inexplicably failing on py27 DEPS=false while passing in other
configurations.
Copied from Toro with small improvements.
bdarnell and others added 28 commits February 15, 2015 18:04
This passes howsmyssl.com for python 2.7.9 and above; the older
versions are fairly hopeless.
Copied from Toro with small improvements.
This allows it to be used with non-default options instances.

Fixes #1342.
Add tornado.locks.Event.
The behavior of SSLSocket.send() with an unwriteable socket
has changed: http://bugs.python.org/issue20951
Compare strings case-insensitively since the behavior of the
cookie library has changed.
Fix simple typo in httpclient exception message
Locale context (pgettext support)
@shuklaabhi shuklaabhi closed this Feb 23, 2015
@shuklaabhi shuklaabhi changed the title Fixed Error: AttributeError: 'NoneType' object has no attribute 'remote_ip' IGNORE Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants