Mailing List Archive

what happened to find.py?
while doing the final checks for my upcoming
standard library guide, I thought I'd check what
had changed in the CVS version.

some old (1.5.1) junk was still to be found in the
lib-old subdirectory, but certain 1.5.2 things seem
to have vanished into thin air.

like find.py, for example. does anyone know
where it is? after all, it's kinda useful, and I
just pointed someone to it, only to find that
he didn't have it on his machine...

is there an official list of totally deprecated
modules somewhere?

</F>
Re: what happened to find.py? [ In reply to ]
Fredrik Lundh writes:
> some old (1.5.1) junk was still to be found in the
> lib-old subdirectory, but certain 1.5.2 things seem
> to have vanished into thin air.
>
> like find.py, for example. does anyone know
> where it is? after all, it's kinda useful, and I

It should be in lib-old.


-Fred

--
Fred L. Drake, Jr. <fdrake@acm.org>
Corporation for National Research Initiatives
Re: what happened to find.py? [ In reply to ]
Fred L. Drake, Jr. <fdrake@acm.org> wrote:
> > like find.py, for example. does anyone know
> > where it is? after all, it's kinda useful, and I
>
> It should be in lib-old.

"should" as in "is already there" or
"oops, I'll fix it" ? :-)

</F>

[fredrik@brain BleedingEdge]$ ls python/dist/src/Lib/lib-old/
CVS codehack.py newdir.py rand.py whatsound.py
Para.py fmt.py ni.py tb.py zmod.py
addpack.py lockfile.py poly.py util.py

(sure looks like "oops" to me...)
Re: what happened to find.py? [ In reply to ]
Fredrik Lundh writes:
> "should" as in "is already there" or
> "oops, I'll fix it" ? :-)

It's certainly in lib-old/ in the CVS repository.


-Fred

--
Fred L. Drake, Jr. <fdrake@acm.org>
Corporation for National Research Initiatives
Re: what happened to find.py? [ In reply to ]
"Fred L. Drake, Jr." wrote:
>
> Fredrik Lundh writes:
> > "should" as in "is already there" or
> > "oops, I'll fix it" ? :-)
>
> It's certainly in lib-old/ in the CVS repository.

Sorry. Definately certainly not.

But a find.py is in Demo/threads.
Fred (any of both :) did you mean that?

ciao - chris

--
Christian Tismer :^) <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH : Have a break! Take a ride on Python's
Kaiserin-Augusta-Allee 101 : *Starship* http://starship.python.net
10553 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
we're tired of banana software - shipped green, ripens at home
Re: what happened to find.py? [ In reply to ]
> > > "should" as in "is already there" or
> > > "oops, I'll fix it" ? :-)
> >
> > It's certainly in lib-old/ in the CVS repository.
>
> Sorry. Definately certainly not.
>
> But a find.py is in Demo/threads.
> Fred (any of both :) did you mean that?

I cannot see any "find.py" in either Lib (where it
is in all my copies of 1.5.2) or Lib/lib-old.

fwiw, I can think of a few dozen other standard
library modules that I'd remove before this one.
cannot we put it back? please? :-)

(after all, it's been a reoccuring theme on
comp.lang.python lately. and 1.5.2+ breaks
my new book...).

</F>
Re: what happened to find.py? [ In reply to ]
Fredrik Lundh writes:
> I cannot see any "find.py" in either Lib (where it
> is in all my copies of 1.5.2) or Lib/lib-old.

It most certainly *should* be appearing in lib-old; I just checked
the internal CVS repository and it's really there. Perhaps the
anonymous mirror isn't right?
(Barry, can you check this? I don't even know where it is, much
less whether I can see those directories.)

> fwiw, I can think of a few dozen other standard
> library modules that I'd remove before this one.
> cannot we put it back? please? :-)

That's up to Guido, not me.


-Fred

--
Fred L. Drake, Jr. <fdrake@acm.org>
Corporation for National Research Initiatives
Re: what happened to find.py? [ In reply to ]
> I cannot see any "find.py" in either Lib (where it
> is in all my copies of 1.5.2) or Lib/lib-old.

It *is* in Lib/lib-old. Maybe the CVS mirror is messed up, we'll ask
Barry to investigate. Maybe the branching messed things up?

> fwiw, I can think of a few dozen other standard
> library modules that I'd remove before this one.
> cannot we put it back? please? :-)

It's better (and more illustrative) to use os.walk() to do this thing.

> (after all, it's been a reoccuring theme on
> comp.lang.python lately. and 1.5.2+ breaks
> my new book...).

Good thing it isn't printed yet. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)
Re: what happened to find.py? [ In reply to ]
>>>>> "Guido" == Guido van Rossum <guido@cnri.reston.va.us> writes:

Guido> It *is* in Lib/lib-old. Maybe the CVS mirror is messed up,
Guido> we'll ask Barry to investigate. Maybe the branching messed
Guido> things up?

Somehow the mirror was out of date. Perhaps the branch merge got it
out of whack, but in any case, I've done a top-level resync. find.py
is definitely in the repository under lib-old now!

Hope that helps,
-Barry