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 flox
Recipients flox
Date 2011-10-28.15:01:14
SpamBayes Score 0.0058326363
Marked as misclassified No
Message-id <1319814075.5.0.569025067527.issue13287@psf.upfronthosting.co.za>
In-reply-to
Content
>>> len(dir())
4
>>> import urllib.request import *
>>> len(dir())
88


In this list we find 14 modules:
['base64', 'collections', 'ssl', 'bisect', 'http', 're', 'email', 'socket', 'os', 'posixpath', 'hashlib', 'io', 'time', 'sys']

And many non-documented functions:
 - ftperrors
 - getproxies_environment
 - getproxies_macosx_sysconf
 - localhost
 - noheaders
 - parse_http_list
 - parse_keqv_list
 - proxy_bypass
 - proxy_bypass_environment
 - proxy_bypass_macosx_sysconf
 - quote
 - randombytes
 - request_host
 - urlunparse
 - splitattr
 - splithost
 - splitpasswd
 - splitport
 - splitquery
 - splittag
 - splittype
 - splituser
 - splitvalue
 - thishost
 - to_bytes
 - unquote
 - unwrap
 - urljoin
 - urlparse
 - urlsplit

It may be good to define __all__ for this module, and to preprend "_" on some of these names.
History
Date User Action Args
2011-10-28 15:01:15floxsetrecipients: + flox
2011-10-28 15:01:15floxsetmessageid: <1319814075.5.0.569025067527.issue13287@psf.upfronthosting.co.za>
2011-10-28 15:01:14floxlinkissue13287 messages
2011-10-28 15:01:14floxcreate