[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread Simon Anders
New submission from Simon Anders and...@embl.de: The class optparse.OptionParser supports a number of useful keyword arguments to the initializer, which are not documented in the Python Standard Library documentation, here: http://docs.python.org/library/optparse.html This is a bit

[issue5704] Command line option '-3' should imply '-t'

2009-04-05 Thread Simon Anders
New submission from Simon Anders sand...@fs.tum.de: The '-3' command line option in Python 2.6 is supposed to warn whenever encountering something that would throw an error in Python 3. Mixing of tabs and spaces has become illegal in Python 3. However, Python 2.6, called with '-3', passes

[issue1084] ''.find() gives wrong result in Python built with ICC

2007-12-04 Thread Simon Anders
Simon Anders added the comment: Update to the story: After I submitted the bug report to Intel, they investigated and quickly confirmed it to be a compiler bug, whcih they then managed to fix. I have just got an e-mail from Intel that the newest available version of ICC, namely version

[issue1084] ''.find() gives wrong result in Python built with ICC

2007-09-02 Thread Simon Anders
Simon Anders added the comment: Martin, you are right: is is related to compiler optimization. I have boiled it down to a call of stringlib_find (defined in Python-2.5.1/Objects/stringlib/find.h) and this runs fine with 'icc -O2' but incorrectly for 'icc -O3'. (The test code is attached.) So

[issue1084] ''.find() gives wrong result in Python built with ICC

2007-09-02 Thread Simon Anders
Simon Anders added the comment: Martin: I've boiled down the test case a bit more and removed all Python-specific types and macros, so that it can now be compiled stand-alone. (Updated test case 'findtest.c' attached.) I didn't feel like diving into the code much deeper, and so I have sent

[issue1084] ''.find() gives wrong result in Python built with ICC

2007-09-01 Thread Simon Anders
Changes by Simon Anders: -- components: Build, Interpreter Core severity: normal status: open title: ''.find() gives wrong result in Python built with ICC versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1084

[issue1084] ''.find() gives wrong result in Python built with ICC

2007-09-01 Thread Simon Anders
New submission from Simon Anders: I have just encountered a strange bug affecting Python 2.5.1 on an x86_64 Linux, but only when compiled with the Intel C Compiler (ICC) 10.0, not a GCC-compiled Python. On my Intel-compiled one, which otherwise seems to work fine, ''.find() works incorrectly. I

Re: python connect to server using SSH protocol

2005-02-08 Thread Simon Anders
Hi Laszlo Zsolt Nagy wrote: [EMAIL PROTECTED] wrote: How can python connect to server which use SSH protocol? Is it easy since my python has to run third party vendor, write data, read data inside the server (supercomputer). In advance, I'm not sure if I understood your problem. SSH is clearly