On 07/03/2014 10:03 AM, Wolfgang Maier wrote:
On 07/03/2014 06:09 AM, Terry Reedy wrote:
- what is happening to the stderr output when run in IDLE ? I guess it
is caught and suppressed somewhere, but to add to your observations the
check_output call doesn't hang on IDLE, but finishes eventually
On 07/03/2014 06:09 AM, Terry Reedy wrote:
Yes, but what puzzled me is that running
subprocess.check_output(r'pyflakes c:\programs\python34\lib')
in the regular interpreter *does* produce output instead of the error
message. My guess is that it fills up the pipe, so that check_output
starts read
On 7/2/2014 7:22 PM, Wolfgang Maier wrote:
Finally found out what the problem is:
When I'm running your command using the cmd console, I get this output:
c:\python34\lib\turtle.py:571: local variable 'rgb' is assigned to but never
used
c:\python34\lib\turtle.py:2936: local variable 'a21' is ass
On 07/02/2014 04:22 PM, Wolfgang Maier wrote:
So, everything's just fine except that it may be more convenient to use
Popen().communicate() to avoid raising the error in the first place :)
Nice sleuthing! :)
--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list
Terry Reedy udel.edu> writes:
>
> On 7/2/2014 12:33 AM, Tim Roberts wrote:
> > Terry Reedy udel.edu> wrote:
> >>
> > You need to use
> > s.check_output("pyflakes c:\\programs\\python34\\lib\\turtle.py")
> > or
> > s.check_output(r"pyflakes c:\programs\python34\lib\turtle.py")
>
> Now
On 7/2/2014 1:37 PM, Wolfgang Maier wrote:
On 02.07.2014 19:31, Wolfgang Maier wrote:
I am not 100% sure whether that is the problem, but from what I gather
from the subprocess module docs the args string is passed to the Windows
CreateProcess function as a single string.
To me this seems to im
On 02.07.2014 19:31, Wolfgang Maier wrote:
I am not 100% sure whether that is the problem, but from what I gather
from the subprocess module docs the args string is passed to the Windows
CreateProcess function as a single string.
To me this seems to imply that it is passed as the lpCommandLine
p
On 02.07.2014 11:05, Terry Reedy wrote:
On 7/2/2014 12:33 AM, Tim Roberts wrote:
Terry Reedy wrote:
You need to use
s.check_output("pyflakes c:\\programs\\python34\\lib\\turtle.py")
or
s.check_output(r"pyflakes c:\programs\python34\lib\turtle.py")
Now I get "Command 'pyflakes c:\pr
On 7/2/2014 12:33 AM, Tim Roberts wrote:
Terry Reedy wrote:
It does not work on Windows. As I reported on
http://bugs.python.org/issue8631, msg222053,
subprocess.check_output("pyflakes -h")
works in the interpreter and Idle shell, while
s.check_output("pyflakes c:\programs\python34\lib\turt
Terry Reedy wrote:
>
>It does not work on Windows. As I reported on
>http://bugs.python.org/issue8631, msg222053,
> >>> subprocess.check_output("pyflakes -h")
>works in the interpreter and Idle shell, while
> >>> s.check_output("pyflakes c:\programs\python34\lib\turtle.py")
>gives bizarre output
I haven't spent any time recently with it, but I seem to recall having
more success using cx_Freeze for packaging than with py2exe (when using
Python.NET). In the time since I then, I suspect all of the packagers
have gotten more sophisticated, and you might have more options.
A good place for qu
Erik Johnson wrote:
> I installed readline-devel. (Thank you for re-asking that question.)
I had that hunch :-)
> Interestingly, configure *still* says...
> [EMAIL PROTECTED]:~/Python-2.3.4> ./configure | grep readline
> checking for rl_pre_input_hook in -lreadline... no
> checking for rl_compl
12 matches
Mail list logo