classification
Title: 'from urllib.parse import *' does not import urlencode function
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: orsenthil Nosy List: hhas, orsenthil
Priority: normal Keywords:

Created on 2010-10-25 16:26 by hhas, last changed 2010-10-25 16:37 by orsenthil. This issue is now closed.

Messages (2)
msg119558 - (view) Author: (hhas) Date: 2010-10-25 16:26
Problem:

The following statement fails to import the public urlencode function into the current namespace:

    from urllib.parse import *

Solution:

Add 'urlencode' to urllib.parse.__all__.
msg119560 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2010-10-25 16:36
Fixed in revision 85837.
History
Date User Action Args
2010-10-25 16:37:00orsenthilsetstatus: open -> closed

assignee: orsenthil

nosy: + orsenthil
messages: + msg119560
resolution: fixed
stage: resolved
2010-10-25 16:26:04hhascreate