Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74334 > unrolled thread

Re: context manager based alternative to Re: Proposal: === and !===

Started byEthan Furman <ethan@stoneleaf.us>
First post2014-07-10 17:34 -0700
Last post2014-07-10 17:34 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: context manager based alternative to Re: Proposal: === and !=== Ethan Furman <ethan@stoneleaf.us> - 2014-07-10 17:34 -0700

#74334 — Re: context manager based alternative to Re: Proposal: === and !===

FromEthan Furman <ethan@stoneleaf.us>
Date2014-07-10 17:34 -0700
SubjectRe: context manager based alternative to Re: Proposal: === and !===
Message-ID<mailman.11745.1405040205.18130.python-list@python.org>
On 07/10/2014 05:20 PM, Cameron Simpson wrote:
>
> I posted this the other day and haven't seen a response, not even a scathing rejection...
>
> Here's an alternative proposal that doesn't involve a new operator.

[snip float-context manager stuff]

Decimal has a context manager like that already (I don't know if it supports allowing NaNs to equal each other, though). 
  Rather than adding the whole thing to float, perhaps extending Decimal's context with that option is a possible route.

I would also prefer something like this to a new equals operator.

--
~Ethan~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web