This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients eric.araujo, ezio.melotti, nailor, oberstet, orsenthil
Date 2011-10-22.23:22:23
SpamBayes Score 0.0010646733
Marked as misclassified No
Message-id <1319325744.5.0.533186605654.issue13244@psf.upfronthosting.co.za>
In-reply-to
Content
> Actually, if I get it right, it means that following url is valid:
>  ws://example.com/something#somewhere/
I don’t think so.  The URI syntax RFC is generic, so a scheme spec cannot redefine the parsing to mean that in your above example, there is no fragment and the path is /something#somewhere/ .  I believe the spec means that a # in any component must be %-escaped.

> Does urllib throw when an URL contains a fragment identifier, but the scheme of the URL is not
> in urlparse.uses_fragment?
Could you try it in a shell and tell us?  BTW, please don’t use “throw” in a code or doc patch: exceptions are raised, throw is related but different generator method.
History
Date User Action Args
2011-10-22 23:22:24eric.araujosetrecipients: + eric.araujo, orsenthil, ezio.melotti, nailor, oberstet
2011-10-22 23:22:24eric.araujosetmessageid: <1319325744.5.0.533186605654.issue13244@psf.upfronthosting.co.za>
2011-10-22 23:22:23eric.araujolinkissue13244 messages
2011-10-22 23:22:23eric.araujocreate