Petr Viktorin

Results 103 issues of Petr Viktorin

Make it possible to add a note that shows up for coaches. This way we could clarify what kind of answers we are looking for. In some more "creative" tasks...

enhancement

Some solutions are creative/insightful, or show common errors, and are worth showing to the whole class at the next lesson. It would be nice to be able to mark these...

enhancement

Hi, I hope it's this is a good place (technically, it's a feature request to add a FAQ entry to the site). I didn't find any better place on https://commonsclause.com/...

The following public C API is new in 3.13 (beta 1, relative to 3.12), and as of this writing it looks either - undocumented, or - documented incorrectly. See the...

docs
topic-C-API

3.13 newly defines the following unprefixed functions/macros/types via `Python.h`. They should probably be hidden: - [x] `uop_get_target` in `Include/cpython/optimizer.h:67` - [x] `uop_get_exit_index` in `Include/cpython/optimizer.h:73` - [x] `uop_get_jump_target` in `Include/cpython/optimizer.h:79` -...

topic-C-API

Hello, Thank you for a2wsgi! I found a packaging issue on Python 3.10 and lower: `asgi_typing.py` has: ```python if sys.version_info >= (3, 11): from typing import NotRequired else: from typing_extensions...

Running the following simplified app with [`PYTHONASYNCIODEBUG=1`](https://docs.python.org/3/library/asyncio-dev.html#asyncio-debug-mode) raises errors about non-thread-safe use: ```py from a2wsgi import ASGIMiddleware from werkzeug.test import Client async def asgi_app(scope, receive, send): event = await receive()...

This wraps calls to the event loop in thread-safe functions. `PYTHONASYNCIODEBUG` is added to GitHub actions to detect similar issues. There might be a more elegant way to do this,...

Users who don't have a github login are instructed to report issues to [email protected]. I meant to do some triaging before converting the mails to GH issues, but always had...

docs
easy