[issue31353] Implement PEP 553 - built-in breakpoint()

2018-07-09 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It's a convenient API. I think originally I may have just don't effectively a getattr on the imported module, but I don't remember (and don't have original implementation handy - thanks, rebase!) I don't have particularly strong feelings on the matter.

[issue31353] Implement PEP 553 - built-in breakpoint()

2018-07-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it needed to specify the fromlist argument for PyImport_ImportModuleLevelObject()? The only effect of this is that Python will try to import the hook as a submodule if it is not an attribute of the parent module. But I think that callable modules is

[issue31353] Implement PEP 553 - built-in breakpoint()

2017-10-05 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31353] Implement PEP 553 - built-in breakpoint()

2017-10-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Implement PEP 553 - built-in debug() -> Implement PEP 553 - built-in breakpoint() ___ Python tracker