Results 148 issues of Nathaniel J. Smith

Here's a very common pattern: we have a connection to some kind of peer. Multiple tasks send requests via the connection, and wait for responses. One background task reads from...

design discussion
missing piece
user happiness

tqdm uses colorama to enable proper ANSI support on Windows. Traditionally, it's done this by calling `colorama.init`. But this API is pretty awkward: it tries to do too much (e.g....

Since upgrading to py-spy 0.3.14, we're seeing lots of messages like: ``` thread '' panicked at 'called `Result::unwrap_err()` on an `Ok` value: ()', src/sampler.rs:311:49 ``` That assertion appears to have...

### Before posting Please follow the steps below and check the boxes with [x] once you did the step. - [x] I checked the issue tracker for similar issues -...

I was trying to figure out how to include specific stdlib extension modules (e.g. `_ssl`) but not others (e.g. `_asyncio`). I found: - `PythonPackagingPolicy.extension_module_filter`: this lets you set a few...

bug

Not sure if this would violate your principles or not, but [this hack](https://github.com/njsmith/metamodule/) would let you make this work on all versions of Python, I think :-)

enhancement
question

I'm not sure what's going on with the binaries generated by mingw-w64, but by default they contain a ton of data beyond the end of that described in the section...

Doesn't have to be fancy, but we really should have *some* kind of testing story for this project. For example, we might test: * If you run cookiecutter, does it...

There was a discussion today in chat about the subtle interactions of `nursery.start` and cancellation, involving a somewhat complicated example: https://gitter.im/python-trio/general?at=5e6684aea2897318a999fe4e In the example, @catern has an inner nursery and...

cancellation

The only reason HalfCloseableStream existed as a separate interface was because SSLStream couldn't support send_eof. But TLS 1.3 made it possible to support send_eof! So now the static split doesn't...