[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-12 Thread Bob Fang
> On 12 Nov 2021, at 16:32, Marc-Andre Lemburg wrote: > > Perhaps there's a reverse dependency graph we could use to find out > why the package is downloaded this often. I remember having seen > a project which does this, but have lost the URL. I believe this is the URL we are looking for:

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-12 Thread Bob Fang
> And yet, nobody(?) admits to either using it or knowing what it could be > used for. How very curious :-/ trio (which IMHO is a somewhat high profile uses it): https://github.com/python-trio/trio/blob/master/trio/_core/_run.py#L27

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-12 Thread Bob Fang
> And yet, nobody(?) admits to either using it or knowing what it could be > used for. How very curious :-/ trio (which IMHO is a somewhat high profile uses it): https://github.com/python-trio/trio/blob/master/trio/_core/_run.py#L27

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-11 Thread Bob Fang
Just want to mention that we do have this nice website to look at, although I am not sure how up to date it is: https://www.wheelodex.org/projects/sortedcontainers/rdepends/?page=1 > On 11 Nov 2021, at 19:20, Antoine Pitrou wrote: > > Unfortunately, PyPI doesn't seem to offer a way to query

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-11 Thread Bob Fang
>> On Wed, 10 Nov 2021 21:12:17 -0600 >> Tim Peters wrote: >>> [Bob Fang ] >>>> This is a modest proposal to consider having sorted containers >>>> (http://www.grantjenks.com/docs/sortedcontainers/) in standard library. >>> >>> +1 from

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-10 Thread Bob Fang
Hi Steve and all, Thanks! > Before we could even consider adding the sortedcontainers library to the > standard library, we would need to hear from the maintainer(s) of the > library that they agree to the move and would be able to continue > maintaining the library under our release

[Python-Dev] Re: Having Sorted Containers in stdlib?

2021-11-09 Thread Bob Fang
But that’s in insertion order, not in key order right? I think we need data structure that are key-ordered. > On 10 Nov 2021, at 00:23, Hasan Diwan wrote: > > > On Tue, 9 Nov 2021 at 16:01, Bob Fang <mailto:boyuf...@bytedance.com>> wrote: > This is a modest pro

[Python-Dev] Having Sorted Containers in stdlib?

2021-11-09 Thread Bob Fang
Hi All, This is a modest proposal to consider having sorted containers (http://www.grantjenks.com/docs/sortedcontainers/ ) in standard library. I know that usually adding stuff to standard library requires some strong arguments, so I will try