Clashing cmp
Fred L. Drake, Jr.
fdrake at acm.org
Wed Sep 22 10:14:12 EDT 1999
tre17 at student.canterbury.ac.nz writes:
> I have sometimes thought that it would be nice to have something like:
>
> >>> import cmp as filecmp
>
> or even:
>
> >>> import cPickle as pickle
Me too!
> But that's probably just going to be way to open to abuse. In the
> first example at least it's obvious that something weird is happening.
No; that's the right way to support renaming, in my (not in the least
bit humble) opinion.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list