Re: encode() question
- From: Marc 'BlackJack' Rintsch <bj_666@xxxxxxx>
- Date: 31 Jul 2007 19:41:48 GMT
On Tue, 31 Jul 2007 10:45:26 -0700, 7stud wrote:
On Jul 31, 11:18 am, "Gabriel Genellina" <gagsl-...@xxxxxxxxxxxx>
wrote:
str.decode and unicode.encode should NOT exist, or at least issue a
warning (IMHO).
Yes, that sounds like a good idea.
It sounds like horrible idea as those are the ones that are really needed.
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.
Ciao,
Marc 'BlackJack' Rintsch
.
- Follow-Ups:
- Re: encode() question
- From: "Martin v. Löwis"
- Re: encode() question
- References:
- encode() question
- From: 7stud
- Re: encode() question
- From: Gabriel Genellina
- Re: encode() question
- From: 7stud
- encode() question
- Prev by Date: Creating a shared object in python
- Next by Date: Re: Process Control Help
- Previous by thread: Re: encode() question
- Next by thread: Re: encode() question
- Index(es):
Relevant Pages
|