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

2022-12-03 Thread Carl Friedrich Bolz-Tereick
On 29/11/2022 00:51, Guido van Rossum wrote: To stir up some more fire, I would personally be fine with sets having the same ordering guarantees as dicts, *IF* it can be done without performance degradations. So far nobody has come up with a way to ensure that. "Sets weren't meant to be

Re: [Python-Dev] Opcode frequency

2008-06-18 Thread Carl Friedrich Bolz
at compile time. Cheers, Carl Friedrich Bolz ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] bug or a feature?

2008-06-12 Thread Carl Friedrich Bolz
, or at least leaving it up to the implementation. Using non-string keys in type dicts is relatively awkward and allowing them makes many interesting optimizations (like method caches) a _lot_ harder to get right. Cheers, Carl Friedrich Bolz ___ Python

Re: [Python-Dev] bug or a feature?

2008-06-12 Thread Carl Friedrich Bolz
Phillip J. Eby wrote: At 01:34 PM 6/12/2008 +0200, Carl Friedrich Bolz wrote: Phillip J. Eby wrote: As it happens, most objects' __dict__ slots are settable by default, and *require* that you set it to a dict or subclass thereof. This is wrong for types: Which is why I said most

Re: [Python-Dev] Question about dictobject.c:lookdict_string

2007-06-11 Thread Carl Friedrich Bolz
that lookup might fail. Cheers, Carl Friedrich Bolz ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] pypy's interpreter/highlevel backend features

2007-03-15 Thread Carl Friedrich Bolz
Terry Reedy wrote: holger krekel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] | We'd be very happy about feedback and opinions/questions | (preferably until Monday, 19th March) | |

Re: [Python-Dev] pypy-0.9.0: stackless, new extension compiler

2006-06-26 Thread Carl Friedrich Bolz
into the world of PyPy see here: http://codespeak.net/pypy/dist/pypy/doc/getting-started.html Sorry for the fuss and cheers, Carl Friedrich Bolz ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe