Connecting Tech Pros Worldwide Help | Site Map

Re: (in memory) database

Jean-Paul Calderone
Guest
 
Posts: n/a
#1: Aug 31 '08
On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <claird@lairds.uswrote:
Quote:
>In article <b68940e4-78cc-4fbb-94cd-69478d45f96c@26g2000hsk.googlegroups.com>,
>Paul Boddie <paul@boddie.org.ukwrote:
[snip]
>
>Thanks for pursuing this, Paul. You have me curious now.
>
>Let's take a definite example: I have a convenient
Ubuntu 8.04.1
>The content of /etc/apt/sources.list is
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
>I do
apt-get update
apt-get upgrade
apt-get install python2.5
>then
# python2.5
Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
It doesn't seem likely to me that this is the Python 2.5 packaged in
Ubuntu 8.04. It's build timestamp is almost a year and a half before
8.04 was released. Here's the header on my installation:

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

This could be a bug in the upgrade from a previous version of Ubuntu
installed on the host or perhaps you have a different Python 2.5 installed
on the machine that's not from the Ubuntu package repository?

Jean-Paul
Cameron Laird
Guest
 
Posts: n/a
#2: Aug 31 '08

re: Re: (in memory) database


In article <mailman.299.1220210443.3487.python-list@python.org>,
Jean-Paul Calderone <exarkun@divmod.comwrote:
Quote:
>On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <claird@lairds.uswrote:
Quote:
>>In article <b68940e4-78cc-4fbb-94cd-69478d45f96c@26g2000hsk.googlegroups.com>,
>>Paul Boddie <paul@boddie.org.ukwrote:
>[snip]
>>
>>Thanks for pursuing this, Paul. You have me curious now.
>>
>>Let's take a definite example: I have a convenient
> Ubuntu 8.04.1
>>The content of /etc/apt/sources.list is
> deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
> deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
> deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
> deb http://security.ubuntu.com/ubuntu hardy-security main restricted
>>I do
> apt-get update
> apt-get upgrade
> apt-get install python2.5
>>then
> # python2.5
> Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
> [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>It doesn't seem likely to me that this is the Python 2.5 packaged in
>Ubuntu 8.04. It's build timestamp is almost a year and a half before
>8.04 was released. Here's the header on my installation:
>
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>
>This could be a bug in the upgrade from a previous version of Ubuntu
>installed on the host or perhaps you have a different Python 2.5 installed
>on the machine that's not from the Ubuntu package repository?
>
>Jean-Paul
Thank you! While I'm certainly not down to the bottom of this mystery,
I have a few clues. First, the important point to make for original
questioner mark is that SQLite(3) is a perfectly reasonable implementation
to use in a Python2.5 context.

I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Roel Schroeven
Guest
 
Posts: n/a
#3: Aug 31 '08

re: Re: (in memory) database


Cameron Laird schreef:
Quote:
I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:


roel@shannon $ uname -a
Linux shannon 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008
x86_64 GNU/Linux

roel@shannon $ cat /etc/issue
Ubuntu 8.04.1 \n \l

roel@shannon $ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quote:
Quote:
Quote:
>>import sqlite3
>>>


--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Roel Schroeven
Guest
 
Posts: n/a
#4: Sep 1 '08

re: Re: (in memory) database


Roel Schroeven schreef:
Quote:
Cameron Laird schreef:
>
Quote:
>I now suspect that my 2.5 packaging has something to do with 64-bit builds;
>all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
>Python 2.5.
>
Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:
(mine is a desktop, not a server; I don't know if that should make any
difference).

--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Closed Thread


Similar Python bytes