Re: Postgresql & Python 2 - Mailing list pgsql-general

From Keith F Irwin
Subject Re: Postgresql & Python 2
Date
Msg-id 995040063.11137.1.camel@c234192-a
Whole thread Raw
In response to Re: Postgresql & Python 2  (teg@redhat.com (Trond Eivind Glomsrød))
List pgsql-general
> > What does it mean to hardcode the pyver variable on top of the file?
>
> Look at the specfile, and you'll see the an attempt to autodetect the
> version of python installed. You can hardcode the result...

AH!  The Spec file!  Okay, THAT I get. :)  Excellent. That'll work
nicely.

Keith

>
> > If I've got a database.py file with database classes, and I include
> > this file in main.py, which instantiates its objects and calls its
> > methods, how to I run main.py with Python2, and Database.py with
> > Python1.5?
>
> You can't.
> >
>
> --
> Trond Eivind Glomsrød
> Red Hat, Inc.



pgsql-general by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Re: Backups WAS: 2 gig file size limit
Next
From: Jason Earl
Date:
Subject: Re: Foreign keys?