Nathaniel J. Smith
Nathaniel J. Smith
Unfortunately, the only way we could possibly fix this bug is to first deprecate auto-coercion-to-dtype in `==`, and then wait something like 1-2 years for people to clean up their...
Deprecations start on the mailing list, so you'd have to bring it up there. There is a _ton_ of code that does `if arr.dtype == float: ...`, or other implicit...
`np.float is float`, and neither is a dtype object. (Nor is `np.float64`.) In all of these cases the obvious way to fix the implicit coercion would be to make it...
What exactly are you saying the problem is? AFAIK hypercorn (via h11) handles this correctly by prioritizing Transfer-Encoding when both are present ([code here](https://github.com/python-hyper/h11/blob/70a96bea8e55403e5d92db14c111432c6d7a8685/h11/_connection.py#L101-L141)), which matches your comment: > if...
I think there's a big difference between putting virtualenv into tutorials, and putting uploading into pip. With virtualenv, you're adding a new tool and set of cognitive complexity to the...
Oh, pip definitely shouldn't try to cover the development workflow: that would require implementing the functionality of tox, pipenv, flake8, pytest, flit, setuptools, and probably a bunch more I'm forgetting...
Seems fine to me. On Sun, Dec 17, 2023, 00:59 Marcelo Trylesinski ***@***.***> wrote: > 👋 > > — > Reply to this email directly, view it on GitHub >...
What are you really trying to do? It's probably a local import somewhere that would need to be monkeypatched instead, but this isn't really a supported interface... On Wed, Oct...
[`io.IncrementalNewlineDecoder`](https://docs.python.org/3/library/io.html#io.IncrementalNewlineDecoder) might be useful if we need to implement our own universal newline support. It's not documented, unfortunately.
Oh wow yeah this is way nastier than I had realized. So the absolute simplest solution would be to suggest people use `wrap_file(sys.stdin)` etc. (Or some equivalent convenience API.) That's...