[Patches] minor filecmp.py patch

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Wed, 29 Mar 2000 01:15:46 +0200 (IST)


On Tue, 28 Mar 2000, Fredrik Lundh wrote:

> the new filecmp module has an optional argument called
> use_statcache which is documented as a true/false value,
> but used as an tuple index.
> 
> this patches replaces the tuple stuff with a good old if-
> statement, and also removes a few other tuple pack/unpack
> constructs (if not else, this saves a few bytes in the PYC file,
> and a few microseconds when using the module ;-)

+1

As the original offender, I wish to thank Frerik for cleaning up my code
<wink>