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
I'm bumping this PEP again in hopes of getting some feedback.
Thanks,
Eric
On Tue, Sep 8, 2009 at 23:52, Eric Pruitt eric.pru...@gmail.com wrote:
PEP: 3145
Title: Asynchronous I/O For subprocess.Popen
Author: (James) Eric Pruitt, Charles R. McCreary, Josiah Carlson
Type: Standards Track
3145:
PEP: 3145
Title: Asynchronous I/O For subprocess.Popen
Author: (James) Eric Pruitt, Charles R. McCreary, Josiah Carlson
Type: Standards Track
Content-Type: text/plain
Created: 04-Aug-2009
Python-Version: 3.2
Abstract:
In its present form, the subprocess.Popen implementation is prone
Hello all,
I have been working on adding asynchronous I/O to the Python
subprocess module as part of my Google Summer of Code project. Now
that I have finished documenting and pruning the code, I present PEP
3145 for its inclusion into the Python core code. Any and all feedback
on the PEP
Several days ago, around the time the python.org servers went down, I
submitted a PEP to edi...@python.org. When things to have been worked,
I submitted the PEP again. I have not seen any activity on the PEP in
Python-Dev or any reply acknowledging that it was received. Did I
misunderstand the
What about catching specific error numbers? Maybe an option so that
the dictionary elements can also be dictionaries with integers as the
keys:
filedata = try_3(open, randomfile, except = { IOError, {2: None} } )
If it isn't found in the dictionary, then we raise the error.
On Thu, Aug 6,
On Tue, Aug 4, 2009 at 04:27, Nick Coghlanncogh...@gmail.com wrote:
Eric Pruitt wrote:
In my GSoC project, I have implemented asnychronous I/O in
subprocess.Popen. Since the read/write operations are asynchronous, the
program may have already exited by the time one calls the asyncread
In my GSoC project, I have implemented asnychronous I/O in subprocess.Popen.
Since the read/write operations are asynchronous, the program may have
already exited by the time one calls the asyncread function I have
implemented. While it returns the data just fine, I have come across an
issue with
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
My motivation came from an instance when I was using subprocess.Popen for a
Linux / Windows cross platform program. In part of the program, I was
writing and reading to a cron like object. On Windows, it was a text file
and on Linux it would be the crontab executable. Had I been able to
substitute
Well, with a few changes to your code, that would indeed work (you are using
stdin as your pipe. Correct me if I'm wrong but if you intend to read from
it, you need to change it to stdout = subprocess.PIPE and the other lines
as well to reflect this change). My Google Summer of Code modifications
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,
additional argument like outputstderr = False, create another function
that toggles / sets whether stderr or stdout is returned or mix the two
outputs.
Thanks for the input,
Eric
On Mon, Jul 27, 2009 at 10:46, Paul Moore p.f.mo...@gmail.com wrote:
2009/7/27 Eric Pruitt eric.pru...@gmail.com
Hello,
I have written replacements for a few of Mark Hammond's PyWin32 functions
using ctypes to call upon the Windows kernel API. Code can be found here;
http://pastebin.com/m46de01f . When calling ReadFile, it appears that the
kernel API converts '/n' newlines '/r/n' newlines. I have not been
I will keep a grace period in mind when I am posting. In my defense,
however, I had been working on the problem for some time before posting this
and my messages in quick succession were in response to the suggestions
people offered. The problem has arisen again but I will work on it some more
and
The problem appears resolved again and I have two posts on the issue on my
blog located at http://subdev.blogspot.com/. I was missing an MSVC++
run-time DLL and re-installing Visual C++ Express fixed the problem. A bit
of a somewhat random note -- looking through some of the buildbot output for
Hello,
I am trying to build Python 3.1 on Windows XP Pro (32 bit) using Microsoft
Visual C++ Express Edition in order to test some modifications I made to the
_subprocess.c file as part of my Google Summer of Code proposal. I cannot
seem to figure out how to compile Python on Windows and could
error LNK1181: cannot open input file '.\python31_d.lib'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.30729
Copyright (C) Microsoft Corporation. All rights reserved.
On Mon, Jul 13, 2009 at 10:46, Eric Pruitt eric.pru...@gmail.com wrote
warning(s)
== Build: 0 succeeded, 20 failed, 4 up-to-date, 1 skipped
==
On Mon, Jul 13, 2009 at 11:03, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
Hi,
2009/7/13 Eric Pruitt eric.pru...@gmail.com:
Hello,
I am trying to build Python 3.1 on Windows XP Pro (32 bit) using
It is indeed the file ../PCBuild/pcbuild.sln. The line endings appear to be
Unix style but after fixing them, I still have the same problem.
On Mon, Jul 13, 2009 at 11:43, Amaury Forgeot d'Arc amaur...@gmail.comwrote:
2009/7/13 Eric Pruitt eric.pru...@gmail.com:
I opened the solution, hit
...@gmail.com wrote:
2009/7/13 Eric Pruitt eric.pru...@gmail.com:
It is indeed the file ../PCBuild/pcbuild.sln. The line endings appear to
be
Unix style but after fixing them, I still have the same problem.
Where did you get your copy of the Python source from? If it's from
Subversion, I'm surprised
p.f.mo...@gmail.com wrote:
2009/7/13 Paul Moore p.f.mo...@gmail.com:
2009/7/13 Eric Pruitt eric.pru...@gmail.com:
It is indeed the file ../PCBuild/pcbuild.sln. The line endings appear to
be
Unix style but after fixing them, I still have the same problem.
[...]
I'd suggest trying
Hello,
I am working on the subprocess.Popen module for Python 2.7 and am now moving
my changes over to Python 3.1 however I am having trouble with the whole
byte situation and I can't quite seem to understand how to go back and forth
between bytes and strings. I am also looking for the Python 3k
Hello,
I am looking for alternatives to Josiah Carlson's asynchronous I/O patch for
subprocess.Popen. While his patch seems to work well, it relies on pywin32
which is not part of the standard Python library. If I cannot find an
alternative, I will be using cTypes with the parts of Mark Hammond's
li...@cheimes.de wrote:
Eric Pruitt schrieb:
Hello,
I am looking for alternatives to Josiah Carlson's asynchronous I/O patch
for
subprocess.Popen. While his patch seems to work well, it relies on
pywin32
which is not part of the standard Python library. If I cannot find an
alternative
I am in the process of implementing a number of often requested features and
proposed patches in the subprocess module for my Google Summer of Code 2009
project. For information on my progress, check out my blog located at *
http://subdev.blogspot.com/* http://subdev.blogspot.com/. Any comments
26 matches
Mail list logo