Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-24 Thread Brian Curtin
On Mon, Dec 24, 2012 at 7:42 AM, anatoly techtonik wrote: > What should I do in case Eric lost interest after his GSoC project for PSF > appeared as useless for python-dev community? Should I rewrite the proposal > from scratch? Before you attempt that, start by trying to have a better attitude t

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-24 Thread Eric Pruitt
Hey, Anatoly, you are free to modify the PEP and code. I do not have any plans to work on this right now. Eric On Mon, Dec 24, 2012 at 04:42:20PM +0300, anatoly techtonik wrote: > What should I do in case Eric lost interest after his GSoC project for PSF > appeared as useless for python-dev comm

Re: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted

2012-12-24 Thread Glyph
On Dec 21, 2012, at 1:10 PM, Guido van Rossum wrote: > > > TBD: Need an interface to wait for the first of a collection of Futures. > > > > Have you looked at Twisted's DeferredList? > > http://twistedmatrix.com/documents/12.1.0/api/twisted.internet.defer.DeferredList.html > > No, I am trying t

Re: [Python-Dev] PEP 3156 - Asynchronous IO Support Rebooted

2012-12-24 Thread Glyph
On Dec 21, 2012, at 1:10 PM, Guido van Rossum wrote: > > > The transport is free to buffer the bytes, but it must eventually > > > cause the bytes to be transferred to the entity at the other end, and > > > it must maintain stream behavior. That is, t.write(b'abc'); > > > t.write(b'def') is equiv

Re: [Python-Dev] [Python-checkins] cpython: Use OESeeror instead of os.error (#16720)

2012-12-24 Thread Serhiy Storchaka
On 24.12.12 21:48, Andrew Svetlov wrote: Sorry, my bad. Fixed in e2e5181b10f8 It's my fault. Sorry. summary: Use OESeeror instead of os.error (#16720) But it's not my. ;) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] [Python-checkins] cpython: Use OESeeror instead of os.error (#16720)

2012-12-24 Thread Andrew Svetlov
Sorry, my bad. Fixed in e2e5181b10f8 On Mon, Dec 24, 2012 at 9:16 PM, Jeremy Kloth wrote: > On Mon, Dec 24, 2012 at 11:00 AM, andrew.svetlov > wrote: >> http://hg.python.org/cpython/rev/6cfe2982de42 >> changeset: 81017:6cfe2982de42 >> parent: 81011:a7c9869a5114 >> user:Andrew Svet

Re: [Python-Dev] [Python-checkins] cpython: Use OESeeror instead of os.error (#16720)

2012-12-24 Thread Jeremy Kloth
On Mon, Dec 24, 2012 at 11:00 AM, andrew.svetlov wrote: > http://hg.python.org/cpython/rev/6cfe2982de42 > changeset: 81017:6cfe2982de42 > parent: 81011:a7c9869a5114 > user:Andrew Svetlov > date:Mon Dec 24 19:58:48 2012 +0200 > summary: > Use OESeeror instead of os.error (

Re: [Python-Dev] [Python-checkins] cpython: Fix #14470. Remove w9xpopen per PEP 11.

2012-12-24 Thread Brian Curtin
On Mon, Dec 24, 2012 at 2:36 AM, Andrew Svetlov wrote: > You missed artifacts in ./PC/VC6 ./PC/VS7.1 ./PC/VS8.0 ./PC/VS9.0 Fixed in http://hg.python.org/cpython/rev/deee9f0a4b98 Also reported http://bugs.python.org/issue16769 about removing some those directories because they are pretty much use

Re: [Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Ajay Garg
Terry, Sorry; and thanks for the info. Joaquin, Thanks for the pointer; I will investigate :) On Mon, Dec 24, 2012 at 7:56 PM, Joaquin Sargiotto < joaquinsargio...@gmail.com> wrote: > > El dic 24, 2012 4:59 a.m., "Ajay Garg" escribió: > > > > > Hi all. > > > > This is more of knowing whether

Re: [Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Joaquin Sargiotto
El dic 24, 2012 4:59 a.m., "Ajay Garg" escribió: > > Hi all. > > This is more of knowing whether something is possible in the core python architecture; hence the question to this mailing-list :) > > I have a situation where I am spawning a child process via "subprocess" module. > This child proces

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-24 Thread anatoly techtonik
What should I do in case Eric lost interest after his GSoC project for PSF appeared as useless for python-dev community? Should I rewrite the proposal from scratch? On Thu, Dec 20, 2012 at 11:18 PM, Brett Cannon wrote: > You cannot rewrite an existing PEP if you are not one of the original > own

Re: [Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Terry Reedy
On 12/24/2012 2:57 AM, Ajay Garg wrote: Hi all. This is more of knowing whether something is possible in the core python architecture; hence the question to this mailing-list :) The pydev list is for discussion of development of future Python, not for how to use current Python. Usage question

Re: [Python-Dev] [Python-checkins] cpython (3.3): Issue #16045: add more unit tests for built-in int()

2012-12-24 Thread Serhiy Storchaka
On 23.12.12 22:03, Terry Reedy wrote: I think the above behavior is buggy and should be changed rather than frozen into CPython with a test. According to the docs, PyPy does it right. http://bugs.python.org/issue16761 ___ Python-Dev mailing list Pyt

Re: [Python-Dev] [Python-checkins] cpython: Fix #14470. Remove w9xpopen per PEP 11.

2012-12-24 Thread Andrew Svetlov
You missed artifacts in ./PC/VC6 ./PC/VS7.1 ./PC/VS8.0 ./PC/VS9.0 On Mon, Dec 24, 2012 at 12:55 AM, brian.curtin wrote: > http://hg.python.org/cpython/rev/c903e4f1121d > changeset: 81005:c903e4f1121d > parent: 81003:e3d0417d8266 > user:Brian Curtin > date:Sun Dec 23 16:53:

[Python-Dev] Running GUI and "GObject.mainloop.run()" together?

2012-12-24 Thread Ajay Garg
Hi all. This is another question that arises as part of my efforts to run a GUI application, as well as a dbus-service within the same process. (The other question being at http://mail.python.org/pipermail/python-dev/2012-December/123287.html) For a recap of the brief history, I have a parent pro

[Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Ajay Garg
Hi all. This is more of knowing whether something is possible in the core python architecture; hence the question to this mailing-list :) I have a situation where I am spawning a child process via "subprocess" module. This child process is equivalent to the process that would have been created, i