Re: Defining a Python enum in a C extension - am I doing this right?

2021-07-26 Thread Bartosz Golaszewski
On Sat, Jul 24, 2021 at 6:55 AM Dan Stromberg wrote: > > > On Fri, Jul 23, 2021 at 1:20 AM Bartosz Golaszewski wrote: >> >> Hi! >> >> I'm working on a Python C extension and I would like to expose a >> custom enum (as in: a class inheriting from enum.Enum) that would be >> entirely defined in C.

[issue25549] call sum on list of timedelta throws TypeError

2021-07-26 Thread sedrubal
sedrubal added the comment: What is the reason for this start parameter? Why will sum not just use the first entry of the input sequence? I think at least a error message that points programmers into the right direction was very helpful. -- nosy: +sedrubal

<    1   2