[Python-ideas] Float range class

Neil Girdhar mistersheik at gmail.com
Fri Jan 9 21:37:41 CET 2015


I mean a class that implements the Sequence protocol lazily — just like
range.  It should use multiplication to avoid precision errors.

On Fri, Jan 9, 2015 at 12:26 PM, Chris Angelico <rosuav at gmail.com> wrote:

> On Sat, Jan 10, 2015 at 4:21 AM, Chris Barker <chris.barker at noaa.gov>
> wrote:
> > numpy arrays are a python sequence -- what do you mean here? Did you mean
> > iterator?
>
> It's a specific protocol:
>
> https://docs.python.org/3/glossary.html#term-sequence
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "python-ideas" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python-ideas/H69Z7qPe0Dg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> python-ideas+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150109/39673ab7/attachment.html>


More information about the Python-ideas mailing list