If sets were ordered, then what ought pop() return - first, last, or
nevertheless an arbitrary element? I lean toward arbitrary because in
existing code, set.pop often implies that which particular element is
immaterial.
On Wed, Feb 27, 2019 at 2:18 PM Barry Warsaw wrote:
> On Feb 27, 2019, at 1
+1 on the improved docs solution: no new code to maintain and big return on
investment in preventing future bugs / confusion :)
On Sat, Feb 16, 2019 at 9:40 AM Nick Coghlan wrote:
> On Sun, 17 Feb 2019 at 03:20, Paul Ganssle wrote:
> > I think if we add such a function, it will essentially be j
Indeed there is a potential loss of precision:
_timedelta_to_microseconds(timedelta(0, 1, 1)) returns 100
where conversion function is defined according to the initial message in
this thread
On Fri, Feb 15, 2019 at 2:29 PM Paul Ganssle wrote:
> I'm still with Alexander on this. I see funct
Oops. That isn't the TOTAL microseconds, but just the microseconds portion.
Sorry for the confusion.
On Wed, Feb 13, 2019 at 9:23 PM Henry Chen wrote:
> Looks like timedelta has a microseconds property. Would this work for your
> needs?
>
> In [12]: d
> Out[12]: datetime.ti
Looks like timedelta has a microseconds property. Would this work for your
needs?
In [12]: d
Out[12]: datetime.timedelta(0, 3, 398407)
In [13]: d.microseconds
Out[13]: 398407
On Wed, Feb 13, 2019 at 9:08 PM Richard Belleville via Python-Dev <
python-dev@python.org> wrote:
> In a recent code rev