[New-bugs-announce] [issue10192] 'from urllib.parse import *' does not import urlencode function

hhas report at bugs.python.org
Mon Oct 25 18:26:19 CEST 2010


New submission from hhas <hhas at users.sourceforge.net>:

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__.

----------
components: Library (Lib)
messages: 119558
nosy: hhas
priority: normal
severity: normal
status: open
title: 'from urllib.parse import *' does not import urlencode function
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10192>
_______________________________________


More information about the New-bugs-announce mailing list