[issue1193] os.system() encoding bug on Windows

2007-09-24 Thread Fan Decheng
Fan Decheng added the comment: Steps to reproduce: 1. Use a Windows, with system default encoding to cp936 (Chinese PRC, or Simplified Chinese) in Regional Options. 2. Open Python 3.0 (command line). 3. Type: import os import sys os.system((echo +

[issue1194] The reduce() documentation is lost in Python 3.0a1

2007-09-24 Thread Fan Decheng
New submission from Fan Decheng: The reduce() documentation is lost in Python 3.0a1. In the documentation, functools.reduce() points onto itself, so no further explanation can be found. -- components: Documentation messages: 56103 nosy: r_mosaic severity: minor status: open title: The

[issue1194] The reduce() documentation is lost in Python 3.0a1

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: This is already fixed in SVN. -- nosy: +georg.brandl resolution: - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1194 __

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: Indeed, and I can remember trying to get around that, but didn't achieve anything... I'll close it as won't fix. -- nosy: +georg.brandl resolution: - wont fix status: open - closed __ Tracker [EMAIL PROTECTED]

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Michael Hoffman
Michael Hoffman added the comment: At the very least could you change the -- to be the verbatim class that shows up properly beneath? There has to be another solution that would result in the docs at least being correct even if we can't get LaTeX to do exactly what we want.

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Michael Hoffman
Michael Hoffman added the comment: Also, see http://bugs.python.org/issue798006 which shows how to fix a similar problem elsewhere in the docs. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1186 __

[issue1193] os.system() encoding bug on Windows

2007-09-24 Thread Fan Decheng
Fan Decheng added the comment: A note about reproducing: since Windows 2000 all language packs can be installed easily using the Regional Options in the Control Panel. Even on an English version of Windows, character set mappings and fonts of other languages can be installed.

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2007-09-24 Thread Rebecca Breu
New submission from Rebecca Breu: Run the program: while True: try: s = raw_input(' ') except: pass Press Ctrl-D and then Ctrl-C, and you get Traceback (most recent call last): File test.py, line 5, in ? s = raw_input(' ') KeyboardInterrupt Pressing just Ctrl-D

[issue1196] int() documentation does not specify default radix

2007-09-24 Thread Tim Delaney
New submission from Tim Delaney: The int() documentation (section 2.1) does not specify the default radix used. Alternatively, it does not specify the default behaviour for string parsing. Experimentally, it's parsing with a default radix of 10 - I recall in an earlier version of Python it

[issue1197] logging: formatter does not accept %(funcName)s properly

2007-09-24 Thread Christian Meesters
Changes by Christian Meesters: -- components: Library (Lib) severity: minor status: open title: logging: formatter does not accept %(funcName)s properly type: behavior versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1197

[issue1197] logging: formatter does not accept %(funcName)s properly

2007-09-24 Thread Christian Meesters
New submission from Christian Meesters: Adding %(funcName)s to a formatter will only insert the calling logging function (e.g. info for logging.info) into messages not the function where the message comes from: snip logging.Formatter('%(levelname)-8s %(funcName)s %(message)s' def foo():

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: There are a few other issues about raw_input and signals in the tracker, possibly this is just another incarnation... The docs tracker link is fixed, but needs a rebuild on the server. -- nosy: +georg.brandl __ Tracker

[issue1182] Paticular decimal mod operation wrongly output NaN.

2007-09-24 Thread Mark Dickinson
Mark Dickinson added the comment: There's a bug on line 1341 of decimal.py. That line currently reads: otherside = otherside._rescale(exp, context=context) It should read: otherside = otherside._rescale(exp,

[issue1182] Paticular decimal mod operation wrongly output NaN.

2007-09-24 Thread Mark Dickinson
Mark Dickinson added the comment: I should have said that the bug I mentioned above is just one of a number of bugs (mostly in division, addition and square root) that have been corrected in the trunk. Some of these fixes

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2007-09-24 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- components: +Library (Lib) -None priority: - normal type: - behavior __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1195 __ ___

[issue1197] logging: formatter does not accept %(funcName)s properly

2007-09-24 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1197 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1196] int() documentation does not specify default radix

2007-09-24 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1196 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1193] os.system() encoding bug on Windows

2007-09-24 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: - normal severity: major - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1193 __ ___ Python-bugs-list mailing list

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-24 Thread Paul F. Dubois
Paul F. Dubois added the comment: Testing auditor, this change should get this issue assigned to Collin. -- nosy: +dubois __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __

[issue1196] int() documentation does not specify default radix

2007-09-24 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: - georg.brandl nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1196 __ ___ Python-bugs-list mailing list

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-24 Thread Paul F. Dubois
Paul F. Dubois added the comment: yet another test __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-24 Thread Paul F. Dubois
Changes by Paul F. Dubois: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-24 Thread Paul F. Dubois
Changes by Paul F. Dubois: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: Okay, applied that workaround in rev. 58243. -- assignee: fdrake - georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1186 __

[issue1196] int() documentation does not specify default radix

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: The default radix is, and was always AFAICS, 10. I've now documented that in rev. 58244, 58245. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1196

[issue1189] Documentation for tp_as_number tp_as_sequence tp_as_mapping

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: Committed in 3k branch as rev. 58246. Just open a new issue for the 2.6 docs when they are ready :) -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1189

[issue1177] urllib* 20x responses not OK?

2007-09-24 Thread Georg Brandl
Georg Brandl added the comment: Applied your patch as r58247. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1177 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-24 Thread Paul F. Dubois
Paul F. Dubois added the comment: Hoping I have learned to spell, another test. -- assignee: - collinwinter __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __ ___

[issue1198] Test of 2to3 component auditor

2007-09-24 Thread Paul F. Dubois
New submission from Paul F. Dubois: This is a test issue, please ignore. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) messages: 56123 nosy: collinwinter, dubois severity: minor status: open title: Test of 2to3 component auditor

[issue1198] Test of 2to3 component auditor

2007-09-24 Thread Paul F. Dubois
Changes by Paul F. Dubois: -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1198 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1199] Documentation for tp_as_number... version 2.6

2007-09-24 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: This patch is similar to http://bugs.python.org/issue1189, but in line with python svn trunk (and 2.5 most probably as well): documentation of all slots of tp_as_number, tp_as_mapping, tp_as_sequence. The main difference with 3.0 is the coercion.

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-09-24 Thread Senthil
Senthil added the comment: Hi, The patch attached required a complete rewrite. I am attaching the modified patch, which will just substitute socket.gethostbyname with a function gethost_addrinfo which internally uses getaddrinfo and takes care of the IPv4 or IPv6 addresses translation. jjlee,

[issue1199] Documentation for tp_as_number... version 2.6

2007-09-24 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1199 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-24 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1200] Allow array.array to be parsed by the t# format unit.

2007-09-24 Thread Jeffrey Yasskin
New submission from Jeffrey Yasskin: This changes PyArg_ParseTuple()'s t# to request a PyBUF_SIMPLE buffer like all of the other buffer-using format units instead of PyBUF_CHARACTER. Objects with multi-byte units wind up byte-order-dependent. Alternately, it might make sense to have

[issue1199] Documentation for tp_as_number... version 2.6

2007-09-24 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: - georg.brandl nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1199 __ ___ Python-bugs-list mailing list