mirror of
https://github.com/python/cpython.git
synced 2025-08-20 08:41:07 +00:00
[Bug #1545341] Let the 'classifiers' parameter be a tuple as well as a list.
This commit is contained in:
parent
e1c6278c06
commit
0037300f15
2 changed files with 4 additions and 1 deletions
|
@ -251,7 +251,7 @@ Your selection [default 1]: ''',
|
||||||
body = StringIO.StringIO()
|
body = StringIO.StringIO()
|
||||||
for key, value in data.items():
|
for key, value in data.items():
|
||||||
# handle multiple entries for the same name
|
# handle multiple entries for the same name
|
||||||
if type(value) != type([]):
|
if type(value) not in (type([]), type( () )):
|
||||||
value = [value]
|
value = [value]
|
||||||
for value in value:
|
for value in value:
|
||||||
value = unicode(value).encode("utf-8")
|
value = unicode(value).encode("utf-8")
|
||||||
|
|
|
@ -65,6 +65,9 @@ Library
|
||||||
- Bug #1446043: correctly raise a LookupError if an encoding name given
|
- Bug #1446043: correctly raise a LookupError if an encoding name given
|
||||||
to encodings.search_function() contains a dot.
|
to encodings.search_function() contains a dot.
|
||||||
|
|
||||||
|
- Bug #1545341: The 'classifier' keyword argument to the Distutils setup()
|
||||||
|
function now accepts tuples as well as lists.
|
||||||
|
|
||||||
- Bug #1560617: in pyclbr, return full module name not only for classes,
|
- Bug #1560617: in pyclbr, return full module name not only for classes,
|
||||||
but also for functions.
|
but also for functions.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue