[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov

Change by Andrew Svetlov :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

False alarm, sorry.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Yury Selivanov

Yury Selivanov  added the comment:

I think I've fixed that.  Can you give me a script to repro?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov

New submission from Andrew Svetlov :

Currently both helper classes have no custom tp_repr slot, it leads to 
autogenerated  values.

Both helpers are private but in debug mode asyncio loop reports about slow 
callbacks, the message doesn't point on executed coroutine -- it just prints 
'Executing  took 0.203 seconds'.

The only way to figure out what coroutine is slow is monkey-patching CTask 
implementation back to PyTask usage.
Sure, the method is too obscure for newbies.

--
components: asyncio
messages: 311486
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com