2015-04-16 14:02 GMT+02:00 Maciej Fijalkowski <fij...@gmail.com>: > > I think *some* conversion should be allowed, for example when the > unicode is > > a constant. > > (maybe with a SomeAsciiString annotation) > > Otherwise, do we need to rewrite all calls like `space.call_method(w_x, > > "split")`? > > > > Another issue will be the int/long distinction. > > Wait, what? You're messing two things. If you want to convert, you can > always call encode/decode
Should space.call_method() take a bytes string or a unicode string? And can we have a unique spelling that covers all cases? python{2|3} translating a pypy{2|3} interpreter -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev