Oscar Gustafsson

Results 474 comments of Oscar Gustafsson

ValueError as "won't fit" really doesn't make sense. -1 fits in a single bit with two's complement/signed.

I think this is already the case: https://github.com/jni-rs/jni-sys/blob/9c38766061b6b0753fe58a5fe2eaa193b4234ae9/jni-sys-macros/Cargo.toml#L18 (But a new release may be required?)

There is https://github.com/VUnit/vunit/pull/1042 which solves it. (There is also a bit of discussions/rambling in #1003 about the need for it.) My thought has been to add a command to generate...

The `dates` module is currently completely untyped. Matplotlib uses stub-files, `.pyi`in case you or someone else wants to start adding type information.

I need this for my comparison of fixed-point libraries: https://apytypes.github.io/apytypes/comparison.html

@kanderso-nrel Feel free to take the actual commit, https://github.com/matplotlib/matplotlib/pull/21328/commits/2d2856486576ba3fab9f29b0236c99ec5e629a10 and start a new PR, keeping @tonyfast as an author (so ideally cherry-pick that commit and start your new PR from...

This seems to make sense! Should we also use this in `compare_rms`? Or deprecate that?

Thanks for giving it a try and sorry for the unexpected hassle. I use it in a GitLab project and since the pre-commit CI doesn't support that, I have to...

I realized that yesterday. It is possible to activate 3.14, but I have not figured out how to do it during the tests, but not during the actual upload build......