Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
2to3 inscrutable output
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rurpy@yahoo.com  
View profile  
 More options May 28 2012, 12:18 pm
Newsgroups: comp.lang.python
From: "ru...@yahoo.com" <ru...@yahoo.com>
Date: Mon, 28 May 2012 09:18:29 -0700 (PDT)
Local: Mon, May 28 2012 12:18 pm
Subject: 2to3 inscrutable output
What is this output from 2to3 supposed to mean?
  $ cat mysub.py
  isinstance (3, (int,float))
  $ 2to3 -f isinstance mysub.py
  RefactoringTool: No changes to mysub.py
  RefactoringTool: Files that need to be modified:
  RefactoringTool: mysub.py
Why does mysub.py need to be modified, and how?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven D'Aprano  
View profile  
 More options May 28 2012, 8:07 pm
Newsgroups: comp.lang.python
From: Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>
Date: 29 May 2012 00:07:22 GMT
Local: Mon, May 28 2012 8:07 pm
Subject: Re: 2to3 inscrutable output

On Mon, 28 May 2012 09:18:29 -0700, ru...@yahoo.com wrote:
> What is this output from 2to3 supposed to mean?
>   $ cat mysub.py
>   isinstance (3, (int,float))
>   $ 2to3 -f isinstance mysub.py
>   RefactoringTool: No changes to mysub.py
>   RefactoringTool: Files that need to be modified:
>   RefactoringTool: mysub.py

> Why does mysub.py need to be modified, and how?

Bleh. Who came up with this user interface?

I call confusing output like this a UI bug. But after playing around with
various small files, it *seems* to me that the "Files that need to be
modified" actually means "Files that include something that a fixer cares
about, whether or not it gets modified" (in this case, isinstance).

--
Steven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »