Skip to content

[WIP] doctest: lazily instantiate debugger #16946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Oct 27, 2019

The debugger gets instantiated always since a while (2de91ba), but that should not be necessary.

Mainly meant to get test / CI results for now.

@@ -1209,6 +1202,8 @@ def __init__(self, checker=None, verbose=None, optionflags=0):
# Create a fake output target for capturing doctest output.
self._fakeout = _SpoofOut()

self.debugger = None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self._debugger might be better, but decided to keep it like this for some B/C at least.

@blueyed
Copy link
Contributor Author

blueyed commented Oct 28, 2019

CI is passing, please let me know if I should continue with it / if there is interest in general.

@blueyed blueyed force-pushed the doctest-lazy-debugger branch from 9e87d5d to db8fdb5 Compare June 17, 2020 08:32
@serhiy-storchaka serhiy-storchaka marked this pull request as draft January 17, 2024 20:07
@python-cla-bot
Copy link

python-cla-bot bot commented Apr 6, 2025

The following commit authors need to sign the Contributor License Agreement:

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants