homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ericvw
Recipients ericvw, rippey.e
Date 2016年08月25日.04:21:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472098901.82.0.36842593553.issue27855@psf.upfronthosting.co.za>
In-reply-to
Content
I am unable to replicate this issue with '2to3' from Python 2.7.12, Python 3.4.5, nor Python 3.5.2.
Below is what I get with the versions I mentioned above.
---
$ cat test.py
a.has_key(b) and x
$ 2to3 test.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored test.py
--- test.py 	(original)
+++ test.py 	(refactored)
@@ -1 +1 @@
-a.has_key(b) and x
+b in a and x
RefactoringTool: Files that need to be modified:
RefactoringTool: test.py
---
History
Date User Action Args
2016年08月25日 04:21:41ericvwsetrecipients: + ericvw, rippey.e
2016年08月25日 04:21:41ericvwsetmessageid: <1472098901.82.0.36842593553.issue27855@psf.upfronthosting.co.za>
2016年08月25日 04:21:41ericvwlinkissue27855 messages
2016年08月25日 04:21:41ericvwcreate

AltStyle によって変換されたページ (->オリジナル) /