[Python-Dev] python-dev Summary for 2005-02-15 through 2005-02-28 [draft]

2005-03-04 Thread Brett C.
Decided to just plow through the next Summary so that I was finally caught up. I am not expecting the candidates for taking of the Summaries to write stuff for this one (although I wouldn't mind it =). The idea of having them work together to write the Summaries has been proposed, but this is g

Re: [Python-Dev] Requesting that a class be a new-style class

2005-03-04 Thread Brett C.
Guido van Rossum wrote: This is something I've typed way too many times: Py> class C(): File "", line 1 class C(): ^ SyntaxError: invalid syntax It's the asymmetry with functions that gets to me - defining a function with no arguments still requires parentheses in the definition s

Re: [Python-Dev] Memory Allocator Part 2: Did I get it right?

2005-03-04 Thread Brett C.
Evan Jones wrote: Sorry for taking so long to get back to this thread, it has been one of those weeks for me. On Feb 16, 2005, at 2:50, Martin v. Löwis wrote: Evan then understood the feature, and made it possible. This is very true: it was a very useful exercise. I can personally accept breakin

[Python-Dev] Documentation for __new__

2005-03-04 Thread Nick Coghlan
Steven Bethard has put together some text to add __new__ to the list of Basic Customisation methods in the language reference. Would one of the documentation folks care to take a look at it? The relevant SF tracker item is http://www.python.org/sf/1156412 Regards, Nick. -- Nick Coghlan | [EM

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Nick Coghlan
Aahz wrote: On Fri, Mar 04, 2005, John J Lee wrote: On Fri, 4 Mar 2005, Aahz wrote: Both entries so far look very good. Perhaps writing python-dev summaries could be a rotating position? Or even a joint effort? It's up to the contributors, of course: just a thought... That was my original thoug

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Brett C.
Aahz wrote: Both entries so far look very good. Perhaps writing python-dev summaries could be a rotating position? Good idea that several people have now suggested to me. I have emailed Tim, Steve, and Tony to see what they think. It wouldn't surprise me if this happens if for any other reason

[Python-Dev] Annoying $Id$ in Misc/NEWS

2005-03-04 Thread Greg Ward
This entry in Misc/NEWS """ - SF patch 995225: The test file testtar.tar accidentally contained CVS keywords (like $Id: NEWS,v 1.1266 2005/03/05 02:53:17 gward Exp $), which could cause spurious failures in test_tarfile.py depending on how the test file was checked out. """ just caused a co

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Aahz
On Fri, Mar 04, 2005, John J Lee wrote: > On Fri, 4 Mar 2005, Aahz wrote: >> >> Both entries so far look very good. Perhaps writing python-dev summaries >> could be a rotating position? > > Or even a joint effort? It's up to the contributors, of course: just > a thought... That was my origina

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread John J Lee
On Fri, 4 Mar 2005, Aahz wrote: > Both entries so far look very good. Perhaps writing python-dev summaries > could be a rotating position? Or even a joint effort? It's up to the contributors, of course: just a thought... John ___ Python-Dev mailing

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Aahz
Both entries so far look very good. Perhaps writing python-dev summaries could be a rotating position? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a sm

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Steven Bethard
Here's another two skipped threads. Ditto Tim Lesher's "comments, criticisms, or rotten tomatoes" request. =) - 2.3.5 and 2.4.1 release plans - Anthony Baxter, Alex Martelli and Tim Peters squelched a bug where deepcopy faile

Re: [Python-Dev] Useful thread project for 2.5?

2005-03-04 Thread Phillip J. Eby
At 04:01 PM 3/4/05 -0500, Tim Peters wrote: Florent's DeadlockDebugger in turn builds on an external C threadframe module: http://www.majid.info/mylos/stories/2004/06/10/threadframe.html Folding the functionality of that (or similar functionality) into the core would, IMO, be a valuable additio

[Python-Dev] Useful thread project for 2.5?

2005-03-04 Thread Tim Peters
Florent Guillaume recently wrote a valuable addin for Zope: http://www.zope.org/Members/nuxeo/Products/DeadlockDebugger When a Zope has threads that are hung, this can give a report of Python's current state (stack trace) across all threads -- even the ones that are hung (the deadlocked threa

Re: [Python-Dev] Outdating import.c 2.241

2005-03-04 Thread Michael Hudson
"Martin v. Löwis" <[EMAIL PROTECTED]> writes: > I just mistakenly checked in import.c; I have "outdated" > this checkin (cvs admin -o 2.241 import.c). If you happened > to have checked-out import.c in-between, don't be surprised > if the version numbers go backwards. Oh! Oops. python-checkins s

[Python-Dev] Re: [Python-checkins] python/dist/src/Python import.c, 2.240, 2.241

2005-03-04 Thread Michael Hudson
[EMAIL PROTECTED] writes: > Update of /cvsroot/python/python/dist/src/Python > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22139/Python > > Modified Files: > import.c > Log Message: > Patch #1043890: tarfile: add extractall() method. Uh, did you mean to check import.c in here? C

[Python-Dev] Outdating import.c 2.241

2005-03-04 Thread Martin v. Löwis
I just mistakenly checked in import.c; I have "outdated" this checkin (cvs admin -o 2.241 import.c). If you happened to have checked-out import.c in-between, don't be surprised if the version numbers go backwards. Regards, Martin ___ Python-Dev mailing li

Re: [Python-Dev] python-dev Summary for 2005-02-01 through 2005-02-14 [draft]

2005-03-04 Thread Tim Lesher
Here are sample summaries of two "skipped threads". If anyone has comments, criticisms, or rotten tomatoes, let me know. --- Replacing list of constants with tuple of constants --- Skip Montanaro notic

Re: [Python-Dev] Decimal & returning NotImplemented (or not)

2005-03-04 Thread Nick Coghlan
Michael Hudson wrote: PS: this beahviour seems odd already: decimal.getcontext().abs(1) Traceback (most recent call last): File "", line 1, in ? File "/Users/mwh/Source/python/dist/src/Lib/decimal.py", line 2321, in abs return a.__abs__(context=self) TypeError: wrapper __abs__ doesn't take

Re: [Python-Dev] Decimal & returning NotImplemented (or not)

2005-03-04 Thread Nick Coghlan
Guido van Rossum wrote: No, the reason is that if we did this with exceptions, it would be liable to mask errors; an exception does not necessarily originate immediately with the code you invoked, it could have been raised by something else that was invoked by that code. The special value NotImplem