[issue42726] gdb/libpython.py InstanceProxy does not work with py3

2020-12-23 Thread Augusto Hack
New submission from Augusto Hack : Calling `proxyval` on an instance of a user defined class fails. minimally reproducible example: ``` from time import sleep class A: def __init__(self): self.a = 1 a = A() sleep(10) ``` Attach to process and run: ``` py-up python-interactive

[issue42045] Add support to async code to pdb

2020-10-15 Thread Augusto Hack
New submission from Augusto Hack : Currently it seems that `pdb` does not support executing `async` functions. This makes debugging `async` code a bit harder if one needs to call an `async` function from the REPL. Here is an example: ```python import asyncio async def f() ->

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-25 Thread Augusto Hack
Change by Augusto Hack : -- keywords: +patch pull_requests: +8399 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33569> ___ ___ Py

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-20 Thread Augusto Hack
Augusto Hack added the comment: I have made some changes to expose the InitVar type, they are available here: https://github.com/hackaugusto/dataclasses/tree/initvar_type Are these changes sufficient? -- nosy: +hack.augusto ___ Python tracker