Hugo van Kemenade
Hugo van Kemenade
When using the GitHub release zip from https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v0.9.1 the error message says to build from a Git repo or PyPI tarball: > Make sure you're either building from a fully...
Looking at https://github.com/sethmlarson/pypi-data ("Mostly up-to-date data about almost every package on PyPI"), 42,168 out of 224,410 have extra requirements (`requires_extras`), or 19%. ```console ❯ sqlite3 'pypi.db' 'SELECT package_name, extra FROM...
Another undetected ``` `func` ``` at https://github.com/python/cpython/blob/9f088336b268dfe9011a7cb550f4e488ccd7e8f5/Doc/c-api/function.rst?plain=1#L171: ```rst .. c:type:: int (*PyFunction_WatchCallback)(PyFunction_WatchEvent event, PyFunctionObject *func, PyObject *new_value) Type of a function watcher callback function. If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY``...
I think this is because Sphinx Lint doesn't know about `.. c:type::` (and the others at https://www.sphinx-doc.org/en/master/usage/domains/c.html#cross-referencing-c-constructs), so we we classify it as "comment": ```python @per_file_cache def type_of_explicit_markup(line): """Tell apart...
I would ignore markup in comments, just as (I assume) Sphinx also does. Similar to https://github.com/sphinx-contrib/sphinx-lint/issues/34, where we want to ignore markup inside code blocks.
Adding tox would be useful here: it can take care of virtualenvs, installing dependencies, running tests, and also make it easy to test on multiple Python versions.
Can this be closed now the docs were updated in https://github.com/python/cpython/pull/119201?
With the old REPL on macOS, `sys.prefix.replace("\\", "\\\\")` prints out a string. But the new one doesn't: ```pycon ❯ PYTHON_BASIC_REPL=1 ./python.exe Python 3.13.0a6+ (heads/main:fcf52d7cee, May 8 2024, 09:40:54) [Clang 15.0.0...
Yes, I was on latest `main` and I did paste it in. Yep, confirmed it reproduces when pasting, and works fine when typing or selecting from history.
@dependabot rebase