Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
> these days, most end users get their Python either with their OS,
> or by downloading a prebuilt installer.

Oh, ok. I've just never heard such people referred to as "the
distributors" before. It sounds like some sort of TV series! ;-)

>> I guess I just don't get why the inclusion of the pysqlite wrapper
>> is so exciting if all it's doing is changing the situation from
>> "Python does not come with a DB, but you can install extra software
>> to provide one" to "Python does not come with a DB, but you can
>> install extra software to provide one".
> 
> I assume you stopped reading at "just as they've included zlib, dbm,
> tcl/tk, openssl, and many other standard libraries over the years."

I'll assume you didn't read my post properly then, since I did no such
thing.

Never mind, it was just meant to be an innocuous question, and
I'm certainly not disagreeing with the decision to include pysqlite.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Aahz
In article <[EMAIL PROTECTED]>,
Jon Ribbens  <[EMAIL PROTECTED]> wrote:
>
>I guess I just don't get why the inclusion of the pysqlite wrapper
>is so exciting if all it's doing is changing the situation from
>"Python does not come with a DB, but you can install extra software
>to provide one" to "Python does not come with a DB, but you can
>install extra software to provide one".

There's a difference between "needing to install extra software" and
"compiling Python allows you to use your installed software".
-- 
Aahz ([EMAIL PROTECTED])   <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Fredrik Lundh
Jon Ribbens wrote:

> "The distributors"? Que?

all the downstream people who work their asses off to provide pre-
built, pre-tested distributions for various platforms.  this includes the
PSF volunteers, commercial actors, and a large crowd of linux/bsd
volunteers.

these days, most end users get their Python either with their OS,
or by downloading a prebuilt installer.

> I guess I just don't get why the inclusion of the pysqlite wrapper
> is so exciting if all it's doing is changing the situation from
> "Python does not come with a DB, but you can install extra software
> to provide one" to "Python does not come with a DB, but you can
> install extra software to provide one".

I assume you stopped reading at "just as they've included zlib, dbm,
tcl/tk, openssl, and many other standard libraries over the years."

sqlite is not exactly Python's first external depency (check the depency
lists for a typical linux distribution if you don't believe me)





-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
>> Apologies if I'm being obtuse, but how does including the pysqlite
>> wrapper module change anything? You still need to download and install
>> SQLite
> 
> I'm pretty sure the distributors will do this for you, just as
> they've included zlib, dbm, tcl/tk, openssl, and many other standard
> libraries over the years.

"The distributors"? Que?

I guess I just don't get why the inclusion of the pysqlite wrapper
is so exciting if all it's doing is changing the situation from
"Python does not come with a DB, but you can install extra software
to provide one" to "Python does not come with a DB, but you can
install extra software to provide one".
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, Chris Lambacher wrote:
> At least on windows.  PySqlite is statically linked with the sqlite library.
> This can be done because it is quite small.

OK, well that makes sense, but why not on any other platform?
-- 
http://mail.python.org/mailman/listinfo/python-list


RE: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Delaney, Timothy (Tim)
Aahz wrote:

>> Indeed, I think the inclusion of ctypes is far and away the most
>> exciting thing in 2.5.
> 
> Really?  More than pysqlite?

My personal fave is the "with" statement. It makes a lot of code so much
more elegant - esp. for things which are getting built-in context
managers (e.g. files).

But for those who use them, I'm sure pysqlite and ctypes are huge.

Tim Delaney
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Chris Lambacher
At least on windows.  PySqlite is statically linked with the sqlite library.
This can be done because it is quite small.

-Chris

On Tue, Apr 18, 2006 at 06:51:24PM +, Jon Ribbens wrote:
> In article <[EMAIL PROTECTED]>, Aahz wrote:
> > On that front, I think that pysqlite is much more important because
> > it finally gets rid of the excuse for using Berkeley for simple
> > database purposes.
> 
> Apologies if I'm being obtuse, but how does including the pysqlite
> wrapper module change anything? You still need to download and install
> SQLite, so what's the point of including a wrapper for something you
> may or may not have? Why is pysqlite included, for example, and not
> MySQL-Python or postgresql or whatever?
> -- 
> http://mail.python.org/mailman/listinfo/python-list
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article <[EMAIL PROTECTED]>,
Jon Ribbens  <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Aahz wrote:
>>
>> On that front, I think that pysqlite is much more important because
>> it finally gets rid of the excuse for using Berkeley for simple
>> database purposes.
>
>Apologies if I'm being obtuse, but how does including the pysqlite
>wrapper module change anything? You still need to download and install
>SQLite, so what's the point of including a wrapper for something you
>may or may not have? Why is pysqlite included, for example, and not
>MySQL-Python or postgresql or whatever?

SQLite will be included with the Windows distribution.  Not sure about
Macs; as Fredrik pointed out, most Linux/BSD distros should make that
simple.

As for why SQLite, there seems to be a consensus that it's the only
truly zero-admin SQL solution that provides decent SQL compatibility and
performance.  For more about the decision, I suggest you read the
python-dev archives.
-- 
Aahz ([EMAIL PROTECTED])   <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Fredrik Lundh
Jon Ribbens wrote:

> Apologies if I'm being obtuse, but how does including the pysqlite
> wrapper module change anything? You still need to download and install
> SQLite

I'm pretty sure the distributors will do this for you, just as they've included
zlib, dbm, tcl/tk, openssl, and many other standard libraries over the years.





-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, Aahz wrote:
> On that front, I think that pysqlite is much more important because
> it finally gets rid of the excuse for using Berkeley for simple
> database purposes.

Apologies if I'm being obtuse, but how does including the pysqlite
wrapper module change anything? You still need to download and install
SQLite, so what's the point of including a wrapper for something you
may or may not have? Why is pysqlite included, for example, and not
MySQL-Python or postgresql or whatever?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jorge Godoy
Aahz wrote:

> Heh.  Since we're just finally turning in our 100% first draft of Python
> for Dummies, I tend to think more in terms of what a Python newbie will
> find useful.  On that front, I think that pysqlite is much more
> important because it finally gets rid of the excuse for using Berkeley
> for simple database purposes.

You're right Aahz.  It is more useful.  I was just being "smart" with
you :-)

Now it will be easier to provide that classic phone book example in your
book :-)

-- 
Jorge Godoy  <[EMAIL PROTECTED]>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article <[EMAIL PROTECTED]>,
Jorge Godoy  <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Roy Smith  <[EMAIL PROTECTED]> wrote:
>>>
>>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>>thing in 2.5.
>> 
>> Really?  More than pysqlite?
>
>To me much more.  After all, why would I need pysqlite if I use
>PostgreSQL? ;-) 

Heh.  Since we're just finally turning in our 100% first draft of Python
for Dummies, I tend to think more in terms of what a Python newbie will
find useful.  On that front, I think that pysqlite is much more
important because it finally gets rid of the excuse for using Berkeley
for simple database purposes.
-- 
Aahz ([EMAIL PROTECTED])   <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jorge Godoy
Aahz wrote:

> In article <[EMAIL PROTECTED]>,
> Roy Smith  <[EMAIL PROTECTED]> wrote:
>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>thing in 2.5.
> 
> Really?  More than pysqlite?

To me much more.  After all, why would I need pysqlite if I use
PostgreSQL? ;-) 

/me remembering the old days of Clipper Summer '87, when he'd use DBFs all
over... ;-)

-- 
Jorge Godoy  <[EMAIL PROTECTED]>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list