[Python-3000] Py3k release schedule worries
Barry Warsaw
barry at python.org
Tue Dec 19 19:54:03 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Dec 19, 2006, at 1:03 PM, Guido van Rossum wrote:
> On 12/19/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
>> Georg Brandl wrote:
>>
>>> so what about id() and intern(). Care to pronounce?
>>
>> moving/removing id()? please don't do that; id(obj) and type(obj)
>> are
>> essential tools for learning object semantics, and should be
>> trivial to
>> access and use.
>
> Right. I tend to agree with Fredrik about id(). I'm not so sure about
> intern() -- IMO its use is rare enough that the move would affect very
> little code; I'm seeking validation of this. If nobody speaks up about
> it, moving intern() would be okay with me.
You don't want to get rid of 'interning' (e.g. PyString_Intern*())
but just the intern() built-in? We actually use both, but we use the
C API call much more frequently than the built-in call. I don't
think it would be too painful for us if intern() was removed, but
OTOH if it was stuck in some Python internals module (sys?) and not
kept as a built-in, that would be fine too.
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBRYg1T3EjvBPtnXfVAQJYagQAkW3/oJ8B5xE9hDN+36p8yp50BOMIUS8D
r9gNT/fUiaHLlrGKpLTbyGZFMEb0AEPl6PXf3MU8d/8zZwRmDLRQqy3QBFKD7BCC
uaBQHV41DZ7g7OHvy1p0GY2sVwxp4m54QDoC6gCu/2niTVXcOmOHp9OoRuf7pZBO
KhdOMUHxRbk=
=Othv
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list