Petr Viktorin

Results 103 issues of Petr Viktorin

Python 3.11 drops the deprecated @asyncio.coroutine and asyncio.iscoroutinefunction. Using a wrapper with @asyncio.coroutine in `__get__` wasn't necessary (the future from asyncio.ensure_future is awaitable, and the wrapper doesn't do anything asynchronous),...

Have fun! ```python # Make the `class` statement create dicts import builtins def build_class(body_func, name): namespace = {} exec(body_func.__code__, namespace) for key in list(namespace.keys()): if key.startswith('__'): del namespace[key] return namespace...

The MessageBox shows Yes/No buttons, but the question it is asking is hidden in [the fine print](https://doc.qt.io/qt-5/qmessagebox.html#informativeText-prop). I believe it would make more sense to ask questions first, and explain...

Currently, Bodhi [recognizes](https://bodhi.fedoraproject.org/docs/user/automatic_updates.html#associate-bugs-to-automatic-updates) the shorthand `(fedora|epel|rh|rhbz)#BUG_ID` in changelogs and as a bug ID. I propose to accept a full URL like `https://bugzilla.redhat.com/(show_bug.cgi\?id=)?BUG_ID` as well. * General-purpose editors/viewers are likely to...

Hello! I'm the person responsible for dropping `platform.linux_distrubution` from Python 3.8. We're now recommending `distro` instead. Thank you for all the work going into this module – it's certainly useful...

enhancement
area: docs
discussion needed

https://pythonhosted.org/Frozen-Flask/ does not show the latest content from `docs/`. This might be solved by moving to Read The Docs (#80).

- Limited API needs to be enabled per source file - Some builds don't support Limited API, so Limited API tests must be skipped on those builds (currently this is...

awaiting merge
skip news

The Limited API is currently tested in `xxlimited` module(s), which isn't a great location since the module serves as a “tutorial” example of how to make a module. There's no...

tests
expert-C-API

In 2017, Victor added a useful tool to find failing tests, [bisect_cmd](https://github.com/python/cpython/blob/main/Lib/test/bisect_cmd.py), and [blogged about it](https://vstinner.github.io/python-test-bisect.html). I wish I knew about it before! IMO, the devguide should mention it.

enhancement
guide-new content
topic-test

- If you'd like help with English in a Python-related repo (docs, PEPs, devguide, ...), mention @python/proofreaders on GitHub to get their attention - If you'd like to join *(edited)*:...