[issue17285] subprocess.check_output incorrectly state that output is always bytes

2013-02-24 Thread Baptiste Lepilleur
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

[issue17286] Make subprocess handling text output with universal_newlines more obious

2013-02-24 Thread Baptiste Lepilleur
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

[issue11852] New QueueListener is unusable due to threading and queue import

2011-04-15 Thread Baptiste Lepilleur
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

[issue11852] New QueueListener is unusable due to threading and queue import

2011-04-15 Thread Baptiste Lepilleur
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

[issue11852] New QueueListener is unusable due to missing threading and queue import

2011-04-15 Thread Baptiste Lepilleur
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

[issue10870] Last line of argparse code samples can not be read on Windows

2011-01-09 Thread Baptiste Lepilleur
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

[issue10871] argparse example use file instead of open

2011-01-09 Thread Baptiste Lepilleur
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

[issue7578] Behavio of operations on a closed file object is not documented correctly

2009-12-26 Thread Baptiste Lepilleur
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

[issue7578] Behavior of operations on a closed file object is not documented correctly

2009-12-26 Thread Baptiste Lepilleur
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

[issue7287] import hook demo does not work

2009-11-08 Thread Baptiste Lepilleur
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

[issue7280] PCBuild instruction says to use nasmw.exe but it no longer exist

2009-11-07 Thread Baptiste Lepilleur
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