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 louielu
Recipients brett.cannon, louielu, serhiy.storchaka, svelankar
Date 2017-05-08.03:29:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@Brett, do you think if given a path-like dir, it should only be treated as `str`, or it could be `str` and `bytes`?

My PR is now treated path-like dir as `str`, not `bytes`.

This will affect at this places:

    tempfile.mkdtemp(dir=pathlike.Path(''), pre=b'', suf=b'')

Should it raise a TypeError (since we can't mix str and bytes), or it will convert path-like to bytes.
Date User Action Args
2017-05-08 03:29:54louielusetrecipients: + louielu, brett.cannon, serhiy.storchaka, svelankar
2017-05-08 03:29:54louielusetmessageid: <>
2017-05-08 03:29:54louielulinkissue29447 messages
2017-05-08 03:29:53louielucreate