[Python-Dev] accept string in a2b and base64?

Nick Coghlan ncoghlan at gmail.com
Tue Feb 21 13:49:09 CET 2012


On Tue, Feb 21, 2012 at 10:28 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> So it's like typing `open(b"LICENSE", "r")`: the fast that `b"LICENSE"`
> is bytes while `"r"` is str isn't really a problem.

Ah, right - I misunderstood how the different arguments were being used.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list