Re: [Python-Dev] Can/should built-in functions get __get__?

2008-09-05 Thread Terry Reedy
Christian Heimes wrote: Terry Reedy wrote: One of the nice features of 3.0 is that differences between classes defined in C and Python (other than speed) are mostly erased or hidden from the view of a Python programmer. However, there are still sometimes surprising and quite visible

Re: [Python-Dev] bsddb alternative (was Re: [issue3769] Deprecate bsddb for removal in 3.0)

2008-09-05 Thread Jeroen Ruigrok van der Werven
-On [20080904 16:22], C. Titus Brown ([EMAIL PROTECTED]) wrote: I agree. I like bsddb for just this reason and I'd like to continue being able to use it! I think that there are many reasons why having such a thing in the stdlib is really useful and I also think it's worth exploring the

Re: [Python-Dev] Can/should built-in functions get __get__?

2008-09-05 Thread Fredrik Lundh
Terry Reedy wrote: In particular, built-in functions, in spite of of being labeled 'builtin_function_or_method', are not usable as methods because they lack the __get__ method needed to bind function to instance. They're not usable as Python-level instance methods, but they're definitely

Re: [Python-Dev] bsddb alternative (was Re: [issue3769] Deprecate bsddb for removal in 3.0)

2008-09-05 Thread Kevin Teague
On Sep 4, 2008, at 8:10 AM, C. Titus Brown wrote: I have to say I've never had problems with a stock install of Python on either Mac OS X or Windows (shockingly enough :). I think this is good advice for applications that rely on external libraries, but I just don't see any problems with

Re: [Python-Dev] bsddb alternative (was Re: [issue3769] Deprecate bsddb for removal in 3.0)

2008-09-05 Thread Jeroen Ruigrok van der Werven
-On [20080905 12:34], Kevin Teague ([EMAIL PROTECTED]) wrote: However, all does not seem to be right with the bsddb module on the system Python 2.5 on Mac OS X 10.5: import bsddb [snip] ImportError: No module named _bsddb The bsddb module is built separately from Python within FreeBSD's

[Python-Dev] Bug in SimpleHTTPRequestHandler.send_head?

2008-09-05 Thread Kim Gräsman
Hi all, I'm new to this group and the Python language as such. I stumbled on it when I joined a project to build a rich network library for C++, which in turn uses Python and its CGI HTTP server implementation as part of its unit test suite. We're having a little trouble when serving a text file

Re: [Python-Dev] Bug in SimpleHTTPRequestHandler.send_head?

2008-09-05 Thread Michael Foord
Hello Kim, Thanks for your post. The source code control used for Python is Subversion. Patches submitted to this list will unfortunately get lost. Please post the bug report along with your comments and patch to the Python bug tracker: http://bugs.python.org/ Michael Foord Kim Gräsman

Re: [Python-Dev] Not releasing rc1 tonight

2008-09-05 Thread Antoine Pitrou
Barry Warsaw barry at python.org writes: Here are the issues I'm not comfortable with deferring: 3640 test_cpickle crash on AMD64 Windows build There is a patch by Amaury which needs review. 874900 threading module can deadlock after fork I've made a patch which needs review.

[Python-Dev] Python performance through times

2008-09-05 Thread Antoine Pitrou
Here's an interesting blog post comparing Python performance of various versions from 2.2.3 upto the latest 3.0 beta. http://www.ogre.com/node/147 The fact that only Mandelbrot calculation (a hardly representative benchmark for a high-level dynamic language such as Python) has become

Re: [Python-Dev] Bug in SimpleHTTPRequestHandler.send_head?

2008-09-05 Thread Tony Nelson
At 1:19 PM +0100 9/5/08, Michael Foord wrote: Hello Kim, Thanks for your post. The source code control used for Python is Subversion. Patches submitted to this list will unfortunately get lost. Please post the bug report along with your comments and patch to the Python bug tracker:

Re: [Python-Dev] Not releasing rc1 tonight

2008-09-05 Thread Hirokazu Yamamoto
issue1040026 os.times() is bogus won't be fixed? ___ 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

[Python-Dev] ?spurious? Timeout in BSDDB under MS Windows

2008-09-05 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trent, are you available to look at the ?spurious? timeout failures in bsddb replication code in the Windows buildbot?. Ten seconds timeout should be plenty enough. I can't debug any MS Windows issue myself; this is a Microsoft-free environment. -

Re: [Python-Dev] Python performance through times

2008-09-05 Thread Nick Coghlan
Antoine Pitrou wrote: Here's an interesting blog post comparing Python performance of various versions from 2.2.3 upto the latest 3.0 beta. http://www.ogre.com/node/147 The fact that only Mandelbrot calculation (a hardly representative benchmark for a high-level dynamic language such

[Python-Dev] Summary of Python tracker Issues

2008-09-05 Thread Python tracker
ACTIVITY SUMMARY (08/29/08 - 09/05/08) Python 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. 2023 open (+35) / 13586 closed (+21) / 15609 total (+56) Open issues with patches: 642

[Python-Dev] xmlrpc via proxy for bzr and bugzilla in 2.6

2008-09-05 Thread techtonik
With 2.6rc1 at the doors people are asking if xmlrpclib will be able to communicate through a proxy? It causes bzr and bugzilla tools to fail if used behind firewall, and there is no easy workaround for users. http://bugs.python.org/issue648658 -- --anatoly t.

[Python-Dev] 2.6b3 and 3.0b3 Windows installers

2008-09-05 Thread LRN
I was wondering, when new installers will be published? I made one on my own ( see http://lrn.1986.li/other/python-2.6.14127-x86.msi ), but i am not sure about it's correctness. ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] site.py and the checkout builddir

2008-09-05 Thread Benjamin Peterson
In a checkout, site.py is currently responsible for adding the distutils extension module builddir to sys.path. Usually, this is unproblematic. However, when the initialization code needed by site (in this case the standard io streams and the builtin open) relies on C modules added from the

Re: [Python-Dev] site.py and the checkout builddir

2008-09-05 Thread Antoine Pitrou
Benjamin Peterson musiccomposition at gmail.com writes: That options as I see it are: 1. Switch the initialization order back to the original (io streams first) and compile _bytesio and _stringio directly into the Python binary. This is probably the easiest option. Since io.py imports

Re: [Python-Dev] site.py and the checkout builddir

2008-09-05 Thread Benjamin Peterson
On Fri, Sep 5, 2008 at 4:51 PM, Antoine Pitrou [EMAIL PROTECTED] wrote: Benjamin Peterson musiccomposition at gmail.com writes: That options as I see it are: 1. Switch the initialization order back to the original (io streams first) and compile _bytesio and _stringio directly into the Python

Re: [Python-Dev] site.py and the checkout builddir

2008-09-05 Thread Christian Heimes
Benjamin Peterson wrote: 1. Switch the initialization order back to the original (io streams first) and compile _bytesio and _stringio directly into the Python binary. This is probably the easiest option. Oh, the modules are still shared libraries? That's clearly a mistake. It makes no sense

Re: [Python-Dev] xmlrpc via proxy for bzr and bugzilla in 2.6

2008-09-05 Thread Amaury Forgeot d'Arc
Hello, techtonik wrote: With 2.6rc1 at the doors people are asking if xmlrpclib will be able to communicate through a proxy? It causes bzr and bugzilla tools to fail if used behind firewall, and there is no easy workaround for users. http://bugs.python.org/issue648658 It's very unlikely

Re: [Python-Dev] bsddb alternative (was Re: [issue3769] Deprecate bsddb for removal in 3.0)

2008-09-05 Thread Greg Ewing
Kevin Teague wrote: There can be subtle differences between a stock Python and the system Python on Mac OS X 10.5. Also there can be different versions of Python installed in different versions of MacOSX. So if you distribute an app that relies on the system Python, at the least you have to

Re: [Python-Dev] Add python.exe to PATH environment variable

2008-09-05 Thread Steve Holden
Terry Reedy wrote: M.-A. Lemburg wrote: On 2008-09-02 23:14, Terry Reedy wrote: An alternative to manipulating PATH would be to make and add to the Start Menu a Command Prompt shortcut, call it Command Window or something, that starts in the Python directory. Then one could enter