[Numpy-discussion] Re: Endorsing SPECs 1, 6, 7, and 8

2024-10-08 Thread Joren Hammudoglu via NumPy-Discussion
Is SPEC 1 thread-safe enough for py313+nogil? ___ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member add

[Numpy-discussion] Re: array.T.max() vs array.max(axis=0) performance difference

2025-04-05 Thread Joren Hammudoglu via NumPy-Discussion
Quick little typing nitpick: `tuple[np.float64]` describes a tuple of length 1. To describe a tuple of arbitrary length, you'd write `tuple[np.float64, ...]` --- On a more related note, I'm seeing an asymptotic speedup/slowdown of 14x Equality: True Number of points: 10 Normal:2.99 μs ± 8.

[Numpy-discussion] Re: Fwd: Research Opportunity: Can we monitor your projects?

2025-04-29 Thread Joren Hammudoglu via NumPy-Discussion
Where can I find the source code of that app? I wasn't able to find it on the github organization or on the website. ___ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https:

[Numpy-discussion] Re: Deprecating numpy.fix

2025-11-03 Thread Joren Hammudoglu via NumPy-Discussion
How about we decorate np.fix in the stubs (and only in the stubs) with @deprecated("will be deprecated in 2.5", category=PendingDeprecationWarning) def fix(...): ... and put that in 2.4.0? [docs](https://typing-extensions.rtfd.io/#typing_extensions.deprecated) That way static type-checkers will

[Numpy-discussion] Re: Deprecating numpy.fix

2025-11-06 Thread Joren Hammudoglu via NumPy-Discussion
Done: https://github.com/numpy/numpy/pull/30168 ___ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/numpy-discussion.python.org Member a