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

Issue 69350045: Fix _TracebackLogger

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

Description

Fix _TracebackLogger

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -7 lines) Patch
M asyncio/futures.py View 3 chunks +20 lines, -7 lines 6 comments Download
M asyncio/test_utils.py View 1 chunk +1 line, -0 lines 1 comment Download
M tests/test_futures.py View 2 chunks +59 lines, -0 lines 0 comments Download

Messages

Total messages: 6
GvR
This whole thing looks terribly misguided. If run_until_complete() leaves activate() in its ready queue, it ...
10 years, 2 months ago (2014-02-27 18:04:24 UTC) #1
haypo_gmail
https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py File asyncio/futures.py (right): https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py#newcode183 asyncio/futures.py:183: 'message': 'Future/Task exception was never retrieved:', On 2014/02/27 18:04:24, ...
10 years, 2 months ago (2014-02-27 18:08:12 UTC) #2
GvR
https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py File asyncio/futures.py (right): https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py#newcode183 asyncio/futures.py:183: 'message': 'Future/Task exception was never retrieved:', On 2014/02/27 18:08:12, ...
10 years, 2 months ago (2014-02-27 18:26:46 UTC) #3
yselivanov
https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py File asyncio/futures.py (right): https://codereview.appspot.com/69350045/diff/1/asyncio/futures.py#newcode331 asyncio/futures.py:331: exception.__traceback__ = None I don't like this whole business ...
10 years, 1 month ago (2014-03-11 04:37:34 UTC) #4
GvR
I'm with Yuri. Let's not do this.
10 years, 1 month ago (2014-03-11 18:09:06 UTC) #5
haypo_gmail
10 years, 1 month ago (2014-03-11 23:20:57 UTC) #6
On 2014/03/11 18:09:06, GvR wrote:
> I'm with Yuri. Let's not do this.

I agree that the whole approach is wrong. Something like that should be done
instead:
https://bitbucket.org/haypo/misc/src/tip/python/suppress_locals.py
http://bugs.python.org/issue17911
Sign in to reply to this message.

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