[Python-Dev] quick poll: could int, str, tuple etc. become type objects?

Barry A. Warsaw barry@digicool.com
Tue, 5 Jun 2001 18:45:00 -0400


>>>>> "GW" == Greg Ward <gward@python.net> writes:

    GW> I love /F's suggestion

    GW>   dict(k=v, k=v, ...)

One problem with this syntax is that the `k's can only be valid Python
identifiers, so you'd at least need /some/ other syntax to support
construction with arbitrary hashable keys.

-Barry