Re: Frustrated trying to build beecrypt & rpm on a Debian system whereI'm not root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 25, 2007 11:41 AM, Mike Meyer <mwm-keyword-rpm.43b295@xxxxxxxxx> wrote:
> On Sun, 25 Nov 2007 06:31:58 -0500 "Johri, Mayank (GTI)" <mayank_johri@xxxxxx> wrote:
>
> > Paul,
> >
> > It should be
> > from os.path import curdir,... Instead of from os.path import (curdir,
>
> The "(curdir, ..." is from python 2.5, and causes the next line to be
> a continuation line (standard python parsing: an open paren always
> does that). That is, it probably said something like:
>
> from os.path import (curdir, pardir, sep, pathsep, defpath, extsep,
>       altsep, join)
>
> and you'll want to change it to
>
> from os.path import curdir, pardir, sep, pathsep, defpath, extsep, altsep, join
>
> or
>
> from os.path import curdir, pardir, sep, pathsep, defpath, extsep, \
>       altsep, join
>
> Of course, that this is in their sources means they haven't tested
> against 2.4, so you may encounter more such problems. In this case,
> the "What's new in 2.5" (http://docs.python.org/whatsnew/whatsnew25.html)
> is probably worth reading.
>
>    <mike
>

Wait a minute. The error is not in my python code. It is in the python
library itself.   This one:

>From /usr/lib/python2.4/os.py

sys.modules['os.path'] = path
from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,
    devnull)

If RPM did compile against python2.4, then why is this cropping up now?

pj

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux