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 tim.peters
Recipients chris.jerdonek, jaraco, tim.peters, xtreak
Date 2019-02-11.20:07:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549915661.45.0.782148296356.issue35955@roundup.psfhosted.org>
In-reply-to
Content
It's probably OK, but there's no "pure win" to be had here.  There's generally more than one way to convert one string to another, and what "looks right" to humans depends a whole lot on context.

For example, consider these strings:

"private Thread currentThread;"
"private volatile Thread currentThread;"

"It's obvious" someone inserted "volatile" into the first string, and that's what ndiff's default says:

- private Thread currentThread;
+ private volatile Thread currentThread;
?         +++++++++

However, pass `charjunk=None` instead, and ndiff claims someone inserted "e volatil" after the "t" in "private":

- private Thread currentThread;
+ private volatile Thread currentThread;
?       +++++++++

Which is also a correct way, but - to human eyes - an insane way ;-)
History
Date User Action Args
2019-02-11 20:07:41tim.peterssetrecipients: + tim.peters, jaraco, chris.jerdonek, xtreak
2019-02-11 20:07:41tim.peterssetmessageid: <1549915661.45.0.782148296356.issue35955@roundup.psfhosted.org>
2019-02-11 20:07:41tim.peterslinkissue35955 messages
2019-02-11 20:07:41tim.peterscreate