[issue42119] Error when debugging logging.FileHandler subclass __init__ method

2021-09-12 Thread Andrei Kulakov
Andrei Kulakov added the comment: Changing from not a bug to duplicate of #20853. -- resolution: not a bug -> duplicate superseder: -> pdb "args" crashes when an arg is not printable ___ Python tracker

[issue42119] Error when debugging logging.FileHandler subclass __init__ method

2021-09-10 Thread Andrei Kulakov
Change by Andrei Kulakov : -- nosy: +kj resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue42119] Error when debugging logging.FileHandler subclass __init__ method

2021-07-28 Thread Andrei Kulakov
Andrei Kulakov added the comment: Françoise: You can simply set the two attrs required by __repr__ in the pdb session: ./python.exe ~/temp/a.py --INS-- > /Users/ak/opensource/cpython/Lib/logging/__init__.py(1152)__init__() ->

[issue42119] Error when debugging logging.FileHandler subclass __init__ method

2020-10-22 Thread Françoise CONIL
New submission from Françoise CONIL : In pdb, when I hit "a" to see __init__ parameters of a logging.FileHandler subclass, I get an error because __repr__ needs a logging level. The level has been removed from the parameters by configure_handler() when it instanciates the handler. The level is