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 durin42
Recipients durin42, r.david.murray
Date 2015-05-18.17:24:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431969875.78.0.69349173215.issue24230@psf.upfronthosting.co.za>
In-reply-to
Content
Today we're doing something like this:

tmpdir = tempfile.mkdtemp('', 'hgtests.', d and d.decode('utf-8')).encode('utf-8')

but would rather have

tmpdir = tempfile.mkdtemp(b'', b'hgtests.', d)
# and now tmpdir is a bytestring containing the path to the tmpdir

basically, we want to maintain our pedantry around paths being sequences of bytes.
History
Date User Action Args
2015-05-18 17:24:35durin42setrecipients: + durin42, r.david.murray
2015-05-18 17:24:35durin42setmessageid: <1431969875.78.0.69349173215.issue24230@psf.upfronthosting.co.za>
2015-05-18 17:24:35durin42linkissue24230 messages
2015-05-18 17:24:35durin42create