New submission from Baptiste Lepilleur:
Documentation states:
help( subprocess.check_output )
check_output(*popenargs, timeout=None, **kwargs)
Run command with arguments and return its output as a byte string.
But the most common usage is:
subprocess.check_output( 'echo test', shell=True
New submission from Baptiste Lepilleur:
It tooks me a while to figure out that using universal_newlines was the
solution to tell subprocess that I wanted text string output instead of byte
string.
A search on stackoverflow shows that this issue is common and the solution
nearly unknown
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
How to reproduce:
from logging.handlers import QueueListener
from multiprocessing import Queue
q = Queue(100)
l = QueueListener(q)
Traceback (most recent call last):
File stdin, line 1, in module
File C:\Python32\lib
Baptiste Lepilleur b...@users.sourceforge.net added the comment:
Forgot to give the precise python version:
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on
win32
--
___
Python tracker rep...@bugs.python.org
http
Changes by Baptiste Lepilleur b...@users.sourceforge.net:
--
title: New QueueListener is unusable due to threading and queue import - New
QueueListener is unusable due to missing threading and queue import
___
Python tracker rep...@bugs.python.org
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
When the code samples from the CHM documentation are displayed, if the lines
are too long, a scroll bar is added at the bottom which prevents reading the
last line of the code sample.
Usually this can be worked-around
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
In section 14.4.3.6. type of the argparse module, the following code sample
is given:
parser = argparse.ArgumentParser()
parser.add_argument('foo', type=int)
parser.add_argument('bar', type=file)
parser.parse_args('2
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
The io.IOBase class doc says:
Note that calling any method (even inquiries) on a closed stream is
undefined. Implementations may raise IOError in this case.
But the io.IOBase.close() method document says:
Once the file is closed
Changes by Baptiste Lepilleur b...@users.sourceforge.net:
--
title: Behavio of operations on a closed file object is not documented
correctly - Behavior of operations on a closed file object is not documented
correctly
___
Python tracker rep
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
The import hook demo in the source directory
Python-3.1.1\Demo\imputil\knee.py fails to run correctly:
Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
PCBuild requires nasmw.exe but it no longer exists in the latest version
of nasm.
I had to rename nasm.exe to nasmw.exe. Would be nice to add this to the
readme to avoid confusion...
--
components: Build
files: nasm
11 matches
Mail list logo