Thomas M Kehrenberg

Results 49 issues of Thomas M Kehrenberg

`TypeVarTuple` is about to be introduced in Python 3.11, but it's already usable with `typing_extensions`. Docs: https://docs.python.org/3.11/library/typing.html#typing.TypeVarTuple Example: ```python from typing import Generic, Literal, TypeVar from typing_extensions import TypeVarTuple, Unpack...

question

In an Android app I want to do an FFT with window size 200 on the audio from the microphone but the windows size is given by the buffer size....

closes #155 I basically copied this example: https://peps.python.org/pep-0681/#id1 Tested with pyright/pylance. I had to specify a return type for `chex.dataclass` because otherwise pyright/pylance is ignoring it completely if arguments are...

There are quite a few commands that expect an argument in the form of a single character: - `find_till_char` - `find_next_char` - `till_prev_char` - `find_prev_char` - `surround_add` - `surround_replace` (this...

C-enhancement
A-helix-term

I personally prefer to sort imports like this (which used to be the standard sorting for the Python extension on VS Code): ```python import numpy as np import torch import...

enhancement
isort
configuration

[PEP 698](https://peps.python.org/pep-0698/) adds an `@override` decorator. Todo: - [x] basic support for `@override` (done in #14609) - [ ] optional [strict mode](https://peps.python.org/pep-0698/#strict-enforcement-per-project) (relevant discussion: https://github.com/python/typing/issues/1376 ) Related issue: #1888

feature
topic-inheritance

As previously discussed in #185 I'm not sure what the process is for a syntax change, so I'm just starting it by adding a description to `syntax.md`. If you do...

When writing large documents in latex, it's common to split off chapters into their own files and then include them in the main document with `\input{filename}` (or `\include{filename}`). It's also...

I could see this being useful for relative links: ``` You can find the PDF here: [paper.pdf](). ``` rendered as ```html You can find the PDF here: paper.pdf. ``` (spaces...

As discussed in https://github.com/jgm/djot/discussions/183 there is currently no way to attach attributes to a list element. This ``` {#foo .bar .baz key="my value"} - list element ``` attaches the attribute...