[Python-Dev] Re: Switching to Discourse

2022-12-04 Thread Steven D'Aprano
On Sun, Dec 04, 2022 at 08:20:56PM +, Barney Gale wrote: > Oh brilliant. I'll unsubscribe from this list then. It sounds like the only > people using it will be those folks who think their tooling preferences are > more important than creating a joined-up Python community; I can survive > with

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-04 Thread Steven D'Aprano
On Thu, Dec 01, 2022 at 10:18:49PM +, Rob Cliffe via Python-Dev wrote: > Wild suggestion: >     Make None.__hash__ writable. > E.g. >     None.__hash__ = lambda : 0 # Currently raises AttributeError: > 'NoneType' object attribute '__hash__' is read-only You would have to write to `type(None)

[Python-Dev] Re: Switching to Discourse

2022-12-04 Thread Barney Gale
Oh brilliant. I'll unsubscribe from this list then. It sounds like the only people using it will be those folks who think their tooling preferences are more important than creating a joined-up Python community; I can survive without their input. On Sun, 4 Dec 2022, 19:53 Baptiste Carvello, < deve

[Python-Dev] Re: Switching to Discourse

2022-12-04 Thread Baptiste Carvello
Le 04/12/2022 à 16:55, Barney Gale a écrit : > > I don't want to post to multiple > places in order to reach the devs. Nobody proposed that. In order to reach the devs, you use discourse (or have someone else do it on your behalf). Just let the "second circle" of the community keep their mailing

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-04 Thread Chris Angelico
On Mon, 5 Dec 2022 at 05:11, Rob Cliffe via Python-Dev wrote: > > Wild suggestion: > Make None.__hash__ writable. > E.g. > None.__hash__ = lambda : 0 # Currently raises AttributeError: > 'NoneType' object attribute '__hash__' is read-only Hashes have to be stable. If you change the hash

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-04 Thread Rob Cliffe via Python-Dev
Wild suggestion:     Make None.__hash__ writable. E.g.     None.__hash__ = lambda : 0 # Currently raises AttributeError: 'NoneType' object attribute '__hash__' is read-only Best wishes Rob Cliffe On 01/12/2022 11:02, Oscar Benjamin wrote: On Thu, 1 Dec 2022 at 06:56, Chris Angelico wrote: On

[Python-Dev] Re: Switching to Discourse

2022-12-04 Thread Barney Gale
Perspective from a minor Python contributor: The only thing worse than email or Discourse is email AND Discourse. Fragmented communities are a nightmare. I don't want to post to multiple places in order to reach the devs. Its hard enough to build consensus already. The relative strengths of email