Re: [Python-Dev] Proposal for new 2to23 tool

2007-11-11 Thread Jan Claeys
Op zondag 11-11-2007 om 17:19 uur [tijdzone -0800], schreef Brett Cannon: > On Nov 11, 2007 4:00 PM, Graham Horler <[EMAIL PROTECTED]> wrote: > > I have been developing in Python since 1.5, and now have to support 2.1 > > as a minimum version. I do like to keep my code runnable on newer > > versio

Re: [Python-Dev] Proposal for new 2to23 tool

2007-11-11 Thread Brett Cannon
On Nov 11, 2007 4:00 PM, Graham Horler <[EMAIL PROTECTED]> wrote: > I have been developing in Python since 1.5, and now have to support 2.1 > as a minimum version. I do like to keep my code runnable on newer > versions however, and am considering the feasability of forward > compatibility with Pyt

[Python-Dev] Proposal for new 2to23 tool

2007-11-11 Thread Graham Horler
I have been developing in Python since 1.5, and now have to support 2.1 as a minimum version. I do like to keep my code runnable on newer versions however, and am considering the feasability of forward compatibility with Python 3.0. I also notice the Leo[1] project could use some assistance with

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
>>> First, XML-RPC is not the only mechanism using XML over a network >>> connection. Second, you don't want to do this if you're dealing >>> with several 100 MB of data just because you want to figure >>> out the encoding. >> That's my original claim/question: what SPECIFIC application do >> you h

Re: [Python-Dev] XML codec?

2007-11-11 Thread M.-A. Lemburg
On 2007-11-11 18:56, Martin v. Löwis wrote: >> First, XML-RPC is not the only mechanism using XML over a network >> connection. Second, you don't want to do this if you're dealing >> with several 100 MB of data just because you want to figure >> out the encoding. > > That's my original claim/quest

[Python-Dev] Summary of Tracker Issues

2007-11-11 Thread Tracker
ACTIVITY SUMMARY (11/04/07 - 11/11/07) Tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1323 open (+21) / 11582 closed (+19) / 12905 total (+40) Open issues with patches: 419 Average durati

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
> First, XML-RPC is not the only mechanism using XML over a network > connection. Second, you don't want to do this if you're dealing > with several 100 MB of data just because you want to figure > out the encoding. That's my original claim/question: what SPECIFIC application do you have in mind t

Re: [Python-Dev] XML codec?

2007-11-11 Thread M.-A. Lemburg
On 2007-11-11 14:51, Martin v. Löwis wrote: A non-seekable stream is not all that uncommon in network processing. >>> Right. But what is the relationship to XML encoding autodetection? >> It pops up whenever you need to detect the encoding of the >> incoming XML data on the network connection,

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
>>> A non-seekable stream is not all that uncommon in network processing. >> Right. But what is the relationship to XML encoding autodetection? > > It pops up whenever you need to detect the encoding of the > incoming XML data on the network connection, e.g. in XML RPC > or data upload mechanisms.

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
> I don't know. Is an XML document ill-formed if it doesn't contain an > XML declaration, is not in UTF-8 or UTF-8, but there's external > encoding info? If there is external encoding info, matching the actual encoding, it would be well-formed. Of course, preserving that information would be up to

Re: [Python-Dev] XML codec?

2007-11-11 Thread M.-A. Lemburg
On 2007-11-10 09:54, Martin v. Löwis wrote: >> A non-seekable stream is not all that uncommon in network processing. > > Right. But what is the relationship to XML encoding autodetection? It pops up whenever you need to detect the encoding of the incoming XML data on the network connection, e.g.