> keyseq(), valueseq(), itemseq() Yeah, that's a good one
On Fri, Jul 31, 2020, 12:18 PM Ricky Teachey <ri...@teachey.org> wrote: > On Fri, Jul 31, 2020 at 11:55 AM Wes Turner <wes.tur...@gmail.com> wrote: > >> +1 on (lazy) Sequence views optimized for sequential reads and random >> access (which hide the dict implementation which varies across which >> platforms?) >> >> I'm somewhat indifferent on the name: >> >> # Sequence views names: >> ## method() -> Sequence >> - orderedkeys(), orderedvalues(), ordereditems() >> - okeys(), ovalues(), oitems() >> - keys(), keysordered(), values(), valuesordered(), items(), >> itemsordered() >> - What does this do with tab-completion? >> >> > Perhaps add these to the list of possibilities also....? > > keyseq(), valueseq(), itemseq() > > -- > Ricky. > > "I've never met a Kentucky man who wasn't either thinking about going home > or actually going home." - Happy Chandler >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/H4L6MY6ZRBIARUYLYHAE5EO3QTCZMHRY/ Code of Conduct: http://python.org/psf/codeofconduct/