Timothée Mazzucotelli

Results 286 issues of Timothée Mazzucotelli

...and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead. Triggered by: ```pytb .venvs/3.14/lib/python3.14/site-packages/loguru/_simple_sinks.py:13: in __init__ self._completable = asyncio.iscoroutinefunction(getattr(stream, "complete", None)) ``` Just started getting these deprecation warnings while running...

~~Add the `preserve_comments` parameter to `Environment.parse` to preserve comments in template ASTs.~~ Create a new `Comment` node, and always preserve those in ASTs obtained from `Environment.parse`. Fixes #1967. - [x]...

Might have to be done in each handler :thinking: ```css .doc .md-typeset h5 { text-transform: none; } ```

https://discuss.python.org/t/another-attempt-at-docstrings-for-names-and-parameters-using/67931/22 Care to join? Would love Docments' authors inputs :slightly_smiling_face:

This PR would allow users to define custom events, for their own downstream users to implement the corresponding hooks. It's an extension system in the extension system. Inspired by https://github.com/mkdocs/mkdocs/issues/3806....