| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This is a very interesting case: tests fail on WASI https://github.com/python/cpython/actions/runs/16193074826/job/45713120305?pr=136501 |
Sorry, something went wrong.
|
Can we skip them on WASI? |
Sorry, something went wrong.
|
Done! |
Sorry, something went wrong.
| and are converted into regular :class:`str` objects. | ||
| For example: | ||
|
|
||
| .. doctest:: |
There was a problem hiding this comment.
Why are all the doctest:: directive removed?
Sorry, something went wrong.
There was a problem hiding this comment.
Because we now run doctests from test_builtins.py
Sorry, something went wrong.
There was a problem hiding this comment.
Why run from test_builtins instead of make doctest? All the other doctests in documnentation run via Sphinx.
Sorry, something went wrong.
There was a problem hiding this comment.
Couple of reasons: make doctest is not executed in all environments (which call help us find bugs), it is harder to run locally (slower and requires extra setup), not all >>> are recognized as doctests by make doctest
Sorry, something went wrong.
There was a problem hiding this comment.
I think though we should maintain the property that documentation doctests are all run via the same mechanism.
not all >>> are recognized as doctests by make doctest
Do you have examples? We likely need to add more .. doctest::, rather than removing them.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, right in this file. Check out int.bit_length(). It is checked now. Also, check out my AttributeError: 'method' object has no attribute 'whoami' change, it was not caught before :(
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
This has merge conflicts now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Please, help me with this one :)
This stdtypes.rst PR:
📚 Documentation preview 📚: https://cpython-previews--136501.org.readthedocs.build/