Re: [Python-Dev] Remove current Windows executables from Lib/distutils/command in svn?

2008-04-07 Thread Thomas Heller
Martin v. Löwis schrieb: I'd like to propose we delete Lib/Distutils/command/wininst-9.0.exe, and enable the building of that project by default in the standard build process (and I'll setup the x64 build of the executable similarly). There are two issues here: a) how does the binary get

Re: [Python-Dev] socket.SOL_REUSEADDR: different semantics between Windows vs Unix (or why test_asynchat is sometimes dying on Windows)

2008-04-07 Thread Raghuram Devarakonda
On Sat, Apr 5, 2008 at 1:22 PM, Trent Nelson [EMAIL PROTECTED] wrote: Nod, if SO_EXCLUSIVEADDRUSE is used instead in the code I posted, Windows raises EADDRINUSE on the second bind(). I don't have access to any Linux boxes at the moment, so I can't test what sort of error is raised with

Re: [Python-Dev] New project : Spyke python-to-C compiler

2008-04-07 Thread Terry Reedy
Rahul Garg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] | Note this message has been posted to numpy-discussion and python-dev. | Sorry for the multiple posting but I thought both python devs and | numpy users will be interested. If you believe your list should not | receive this

Re: [Python-Dev] configure error: rm: conftest.dSYM: is a directory

2008-04-07 Thread Robert Kern
[EMAIL PROTECTED] wrote: Note the rm: conftest.dSYM: is a directory. This occurred a few times during the configure process. Didn't cause it to conk out, but is annoying. Brett I am assuming this is on your OS X machine, Skip? Yes, sorry. I forgot to mention that.

Re: [Python-Dev] Python 3000: Special type for object attributes map keys

2008-04-07 Thread Guido van Rossum
Without an implementation and supporting profile data nobody is going to believe that you can do name lookup faster than with the built-in dict type in CPython. Note that names seen by the parser are already interned, so most of what you seem to be proposing is already implemented... On Wed, Mar

[Python-Dev] python source code

2008-04-07 Thread Avi Kohn
I am interested in understanding the python source code. Can someone direct me to resources (documentation,book,archive of mailling lists,etc) that will assist me ? Thank you, Avi -- Avi Kohn ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] [Numpy-discussion] New project : Spyke python-to-C compiler

2008-04-07 Thread Dag Sverre Seljebotn
(Though as the saying goes, little duplication is normal (and perhaps wanted) for open source software.) Sorry! I meant a little, completely reversing the meaning of my sentence. Dag Sverre ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] [Numpy-discussion] New project : Spyke python-to-C compiler

2008-04-07 Thread Dag Sverre Seljebotn
What is Spyke? In many performance critical projects, it is often necessary to rewrite parts of the application in C. However writing C wrappers can be time consuming. Spyke offers an alternative approach. You add annotations to your Python code as strings. These strings are discarded by

Re: [Python-Dev] New project : Spyke python-to-C compiler

2008-04-07 Thread Benjamin Peterson
[snip] c) Strings as type declarations : Do you think I should use decorators instead at least for function type declarations? You might be interested in 3.0's (and maybe 2.6's) function annotations. See PEP 3107. thanks for patiently reading this, comments and inquiries sought. rahul

[Python-Dev] string representation of range in 3.0

2008-04-07 Thread Brad Miller
Hi, I use Python in my CS1 and CS2 curriculum and I have a question. As I've been using the Python 3.0 alphas one of the things that I am bothered by is that I cannot see the sequence produced by range without introducing students to the list() function. I typically introduce range on day 1

Re: [Python-Dev] string representation of range in 3.0

2008-04-07 Thread Guido van Rossum
I'd object to it returning something that resembles a list too closely, but I could live with str(range(3)) return 0, 1, 2. We should probably have a cutoff so that if there are more than 6 values it'll show the first 3 values, then dots, then the last 2 values. (The cutoff would be computed so

Re: [Python-Dev] python source code

2008-04-07 Thread Benjamin Peterson
On Sun, Apr 6, 2008 at 11:58 PM, Avi Kohn [EMAIL PROTECTED] wrote: I am interested in understanding the python source code. Can someone direct me to resources (documentation,book,archive of mailling lists,etc) that will assist me ? What part(s) do you want to learn about? The CPython

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-04-07 Thread Guido van Rossum
On Wed, Mar 19, 2008 at 5:16 PM, Jeffrey Yasskin [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: On 02:21 pm, [EMAIL PROTECTED] wrote: OTOH, I'd rather there be OOWTDI so whatever the consensus is is fine with me. This strikes me as a

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2008 at 7:37 PM, Guido van Rossum [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 5:16 PM, Jeffrey Yasskin [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: On 02:21 pm, [EMAIL PROTECTED] wrote: OTOH, I'd rather there be OOWTDI