On Wed, Apr 30, 2003 at 12:55:16PM -0500, Troy Dawson wrote: > python urlgrabber.py ftp://server.com/path/to/file local_copy > <hangs> > pythons2 urlgrabber.py ftp://server.com/path/to/file local_copy > <suceeds> > > So we thought recompiling yum with python2 would work, and yes, the > urlgrabber works, but the rest of yum can't talk to rpm-python Yeah, don't do that :) > So, is there a way to have just one componet to use python2, or a > variable to set somewhere that would make the rest of yum work right? > I'm not asking for you to rewrite yum, I guess I'm more asking for > general python help. No, you can't "mix" python versions in a single process. You shouldn't have to, though. If urlgrabber is not working for 1.0, then it's broken. It's written to work the same in both versions, so it's a bug. I'll look at it under python1.5 and see if I can figure out what's wrong. -Michael -- Michael Stenner Office Phone: 919-660-2513 Duke University, Dept. of Physics mstenner@xxxxxxxxxxxx Box 90305, Durham N.C. 27708-0305