[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-12 Thread Irit Katriel
Irit Katriel added the comment: Thank you Erlend! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-12 Thread miss-islington
miss-islington added the comment: New changeset 6c190b5ae5887d592bc8915148440a63da8b7cdd by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None (GH-25438) (GH-26053)

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-12 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Yes, test.os_helper was introduced in 3.10. I've manually cherry-picked 8563a7052ccd98e6a381d361664ce567afd5eb6e to 3.9 (GH-26053). -- ___ Python tracker

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-12 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +24693 pull_request: https://github.com/python/cpython/pull/26053 ___ Python tracker ___

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-11 Thread Irit Katriel
Irit Katriel added the comment: The 3.9 backport failed because of test failures like: == ERROR: test_checkline_is_not_executable (test.test_pdb.ChecklineTests)

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-11 Thread Irit Katriel
Irit Katriel added the comment: New changeset c90ed8e2e79ebd64f72c621b5a2ab06ec4c7210c by Miss Islington (bot) in branch '3.10': bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None. (GH-25438) (#26050)

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +24691 pull_request: https://github.com/python/cpython/pull/26051 ___ Python tracker ___

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +24690 pull_request: https://github.com/python/cpython/pull/26050 ___ Python tracker

[issue28528] Pdb.checkline() attribute error when 'curframe' is None

2021-05-11 Thread Irit Katriel
Change by Irit Katriel : -- title: Pdb.checkline() attribute error when 'curframe' is missing -> Pdb.checkline() attribute error when 'curframe' is None ___ Python tracker

[issue28528] Pdb.checkline() attribute error when 'curframe' is missing

2021-05-11 Thread Irit Katriel
Change by Irit Katriel : -- title: Pdb.checkline() -> Pdb.checkline() attribute error when 'curframe' is missing ___ Python tracker ___

[issue28528] Pdb.checkline()

2021-05-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue28528] Pdb.checkline()

2021-04-16 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland nosy_count: 3.0 -> 4.0 pull_requests: +24168 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25438 ___ Python tracker

[issue28528] Pdb.checkline()

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker ___ ___ Python-bugs-list

[issue28528] Pdb.checkline()

2016-10-25 Thread Thomas Kluyver
New submission from Thomas Kluyver: Pdb.checkline() does a hasattr() check to protect against self.curframe not existing. self.curframe can also be None (if self.forget() or self.reset() was called), but checkline() does not handle this. The attached patch treats self.curframe == None as