Author vstinner
Recipients eric.araujo, eric.smith, ncoghlan, pitrou, r.david.murray, vstinner
Date 2010-09-30.10:59:29
SpamBayes Score 3.53647e-06
Marked as misclassified No
Message-id <>
> Option 2 (the alternative Antoine suggested and I'm considering):
> - "decode" ... to str ...
> - ... objects are "encoded" back to actual bytes before 
>   they are returned

In this case, you have to be very careful to not mix str and bytes decoded to str using a pseudo-encoding. Dummy example: urljoin('unicode', b'bytes') should raise an error.

I don't care of the internals if you write tests to ensure that it is not possible to mix str and bytes with the public API.
Date User Action Args
2010-09-30 10:59:31vstinnersetrecipients: + vstinner, ncoghlan, pitrou, eric.smith, eric.araujo, r.david.murray
2010-09-30 10:59:31vstinnersetmessageid: <>
2010-09-30 10:59:30vstinnerlinkissue9873 messages
2010-09-30 10:59:29vstinnercreate