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

2011-04-15 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : How to reproduce: >>> from logging.handlers import QueueListener >>> from multiprocessing import Queue >>> q = Queue(100) >>> l = QueueListener(q) Traceback (most recent call last): File "", line 1, i

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

2011-04-15 Thread Baptiste Lepilleur
Baptiste Lepilleur 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 <http://bugs.python.org/issue11

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

2011-04-15 Thread Baptiste Lepilleur
Changes by Baptiste Lepilleur : -- title: New QueueListener is unusable due to threading and queue import -> New QueueListener is unusable due to missing threading and queue import ___ Python tracker <http://bugs.python.org/issu

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

2011-01-09 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : 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 by making the windows larger, but

[issue10871] argparse example use "file" instead of "open"

2011-01-09 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : 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&#

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

2009-11-07 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : 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-doc.patch keywords: patch

[issue7287] import hook demo does not work

2009-11-08 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : 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", "credi

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

2009-12-26 Thread Baptiste Lepilleur
New submission from Baptiste Lepilleur : 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: ""

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

2009-12-26 Thread Baptiste Lepilleur
Changes by Baptiste Lepilleur : -- 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 <http://bugs.python.org/iss

[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_

[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 near