Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Neal Norwitz
On 3/29/06, Fredrik Lundh [EMAIL PROTECTED] wrote: Neal Norwitz wrote: I'm in favor of having Atlassian setup a system to be used for 3k. It would be completely experimental and could be completely thrown away which should be made clear to Atlassian if we were to do this. I would use

Re: [Python-Dev] building sql queries in python

2006-03-30 Thread Gregory P. Smith
Getting off on a tangent here, but I would actually like some decent way of writing SQL queries in Python -- not for importing, but for database access. Constructing bits of SQL out of character strings sucks *extremely* badly. Have you looked at SqlObject? (and its associated modules

Re: [Python-Dev] _bsddb.c ownership

2006-03-30 Thread Thomas Wouters
On 3/30/06, Gregory P. Smith [EMAIL PROTECTED] wrote: The pybsddb project does not have its own copy of the code, it justpulls Modules/_bsddb.c and the Lib/bsddb/ directly from the pythonrepository using a script.Ah, excellent, that makes it a lot easier for the rest of python-dev. Its appreciated

Re: [Python-Dev] building sql queries in python

2006-03-30 Thread Thomas Wouters
On 3/30/06, Gregory P. Smith [EMAIL PROTECTED] wrote: Getting off on a tangent here, but I would actually like some decent way of writing SQL queries in Python -- not for importing, but for database access. Constructing bits of SQL out of character strings sucks *extremely* badly.Have you looked

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Thomas Heller
Martin v. Löwis wrote: I have now produces a snapshot of a Win64 build for AMD64 processors (also known as EM64T or x64); this is different from IA-64 (which is also known as Itanium)... Anyway, the binaries are http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.5.13199.amd64.msi

Re: [Python-Dev] I'm not getting email from SF when assignedabug/patch

2006-03-30 Thread Wolfgang Langner
Hello, On 3/29/06, Guido van Rossum [EMAIL PROTECTED] wrote: On 3/29/06, Wolfgang Langner [EMAIL PROTECTED] wrote: It is a Java system. Why promote Java solutions for python ? I think there are good python solutions for a bug tracker and we should prefer them. ... Also, we're supposed

Re: [Python-Dev] Class decorators

2006-03-30 Thread Greg Ewing
Phillip J. Eby wrote: Are you actually *using* this IOClass thing, or is this just a hypothetical proposal? I'm using it. It's not hypothetical. Putting all the info I want in the decorator itself wouldn't be very nice in my case, or at least that's my opinion. One issue is that I'm also

Re: [Python-Dev] Class decorators

2006-03-30 Thread Raymond Hettinger
[Jack Diederich] Classes have a unique property in that they are the easiest way to make little namespaces in python. [Greg Ewing] For a while now, I've been wondering whether it would be worth having a construct purely for creating little namespaces, instead of abusing a class for this.

Re: [Python-Dev] building sql queries in python

2006-03-30 Thread Greg Ewing
Thomas Wouters wrote: Have you looked at SqlObject? (and its associated modules sqlobject.sqlbuilder in particular) SQLAlchemy (www.sqlalchemy.org http://www.sqlalchemy.org) is also nice, in particular for more complex setups. There's plenty of ways to reliably and sanely

Re: [Python-Dev] Class decorators

2006-03-30 Thread Ben . Young
[EMAIL PROTECTED] wrote on 30/03/2006 11:38:30: Jack Diederich wrote: Classes have a unique property in that they are the easiest way to make little namespaces in python. For a while now, I've been wondering whether it would be worth having a construct purely for creating little

Re: [Python-Dev] Class decorators

2006-03-30 Thread Greg Ewing
Raymond Hettinger wrote: FWIW, I do not consider it an abuse to use a class to create a small namespace. Essentially that is what it is for -- it matters not whether the class has no methods. Two problems with that: * The word class in front of it is a misnomer if you've no intention of

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Greg Ewing
Fredrik Lundh wrote: Greg Ewing wrote: Firebird could be a solution to this. so a library that doesn't support multiple independent readers/writers on a single file at all is much better than one that does, Where do you get that from? Firebird supports multiple readers/writers

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Fredrik Lundh
Greg Ewing wrote: Firebird could be a solution to this. so a library that doesn't support multiple independent readers/writers on a single file at all is much better than one that does, Where do you get that from? Firebird supports multiple readers/writers perfectly well. not

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Andrew Walkingshaw
On Wed, Mar 29, 2006 at 05:24:32PM +0200, Wolfgang Langner wrote: -1 on db.sql.sqlite. Keep structure flat. Or we are eventually in a Java world with org.something.this.andthat xml.dom.minidom? -- http://www.lexical.org.uk/ | http://covertmusic.com/ | work: [EMAIL PROTECTED]

Re: [Python-Dev] Class decorators

2006-03-30 Thread Georg Brandl
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 30/03/2006 11:38:30: Jack Diederich wrote: Classes have a unique property in that they are the easiest way to make little namespaces in python. For a while now, I've been wondering whether it would be worth having a construct

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Anthony Baxter
On Thursday 30 March 2006 22:31, M.-A. Lemburg wrote: I don't really care about the name, but please be aware that you are talking about adding a *very* popular module name to the top-level Python namespace if you go for db or database. Why can't we just have the pysqlite package as top-level

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Anthony Baxter
On Thursday 30 March 2006 22:25, Andrew Walkingshaw wrote: On Wed, Mar 29, 2006 at 05:24:32PM +0200, Wolfgang Langner wrote: -1 on db.sql.sqlite. Keep structure flat. Or we are eventually in a Java world with org.something.this.andthat xml.dom.minidom? given the horror of

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Fredrik Lundh
Anthony Baxter wrote: xml.dom.minidom? given the horror of _xmlplus/xmlcore and whatnot, I'd be hesitant to use the xml package as an example of _anything_ wink which reminds me -- is that issue still open ? martin? fred? /F ___ Python-Dev

[Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Anthony Baxter
On Thursday 30 March 2006 23:07, Fredrik Lundh wrote: Anthony Baxter wrote: xml.dom.minidom? given the horror of _xmlplus/xmlcore and whatnot, I'd be hesitant to use the xml package as an example of _anything_ wink which reminds me -- is that issue still open ? martin? fred? It looks

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Fredrik Lundh
Anthony Baxter wrote: It looks to me like it's fixed in SVN. http://mail.python.org/pipermail/python-dev/2005-December/058710.html the issue isn't the one in that message though; it's the one in this message: http://mail.python.org/pipermail/python-dev/2005-December/058752.html I

[Python-Dev] (finally) getting around to killing __private names from stdlib

2006-03-30 Thread Anthony Baxter
I originally raised this a metric age or four ago, and promptly forgot about it - http://mail.python.org/pipermail/python-dev/2004-August/048444.html The concensus seemed to be ok, remove them, but carefully! I've started doing this, and will post a patch on SF when it's done. Before I do

Re: [Python-Dev] I'm not getting email from SF when assignedabug/patch

2006-03-30 Thread Barry Warsaw
On Wed, 2006-03-29 at 23:33 -0800, Neal Norwitz wrote: I'm in favor of having Atlassian setup a system to be used for 3k. It would be completely experimental and could be completely thrown away which should be made clear to Atlassian if we were to do this. I would use the system for

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Barry Warsaw
On Thu, 2006-03-30 at 09:55 +0200, Fredrik Lundh wrote: so what's the advantage of a freely hosted Atlassian setup compared to a freely hosted Trac setup ? Dunno. I'm sure both will accomplish the job and both will be better than the current situation. I've used Jira and Confluence for

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Barry Warsaw
On Thu, 2006-03-30 at 10:39 +0200, Georg Brandl wrote: Perhaps that Jira is commercial, so it is out of the question for most open-source Python applications. Sorry, I don't follow. Why is a commercial product out of the question for Python? -Barry signature.asc Description: This is a

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Georg Brandl
Barry Warsaw wrote: On Thu, 2006-03-30 at 10:39 +0200, Georg Brandl wrote: Perhaps that Jira is commercial, so it is out of the question for most open-source Python applications. Sorry, I don't follow. Why is a commercial product out of the question for Python? What I answered to was:

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread M.-A. Lemburg
Anthony Baxter wrote: On Thursday 30 March 2006 22:31, M.-A. Lemburg wrote: I don't really care about the name, but please be aware that you are talking about adding a *very* popular module name to the top-level Python namespace if you go for db or database. Why can't we just have the

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Gerhard Häring
M.-A. Lemburg wrote: [...] Also your statement regarding sqlite3 suggests that sqlite itself is not included - why not ? - SQLite sources are 1.57 MiB uncompressed, we wouldn't want to add that to the Python sources download size, would we? - I personally would not want to have the job to

Re: [Python-Dev] I'm not getting email from SFwhenassignedabug/patch

2006-03-30 Thread Fredrik Lundh
Georg Brandl wrote: What I answered to was: from what I can tell, no big contemporary Python project use Atlassian. they all use Trac. there are thousands of Python developers out there that are used to working with Trac. I'm obviously missing something here. I'm not saying it's out

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Barry Warsaw
On Thu, 2006-03-30 at 16:20 +0200, Georg Brandl wrote: I'm not saying it's out of the question for Python, I'm saying that it's out of the question for most open-source projects, which don't have the money or don't want to spend the money on a mere bug tracker, and that this may be the reason

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Anthony Baxter
On Friday 31 March 2006 02:04, M.-A. Lemburg wrote: Excellent point. Hm. Maybe we should just go with 'sqlite', instead. Anything, but please no db or database top-level module or package :-) How about sql? wink I can't think of a better name right now - can anyone else, or should it

Re: [Python-Dev] PySet API

2006-03-30 Thread Barry Warsaw
On Wed, 2006-03-29 at 23:09 -0500, Raymond Hettinger wrote: Yes, _PySet_Next() is a good compromise for you and me -- it saves you from writing a hack and saves my API from including a bug factory. The only issue is that Martin thinks it to be a crummy idea. Personally, I have no problem

[Python-Dev] new article - MapPoint and Python

2006-03-30 Thread Eric Frost
http://www.mp2kmag.com/a131--python.pythonwin.mappoint.html Let me know if anyone would like to publish this short article on their web site. website @ MP2Kmag dot com for permission and instructions. Thanks, Eric ___ Python-Dev mailing list

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Fredrik Lundh
Anthony Baxter wrote: Such a module name is less likely to cause problems. Excellent point. Hm. Maybe we should just go with 'sqlite', instead. except that sqlite was the name used by the first pysqlite generation: $ python2.3 import sqlite sqlite.version '1.1.6' I'm not sure how much

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread M.-A. Lemburg
Anthony Baxter wrote: On Friday 31 March 2006 02:04, M.-A. Lemburg wrote: Excellent point. Hm. Maybe we should just go with 'sqlite', instead. Anything, but please no db or database top-level module or package :-) How about sql? wink I can't think of a better name right now - can

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Gerhard Häring
Fredrik Lundh wrote: Anthony Baxter wrote: Such a module name is less likely to cause problems. Excellent point. Hm. Maybe we should just go with 'sqlite', instead. except that sqlite was the name used by the first pysqlite generation: $ python2.3 import sqlite sqlite.version

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Gerhard Häring
M.-A. Lemburg wrote: Will it also work with e.g. sqlite 2.8.15 (ie. sqlite v3) - this is the standard version on SuSE 9.2. No, SQLite 3 has a completely different API than SQLite 2.x. If you need a Python module for it, you can use pysqlite 1.0.1. Also your statement regarding sqlite3

Re: [Python-Dev] Still looking for volunteer to run Windows buildbot

2006-03-30 Thread Martin v. Löwis
Gregory P. Smith wrote: FWIW, thats an old BerkeleyDB (yes it'll still work). Python 2.5 should ship built with BerkeleyDB 4.4.20 so thats what buildbot should use if it builds the module. The buildbots now fetch bsddb automatically from http://svn.python.org/projects/external/db-4.4.20/ so

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Martin v. Löwis
Fredrik Lundh wrote: xml.dom.minidom? given the horror of _xmlplus/xmlcore and whatnot, I'd be hesitant to use the xml package as an example of _anything_ wink which reminds me -- is that issue still open ? martin? fred? It still is. I wonder whether I should just revert the change.

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Martin v. Löwis
Anthony Baxter wrote: It looks to me like it's fixed in SVN. http://mail.python.org/pipermail/python-dev/2005-December/058710.html Interestingly, 15 minutes ago I was helping the Ubuntu python packager diagnose exactly the test failure mentioned in this email... The problem is that now

Re: [Python-Dev] unicode vs buffer (array) design issue can crash interpreter

2006-03-30 Thread Martin v. Löwis
Neal Norwitz wrote: See http://python.org/sf/1454485 for the gory details. Basically if you create a unicode array (array.array('u')) and try to append an 8-bit string (ie, not unicode), you can crash the interpreter. The problem is that the string is converted without question to a

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Martin v. Löwis
Fredrik Lundh wrote: so what's the advantage of a freely hosted Atlassian setup compared to a freely hosted Trac setup ? I'm obviously missing something here. One thing that you are *obviously* missing (there might be more): Nobody has stepped forward and said I make trac happen. Without

Re: [Python-Dev] Class decorators

2006-03-30 Thread Ian Bicking
Fred L. Drake, Jr. wrote: It's too bad this syntax is ambiguous: class Foo: Docstring here, blah blah blah @implements(IFoo) As this achieves a desirable highlighting of the specialness, without forcing the decorator outside the class.

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Martin v. Löwis
Thomas Heller wrote: Is this no longer available? Sorry, I just deleted that. I now replaced it with python-2.5.13231.amd64.msi BTW: When I build Python for ReleaseAMD64 myself, the exe crashes at the first Py_BuildValue call. That doesn't happen for me... can you find out why it crashes?

Re: [Python-Dev] alpha problems -- need input

2006-03-30 Thread Thomas Heller
Neal Norwitz wrote: These issues are on HEAD. There might be some others I missed. With cc there are at least 2 issues: * test_file causes interpreter exit due to sys.stdin.seek(-1) * test_pty fails apparently due to whitespace differences

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Thomas Heller
Martin v. Löwis wrote: Thomas Heller wrote: Is this no longer available? Sorry, I just deleted that. I now replaced it with python-2.5.13231.amd64.msi Thanks, I'll try that. BTW: When I build Python for ReleaseAMD64 myself, the exe crashes at the first Py_BuildValue call. That

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-30 Thread Fredrik Lundh
Martin v. Löwis wrote: I'm obviously missing something here. One thing that you are *obviously* missing (there might be more): Nobody has stepped forward and said I make trac happen. Without somebody (specific) saying that, all technical arguments in favour of that software are futile.

Re: [Python-Dev] I'm not getting email from SFwhenassignedabug/patch

2006-03-30 Thread Georg Brandl
Fredrik Lundh wrote: Georg Brandl wrote: What I answered to was: from what I can tell, no big contemporary Python project use Atlassian. they all use Trac. there are thousands of Python developers out there that are used to working with Trac. I'm obviously missing something here.

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Georg Brandl
M.-A. Lemburg wrote: Anthony Baxter wrote: On Friday 31 March 2006 02:04, M.-A. Lemburg wrote: Excellent point. Hm. Maybe we should just go with 'sqlite', instead. Anything, but please no db or database top-level module or package :-) How about sql? wink I can't think of a better

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Martin v. Löwis
Thomas Heller wrote: In sys_getwindowsversion: return Py_BuildValue(s, ver.dwMajorVersion, ver.dwMinorVersion, ver.dwBuildNumber, ver.dwPlatformId,

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-30 Thread Martin v. Löwis
Fredrik Lundh wrote: I can ask them for a test py3k account, if there's any interest. I'm personally not very much interested in a Py3k tracker; I don't see myself using it. So I'm not interested in a trac-based one, either. As for python-hosting.com: Somebody would *still* have to set this up,

Re: [Python-Dev] PySet API

2006-03-30 Thread Raymond Hettinger
The idea is not yet ready for prime-time. If I do it for one of the named operations, I will do it for all (to keep the interface uniform). Which named operations are you thinking of? s.union(t), s.intersection(t), s.difference(t), s.symmetric_difference(t), s.update(t),

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Thomas Heller
Martin v. Löwis wrote: Thomas Heller wrote: In sys_getwindowsversion: return Py_BuildValue(s, ver.dwMajorVersion, ver.dwMinorVersion, ver.dwBuildNumber, ver.dwPlatformId,

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Georg Brandl
Anthony Baxter wrote: On Friday 31 March 2006 02:04, M.-A. Lemburg wrote: Excellent point. Hm. Maybe we should just go with 'sqlite', instead. Anything, but please no db or database top-level module or package :-) How about sql? wink I can't think of a better name right now - can

[Python-Dev] xmlrpclib.binary missing?

2006-03-30 Thread Chris AtLee
The current 2.4 and 2.5 docs mention that the xmlrpclib has a function called binary which converts any python value to a Binary object. However, this function does not exist in either 2.4.3 or 2.5. The Binary constructor accepts a data parameter, so I would say just remove mention of the binary

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Bill Janssen
I think sqlite is just fine. I do, too. Bill ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] xmlrpclib.binary missing?

2006-03-30 Thread Aahz
On Thu, Mar 30, 2006, Chris AtLee wrote: The current 2.4 and 2.5 docs mention that the xmlrpclib has a function called binary which converts any python value to a Binary object. However, this function does not exist in either 2.4.3 or 2.5. The Binary constructor accepts a data parameter,

Re: [Python-Dev] xmlrpclib.binary missing?

2006-03-30 Thread Chris AtLee
On 3/30/06, Aahz [EMAIL PROTECTED] wrote: On Thu, Mar 30, 2006, Chris AtLee wrote: The current 2.4 and 2.5 docs mention that the xmlrpclib has a function called binary which converts any python value to a Binary object. However, this function does not exist in either 2.4.3 or 2.5.

[Python-Dev] Fwd: Python 2.5 update

2006-03-30 Thread Martin Blais
-- Forwarded message -- From: Martin Blais [EMAIL PROTECTED] Date: Mar 29, 2006 10:32 PM Subject: Python 2.5 update To: [EMAIL PROTECTED] Hi I was thinking of a new action append_const to optparse, so I googled it to check if anybody else had been thinking about the same idea,

[Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Georg Brandl
Hi, for the Bug Day, someone asked me if there is a prebuilt trunk for Windows available somewhere so that he could participate. Martin: I read you've built for a snapshot AMD64, is there one for x86 too? Georg ___ Python-Dev mailing list

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Guido van Rossum
So do I. On 3/30/06, Bill Janssen [EMAIL PROTECTED] wrote: I think sqlite is just fine. I do, too. Bill -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Nasty trunk test failures

2006-03-30 Thread Tim Peters
test_tokenize started failing on all the trunk buildbots immediately after this seemingly unrelated checkin: Author: armin.rigo Date: Thu Mar 30 16:04:02 2006 New Revision: 43458 Modified: python/trunk/Lib/test/test_index.py python/trunk/Objects/abstract.c

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread skip
Martin Nobody has stepped forward and said I make trac happen. Hasn't trac already happened in the sense that it's installed (by Tim Parkin on the Pollenation website) and in use by the website maintainers? Seems the only major hurdle is the extraction of history from SF. Skip

Re: [Python-Dev] Nasty trunk test failures

2006-03-30 Thread Guido van Rossum
On 3/30/06, Tim Peters [EMAIL PROTECTED] wrote: test_tokenize started failing on all the trunk buildbots immediately after this seemingly unrelated checkin: tokenize seems to be mishandling this line: assert 6 .__index__() == 6 Note the space between '6' and '.'. I'm guessing that

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: Hasn't trac already happened in the sense that it's installed (by Tim Parkin on the Pollenation website) and in use by the website maintainers? Seems the only major hurdle is the extraction of history from SF. That isn't actually the case. Test data would be

Re: [Python-Dev] Fwd: Python 2.5 update

2006-03-30 Thread Martin v. Löwis
Martin Blais wrote: What is the process for upgrading the stdlib version of optparse? Very simple: the author of the library would have to contribute it. Actually, if the changes where contributed by Optik contributors, they would have to contribute them to Python. Are there any plans to

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Martin v. Löwis
Georg Brandl wrote: for the Bug Day, someone asked me if there is a prebuilt trunk for Windows available somewhere so that he could participate. Martin: I read you've built for a snapshot AMD64, is there one for x86 too? Not at the moment, and I might not have time tomorrow to produce one.

Re: [Python-Dev] PySet API

2006-03-30 Thread Barry Warsaw
On Thu, 2006-03-30 at 13:09 -0500, Raymond Hettinger wrote: Please leave this one alone. I still need to work on this part of the API and do not currently have the spare clock cycles to do it right now. You don't HAVE to jam something in right away. Please let it continue to cook and

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Terry Reedy
Anthony Baxter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Anything, but please no db or database top-level module or package :-) How about sql? wink Whereas I am quite happy with a 'db' package, and would like to see other db stuff put under it. tjr

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Terry Reedy
Gerhard Häring [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I proposed to link dynamically on Windows, and ship the Windows SQLite3.DLL. This has two advantages: - Python users can upgrade the SQLite3.DLL by a simple download from in case of emergency +1 and thanks from a

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Greg Ewing
Fredrik Lundh wrote: not according to the documentation (which says that the embedded library locks the database file, to prevent other independent processes from accessing the data). I think that means other *non-Firebird* processes. Firebird itself uses a system of file locks and

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Greg Ewing
M.-A. Lemburg wrote: I don't really care about the name, but please be aware that you are talking about adding a *very* popular module name to the top-level Python namespace if you go for db or database. This would only be an issue for an application that had a private module calle db, since

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-30 Thread Brett Cannon
On 3/30/06, Guido van Rossum [EMAIL PROTECTED] wrote: On 3/30/06, Martin v. Löwis [EMAIL PROTECTED] wrote: Fredrik Lundh wrote: I can ask them for a test py3k account, if there's any interest. I'm personally not very much interested in a Py3k tracker; I don't see myself using it. So

[Python-Dev] reference leaks, __del__, and annotations

2006-03-30 Thread Jim Jewett
The checkins list has been struggling with generator reference leaks; the latest conclusion was that some are unavoidable because of __del__ cycles. That sort of defeats the purpose of resource managers. (Yes, it can be worked around on a case-by-case basis.) As I see it, part of the problem is

Re: [Python-Dev] reference leaks, __del__, and annotations

2006-03-30 Thread Jim Jewett
(Apologies for the thinko -- corrected because it was in the example code.) The checkins list has been struggling with generator reference leaks; the latest conclusion was that some are unavoidable because of __del__ cycles. That sort of defeats the purpose of resource managers. (Yes, it can be

[Python-Dev] Class decorators

2006-03-30 Thread Jim Jewett
Phillip J. Eby wrote: I don't even recall seeing any examples of class decorators being used without arguments! I have often started with a function, and ended up replacing it with a callable object so that I could save state without resorting to defalt args or worse. I would prefer to

Re: [Python-Dev] reference leaks, __del__, and annotations

2006-03-30 Thread Greg Ewing
Jim Jewett wrote: The checkins list has been struggling with generator reference leaks; the latest conclusion was that some are unavoidable because of __del__ cycles. That sort of defeats the purpose of resource managers. Seems to me we need a whole new approach to finalization that's

Re: [Python-Dev] Nasty trunk test failures

2006-03-30 Thread Tim Peters
[Guido] tokenize seems to be mishandling this line: assert 6 .__index__() == 6 Note the space between '6' and '.'. I'm guessing that the untokenization of this somehow drops the space; this seems to be a bug in untokenize() which probably should add a safety space after names as

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Tim Peters
[Georg Brandl] for the Bug Day, someone asked me if there is a prebuilt trunk for Windows available somewhere so that he could participate. Martin: I read you've built for a snapshot AMD64, is there one for x86 too? If someone can explain what prebuilt trunk means, exactly, maybe I can do it.

Re: [Python-Dev] alpha problems -- need input

2006-03-30 Thread Tim Peters
Disabling a test on a platform is usually a bad thing, overall. The purpose of the test suite isn't to get a lot of green buildbot boxes 0.5 wink, it's to determine whether Python works as expected. If a platform bug causes some test to fail, then that test _should_ fail on that platform --

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Martin v. Löwis
Terry Reedy wrote: Gerhard Häring [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I proposed to link dynamically on Windows, and ship the Windows SQLite3.DLL. This has two advantages: - Python users can upgrade the SQLite3.DLL by a simple download from in case of emergency +1

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Neal Norwitz
On 3/30/06, Martin v. Löwis [EMAIL PROTECTED] wrote: The problem is that now PyXML is no longer maintainable (not that it has been maintained very well, though): The files that used to be identical in PyXML and Python no longer are identical, so keeping them synchronized adds unreasonable

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-30 Thread Fredrik Lundh
Brett Cannon wrote: Same here. Please move any more comments about infrastructure to the infrastructure list (http://mail.python.org/mailman/listinfo/infrastructure/). But do realize the committee is not discussing trackers yet. We are still trying to get our SF data out so that can be

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Martin v. Löwis
Tim Peters wrote: for the Bug Day, someone asked me if there is a prebuilt trunk for Windows available somewhere so that he could participate. Martin: I read you've built for a snapshot AMD64, is there one for x86 too? If someone can explain what prebuilt trunk means, exactly, maybe I can

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Martin v. Löwis
Neal Norwitz wrote: I don't know what the differences are. Are they large? Can we copy the changes from Python back into PyXML? Or modify both PyXML and Python so they are the same? Could we create a patch that would be applied on importing PyXML to make things easier? Primarily, things

Re: [Python-Dev] alpha problems -- need input

2006-03-30 Thread Neal Norwitz
On 3/30/06, Tim Peters [EMAIL PROTECTED] wrote: Disabling a test on a platform is usually a bad thing, overall. The Agreed. purpose of the test suite isn't to get a lot of green buildbot boxes 0.5 wink, it's to determine whether Python works as expected. If a platform bug causes some test

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Fredrik Lundh
Tim Peters wrote: [Georg Brandl] for the Bug Day, someone asked me if there is a prebuilt trunk for Windows available somewhere so that he could participate. Martin: I read you've built for a snapshot AMD64, is there one for x86 too? If someone can explain what prebuilt trunk means,

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-30 Thread Robert Kern
Brett Cannon wrote: On 3/28/06, Martin v. Löwis [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Roundup is there now, right (sans SF export)? Richard Jones has an SF importer for one of the two XML-like formats, the one that is correct XML but with incomplete data. The other format, which

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-30 Thread Fredrik Lundh
Guido van Rossum wrote: I can ask them for a test py3k account, if there's any interest. I'm personally not very much interested in a Py3k tracker; I don't see myself using it. So I'm not interested in a trac-based one, either. Me neither. It's too early. I wasn't really expecting

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-30 Thread Robert Kern
Brett Cannon wrote: On 3/28/06, Martin v. Löwis [EMAIL PROTECTED] wrote: My view is that nothing should be considered unless there is a) a volunteer to operate the tracker (or, failing that, somebody who does it for money), and b) an importer of whatever data SF can provide. And as the

Re: [Python-Dev] [Python-3000] Iterators for dict keys, values, and items == annoying :)

2006-03-30 Thread Taro Ogawa
Nick Coghlan ncoghlan at gmail.com writes: There are three big use cases: dict.keys dict.values dict.items Currently these all return lists, which may be expensive in terms of copying. They all have iter* variants which while memory efficient, are far less convenient to work with.

Re: [Python-Dev] I'm not getting email from SF when assignedabug/patch

2006-03-30 Thread Fredrik Lundh
Robert Kern wrote: Apologies: for the other blank reply. oh, I don't know about that -- the eco quote made perfect sense ;-) /F ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: