[issue27302] csv.Sniffer guesses wrong when unquoted fields contain quotes
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) files: humptydumpty.py messages: 268391 nosy: Redoute priority: normal severity: normal status: open title: csv.Sniffer guesses wrong when unquoted fields contain quotes type: behavior versions: Python 3.6 Added file: http://bugs.python.org/file43368/humptydumpty.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27302> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16561] Windows installer doesn't use UAC, then crashes
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 instead of crash As I don't use distutils for packaging, I am just guessing it would make sense to: b) let bdist_wininst --user-access-control default to 'auto' -- assignee: eric.araujo components: Distutils messages: 176449 nosy: Redoute, eric.araujo, tarek priority: normal severity: normal status: open title: Windows installer doesn't use UAC, then crashes type: crash versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16561 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14192] stdout.encoding not set when redirecting windows command line output
New submission from Redoute redo...@tortenboxer.de: 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 -*- from sys import stdout, stderr print stderr, 'stdout.encoding: ', stdout.encoding print u'äöüß' [/Code] [windows command prompt] C:\Datentestunic.py stdout.encoding: cp850 äöüß C:\Datentestunic.py testunic.txt stdout.encoding: None Traceback (most recent call last): File C:\Daten\Cmd\testunic.py, line 5, in module print u'├ñ├Â├╝├ƒ' UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordin al not in range(128) [/windows command prompt] -- components: Windows messages: 154885 nosy: Redoute priority: normal severity: normal status: open title: stdout.encoding not set when redirecting windows command line output type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14192 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14192] stdout.encoding not set when redirecting windows command line output
Redoute redo...@tortenboxer.de 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. pythonw.exe) means console program means print output has to use console codepage as default. It is disappointing that output changes and programs fail because of a command line redirection. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14192 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com