[ python-Bugs-1545341 ] setup() keyword have to be list (doesn't work with tuple)

SourceForge.net noreply at sourceforge.net
Wed Aug 23 16:49:52 CEST 2006


Bugs item #1545341, was opened at 2006-08-23 16:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1545341&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: STINNER Victor (haypo)
Assigned to: Nobody/Anonymous (nobody)
Summary: setup() keyword have to be list (doesn't work with tuple)

Initial Comment:
Code:
====================== 8< =====================
from distutils.core import setup
setup(..., classifier=('Intended Audience :: 
Developers', 'Environment :: Console :: 
Curses'), ...)
====================== 8< =====================

The query: "./setup.py register" will create HTML 
request:
----------------GHSKFJDLGDS7543FJKLFHRE75642756743254
Content-Disposition: form-data; name="classifiers"

('Intended Audience :: Developers', 'Environment :: 
Console :: Curses')

Instead of a multipart part for each value.

====

The bug is stupid, see attached patch.

Haypo

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1545341&group_id=5470


More information about the Python-bugs-list mailing list