[Patches] [Patch #101970] Generate more modern file:///C:/foo/bar syntax
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 15 Feb 2001 05:48:08 -0800
Patch #101970 has been updated.
Project: python
Category: library
Status: Accepted
Submitted by: prescod
Assigned to : prescod
Summary: Generate more modern file:///C:/foo/bar syntax
Follow-Ups:
Date: 2001-Feb-15 05:48
By: gvanrossum
Comment:
Looks good now. Please check it in!
-------------------------------------------------------
Date: 2001-Jan-24 22:54
By: prescod
Comment:
Sorry. I must have been drunk when I submitted the first time. :(
This patch is better and has an updated docstring. Here's the intent:
Newer Windows browsers use the colon to represent the colon
instead of the pipe symbol.
Therefore, the colon replacement character is an optional
argument. If you care about the colon replacement then you
should specify it explicitly because the default may change
in the future.
---
Teaching urllib to accept various forms of Windows file URLs for conversion
to (instead of from) pathnames is a whole other science project...but being
able to generate URLs suitable for a browser is a good first step.
(I'll be on vacation after sending this so discussion will have to wait
until I return)
-------------------------------------------------------
Date: 2001-Jan-19 14:59
By: gvanrossum
Comment:
Paul, if you're not interested in this any more, I'll just reject it, OK?
-------------------------------------------------------
Date: 2001-Jan-04 07:46
By: gvanrossum
Comment:
This patch should be rejected based on form. Paul, you can do better than
sending in a diff without context! Also, the subject makes no sense. If
you still want this, please fix the subject and submit a new patch and
we'll lookj at it again.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101970&group_id=5470