[Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Feb 5 22:10:56 CET 2009
- Previous message: [Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional?
- Next message: [Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional?
- Next message: [Python-Dev] The interpreter accepts f(**{'5':'foo'}); is this intentional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]