Re: Postgresql & Python 2

Поиск
Список
Период
Сортировка
От Keith F Irwin
Тема Re: Postgresql & Python 2
Дата
Msg-id 995040063.11137.1.camel@c234192-a
обсуждение исходный текст
Ответ на Re: Postgresql & Python 2  (teg@redhat.com (Trond Eivind Glomsrød))
Список 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 по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: Backups WAS: 2 gig file size limit
Следующее
От: Jason Earl
Дата:
Сообщение: Re: Foreign keys?