[pypy-dev] String replace() method causing error on translate
fijall at gmail.com
Mon Mar 19 09:12:09 CET 2012
On Mon, Mar 19, 2012 at 5:12 AM, Benjamin Peterson <benjamin at python.org> wrote:
> 2012/3/18 Nathan Alday <n.c.alday at gmail.com>:\
>> It's not clear to me what the issue is. Is there another type that has a
>> replace method that is confusing the type inference system?
> It appears the annotator sees someone passing None into tokenize.
Not only that, but noone ever passes anything else than None. And
obviously None has no replace
More information about the pypy-dev