[Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional?

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 5 22:10:56 CET 2009


> How are we going to handle str subclasses and unicode?

"Are we going to"? You mean, the current code is not good enough? Why not?

> Should we allow
> all subclasses of basestring? Or just str and unicode? Or str only?

In 2.x, str only, in 3.x, unicode only.

Regards,
Martin


More information about the Python-Dev mailing list