[stdlib-sig] Problem with removing urllib
facundobatista at gmail.com
Fri Mar 14 21:04:25 CET 2008
2008/3/14, Brett Cannon <brett at python.org>:
> stick urllib into url.fetch and also copy the parse code over to
> url.parse (and possibly cgi's one useful parsing function). That way
The one cgi's useful parsing function is "cgi.parse_qs" (the qs is
from "query string"). I saw zillion times people using urrlib and
import cgi only for this function.
> and not end up with confusing AttributeErrors. And consolidating all
> the parse functions into url.parse now will also allow for an eventual
> deprecation of urllib the old-fashioned way in 3.x.
> Does this all make sense? Or am I worrying too much?
I strongly prefer an error (or some additional work) in the migration,
than get some confusing states.
More information about the stdlib-sig