[issue27302] csv.Sniffer guesses wrong when unquoted fields contain quotes

2016-06-12 Thread Redoute
New submission from Redoute: When delimited text fields are not quoted, but embedded text contains some quoted words, sniff() will guess the wrong delimiter. The attached script contains a simple tab-delimited text where sniff() detects space as delimiter. -- components: Library (Lib

[issue16561] Windows installer doesn't use UAC, then crashes

2012-11-26 Thread Redoute
New submission from Redoute: Windows installers crash without useful explanation, when Python is located in /Program Files/Python27 and the installer is started without admin rights/UAC. I experienced this with Windows 8 and installers for packages pandas and rtree. a) show error message

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Redoute
Redoute added the comment: Martin, thanks for your response. I have to take it, although I am not really convinced. The system codepage probably differs from the console codepage (here 1152 vs. 850). Print statements on the other hand are typical for console programs. Calling python.exe (vs

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Redoute
New submission from Redoute : When running a python script from windows command line (cmd.exe) and redirecting its output, stdout.encoding is set to None and printing non-ascii chars fails. Encoding should be the same as without redirecting. Example: [Code unictest.py] # -*- coding: utf-8