This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Marco Sulla
Recipients Marco Sulla, berker.peksag, cryvate, eric.araujo, nascheme, ncoghlan, ned.deily, pitrou, serhiy.storchaka, tarek
Date 2020-03-04.19:52:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583351543.06.0.313026595265.issue19610@roundup.psfhosted.org>
In-reply-to
Content
This is IMHO broken.

1. _ensure_list() allows strings, because, documentation says, they are split in finalize_options(). But finalize_options() does only split keywords and platforms. It does _not_ split classifiers.

2. there's no need that keywords, platforms and classifiers must be a list. keywords and platforms can be any iterable, and classifiers can be any non text-like iterable. 

Indeed, keywords are written to file using ','.join(), and platforms and classifiers are written using DistributionMetadata._write_list(). They both accepts any iterable, so I do not understand why such a strict requirement.
History
Date User Action Args
2020-03-04 19:52:23Marco Sullasetrecipients: + Marco Sulla, nascheme, ncoghlan, pitrou, tarek, ned.deily, eric.araujo, berker.peksag, serhiy.storchaka, cryvate
2020-03-04 19:52:23Marco Sullasetmessageid: <1583351543.06.0.313026595265.issue19610@roundup.psfhosted.org>
2020-03-04 19:52:23Marco Sullalinkissue19610 messages
2020-03-04 19:52:23Marco Sullacreate