[issue3798] SystemExit incorrectly displays unicode message

2009-06-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I did some more experiments, here are the results: Windows XP, from cmd.exe (cp850): Py 2.x: raise SystemExit(u'aeiou') # unicode string, ascii chars, works fine aeiou raise SystemExit(u'àèìòù') # unicode string, non-ascii chars, no

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2009-06-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Confirmed for 3.1, 3.0 still returns (None, None). -- components: +Library (Lib) nosy: +ezio.melotti priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6203

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2009-06-06 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: In the interest of expediency, I've implemented I.(a): specifically, I've put a wrapper around DeleteFileW to check if the target is a directory-symlink, and if it is, call RemoveDirectory instead. I've updated the test case to reflect this

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2009-06-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: BeautifulSoup use SGMLParser for all the versions 3.1. BeautifulSoup 3.1 is supposed to be compatible with Python 3 and since SGMLParser is gone it's now using HTMLParser, but it's not able to handle some things anymore. For more

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2009-06-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue670664 ___

[issue6225] Fixing several minor bugs in Tkinter.Canvas and one in Misc._configure

2009-06-06 Thread Guilherme Polo
New submission from Guilherme Polo ggp...@gmail.com: Hi, While testing Tkinter.Canvas I've found several minor bugs that I would prefer to see fixed. Many of them change the current Canvas api a bit, but for better. For example, the methods focus, gettags, icursor, index, insert, move (and some

[issue6226] Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs

2009-06-06 Thread Philip Jenvey
New submission from Philip Jenvey pjen...@users.sourceforge.net: It'd be nice to eventually standardize on the kwarg name used for basic file-like args in the stdlib. print, warnings.showwarning and some others take a file= argument whereas pprint, getpass.getpass take stream= print and

[issue798058] IDLE / PyOS_InputHook

2009-06-06 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Closing as promised. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue798058 ___ ___

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2009-06-06 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Idle has changed a bit since the initial message, so it no longer hangs when it is configured to open an edit window by default, but now it hangs when running it as: idle -e somedirnamehere (which the patch fixes). --

[issue6215] Backport the IO lib to trunk

2009-06-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch incorporating the latest py3k changes. -- Added file: http://bugs.python.org/file14208/iobackport2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6215

[issue6221] Windows buildbot failure in test_winreg

2009-06-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This doesn't happen on Win2k. Maybe does it depend on OS? -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6221

[issue4309] ctypes documentation

2009-06-06 Thread Michael Newman
Michael Newman michael.b.new...@gmail.com added the comment: Regarding Section 15.15.1.5. Calling functions, continued on: http://docs.python.org/3.0/library/ctypes.html I would recommend changing the first example code block to the following: printf = libc.printf printf(bHello, %s\n,

[issue6227] doctest_aliases doesn't test duplicate removal

2009-06-06 Thread James Abbatiello
New submission from James Abbatiello abb...@gmail.com: The file Lib/test/doctest_aliases.py is used by test_doctest to check the handling of duplicate removal. The g = f line in this file is one indent too far to the right so instead of creating an alias for f called g it is just unreachable

<    1   2