[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
status: open -> closed
superseder:  -> Close 2to3 issues and list them here

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2016-08-26 Thread Terry J. Reedy

Terry J. Reedy added the comment:

If you don't want to sign the CA, https://www.python.org/psf/contrib/, and 
upload a file without a guarantee, which is never given ;-), just give the 
patch in a text message.  While it may be unreasonable to *expect* 2to3 to 
handle this, it also might not be unreasonable for it to do so.  It would be 
especially useful if one were converting to Py3 and not planning to maintain 
the 2.x code.

My concern is that this might be one of multiple similar situations, so that 
patching just one might not be all that helpful.  But I have not looked at the 
list of fixers to determine is other are affected.

--
nosy: +benjamin.peterson, terry.reedy
versions: +Python 3.5, Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2016-08-25 Thread E Rippey

E Rippey added the comment:

I have one line change to "Lib/lib2to3/fixes/fix_has_key.py" that will resolve 
this issue.  Would a patch be accepted?

It doesn't seem like the input is unusually contorted.

--
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27855] 2to3: Wrong code output w/ has_key without trailing space

2016-08-25 Thread R. David Murray

Changes by R. David Murray :


--
title: 2to3: Wrong code output w/ has_key -> 2to3: Wrong code output w/ has_key 
without trailing space

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com