Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16963)

Issue 68210047: Diff between Tulip and Trollius

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by haypo_gmail
Modified:
10 years, 2 months ago
Reviewers:
Visibility:
Public.

Description

Diff between Tulip and Trollius

Patch Set 1 #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+4999 lines, -2348 lines) Patch
M .hgignore View 1 chunk +3 lines, -0 lines 0 comments Download
M .hgtags View 1 chunk +9 lines, -0 lines 0 comments Download
M AUTHORS View 1 chunk +10 lines, -26 lines 0 comments Download
A COPYING View 1 chunk +201 lines, -0 lines 0 comments Download
M Makefile View 2 chunks +3 lines, -1 line 0 comments Download
M README View 1 chunk +11 lines, -32 lines 0 comments Download
A TODO View 1 chunk +25 lines, -0 lines 0 comments Download
M asyncio/__init__.py View 3 chunks +9 lines, -0 lines 0 comments Download
M asyncio/base_events.py View 24 chunks +74 lines, -67 lines 0 comments Download
M asyncio/base_subprocess.py View 2 chunks +4 lines, -4 lines 0 comments Download
A asyncio/compat.py View 1 chunk +53 lines, -0 lines 0 comments Download
A asyncio/coroutines.py View 1 chunk +114 lines, -0 lines 0 comments Download
M asyncio/events.py View 12 chunks +20 lines, -21 lines 0 comments Download
A asyncio/executor.py View 1 chunk +84 lines, -0 lines 0 comments Download
M asyncio/futures.py View 12 chunks +36 lines, -39 lines 0 comments Download
M asyncio/locks.py View 21 chunks +48 lines, -74 lines 0 comments Download
M asyncio/proactor_events.py View 9 chunks +13 lines, -8 lines 1 comment Download
M asyncio/protocols.py View 1 chunk +1 line, -1 line 0 comments Download
A asyncio/py27_weakrefset.py View 1 chunk +202 lines, -0 lines 0 comments Download
A asyncio/py33_exceptions.py View 1 chunk +133 lines, -0 lines 0 comments Download
A asyncio/py33_winapi.py View 1 chunk +74 lines, -0 lines 0 comments Download
A asyncio/py3_ssl.py View 1 chunk +140 lines, -0 lines 0 comments Download
M asyncio/queues.py View 11 chunks +22 lines, -21 lines 0 comments Download
M asyncio/selector_events.py View 30 chunks +82 lines, -58 lines 2 comments Download
M asyncio/selectors.py View 22 chunks +39 lines, -29 lines 1 comment Download
M asyncio/streams.py View 14 chunks +28 lines, -25 lines 1 comment Download
M asyncio/subprocess.py View 8 chunks +42 lines, -31 lines 1 comment Download
M asyncio/tasks.py View 28 chunks +87 lines, -166 lines 0 comments Download
A asyncio/test_support.py View 1 chunk +285 lines, -0 lines 0 comments Download
M asyncio/test_utils.py View 13 chunks +162 lines, -38 lines 0 comments Download
A asyncio/time_monotonic.py View 1 chunk +170 lines, -0 lines 0 comments Download
M asyncio/transports.py View 5 chunks +6 lines, -9 lines 2 comments Download
M asyncio/unix_events.py View 27 chunks +66 lines, -39 lines 0 comments Download
M asyncio/windows_events.py View 19 chunks +51 lines, -55 lines 1 comment Download
M asyncio/windows_utils.py View 8 chunks +18 lines, -9 lines 1 comment Download
M check.py View 1 chunk +1 line, -1 line 0 comments Download
A doc/Makefile View 1 chunk +153 lines, -0 lines 0 comments Download
A doc/conf.py View 1 chunk +242 lines, -0 lines 0 comments Download
A doc/index.rst View 1 chunk +300 lines, -0 lines 0 comments Download
A doc/make.bat View 1 chunk +190 lines, -0 lines 0 comments Download
M examples/cacheclt.py View 6 chunks +24 lines, -23 lines 0 comments Download
M examples/cachesvr.py View 5 chunks +9 lines, -9 lines 0 comments Download
M examples/child_process.py View 4 chunks +8 lines, -8 lines 0 comments Download
M examples/crawl.py View 24 chunks +55 lines, -45 lines 2 comments Download
M examples/fetch0.py View 2 chunks +5 lines, -4 lines 0 comments Download
M examples/fetch1.py View 4 chunks +13 lines, -9 lines 0 comments Download
M examples/fetch2.py View 8 chunks +30 lines, -20 lines 0 comments Download
M examples/fetch3.py View 10 chunks +46 lines, -32 lines 0 comments Download
M examples/fuzz_as_completed.py View 2 chunks +6 lines, -4 lines 0 comments Download
M examples/hello_coroutine.py View 1 chunk +1 line, -1 line 0 comments Download
M examples/shell.py View 2 chunks +13 lines, -11 lines 0 comments Download
M examples/simple_tcp_server.py View 4 chunks +16 lines, -13 lines 0 comments Download
M examples/sink.py View 2 chunks +6 lines, -4 lines 0 comments Download
M examples/source.py View 2 chunks +4 lines, -3 lines 0 comments Download
M examples/source1.py View 5 chunks +11 lines, -9 lines 0 comments Download
M examples/stacks.py View 1 chunk +2 lines, -2 lines 0 comments Download
M examples/subprocess_attach_read_pipe.py View 1 chunk +8 lines, -5 lines 0 comments Download
M examples/subprocess_attach_write_pipe.py View 2 chunks +13 lines, -9 lines 0 comments Download
M examples/subprocess_shell.py View 5 chunks +8 lines, -7 lines 0 comments Download
M examples/tcp_echo.py View 3 chunks +14 lines, -3 lines 0 comments Download
M examples/timing_tcp_server.py View 4 chunks +18 lines, -15 lines 0 comments Download
M examples/udp_echo.py View 2 chunks +3 lines, -3 lines 0 comments Download
M overlapped.c View 10 chunks +52 lines, -2 lines 0 comments Download
M runtests.py View 7 chunks +48 lines, -35 lines 0 comments Download
M setup.py View 2 chunks +45 lines, -12 lines 0 comments Download
M tests/echo3.py View 2 chunks +9 lines, -1 line 0 comments Download
M tests/test_base_events.py View 35 chunks +152 lines, -137 lines 0 comments Download
M tests/test_events.py View 57 chunks +292 lines, -299 lines 0 comments Download
M tests/test_futures.py View 10 chunks +24 lines, -48 lines 0 comments Download
M tests/test_locks.py View 32 chunks +97 lines, -90 lines 0 comments Download
M tests/test_proactor_events.py View 23 chunks +46 lines, -44 lines 0 comments Download
M tests/test_queues.py View 15 chunks +50 lines, -46 lines 0 comments Download
M tests/test_selector_events.py View 70 chunks +188 lines, -161 lines 0 comments Download
M tests/test_selectors.py View 13 chunks +21 lines, -20 lines 0 comments Download
M tests/test_streams.py View 13 chunks +20 lines, -19 lines 0 comments Download
M tests/test_subprocess.py View 7 chunks +34 lines, -23 lines 0 comments Download
M tests/test_tasks.py View 53 chunks +158 lines, -180 lines 0 comments Download
M tests/test_transports.py View 3 chunks +11 lines, -4 lines 0 comments Download
M tests/test_unix_events.py View 66 chunks +160 lines, -150 lines 0 comments Download
M tests/test_windows_events.py View 3 chunks +14 lines, -12 lines 0 comments Download
M tests/test_windows_utils.py View 5 chunks +11 lines, -12 lines 0 comments Download
A tox.ini View 1 chunk +29 lines, -0 lines 0 comments Download
R update_stdlib.sh View 1 chunk +0 lines, -60 lines 0 comments Download
A update_tulip.sh View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 2
haypo_gmail
https://codereview.appspot.com/68210047/diff/1/asyncio/proactor_events.py File asyncio/proactor_events.py (right): https://codereview.appspot.com/68210047/diff/1/asyncio/proactor_events.py#newcode424 asyncio/proactor_events.py:424: self._accept_futures.clear() I don't remember why I added these lines. ...
10 years, 2 months ago (2014-02-25 17:00:17 UTC) #1
haypo_gmail
10 years, 2 months ago (2014-02-26 10:42:30 UTC) #2
https://codereview.appspot.com/68210047/diff/1/asyncio/selector_events.py
File asyncio/selector_events.py (left):

https://codereview.appspot.com/68210047/diff/1/asyncio/selector_events.py#old...
asyncio/selector_events.py:289: err = sock.getsockopt(socket.SOL_SOCKET,
socket.SO_ERROR)
On 2014/02/25 17:00:18, haypo_gmail wrote:
> Oh, this line is different in Trollius. It looks like a bug.

It's fine, I just move some lines into a subfuction _get_socket_error() to be
able to call it in wrap_error().

https://codereview.appspot.com/68210047/diff/1/asyncio/transports.py
File asyncio/transports.py (right):

https://codereview.appspot.com/68210047/diff/1/asyncio/transports.py#newcode99
asyncio/transports.py:99: self.write(b''.join(data))
On 2014/02/25 17:00:18, haypo_gmail wrote:
> I'm not sure the the b''.join() is needed here.

Oh, data is a list of bytes, not a bytes string.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b