[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5263

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov

Change by Andrew Svetlov :


--
pull_requests: +5262

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset d9c743b2d118530ca13a8e29f96f30950866bd56 by Andrew Svetlov (Miss 
Islington (bot)) in branch '3.6':
bpo-32650: Add an asyncgen pdb test (GH-5406) (#5419)
https://github.com/python/cpython/commit/d9c743b2d118530ca13a8e29f96f30950866bd56


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5254

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset 3cfb84c65790f5f9377574f9be0799bdd9d0132c by Andrew Svetlov in 
branch '3.6':
[3.6] bpo-32650 Add support for async generators and more test for coroutines 
in pdb  (GH-5403). (#5411)
https://github.com/python/cpython/commit/3cfb84c65790f5f9377574f9be0799bdd9d0132c


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov

Change by Andrew Svetlov :


--
pull_requests: +5244

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset 543ec005a4c83fcc0d14ac1e4c0f1a36bf84640b by Andrew Svetlov (Miss 
Islington (bot)) in branch '3.6':
bpo-32650: Add native coroutine support to bdb when stepping over line 
(GH-5400) (#5402)
https://github.com/python/cpython/commit/543ec005a4c83fcc0d14ac1e4c0f1a36bf84640b


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov

Change by Yury Selivanov :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> enhancement

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov

Yury Selivanov  added the comment:


New changeset 9ee1bf9ab5af8233ed8ec5c53d12a29dc1bd9c9d by Yury Selivanov in 
branch 'master':
bpo-32650: Add an asyncgen pdb test (#5406)
https://github.com/python/cpython/commit/9ee1bf9ab5af8233ed8ec5c53d12a29dc1bd9c9d


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov

Change by Yury Selivanov :


--
pull_requests: +5239

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov

Yury Selivanov  added the comment:


New changeset c7ab581db216aeeb1c2aa7af2f2198d2b7516383 by Yury Selivanov (Pablo 
Galindo) in branch 'master':
bpo-32650 Add support for async generators and more test for coroutines in pdb  
(#5403)
https://github.com/python/cpython/commit/c7ab581db216aeeb1c2aa7af2f2198d2b7516383


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Pablo Galindo Salgado

Change by Pablo Galindo Salgado :


--
pull_requests: +5237

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5236

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset 46877024423e98d1b872bf308dacacd583327207 by Andrew Svetlov (Pablo 
Galindo) in branch 'master':
bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400)
https://github.com/python/cpython/commit/46877024423e98d1b872bf308dacacd583327207


--

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Pablo Galindo Salgado

Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +5234
stage:  -> patch review

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-24 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +njs

___
Python tracker 

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



[issue32650] Debug support for native coroutines is broken

2018-01-24 Thread Andrew Svetlov

New submission from Andrew Svetlov :

pdb (and other Python debuggers) are built on top of bdb.py module.

The module has a support for stepping to next line in function (next command).

The command checks frame flags and do extra steps if the flags contains 
CO_GENERATOR.

But CO_COROUTINE is not supported, it leads to stepping into a native coroutine 
instead of expecting stepping over.

The patch should be relative simple: just add a check for CO_COROUTINE along 
with CO_GENERATOR everywhere.

--
messages: 310600
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Debug support for native coroutines is broken
versions: Python 3.6, Python 3.7

___
Python tracker 

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