Re: encode() question
- From: "Martin v. Löwis" <martin@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 22:31:46 +0200
str.decode and unicode.encode should NOT exist, or at least issue aYes, that sounds like a good idea.
warning (IMHO).
It sounds like horrible idea as those are the ones that are really needed.
Correct.
One could argue about `str.encode` and `unicode.decode`. But there are at
least uses for `str.encode` like 'sting-escape', 'hex', 'bz2', 'base64'
etc.
Indeed, in Py3k, those will be gone.
Regards,
Martin
.
- References:
- encode() question
- From: 7stud
- Re: encode() question
- From: Gabriel Genellina
- Re: encode() question
- From: 7stud
- Re: encode() question
- From: Marc 'BlackJack' Rintsch
- encode() question
- Prev by Date: split a string of space separated substrings - elegant solution?
- Next by Date: Live editing...
- Previous by thread: Re: encode() question
- Next by thread: Encryption recommendation
- Index(es):