Re: [Python-Dev] command line attachable debugger

2009-07-24 Thread Neil Hodgson
Glyph Lefkowitz: > Sounds like this is moving into hypothetical territory better-suited to > python-ideas.  (Although I'm sure that if you wanted to contribute polished, > tested code for a standard remote debugger interface, few people would > complain.) There is a remote debugger protocol ca

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Ben Finney
David Lyon writes: > On Sat, 25 Jul 2009 11:25:27 +1000, Ben Finney > > You omit the important part: adding a new thing to Python *so long > > as it doesn't depend on anything outside Python*. > > I'm signing out on this silly discussion for now > > Any python program is dependant on thing

Re: [Python-Dev] command line attachable debugger

2009-07-24 Thread Glyph Lefkowitz
On Fri, Jul 24, 2009 at 9:43 PM, Edward Peschko wrote: > There should be a standard mechanism for debuggers to talk to a python > process; not one-offs for each debugger, probably at the level of the > python executable (the same way that gcc lets gdb attach with a pid.. > Sounds like this is m

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Stephen J. Turnbull
David Lyon writes: > On Fri, 24 Jul 2009 17:08:32 +0100, Paul Moore wrote: > > I read this as meaning that David was proposing to ship a built > > application (on Windows, bundled up with something like py2exe, I > > guess) and any supporting DLLs such as the wxWindows ones would be > > bundl

[Python-Dev] Backporting HTTPS via Proxy Support in urllib2

2009-07-24 Thread Senthil Kumaran
Issue: http://bugs.python.org/issue1424152 mentions about HTTPS Support via proxy in urllib2. This is fixed in the trunk (Revision 72880), but there has been number of valid requests to backport it Python 2.6. While I agree and ready to backport to Python 2.6, I would like to ask here if there a

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread David Lyon
On Sat, 25 Jul 2009 11:25:27 +1000, Ben Finney > You omit the important part: adding a new thing to Python *so long as it > doesn't depend on anything outside Python*. I'm signing out on this silly discussion for now Any python program is dependant on things "outside" python. For example an

Re: [Python-Dev] command line attachable debugger

2009-07-24 Thread Edward Peschko
> Winpdb is *exactly* what you asked for, so if it's not what you're looking > for you'll need to be more specific about what you want that it doesn't > do... > > James > Fair enough, I was assuming that winpdb didn't have a command line interface, but I was mistaken (rpdb2). In any case, I would

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Ben Finney
Ben Finney writes: > The functionality you often discuss around this tool would be best > implemented independently of any UI. It would, in fact, be best to > work with the team performing ongoing active standardisation of > distutils functionality. Sloppy use of “in fact”. That should be “in my

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread P.J. Eby
At 08:09 PM 7/24/2009 -0400, David Lyon wrote: Presently it used pkg_resources to read the list of packages installed which is part of setuptools. I was told it was the "right" and only way to read a list of packages. "Right" is relative, but right now it is certainly the *only* way to read a

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Ben Finney
David Lyon writes: > Not at all. In source form the pythonpkgmgr requires wx package. In > executable form it does not. The only way it could be added is in source form; that's essential for free software like Python. So, if it's not suitable for adding to Python in source form, it's not suitabl

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Ben Finney
Jean-Paul Calderone writes: > Hm. But docutils isn't part of the standard library, and the > documentation refers to it. Fair enough, because the documentation is generated using Docutils. > And the docs link to ActivePython and Enthought's Python distribution. I consider those to be exception

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread David Lyon
On Sat, 25 Jul 2009 10:40:52 +1000, Ben Finney wrote: > I interpret this as expressing your intent to (eventually) have your > application included in standard Python. It's my intention to get a Package Manager included in standard python - yes. >> I wasn't suggesting including it in the standar

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Jean-Paul Calderone
On Sat, 25 Jul 2009 10:40:52 +1000, Ben Finney wrote: [snip] If that is not your intent, then your application shouldn't be mentioned in standard Python documentation. Hm. But docutils isn't part of the standard library, and the documentation refers to it. And the docs link to ActivePytho

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Ben Finney
david.l...@preisshare.net writes: > Distutils was once seperate and was then included in the standard > python. > > So i guess that I am working with the same goal in mind. I interpret this as expressing your intent to (eventually) have your application included in standard Python. David Lyon

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread David Lyon
On Fri, 24 Jul 2009 03:23:57 +0200, Christian Heimes wrote: > I'm sorry to inform you that a wxWindows based solution has zero change > to get into the Python standard library ever. Is that a personal preference or is there a software engineering reason for this? I wasn't suggesting including i

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread David Lyon
On Fri, 24 Jul 2009 17:08:32 +0100, Paul Moore wrote: > I read this as meaning that David was proposing to ship a built > application (on Windows, bundled up with something like py2exe, I > guess) and any supporting DLLs such as the wxWindows ones would be > bundled in, but the wxPython package wo

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread David Lyon
On Fri, 24 Jul 2009 17:54:09 +0200, Georg Brandl wrote: > David Lyon schrieb: >> In executable form, the Package Manager does not require wxWidgets >> to be installed. >> >> There is no dependency for this to be installed. > > What does "in exectuable form" mean? Compiled with py2exe. An execu

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Brett Cannon
On Fri, Jul 24, 2009 at 11:47, Sridhar Ratnakumar wrote: > On Thu, 23 Jul 2009 06:11:38 -0700, Jesse Noller > wrote: > > Then why not include pip, easy_install, and this bash script I use to >> install packages into core? The more the merrier, right? >> Answer: None of these are standards, and a

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Brett Cannon
On Fri, Jul 24, 2009 at 11:13, Antoine Pitrou wrote: > Brett Cannon python.org> writes: > > > Oh, I don't know. All this new-fangled technology... Can't you just > > > leave it in your workspace, unsubmitted, until you get to fixing it? > > > > Oh sure, I normally just leave it in my scratch svn

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Sridhar Ratnakumar
On Thu, 23 Jul 2009 06:11:38 -0700, Jesse Noller wrote: Then why not include pip, easy_install, and this bash script I use to install packages into core? The more the merrier, right? Answer: None of these are standards, and as nick points out, there's issues with sysadmins, security, and other

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Antoine Pitrou
Brett Cannon python.org> writes: > > Oh, I don't know. All this new-fangled technology... Can't you just > > leave it in your workspace, unsubmitted, until you get to fixing it? > > Oh sure, I normally just leave it in my scratch svn checkout until I get around to it. What? You're not even usin

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Brett Cannon
On Fri, Jul 24, 2009 at 10:58, Guido van Rossum wrote: > On Fri, Jul 24, 2009 at 10:50 AM, Brett Cannon wrote: > > > > > > On Fri, Jul 24, 2009 at 10:39, Guido van Rossum > wrote: > >> > >> Still works, at least in some old 3.1 I had lying around: > >> > >> $ python3.1 > >> Python 3.1a0 (py3k:70

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Guido van Rossum
On Fri, Jul 24, 2009 at 10:50 AM, Brett Cannon wrote: > > > On Fri, Jul 24, 2009 at 10:39, Guido van Rossum wrote: >> >> Still works, at least in some old 3.1 I had lying around: >> >> $ python3.1 >> Python 3.1a0 (py3k:70152, Mar  3 2009, 16:55:42) >> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Brett Cannon
On Fri, Jul 24, 2009 at 10:39, Guido van Rossum wrote: > Still works, at least in some old 3.1 I had lying around: > Which reminds me, do we want to change the error message for ImportError in this case to say something like "import of {0} halted; None found in sys.modules"? Might be a tough exc

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Brett Cannon
On Fri, Jul 24, 2009 at 10:39, Guido van Rossum wrote: > Still works, at least in some old 3.1 I had lying around: > > $ python3.1 > Python 3.1a0 (py3k:70152, Mar 3 2009, 16:55:42) > [GCC 4.0.1 (Apple Inc. build 5465)] on darwin > Type "help", "copyright", "credits" or "license" for more informa

Re: [Python-Dev] Document None values in sys.modules?

2009-07-24 Thread Guido van Rossum
Still works, at least in some old 3.1 I had lying around: $ python3.1 Python 3.1a0 (py3k:70152, Mar 3 2009, 16:55:42) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.modules['string'] = None >>> import str

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Paul Moore
2009/7/24 Georg Brandl : > David Lyon schrieb: >> On Fri, 24 Jul 2009 03:23:57 +0200, Christian Heimes >> wrote: >>> I'm sorry to inform you that a wxWindows based solution has zero change >>> to get into the Python standard library ever. We are not going to add >>> another GUI toolkit to the core

[Python-Dev] Summary of Python tracker Issues

2009-07-24 Thread Python tracker
ACTIVITY SUMMARY (07/17/09 - 07/24/09) 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. 2278 open (+41) / 16106 closed (+16) / 18384 total (+57) Open issues with patches: 897 Average

Re: [Python-Dev] Update to Python Documentation Website Request

2009-07-24 Thread Georg Brandl
David Lyon schrieb: > On Fri, 24 Jul 2009 03:23:57 +0200, Christian Heimes > wrote: >> I'm sorry to inform you that a wxWindows based solution has zero change >> to get into the Python standard library ever. We are not going to add >> another GUI toolkit to the core distribution. > > In executab

Re: [Python-Dev] command line attachable debugger

2009-07-24 Thread Aahz
On Thu, Jul 23, 2009, Edward Peschko wrote: > > I'I was wondering if there was a command line python debugger that was > able to attach to an existing process. I'd very much like to be able > to debug over a ssh session using screen. python-dev is not the correct place to ask about this, please u

Re: [Python-Dev] command line attachable debugger

2009-07-24 Thread James Y Knight
On Jul 24, 2009, at 1:31 AM, Edward Peschko wrote: all, I'I was wondering if there was a command line python debugger that was able to attach to an existing process. I'd very much like to be able to debug over a ssh session using screen. Ed (ps - and yes, I know about winpdb, etc... that is

Re: [Python-Dev] REVIEW: PyArg_ParseTuple with "s" format and NUL: Bogus TypeError detail string.

2009-07-24 Thread Aahz
On Thu, Jul 23, 2009, Sean Reifschneider wrote: > > Thoughts? Please file a report at bugs.python.org to make sure it doesn't get lost. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just

Re: [Python-Dev] mingw32 and gc-header weirdness

2009-07-24 Thread Roumen Petrov
Antoine Pitrou wrote: Antoine Pitrou pitrou.net> writes: Roumen Petrov roumenpetrov.info> writes: Antoine Pitrou wrote: In 32-bit mode, no. But under x86-64 Linux, a long double is 16 bytes (!!). And alignment is ? 16 bytes as well. This is probably why, by the way, a PyGC_Head takes onl

Re: [Python-Dev] mingw32 and gc-header weirdness

2009-07-24 Thread Antoine Pitrou
Antoine Pitrou pitrou.net> writes: > > Roumen Petrov roumenpetrov.info> writes: > > > > Antoine Pitrou wrote: > > > > > > In 32-bit mode, no. But under x86-64 Linux, a long double is 16 bytes > > > (!!). > > > > And alignment is ? > > 16 bytes as well. This is probably why, by the way, a P

Re: [Python-Dev] mingw32 and gc-header weirdness

2009-07-24 Thread Antoine Pitrou
Roumen Petrov roumenpetrov.info> writes: > > Antoine Pitrou wrote: > > > > In 32-bit mode, no. But under x86-64 Linux, a long double is 16 bytes (!!). > > And alignment is ? 16 bytes as well. ___ Python-Dev mailing list Python-Dev@python.org http:

Re: [Python-Dev] mingw32 and gc-header weirdness

2009-07-24 Thread Roumen Petrov
Antoine Pitrou wrote: Christian Tismer stackless.com> writes: Well, I doubt that a 12 byte long double causes any other alignment but 4. In 32-bit mode, no. But under x86-64 Linux, a long double is 16 bytes (!!). And alignment is ? ___ Python-De

Re: [Python-Dev] mingw32 and gc-header weirdness

2009-07-24 Thread Roumen Petrov
Christian Tismer wrote: Hi all, I was hacking to get mingw32 builds of psyco to work and found a pretty weird thing: I used mingw32 (stable distro) to build the psyco extension on top of standard python2.6, built with Visual Studio, and got weird crashes. The reason is in objimpl.h: typedef u

Re: [Python-Dev] python sendmsg()/recvmsg() implementation

2009-07-24 Thread Kálmán Gergely
Done, it's at: http://bugs.python.org/issue6560 Kalman Gergely Aahz wrote: On Thu, Jul 23, 2009, K?lm?n Gergely wrote: This is the rewritten-from-scratch implementation of the sendmsg()/recvmsg() methods. Any comments / suggestions / flames are very welcome. Currently it supports what I