New submission from E Rippey:

The "has_key" fixer in 2to3 produces wrong code on the following example:

input:"a.has_key(b)and x"
output:"b in aand x"

Note the lack of space before "and" in the input.

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 273613
nosy: rippey.e
priority: normal
severity: normal
status: open
title: 2to3: Wrong code output w/ has_key
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27855>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to