Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-06 Thread Mikhail Sobolev
Adam, It was suggested that this very bug (127405) is the only one that keeps python2.1-xml (0.7-1) to get through to the testing. I was said that it's just a matter of days (a couple or so). If you think that we should not be that strict, I can put a "dirty hack" which would make the stuff wor

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-06 Thread Mikhail Sobolev
On Sat, Jan 05, 2002 at 12:03:53PM +0100, J?r?me Marant wrote: > Mikhail Sobolev <[EMAIL PROTECTED]> writes: > > > JFYI, engine is a wrapper over iconv interface. When all this was started, the > > latest version of python was 1.5.2, and there was no way to work with iconv. > > But python 2.1

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-06 Thread Jérôme Marant
Mikhail Sobolev <[EMAIL PROTECTED]> writes: > JFYI, engine is a wrapper over iconv interface. When all this was started, the > latest version of python was 1.5.2, and there was no way to work with iconv. But python 2.1 neither provide a way to access iconv, IIRC. -- Jérôme Marant <[EMAIL PR

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-06 Thread Mikhail Sobolev
On Thu, Jan 03, 2002 at 07:24:36AM +0100, J?r?me Marant wrote: > Junichi Uekawa <[EMAIL PROTECTED]> writes: > > > ermmm.. that makes this code unnecessarily large. > > > > Why is it not enough to specify 'utf-8' in here ? > > > > for lang in what: > > if do_convert: > >

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-02 Thread Jérôme Marant
Junichi Uekawa <[EMAIL PROTECTED]> writes: > ermmm.. that makes this code unnecessarily large. > > Why is it not enough to specify 'utf-8' in here ? > > for lang in what: > if do_convert: > e = engine ('utf-8', lang.charset) > else: > e = do_not_conve

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-02 Thread Junichi Uekawa
> > outfile.write ('"%s",\n' % e.convert(lang.name).encode('utf-8')) > > > > but according to the code, you'll have to do this only if you want > > to convert. So, if it were me, I would separate the 2 cases. The following is a patch to work around this, but it will only work for UTF-

Re: Bug#127405: latest python2.1-xml breaks boot-floppies build system.

2002-01-02 Thread Junichi Uekawa
> Something like that makes it work: > > outfile.write ('"%s",\n' % e.convert(lang.name).encode('utf-8')) > > but according to the code, you'll have to do this only if you want > to convert. So, if it were me, I would separate the 2 cases. ermmm.. that makes this code unnecessari