[issue1394565] SimpleHTTPServer doesn't understand query arguments

2007-10-01 Thread philfr
philfr added the comment: This fix introduces a nasty side-effect: "GET http://server//file"; (with two /s) does not work anymore. It returns the directory index instead. This is because urlparse is not applied to an URL, but to its right-hand part starting at the path. urlparse.urlparse("http:

[issue1224] SimpleHTTPServer doesn't understand // at beginning of path anymore

2007-10-01 Thread philfr
New submission from philfr: The fix to issue 1394565 introduces a nasty side-effect: "GET http://server//file"; (with two /s) does not work anymore. It returns the directory index instead. This is because urlparse is not applied to an URL, but to its right-hand part starting at the path. urlpar

[issue1394565] SimpleHTTPServer doesn't understand query arguments

2007-10-01 Thread philfr
philfr added the comment: I created the new issue 1224 for this. _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscrib

[issue1224] SimpleHTTPServer doesn't understand // at beginning of path anymore

2007-10-01 Thread philfr
philfr added the comment: May I suggest replacing the path = urlparse.urlparse(path)[2] line with the following two: path = path.split('?',1)[0] path = path.split('#',1)[0] thereby handling parameters as well as fragments. __ Tracker <[EMAIL PR

[issue1223] httplib does not handle ssl end of file properly

2007-10-01 Thread Brett Cannon
Brett Cannon added the comment: Patch is inlined in the opening comment for the issue. -- keywords: +patch nosy: +brett.cannon type: crash -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1225] IDLE - Fix: pressing Ctrl+C while printing exception -> stuck

2007-10-01 Thread Tal Einat
New submission from Tal Einat: Patch run.py, adding a global 'interruptable' flag which is set only when executing code. This avoids interrupting the main thread while it is printing an exception, which would cause IDLE to freeze up. Reworked patch from IDLE-Spoon. -- components: IDLE f

[issue1226] lib/sched.py superfluous code for removal

2007-10-01 Thread lorph
New submission from lorph: Line 114 of lib/sched.py: It has a superfluous variable assignment which I deleted. "void =" -- components: Library (Lib) files: sched.py messages: 56210 nosy: lorph severity: normal status: open title: lib/sched.py superfluous code for removal versions: Pytho

[issue1226] lib/sched.py superfluous code for removal

2007-10-01 Thread lorph
Changes by lorph: -- severity: normal -> minor type: -> resource usage __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Uns

[issue1227] csv docs say 'excel_tab'; code says 'excel-tab'

2007-10-01 Thread Dean Elzinga
New submission from Dean Elzinga: I was trying out 'csv module' and noticed that it wouldn't accept a dialect of 'excel_tab' as documented. Then I noticed that csv.list_dialects() gave 'excel-tab' instead of 'excel_tab' as documented. I'm not sure which one it's supposed to be, but I guess when