Add the stdlib doctest adapter package - #215
Open
Erotemic wants to merge 1 commit into
Open
Conversation
Erotemic
force-pushed
the
review/05-pytest-embedding
branch
from
July 12, 2026 00:38
ac8e85c to
481f725
Compare
Erotemic
force-pushed
the
review/06-public-interop-api
branch
from
July 12, 2026 00:38
9c89f00 to
3705ed6
Compare
Erotemic
force-pushed
the
review/05-pytest-embedding
branch
from
July 12, 2026 03:44
481f725 to
e2f2e0c
Compare
Erotemic
force-pushed
the
review/06-public-interop-api
branch
from
July 12, 2026 03:44
3705ed6 to
60f22c5
Compare
Erotemic
force-pushed
the
review/05-pytest-embedding
branch
4 times, most recently
from
July 13, 2026 14:48
9fa8518 to
68e79bc
Compare
Erotemic
force-pushed
the
review/06-public-interop-api
branch
from
July 14, 2026 01:23
60f22c5 to
0934fce
Compare
Erotemic
marked this pull request as ready for review
July 14, 2026 01:23
Erotemic
force-pushed
the
review/06-public-interop-api
branch
3 times, most recently
from
July 14, 2026 02:07
87ea3ed to
05aa399
Compare
Erotemic
force-pushed
the
review/06-public-interop-api
branch
from
July 14, 2026 02:36
05aa399 to
2fe485c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
xdoctest.interopmodule with the specifically namedxdoctest.stdlib_doctestadapter package.stdlib_doctest/__init__.pyis the documented public namespace and executable quick start.stdlib_doctest/_checker.pycontains checker registration, resolution, and the stdlib-shapedOutputChecker.stdlib_doctest/_optionflags.pycontains stdlib optionflag registration and runtime-state translation.stdlib_doctest/_convert.pycontainsdoctest.Example/doctest.DocTestintake.checker_facade.py,directive_facade.py,stdlib_compat.py, andinterop.pyrather than leaving forwarding wrappers.xdoctestaliases for now, but sources them from the single package._checkerand_optionflagsexplicitly. This is intentionally an organizational move, not yet a redesign of which dependencies belong in core.stdlib_doctest.Public package
The package re-exports the existing stdlib-shaped checker, optionflag, runtime-state conversion, and object-intake APIs. Its
__init__.pycontains documentation, the executable quick start, re-exports, and__all__; implementation remains in private modules.Validation
xdoctest.stdlib_doctestpassed, including the package quick start.mypy src/xdoctestandty check src/xdoctest tests/passed before packaging.git diff --checkpassed before packaging.