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

2006-03-28 Thread Brett Cannon
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 has compl

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Gerhard Häring
Martin v. Löwis wrote: > Anthony Baxter wrote: > >>This came up before (back in October 2004!) but didn't go anywhere >>since, AFAICR. Do we want to consider including pysqlite in Python >>2.5? It's the only DB adaptor that I'd really consider suitable for >>shipping with the distribution, beca

Re: [Python-Dev] PySet API

2006-03-28 Thread Terry Reedy
"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gareth McCaughan wrote: > >> For what it's worth[1], I think Raymond is absolutely on crack here. > > +1 on a good concrete set API from me, too. For what it's worth, I think Gareth's crack at Raymond is childish and out

Re: [Python-Dev] Class decorators

2006-03-28 Thread Fred L. Drake, Jr.
On Wednesday 29 March 2006 00:48, Fred L. Drake, Jr. wrote: > I think the existing usage for classes is perfectly readable. The > @-syntax works well for functions as well. On re-reading what I wrote, I don't think I actually clarified the point I was trying to make originally. My point wasn'

Re: [Python-Dev] Class decorators

2006-03-28 Thread Fred L. Drake, Jr.
On Wednesday 29 March 2006 00:01, Phillip J. Eby wrote: > If we're using Zope 3 as an example, I personally find that: > > class Foo: > """Docstring here, blah blah blah > """ > implements(IFoo) > > is easier to read than: I think the existing usage for clas

Re: [Python-Dev] Class decorators

2006-03-28 Thread Phillip J. Eby
At 11:35 PM 3/28/2006 -0500, Fred L. Drake, Jr. wrote: >For Zope 3, we have decorators that work with the component architecture (I'm >sure Phillip is familiar with these). They're used with functions to >indicate that the function adapts a particular kind of object, or that it >implements or prov

[Python-Dev] Weekly Python Patch/Bug Summary

2006-03-28 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 389 open ( -3) / 3117 closed (+23) / 3506 total (+20) Bugs: 901 open ( -6) / 5687 closed (+41) / 6588 total (+35) RFE : 214 open ( +1) / 206 closed ( +4) / 420 total ( +5) New / Reopened Patches __ Minimalis

Re: [Python-Dev] Class decorators

2006-03-28 Thread Fred L. Drake, Jr.
On Tuesday 28 March 2006 22:06, Phillip J. Eby wrote: > And here it is: because the use cases for class decorators are > different. This is vague. > I routinely use them with things that take numerous keyword > arguments, but this isn't nearly as common of a scenario for function > decorato

Re: [Python-Dev] Class decorators

2006-03-28 Thread Phillip J. Eby
At 02:55 PM 3/29/2006 +1200, Greg Ewing wrote: >Phillip J. Eby wrote: > > > http://mail.python.org/pipermail/python-dev/2004-March/043462.html > > > Or more precisely, the subsequent discussion and examples convinced me > that > > putting class decorators on top of the class was bad for readabilit

Re: [Python-Dev] Class decorators

2006-03-28 Thread Greg Ewing
Phillip J. Eby wrote: > http://mail.python.org/pipermail/python-dev/2004-March/043462.html > Or more precisely, the subsequent discussion and examples convinced me that > putting class decorators on top of the class was bad for readability, vs. > putting them in the body just after the docstrin

Re: [Python-Dev] PySet API

2006-03-28 Thread Greg Ewing
Gareth McCaughan wrote: > For what it's worth[1], I think Raymond is absolutely on crack here. +1 on a good concrete set API from me, too. Being such similar types, sets should have about the same API richness as dicts, IMO. -- Greg ___ Python-Dev mai

Re: [Python-Dev] INPLACE_ADD and INPLACE_MULTIPLY oddities in ceval.c

2006-03-28 Thread Greg Ewing
Armin Rigo wrote: >>>> [].__add__(5) >TypeError: can only concatenate list (not "int") to list Would that be much of a loss? It doesn't really give you much more information than something like Unsupported operand types for '+': list, int and what it does give is based on the assumpt

Re: [Python-Dev] PySet API

2006-03-28 Thread Greg Ewing
Barry Warsaw wrote: > "Perhaps the PySet API can raise an error if it's ever called on > something that's not *exactly* a set? No subclassing allowed. > Shouldn't affect you, and should be an effective deterrent against > abuse of the kind that made the PyDict API an albatross." And perhaps in Py

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Josiah Carlson
Barry Warsaw <[EMAIL PROTECTED]> wrote: > On Tue, 2006-03-28 at 18:24 -0500, Phillip J. Eby wrote: > > > On the plus side, it sounds like ASPW is a more general wrapping of SQLite, > > which seems to me to lean in its favor for the stdlib, if it can also be > > brought into DBAPI compliance. >

Re: [Python-Dev] INPLACE_ADD and INPLACE_MULTIPLY oddities in ceval.c

2006-03-28 Thread Greg Ewing
Travis E. Oliphant wrote: > I can't imaging anybody relying on an in-place operations to return a > "different" object, but we could make the change and run all the > NumPy/SciPy tests to see what happens. I'm really thinking more about the non-inplace operators. If nb_add and sq_concat are col

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Tim Peters
[Phillip J. Eby] > By that reasoning, binary compatibility won't be an issue anywhere else, > either, since the change was made on the 2.5 alpha trunk, and ISTM that 2.5 > will require recompiling extensions anyway. I don't know how people work on Linux; that's why I brought it up. The binary API

Re: [Python-Dev] Fwd: [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Tim Peters
[Thomas Wouters] ... > not to mention avoiding finalizers on other builtin objects. (None seem to > have > them at the moment, they all do their stuff in tp_dealloc, Right, generators are the only exception now (and there were no exceptions before 2.5). > which I guess doesn't allow objects to r

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Bill Janssen
> Yup; I'd be happy to see db.mysql and db.pgsql or whatnot added as > appropriate, and having a nice new namespace ready for them is a good idea. I really wish that that namespace would be "database", not "db". Bill ___ Python-Dev mailing list Python-D

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Tim Peters
[Thomas Wouters] >> So does that make all cycles involving only objects with finalizers >> impervious to cycle-gc? I guess it'd have to be that way. [again] > Er, I meant to say 'does that make all cycles involving just one object with > a finalizer impervious to cycle-gc'. Both are true, and bot

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Barry Warsaw
On Tue, 2006-03-28 at 18:24 -0500, Phillip J. Eby wrote: > On the plus side, it sounds like ASPW is a more general wrapping of SQLite, > which seems to me to lean in its favor for the stdlib, if it can also be > brought into DBAPI compliance. If there's some general uncertainty about which to a

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Thomas Wouters
On 3/29/06, Thomas Wouters <[EMAIL PROTECTED]> wrote: So does that make all cycles involving only objects with finalizers impervious to cycle-gc? I guess it'd have to be that way.Er, I meant to say 'does that make all cycles involving just one object with a finalizer impervious to cycle-gc'. -- Tho

[Python-Dev] Fwd: [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Thomas Wouters
Wupsie, this was meant for all of python-dev ;P-- Forwarded message --From: Thomas Wouters <[EMAIL PROTECTED] >Date: Mar 29, 2006 1:34 AMSubject: Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.cTo: Tim Peters <[EMAIL PROTECTED]> On 3/29/06, Tim Pete

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Phillip J. Eby
At 06:13 PM 3/28/2006 -0500, Tim Peters wrote: >2. Because of the obscure gimmicks that try to cater to using old > binary extension modules across new Python releases without > recompiling, there's no guarantee that the tp_del slot even exists, > and therefore we don't try to access tp

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Phillip J. Eby
At 04:22 PM 3/28/2006 -0500, Jean-Paul Calderone wrote: >On Tue, 28 Mar 2006 15:48:36 -0500, Barry Warsaw <[EMAIL PROTECTED]> wrote: > >On Wed, 2006-03-29 at 01:51 +1100, Anthony Baxter wrote: > >> I'm happy to work with Gerhard to make this happen. Does it need a > >> PEP? I'd say "no", > > > >Agr

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Tim Peters
[Thomas Wouters] > ... > The cycle this nested generator creates, which is also involved in the > test_tee > leak, is not cleanable by the cycle-gc, and it looks like it hasn't been > since the yield-expr/coroutine patch was included in the trunk. That could very well be. Adding finalizers to ge

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Guido van Rossum
OK. -1 on PEP 299 it is. On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > > > It might be worth instead adding an option flag to the executable that > > > implies > > > "from the loade

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Charles Cazabon
Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > > It might be worth instead adding an option flag to the executable that > > implies > > "from the loaded module, run __main__() with sys.argv as its argument(s)", > > so > > the user can get th

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Guido van Rossum
Sorry, I meant "python -m somemodule". On 3/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > > It might be worth instead adding an option flag to the executable that > > implies > > "from the loaded module, run __main__() with sys.argv

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Guido van Rossum
On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > It might be worth instead adding an option flag to the executable that implies > "from the loaded module, run __main__() with sys.argv as its argument(s)", so > the user can get this behaviour with `python -X somemodule.py`. You can do "pyth

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Charles Cazabon
Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 3/28/06, Georg Brandl <[EMAIL PROTECTED]> wrote: > > since I found myself writing "if __name__ == '__main__'" > > often these days, I wondered whether PEP 299 could be pronounced > > upon. I'm not proposing putting it into 2.5, but it should be > > r

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Guido van Rossum
On 3/28/06, Georg Brandl <[EMAIL PROTECTED]> wrote: > since I found myself writing "if __name__ == '__main__'" > often these days, I wondered whether PEP 299 could be pronounced > upon. I'm not proposing putting it into 2.5, but it should be > relatively small a change. If you're asking for a quic

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Jean-Paul Calderone
On Tue, 28 Mar 2006 15:48:36 -0500, Barry Warsaw <[EMAIL PROTECTED]> wrote: >On Wed, 2006-03-29 at 01:51 +1100, Anthony Baxter wrote: >> I'm happy to work with Gerhard to make this happen. Does it need a >> PEP? I'd say "no", > >Agreed. pysqlite is solid and widely accepted, and AFAIK has no >comp

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Barry Warsaw
On Wed, 2006-03-29 at 01:51 +1100, Anthony Baxter wrote: > I'm happy to work with Gerhard to make this happen. Does it need a > PEP? I'd say "no", Agreed. pysqlite is solid and widely accepted, and AFAIK has no competition. > but only because things like ElementTree didn't, > either. Does it

Re: [Python-Dev] PySet API

2006-03-28 Thread Barry Warsaw
Excerpting... On Tue, 2006-03-28 at 14:07 +, Gareth McCaughan wrote: > * Simple API: > > API complexity is measured in brain cells, not in methods. > > * Ease of making mistakes: > > The Python API is absolutely stuffed with places where you can go wrong > by forgetting about subtle refcou

Re: [Python-Dev] PySet API

2006-03-28 Thread Barry Warsaw
On Mon, 2006-03-27 at 23:53 -0800, Raymond Hettinger wrote: > While I don't favor the proposed API, I think is essential that > you not be left hanging without good options. Thank you. So where does this leave us? BTW, Guido made a suggestion in private email (which he okayed to mention publicl

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Charles Cazabon
Georg Brandl <[EMAIL PROTECTED]> wrote: > Fredrik Lundh wrote: > > > > db.sqlite3 ? +1 > That would make sense if inclusion of more database-related modules was > planned. Yup; I'd be happy to see db.mysql and db.pgsql or whatnot added as appropriate, and having a nice new namespace ready for t

Re: [Python-Dev] PySet API

2006-03-28 Thread Barry Warsaw
On Tue, 2006-03-28 at 17:28 +1200, Greg Ewing wrote: > Barry Warsaw wrote: > > My PySet_Clear() raises a SystemError > > and returns -1 when the object is a frozen set. > > Isn't SystemError a bit drastic? TypeError would be > sufficient here, surely. Possibly, but all the other PySet_*() functio

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Georg Brandl
Fredrik Lundh wrote: > Gerhard Häring wrote: > >> I know that pushing new things into Python 2.5 should happen soon, if at >> all. So *if* pysqlite should go into Python, I propose that I release >> pysqlite 2.2.0 and we integrate that into the Python alpha release. > > +1 ! > >> If this is goin

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Phillip J. Eby
At 09:22 PM 3/28/2006 +0200, Georg Brandl wrote: >Hi, > >since I found myself writing "if __name__ == '__main__'" >often these days, I wondered whether PEP 299 could be pronounced >upon. I'm not proposing putting it into 2.5, but it should be >relatively small a change. A couple of issues that the

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

2006-03-28 Thread Georg Brandl
Martin v. Löwis 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 has complete data but is ill-formed XML,

[Python-Dev] Reminder: Bug Day this Friday, 31st of March

2006-03-28 Thread Georg Brandl
Hello, it's time for the 7th Python Bug Day, just before 2.5 alpha 1 is released. The aim of the bug day is to close as many bugs, patches and feature requests as possible, this time with a focus on small feature additions that can still go into the upcoming 2.5 alpha release. When? ^ The bu

Re: [Python-Dev] Class decorators

2006-03-28 Thread Phillip J. Eby
At 11:04 AM 3/28/2006 -0800, Guido van Rossum wrote: >That's fine. But there's also the C#/Java POV. Can someone point me to examples of C# class "attributes" and Java annotations that they'd like to use with this mechanism? I would indeed like to see how those use cases compare with mine. >

[Python-Dev] What about PEP 299?

2006-03-28 Thread Georg Brandl
Hi, since I found myself writing "if __name__ == '__main__'" often these days, I wondered whether PEP 299 could be pronounced upon. I'm not proposing putting it into 2.5, but it should be relatively small a change. Cheers, Georg ___ Python-Dev mailing

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

2006-03-28 Thread Martin v. Löwis
[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 has complete data but is ill-formed XML, has no importer into roundup at th

Re: [Python-Dev] Class decorators

2006-03-28 Thread Guido van Rossum
On 3/28/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 10:01 AM 3/28/2006 -0800, Guido van Rossum wrote: > >OK, I'm convinced (mostly by the awful hackery that Phillip so proudly > >exposed :-). > > Just as a historical note, here's where you previously rejected the same > hackery as an argumen

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Martin v. Löwis
Anthony Baxter wrote: > This came up before (back in October 2004!) but didn't go anywhere > since, AFAICR. Do we want to consider including pysqlite in Python > 2.5? It's the only DB adaptor that I'd really consider suitable for > shipping with the distribution, because it's self-contained. >

Re: [Python-Dev] Class decorators

2006-03-28 Thread Phillip J. Eby
At 10:01 AM 3/28/2006 -0800, Guido van Rossum wrote: >OK, I'm convinced (mostly by the awful hackery that Phillip so proudly >exposed :-). Just as a historical note, here's where you previously rejected the same hackery as an argument for supporting class decorators: http://mail.python.org/piper

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Fredrik Lundh
Gerhard Häring wrote: > I know that pushing new things into Python 2.5 should happen soon, if at > all. So *if* pysqlite should go into Python, I propose that I release > pysqlite 2.2.0 and we integrate that into the Python alpha release. +1 ! > If this is going to happen, I want it to happen un

Re: [Python-Dev] Class decorators

2006-03-28 Thread Jack Diederich
On Tue, Mar 28, 2006 at 10:16:01AM -0800, Neal Norwitz wrote: > On 3/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > > I propose that someone start writing a Py3k PEP for class decorators. > > I don't think it's fair to the 2.5 release team to want to push this > > into 2.5 though; how ab

Re: [Python-Dev] Class decorators

2006-03-28 Thread Neal Norwitz
On 3/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > I propose that someone start writing a Py3k PEP for class decorators. > I don't think it's fair to the 2.5 release team to want to push this > into 2.5 though; how about 2.6? Wasn't there already a (pretty small) patch? I guess it would

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

2006-03-28 Thread Josiah Carlson
Anthony Baxter <[EMAIL PROTECTED]> wrote: > > On Tuesday 28 March 2006 19:13, Giovanni Bajo wrote: > > Another option would be Bugzilla, which is proven to be stable, > > maintained and used succesfully by large open source projects (like > > GCC+RedHat+Binutils+Classpath). > > Please god no. No

Re: [Python-Dev] Class decorators

2006-03-28 Thread Guido van Rossum
On 3/28/06, Samuele Pedroni <[EMAIL PROTECTED]> wrote: > Mike Krell wrote: > >Greg Ewing canterbury.ac.nz> writes: > >>I've just been playing around with metaclasses, and > >>I think I've stumbled across a reason for having > >>class decorators as an alternative to metaclasses > >>for some purpose

Re: [Python-Dev] INPLACE_ADD and INPLACE_MULTIPLY oddities in ceval.c

2006-03-28 Thread Guido van Rossum
On 3/28/06, Armin Rigo <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, Mar 27, 2006 at 08:00:09PM -0800, Guido van Rossum wrote: > > So for consistency we want a += b to also execute a.__iadd__. The > > opcode calls PyNumber_InplaceAdd; I think that PyNumber_InplaceAdd > > (and PySequence_InplaceConca

Re: [Python-Dev] Class decorators

2006-03-28 Thread Samuele Pedroni
Mike Krell wrote: >Greg Ewing canterbury.ac.nz> writes: > > > >>I've just been playing around with metaclasses, and >>I think I've stumbled across a reason for having >>class decorators as an alternative to metaclasses >>for some purposes. >> >> > >There has also been discussion on the Iron

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

2006-03-28 Thread Jan Claeys
Op di, 28-03-2006 te 09:23 -0600, schreef [EMAIL PROTECTED]: > Based on my brief experience as a Bugzilla user (just trying to be a good > citizen and report Mozilla bugs a few years ago), I would vote -1. I'd hate > to think the bug reporting interface was *so* bad that it alone would > discourag

Re: [Python-Dev] improving quality

2006-03-28 Thread Thomas Wouters
On 3/28/06, Chris AtLee <[EMAIL PROTECTED]> wrote: On 3/28/06, Neal Norwitz <[EMAIL PROTECTED]> wrote:> We've made a lot of improvement with testing over the years.> Recently, we've gotten even more serious with the buildbot, Coverity, > and coverage (http://coverage.livinglogic.de).  However, in o

Re: [Python-Dev] improving quality

2006-03-28 Thread Chris AtLee
On 3/28/06, Neal Norwitz <[EMAIL PROTECTED]> wrote: > We've made a lot of improvement with testing over the years. > Recently, we've gotten even more serious with the buildbot, Coverity, > and coverage (http://coverage.livinglogic.de). However, in order to > improve quality even further, we need t

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

2006-03-28 Thread skip
Barry> The infrastructure committee (of which I'm a member but not the Barry> chair) is examining the alternatives and trying to put up some Barry> live demos for people to check out. Roundup is there now, right (sans SF export)? Trac is being used by the folks doing the new websit

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

2006-03-28 Thread Giovanni Bajo
Just van Rossum <[EMAIL PROTECTED]> wrote: >> http://www.edgewall.com/trac/ >> >> It is based on python and has a very good svn integration. > > We started using it recently and so far it's working really well. I love > the svn (and wiki!) integration. However, I have no idea how well it > scales

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Anthony Baxter
I'm happy to work with Gerhard to make this happen. Does it need a PEP? I'd say "no", but only because things like ElementTree didn't, either. Does it need a BDFL pronouncement? I'd say yes. Anthony ___ Python-Dev mailing list Python-Dev@python.org ht

Re: [Python-Dev] PySet API

2006-03-28 Thread Gareth McCaughan
> We're clearly going in circles here, and it's obvious we're not going to > agree. > > The fact that PySet_Next() can be used incorrectly is no reason not to > include it. [etc] For what it's worth[1], I think Raymond is absolutely on crack here. [1] Not necessarily very much. There is no

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

2006-03-28 Thread Barry Warsaw
On Tue, 2006-03-28 at 10:13 +0200, Giovanni Bajo wrote: > Another option would be Bugzilla, which is proven to be stable, maintained > and used succesfully by large open source projects (like > GCC+RedHat+Binutils+Classpath). The infrastructure committee (of which I'm a member but not the chair)

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Barry Warsaw
On Tue, 2006-03-28 at 17:59 +1100, Anthony Baxter wrote: > This came up before (back in October 2004!) but didn't go anywhere > since, AFAICR. Do we want to consider including pysqlite in Python > 2.5? It's the only DB adaptor that I'd really consider suitable for > shipping with the distributio

Re: [Python-Dev] improving quality

2006-03-28 Thread Barry Warsaw
On Tue, 2006-03-28 at 18:00 +1100, Anthony Baxter wrote: > On Tuesday 28 March 2006 17:53, Neal Norwitz wrote: > > In order to do the best possible job and avoid silly errors, there > > shouldn't be any checkins which could change behaviour that do not > > include a test. I'm not talking about upd

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Gerhard Häring
Georg Brandl wrote: > Gerhard Häring wrote: >>I'll try to throw in a bit more information that will be necessary for >>this discussion: >> >>pysqlite 2.x is (almost) feature complete now. I've a few more changes >>sitting in SVN trunk that are waiting for the pysqlite 2.2 release. >>These are al

Re: [Python-Dev] INPLACE_ADD and INPLACE_MULTIPLY oddities in ceval.c

2006-03-28 Thread Armin Rigo
Hi, On Mon, Mar 27, 2006 at 08:00:09PM -0800, Guido van Rossum wrote: > So for consistency we want a += b to also execute a.__iadd__. The > opcode calls PyNumber_InplaceAdd; I think that PyNumber_InplaceAdd > (and PySequence_InplaceConcat, if it exists) should test for both the > numeric and the s

Re: [Python-Dev] Error msgs for new-style division

2006-03-28 Thread Thomas Heller
Georg Brandl wrote: > Hi, > > (this makes test_ctypes fail, therefore I noticed) > > currently with -Qnew: > 2/0 > Traceback (most recent call last): > File "", line 1, in ? > ZeroDivisionError: float division 2L/0 > Traceback (most recent call last): > File "", line 1, in ? > Zero

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Georg Brandl
Gerhard Häring wrote: > Georg Brandl wrote: >> Anthony Baxter wrote: >> >>>This came up before (back in October 2004!) but didn't go anywhere >>>since, AFAICR. Do we want to consider including pysqlite in Python >>>2.5? It's the only DB adaptor that I'd really consider suitable for >>>shipping

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

2006-03-28 Thread Thomas Wouters
On 3/28/06, Wolfgang Langner <[EMAIL PROTECTED]> wrote: what about trac:http://www.edgewall.com/trac/It is based on python and has a very good svn integration.Sorry, I should have realized more than half of python-dev lacked the context in which I made my suggestion.  At PyCon and in a few other se

[Python-Dev] Error msgs for new-style division

2006-03-28 Thread Georg Brandl
Hi, (this makes test_ctypes fail, therefore I noticed) currently with -Qnew: >>> 2/0 Traceback (most recent call last): File "", line 1, in ? ZeroDivisionError: float division >>> 2L/0 Traceback (most recent call last): File "", line 1, in ? ZeroDivisionError: long division or modulo by zero

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

2006-03-28 Thread Just van Rossum
Wolfgang Langner wrote: > what about trac: > > http://www.edgewall.com/trac/ > > It is based on python and has a very good svn integration. We started using it recently and so far it's working really well. I love the svn (and wiki!) integration. However, I have no idea how well it scales to a p

Re: [Python-Dev] Libref sections to put new modules under?

2006-03-28 Thread Nick Coghlan
Phillip J. Eby wrote: > What other new modules do we have going in 2.5 that haven't found a home in > the documentation yet? I seem to recall some discussion about a decorator > library or functools or something of that sort. The suggestion with functools was to rename functional.partial to fu

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

2006-03-28 Thread Georg Brandl
Anthony Baxter wrote: > On Tuesday 28 March 2006 19:35, Giovanni Bajo wrote: >> Anthony Baxter <[EMAIL PROTECTED]> wrote: >> >> Another option would be Bugzilla, which is proven to be stable, >> >> maintained and used succesfully by large open source projects >> >> (like GCC+RedHat+Binutils+Classpa

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

2006-03-28 Thread Wolfgang Langner
Hello, what about trac: http://www.edgewall.com/trac/ It is based on python and has a very good svn integration. -- bye by Wolfgang ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] [Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

2006-03-28 Thread Thomas Wouters
On 3/27/06, Neal Norwitz <[EMAIL PROTECTED]> wrote: On 3/27/06, Thomas Wouters <[EMAIL PROTECTED]> wrote:>> The teeobject has GC (hence the word 'and' in 'itertools.tee and its> internal teedataobject' ;-) The problem with test_generators is that this > also leaks:>> def leak():> def gen():>   

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

2006-03-28 Thread Anthony Baxter
On Tuesday 28 March 2006 19:35, Giovanni Bajo wrote: > Anthony Baxter <[EMAIL PROTECTED]> wrote: > >> Another option would be Bugzilla, which is proven to be stable, > >> maintained and used succesfully by large open source projects > >> (like GCC+RedHat+Binutils+Classpath). > > > > Please god no.

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

2006-03-28 Thread Giovanni Bajo
Anthony Baxter <[EMAIL PROTECTED]> wrote: >> Another option would be Bugzilla, which is proven to be stable, >> maintained and used succesfully by large open source projects (like >> GCC+RedHat+Binutils+Classpath). > > Please god no. No bugzilla, no no no. Please! Care to elaborate? -- Giovanni

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

2006-03-28 Thread Anthony Baxter
On Tuesday 28 March 2006 19:13, Giovanni Bajo wrote: > Another option would be Bugzilla, which is proven to be stable, > maintained and used succesfully by large open source projects (like > GCC+RedHat+Binutils+Classpath). Please god no. No bugzilla, no no no. Please!

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Gerhard Häring
Georg Brandl wrote: > Anthony Baxter wrote: > >>This came up before (back in October 2004!) but didn't go anywhere >>since, AFAICR. Do we want to consider including pysqlite in Python >>2.5? It's the only DB adaptor that I'd really consider suitable for >>shipping with the distribution, because

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Josiah Carlson
Anthony Baxter <[EMAIL PROTECTED]> wrote: > This came up before (back in October 2004!) but didn't go anywhere > since, AFAICR. Do we want to consider including pysqlite in Python > 2.5? It's the only DB adaptor that I'd really consider suitable for > shipping with the distribution, because it'

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

2006-03-28 Thread Giovanni Bajo
Thomas Wouters <[EMAIL PROTECTED]> wrote: >> Ah, glad to hear I wasn't the only one bitten by that. For a while, I >> thought I was going senile :-P Speaking of which, perhaps we should >> designate the running roundup instance on python.org as the issuetracker >> for py3k ? Gives us a good chance