Bugs item #1545341, was opened at 2006-08-23 10:49 Message generated for change (Comment added) made by akuchling 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: Closed >Resolution: Fixed Priority: 5 Submitted By: STINNER Victor (haypo) Assigned to: A.M. Kuchling (akuchling) 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 ---------------------------------------------------------------------- >Comment By: A.M. Kuchling (akuchling) Date: 2006-10-09 13:16 Message: Logged In: YES user_id=11375 Committed to 2.4-maint in rev. 52244. Closing. Thanks for the bug report! ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2006-10-09 13:13 Message: Logged In: YES user_id=11375 Committed to 2.5-main in rev. 52243. ---------------------------------------------------------------------- Comment By: STINNER Victor (haypo) Date: 2006-10-06 12:12 Message: Logged In: YES user_id=365388 Ok nice ;-) ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2006-10-06 09:20 Message: Logged In: YES user_id=11375 Fix applied to trunk in rev. 52211; I'll backport to 2.5 and 2.4. The Distutils code is intended to be compatible with Python 2.1, so I've reworked the change to keep using type() instead of isinstance(). Patch attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1545341&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com