[issue29367] python-gdb: display wrapper_call()

2018-06-15 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset e36f94f204f3257a206a7766464a94230337fd18 by Victor Stinner in 
branch '2.7':
bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7726)
https://github.com/python/cpython/commit/e36f94f204f3257a206a7766464a94230337fd18


--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2018-06-15 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +7340

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-05-12 Thread STINNER Victor

STINNER Victor added the comment:


New changeset d05f7fdf6cf77724bd3064fb5a0846ef5cfe0c88 by Victor Stinner in 
branch '3.6':
[3.6] bpo-30345: Update test_gdb.py and python-gdb.py from master (#1549)
https://github.com/python/cpython/commit/d05f7fdf6cf77724bd3064fb5a0846ef5cfe0c88


--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-03-31 Thread Donald Stufft

Changes by Donald Stufft :


--
pull_requests: +844

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:


New changeset da331c7d12c4648b9734ebb07e9f722c8478d269 by Victor Stinner in 
branch 'master':
Fix test_gdb.test_wrapper_call() on Python 2
https://github.com/python/cpython/commit/da331c7d12c4648b9734ebb07e9f722c8478d269


--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:

New changeset efaf32ac89ec by Victor Stinner in branch 'default':
Fix test_gdb.test_wrapper_call() on Python 2
https://hg.python.org/cpython/rev/efaf32ac89ec

--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:


New changeset 88835e6022a81d8107a296c9f6e5f16c7d39e27a by Victor Stinner in 
branch 'master':
Make test_gdb.test_wrapper_call() make reliable
https://github.com/python/cpython/commit/88835e6022a81d8107a296c9f6e5f16c7d39e27a


--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


--
stage:  -> resolved

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


--
resolution:  -> fixed

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ffd2e5f9256a by Victor Stinner in branch 'default':
Make test_gdb.test_wrapper_call() make reliable
https://hg.python.org/cpython/rev/ffd2e5f9256a

--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Changes by Roundup Robot :


--
status: open -> closed

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:


New changeset 30867b703933d6ba30bc5f609a1a2337925ead33 by Victor Stinner in 
branch 'master':
python-gdb.py supports method-wrapper
https://github.com/python/cpython/commit/30867b703933d6ba30bc5f609a1a2337925ead33


--

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-02-01 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 54fa95b19fae by Victor Stinner in branch 'default':
python-gdb.py supports method-wrapper
https://hg.python.org/cpython/rev/54fa95b19fae

--
nosy: +python-dev

___
Python tracker 

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



[issue29367] python-gdb: display wrapper_call()

2017-01-25 Thread STINNER Victor

New submission from STINNER Victor:

python-gdb.py handles various Python calls, but not descriptors. Attached patch 
adds code to display calls to wrapperobject objects.

The patch adds the first "" line of the traceback:
---
(gdb) py-bt
Traceback (most recent call first):
  
  File "/home/haypo/prog/python/git_cpython/Lib/encodings/utf_8.py", line 41, 
in getregentry
streamwriter=StreamWriter,
  File "/home/haypo/prog/python/git_cpython/Lib/encodings/__init__.py", line 
122, in search_function
entry = getregentry()
---

I wrote this patch while working on the issue #29358. Object instanciation is 
full of wrappers. A better debugger helps to me understand my bugs ;-)

Example to get such tracecback:
---
haypo@selma$ gdb -args ./python -m test -v test_sys
(gdb) b wrapper_call
(gdb) run
(gdb) py-bt
Traceback (most recent call first):
  
  File "/home/haypo/prog/python/default/Lib/enum.py", line 66, in __init__
super().__init__()
  File "/home/haypo/prog/python/default/Lib/enum.py", line 117, in __prepare__
enum_dict = _EnumDict()
  
  File "/home/haypo/prog/python/default/Lib/enum.py", line 509, in 
class Enum(metaclass=EnumMeta):
  
  File "", line 205, in _call_with_frames_removed
  (...)
---

I guess that the next step is to write a test ;-)

--
files: gdb_wrapper_call.patch
keywords: patch
messages: 286233
nosy: haypo, inada.naoki
priority: normal
severity: normal
status: open
title: python-gdb: display wrapper_call()
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file46411/gdb_wrapper_call.patch

___
Python tracker 

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