[Python-ideas] Make Difflib example callable as module __main__
rob.cliffe at btinternet.com
Thu Feb 23 12:01:53 CET 2012
Can I put in a plea that postings to this list try to minimise the use
of acronyms and jargon that may not be universally intelligible?
This list is often read with interest by non-specialists such as myself.
I have no idea for example what "VCS" means.
On 23/02/2012 10:56, anatoly techtonik wrote:
> On Wed, Feb 22, 2012 at 6:49 PM, Dan Colish<dcolish at gmail.com> wrote:
>> I was reading over the difflib docs this morning and when I got to the
>> bottom, I expected, probably due to lack of coffee, that the example
>> would be callable as the module from the command line. There are already
>> a number of modules which export command line functionality, ie.
>> unittest, and I thought it would be great if difflib module offered the
>> same. The code is pretty much there in the example from the
>> documentation. It would just need to be included in the module itself.
> +1 if it will produce git-style unified patches by default
> It seems that every single VCS in Python reinvents own differ.
> -m option will help it become more polished/useful
> anatoly t.
> Python-ideas mailing list
> Python-ideas at python.org
More information about the Python-ideas