[Python-Dev] iso-2022 and issue 7472: question for the experts

2010-04-07 Thread Stephen J. Turnbull
R. David Murray writes: > A long time ago (in a galaxy far far...no, wrong show) > > Er, as I was saying, a long time ago Barry applied a patch to > email that went more or less like this: > > ndex: email/Encoders.py > === >

Re: [Python-Dev] iso-2022 and issue 7472: question for the experts

2010-04-06 Thread R. David Murray
On Wed, 07 Apr 2010 02:18:13 +0200, =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= wrote: > > Can someone (Steve Turnbull?) confirm or refute my analysis? > > Refute, see http://bugs.python.org/issue804885 > > > ISO-2022 input will > > be 7-bit, and the except will not trigger > > This conclusion

Re: [Python-Dev] iso-2022 and issue 7472: question for the experts

2010-04-06 Thread Martin v. Löwis
> Can someone (Steve Turnbull?) confirm or refute my analysis? Refute, see http://bugs.python.org/issue804885 > ISO-2022 input will > be 7-bit, and the except will not trigger This conclusion is false: 1. it is 7-bit py> unichr(913).encode("iso-2022-jp") '\x1b$B&!\x1b(B' 2. the except *will*

[Python-Dev] iso-2022 and issue 7472: question for the experts

2010-04-06 Thread R. David Murray
A long time ago (in a galaxy far far...no, wrong show) Er, as I was saying, a long time ago Barry applied a patch to email that went more or less like this: ndex: email/Encoders.py === --- email/Encoders.py (revision 35918) +++ ema