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 <1494214194.06.0.564930354956.issue29447@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2017-05-08 03:29:54louielusetrecipients: + louielu, brett.cannon, serhiy.storchaka, svelankar
2017-05-08 03:29:54louielusetmessageid: <1494214194.06.0.564930354956.issue29447@psf.upfronthosting.co.za>
2017-05-08 03:29:54louielulinkissue29447 messages
2017-05-08 03:29:53louielucreate