Using fixed variables probably doesn't help

Robert Collins robertc at robertcollins.net
Fri Jun 16 15:21:20 BST 2006


On Fri, 2006-06-16 at 09:05 -0500, John Arbash Meinel wrote:
> 
> As far as I know we don't. And if you do socket, do you also do fifo,
> chardev, and block? They just don't seem very useful to me. I would
> promote unknown_kind = 'unknown', especially since you'll want to use
> that in your 'read_dirs' changes. (Can you call intern() in pyrex to
> make sure that you are using the interned version?)

I'm pretty sure we access all the kinds in several places to give them
the fancy output symbols and the like.

pyrex generates a single table of all the strings used in its code, and
references them at runtime, so its not the python intern table, but it
is the same string instance always.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060617/eb29c3df/attachment.pgp 


More information about the bazaar mailing list