Author terry.reedy
Recipients gbarnabic, serhiy.storchaka, terry.reedy
Date 2016-06-13.20:23:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
LGTM, but after applying to all 3, leave open (or open new issue) to replace patch in 3.6  (before beta 1).

Change signature to *items.  That will automatically make a single string become a len 1 tuple.  For selection (list the 4 selops and) add a note.  "For back compatibility, one may also pass a single tuple (or list?) of items." and Version Changed.  For 4 derivatives, 'See selection.' In the code, instead add (untested):

    if len(items) == 1:  # Remove after deprecation.
        item0 = items[0]
        if not isinstance(items[0], isinstance(str)):
            raise DeprecationWarning(
                 <level arg>
                 "The option of passing multiple items as a tuple "
                 "rather than as multiple items is deprecated and "
                 "will be removed in 2020 or later.")
            items = items0  # or more processing if lists were allowed

Revise test accordingly.
Date User Action Args
2016-06-13 20:23:09terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, gbarnabic
2016-06-13 20:23:09terry.reedysetmessageid: <>
2016-06-13 20:23:09terry.reedylinkissue26386 messages
2016-06-13 20:23:08terry.reedycreate