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

2009-07-27 Thread Christian Tismer
On 7/25/09 7:11 AM, Neil Hodgson wrote: Martin v. Löwis: I propose to add another (regular) double into the union. Adding a regular double as a second dummy gives the same sizes and alignments with Mingw or MSVC as the original definition with MSVC: Great (checked that, too) This

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

2009-07-27 Thread Christian Heimes
Christian Tismer wrote: We should keep Martin's hint in mind, that Python 4 could place the gc header at the end of structures, instead. Wow, 3.1 just came out and we already have the first PEP for Python 4k? :) Christian ___ Python-Dev mailing list

Re: [Python-Dev] Py_TPFLAGS_HEAPTYPE too overloaded

2009-07-27 Thread Joshua Haberman
Greg Ewing greg.ewing at canterbury.ac.nz writes: Joshua Haberman wrote: This is not as bad as having someone set __class__ on one of my instances, or set attributes on my type, etc. Is there any real need to prevent someone from doing those things? My ultimate goal is to make my types

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

2009-07-27 Thread David Lyon
On Mon, 27 Jul 2009 11:18:25 +0900, Stephen J. Turnbull step...@xemacs.org wrote: [1] on my part) and sysadmin goals (something that works and plays nicely with the rest of the system). pythonpkgmgr seems entirely oblivious to the latter issue, and not particularly compatible with the way

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

2009-07-27 Thread David Lyon
On Sun, 26 Jul 2009 17:23:59 +0100, Michael Foord fuzzy...@voidspace.org.uk wrote: It would be great to have a decent visual package manager for Python. Hopefully one day we'll have one - haha It needs to be built on top of the work that Tarek is doing with distutils (and be compatible

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

2009-07-27 Thread David Cournapeau
On Mon, Jul 27, 2009 at 7:20 PM, David Lyondavid.l...@preisshare.net wrote: My only point is that Windows ain't no embedded system. It's not short on memory or disk space. If a package manager is 5 megabytes extra say, with it's libraries.. what's the extra download time on that ? compared to

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

2009-07-27 Thread David Lyon
On Mon, 27 Jul 2009 19:29:14 +0900, David Cournapeau courn...@gmail.com wrote: My only point is that Windows ain't no embedded system. It's not short on memory or disk space. If a package manager is 5 megabytes extra say, with it's libraries.. what's the extra download time on that ? compared

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

2009-07-27 Thread Stephen J. Turnbull
David Lyon writes: On Mon, 27 Jul 2009 11:18:25 +0900, Stephen J. Turnbull step...@xemacs.org wrote: [1] on my part) and sysadmin goals (something that works and plays nicely with the rest of the system). pythonpkgmgr seems entirely oblivious to the latter issue, and not

[Python-Dev] Implementing File Modes

2009-07-27 Thread Eric Pruitt
Hello, Since there was a bit of confusion last time, I'll start by saying I am working on the subprocess.Popen module for Google Summer of Code. One of the features I am implementing is a class so that a running process can stand in in place of a file. For examples, instead of open( filelist,

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

2009-07-27 Thread Christian Tismer
On 7/27/09 12:48 AM, Christian Heimes wrote: Christian Tismer wrote: We should keep Martin's hint in mind, that Python 4 could place the gc header at the end of structures, instead. Wow, 3.1 just came out and we already have the first PEP for Python 4k? :) Christian Maybe it's even

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

2009-07-27 Thread Christian Tismer
On 7/24/09 5:16 AM, Roumen Petrov wrote: Christian Tismer wrote: ... Did the crash disappear is you add __attribute__((aligned(8))) after variable dummy ? Did not try. But the proposed addition of a double does it, see the dev list. cheers - chris -- Christian Tismer :^)

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Paul Moore
2009/7/27 Eric Pruitt eric.pru...@gmail.com: Hello, Since there was a bit of confusion last time, I'll start by saying I am working on the subprocess.Popen module for Google Summer of Code. One of the features I am implementing is a class so that a running process can stand in in place of a

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread MRAB
Paul Moore wrote: 2009/7/27 Eric Pruitt eric.pru...@gmail.com: Hello, Since there was a bit of confusion last time, I'll start by saying I am working on the subprocess.Popen module for Google Summer of Code. One of the features I am implementing is a class so that a running process can stand

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Eric Pruitt
I am implementing the file wrapper using changes to subprocess.Popen that also make it asynchronous and non-blocking so implementing r+ should be trivial to do. How about handling stderr? I have the following ideas: leave out support for reading from stderr, make it so that there is an optional

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Paul Moore
2009/7/27 Eric Pruitt eric.pru...@gmail.com: I am implementing the file wrapper using changes to subprocess.Popen that also make it asynchronous and non-blocking so implementing r+ should be trivial to do. How about handling stderr? I have the following ideas: leave out support for reading

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Steven D'Aprano
On Tue, 28 Jul 2009 03:21:30 am MRAB wrote: What about stderr? You could add e if you want to read from it. Read from stderr is just a read. Write to stderr is just a write. The difference between reading stdout and stderr is not that you have different modes, but that you are reading from

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread MRAB
Steven D'Aprano wrote: On Tue, 28 Jul 2009 03:21:30 am MRAB wrote: What about stderr? You could add e if you want to read from it. Read from stderr is just a read. Write to stderr is just a write. The difference between reading stdout and stderr is not that you have different modes, but

Re: [Python-Dev] Py_TPFLAGS_HEAPTYPE too overloaded

2009-07-27 Thread Greg Ewing
Joshua Haberman wrote: Python as a language has chosen to lock down built-in objects... If it's important for the built-in types, why should it be less important for mine? I'm not really sure why so much trouble is taken to lock down builtin types -- it seems to go against Python's general

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Steven D'Aprano
On Tue, 28 Jul 2009 04:06:45 am Eric Pruitt wrote: I am implementing the file wrapper using changes to subprocess.Popen that also make it asynchronous and non-blocking so implementing r+ should be trivial to do. How about handling stderr? I have the following ideas: leave out support for

Re: [Python-Dev] Implementing File Modes

2009-07-27 Thread Glyph Lefkowitz
On Mon, Jul 27, 2009 at 3:04 PM, Paul Moore p.f.mo...@gmail.com wrote: I like MRAB's idea of using a (non-standard) e flag to include stderr. So r reads from stdout, re reads from stdout+stderr. Anything more complicated probably should just use raw Popen objects. Don't overcomplicate the

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

2009-07-27 Thread David Lyon
On Mon, 27 Jul 2009 20:12:54 +0900, Stephen J. Turnbull step...@xemacs.org wrote: Not you; pythonpkgmgr. You've said nothing about how pythonpkgmgr is supposed to deal with multiple installed versions of Python Under windows it can deal with multiple versions of python. You just go to options

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

2009-07-27 Thread David Lyon
On Sun, 26 Jul 2009 19:31:40 +0200, Martin v. Löwis mar...@v.loewis.de wrote: If they read examples, they will see import statements, and then they have to find out how to make those work. Does your tool help with that? Yes. It will open the website or homepage to the project/package in

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

2009-07-27 Thread David Lyon
On Sun, 26 Jul 2009 19:33:37 +0200, Martin v. Löwis mar...@v.loewis.de wrote: pythonpkgmgr is not so different to that. And the idea behind it is to bring consistancy in package management across the different platforms. At the cost of being inconsistent within a platform. It has the most

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

2009-07-27 Thread Stephen J. Turnbull
David Lyon writes: It manages local developer modules for python 2.6+. pythonpkgmgr is aimed at featherweight users. You were talking about developers, but now they're featherweight users? I'm sorry, but the more you post, the less I like the idea of including it with Python. Please do

[Python-Dev] Going nomail

2009-07-27 Thread Aahz
I just started a new job today, and I've got a bunch of other stuff going on in my life, so I'm setting python-dev and python-ideas to nomail for a while. Please feel free to ping me directly if you want. I'll be back. -- Aahz (a...@pythoncraft.com) *

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

2009-07-27 Thread Martin v. Löwis
pythonpkgmgr is not so different to that. And the idea behind it is to bring consistancy in package management across the different platforms. At the cost of being inconsistent within a platform. It has the most generic of user interfaces. [...] So I respectfully say that there

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

2009-07-27 Thread David Lyon
On Tue, 28 Jul 2009 07:12:25 +0200, Martin v. Löwis mar...@v.loewis.de wrote: So there are now two incompatible ways to install a package: either with the native manager, or with pythonpkgmgr. If you install them one way, and try to remove them the other way, you lose. pythonpkgmgr is only a

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

2009-07-27 Thread Martin v. Löwis
So there are now two incompatible ways to install a package: either with the native manager, or with pythonpkgmgr. If you install them one way, and try to remove them the other way, you lose. pythonpkgmgr is only a thin wrapper for easy_install/pip. If there is a problem, then it is