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-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,

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

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

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

2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article [EMAIL PROTECTED], Roy Smith [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Alex Martelli) wrote: Consider for example that one of the additions to Python 2.5 (currently in alpha stage) is the inclusion in the Python standard library of ctypes Indeed,

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

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,

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

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?

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

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,

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

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).