Gonzalo Tornaría

Results 138 comments of Gonzalo Tornaría

Note that `$SECONDS` can be replaced by `$(date +%s)` if you are concerned about that.

> Bash is fine so long as the shebang doesn't say `#!/bin/sh`. If bash makes this easy to fix, then I would use bash. > > In case it helps,...

> A compromise > > ```shell > time_cmd() { > exec 3>&1 4>&2 > local time=$({ time sh -c "$@" 1>&3 2>&4; } 2>& 1 ) > echo "$time" >...

> If I have mistaken your good intention, then my apologies again. I don't understand what you mean. I'll make sure in the future to keep my 2c to myself.

With #998, tests pass when `pytz` is installed, but there are still two tests failures when `pytz` is not installed: ``` =================================== FAILURES =================================== ______________________ [doctest] babel.dates.format_time _______________________ 767 768...

> It is rather weird that only those cause problems out of the list of warnings I get. And there is a very clear cython 3.0.10 to 3.0.11 boundary as...

> Once you remove duplicate warnings, it amounts to 15 lines, not too onerous > > ``` > warning: /usr/lib/python3.12/site-packages/cypari2/convert.pxd:25:30: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept'...

> I had noticed warnings about these files during building, which specifically mentioned a future lack of support of implicit `noexcept`s. > > Most such removals happened in #37667. After...

> After adding `except -1` to `_rank` and playing around with `-1` rank values you get some `Exception ignored` messages: > > ``` > sage: def r(X): > ....: return...