Re: [Python-Dev] Decimal(unicode)

2008-03-28 Thread Nick Coghlan
Greg Ewing wrote: > Georg Brandl wrote: > >> As Nick said, a drop-in replacement in C isn't feasible > > Yes, but that appears to be so only because of some > unfortunate features of the Python version's API. > > Seems to me it would be better to undergo a little > pain now and get a well-design

Re: [Python-Dev] Decimal(unicode)

2008-03-28 Thread Georg Brandl
Mark Dickinson schrieb: > On Thu, Mar 27, 2008 at 4:46 AM, Georg Brandl <[EMAIL PROTECTED] > > wrote: > > > As Nick said, a drop-in replacement in C isn't feasible > > But probably users of decimal won't really care if they have to slightly > adapt their co

[Python-Dev] Windows build bot failure

2008-03-28 Thread Christian Heimes
Some Windows build bots can't compile openssl. The MS assembler fails to assemble a file. I *think* the issue can be fixed by using nasm32 instead of masm. Christian ml /Cp /coff /c /Cx /Zi /Focrypto\sha\asm\s1_win32.obj .\crypto\sha\asm\s1_win32.asm Microsoft (R) Macro Assembler Version 7.10.60

Re: [Python-Dev] FreeBSD test suite failure -> curses

2008-03-28 Thread Jeroen Ruigrok van der Werven
-On [20080309 23:59], "Martin v. Löwis" ([EMAIL PROTECTED]) wrote: >So this now *is* a FreeBSD/ncurses expert's question. Actually, given my recent results and discussion with Thomas Dickey I am not so sure. Some basic debugging I did with Georg Brandl led to this: comment the requires('curses')

Re: [Python-Dev] Windows build bot failure

2008-03-28 Thread Jeroen Ruigrok van der Werven
-On [20080328 10:44], Christian Heimes ([EMAIL PROTECTED]) wrote: >Some Windows build bots can't compile openssl. The MS assembler fails to >assemble a file. I *think* the issue can be fixed by using nasm32 >instead of masm. A posting to the OpenSSL list on 2007-10-22: It's a

[Python-Dev] nested classes leaking in compiler

2008-03-28 Thread Georg Brandl
While preparing the Python-AST compilation patch, I noticed that each class nested in a class leaks one reference (2.5 and trunk). It wasn't found by regrtest -R because it only happens on compiling, and it seems that all snippets compiled during the tests as opposed to on import didn't contain su

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-28 Thread skip
Neal> Anything that connects to a remote host is definitely flaky. Would it maybe help to set up a dedicated host (or virtual host) to serve as the sole target of all network tests? Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail

[Python-Dev] Summary of Tracker Issues

2008-03-28 Thread Tracker
ACTIVITY SUMMARY (03/21/08 - 03/28/08) Tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1794 open (+40) / 12535 closed (+18) / 14329 total (+58) Open issues with patches: 528 Average durati

Re: [Python-Dev] nested classes leaking in compiler

2008-03-28 Thread Amaury Forgeot d'Arc
On Fri, Mar 28, 2008 at 11:50 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > While preparing the Python-AST compilation patch, I noticed that each > class nested in a class leaks one reference (2.5 and trunk). > > It wasn't found by regrtest -R because it only happens on compiling, > and it seems

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-28 Thread Neal Norwitz
On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > Neal> Anything that connects to a remote host is definitely flaky. > > Would it maybe help to set up a dedicated host (or virtual host) to serve as > the sole target of all network tests? It would help, but not fix the problem.

[Python-Dev] Removing callable() from the stdlib

2008-03-28 Thread Collin Winter
I've been running 2to3's fix_callable over 2.6's stdlib to remove -3 warnings due to callable() usage; 2to3 replaces callable(x) with has_attr(x, "__call__"). Unfortunately, this breaks code that wants to run callable() on old-style classes (like test_builtin), because old-style classes don't have

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-28 Thread Bill Janssen
> On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > > > Neal> Anything that connects to a remote host is definitely flaky. > > > > Would it maybe help to set up a dedicated host (or virtual host) to serve > > as > > the sole target of all network tests? > > It would help, but

Re: [Python-Dev] nested classes leaking in compiler

2008-03-28 Thread Georg Brandl
Amaury Forgeot d'Arc schrieb: > On Fri, Mar 28, 2008 at 11:50 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: >> While preparing the Python-AST compilation patch, I noticed that each >> class nested in a class leaks one reference (2.5 and trunk). >> >> It wasn't found by regrtest -R because it only h

Re: [Python-Dev] Removing callable() from the stdlib

2008-03-28 Thread Guido van Rossum
On Fri, Mar 28, 2008 at 10:51 AM, Collin Winter <[EMAIL PROTECTED]> wrote: > I've been running 2to3's fix_callable over 2.6's stdlib to remove -3 > warnings due to callable() usage; 2to3 replaces callable(x) with > has_attr(x, "__call__"). Unfortunately, this breaks code that wants to > run call

Re: [Python-Dev] Removing callable() from the stdlib

2008-03-28 Thread Collin Winter
On Fri, Mar 28, 2008 at 12:58 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 28, 2008 at 10:51 AM, Collin Winter <[EMAIL PROTECTED]> wrote: > > I've been running 2to3's fix_callable over 2.6's stdlib to remove -3 > > warnings due to callable() usage; 2to3 replaces callable(x) wi

Re: [Python-Dev] Decimal(unicode)

2008-03-28 Thread Greg Ewing
Nick Coghlan wrote: > What features do you find particularly unfortunate? Whichever ones are making people think that implementing it in C is infeasible. > Just because > something isn't particularly amenable to implementation in C, doesn't > make it a bad API for a Python library No, but for

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-28 Thread Jeffrey Yasskin
On Fri, Mar 28, 2008 at 11:15 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > > > > > Neal> Anything that connects to a remote host is definitely flaky. > > > > > > Would it maybe help to set up a dedicated host (or virtual h