Re: ElementTree - Why not part of the core?

2005-12-14 Thread Gregory Petrosyan
[EMAIL PROTECTED]:~$ python Python 2.5a0 (#4, Dec 14 2005, 22:08:59) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from xml.etree import ElementTree as ET >>> ET >>> Thanks for fix. -- http://mail.python.org/mailman/l

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Fredrik Lundh
> > When launching ./python from ./trunk, everything is OK. Is it a problem > > with me or with installation? > > things are being moved around, and installation seems to be broken at the > moment (it doesn't install the Lib/xmlcore tree) if you have time, can you update and try again ? (let me k

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Fredrik Lundh
Gregory Petrosyan wrote: > This I've got after > > make install > > and > > [EMAIL PROTECTED]:~$ python > > When launching ./python from ./trunk, everything is OK. Is it a problem > with me or with installation? things are being moved around, and installation seems to be broken at the moment (it

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Fredrik Lundh
Istvan Albert wrote: > don't know how this works, the link now seems to be: > > http://svn.python.org/view/python/trunk/Lib/xmlcore/etree/ people are moving things around, but xml.etree.ElementTree should still work when they're done. ("xml" dispatches to either xmlcore or _xmlplus, depending on

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Steve Holden
Istvan Albert wrote: >>$ python >>Python 2.5a0 (#1, Dec 12 2005, 19:26:49) >> import xml.etree.ElementTree as ET > > > hip hip hurray! > > >>http://svn.python.org/view/python/trunk/Lib/xml/etree/ > > > don't know how this works, the link now seems to be: > > http://svn.python.org/view/py

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Istvan Albert
> $ python > Python 2.5a0 (#1, Dec 12 2005, 19:26:49) >>> import xml.etree.ElementTree as ET hip hip hurray! > http://svn.python.org/view/python/trunk/Lib/xml/etree/ don't know how this works, the link now seems to be: http://svn.python.org/view/python/trunk/Lib/xmlcore/etree/ -- http://mail.

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Gregory Petrosyan
This I've got after make install and [EMAIL PROTECTED]:~$ python When launching ./python from ./trunk, everything is OK. Is it a problem with me or with installation? -- http://mail.python.org/mailman/listinfo/python-list

Re: ElementTree - Why not part of the core?

2005-12-14 Thread Gregory Petrosyan
[EMAIL PROTECTED]:~$ python Python 2.5a0 (#1, Dec 14 2005, 14:11:55) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import xml.etree.ElementTree as ET Traceback (most recent call last): File "", line 1, in File "/usr/l

Re: ElementTree - Why not part of the core?

2005-12-13 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > ElementTree on the other hand provides incredibly easy access to XML > elements and works in a more Pythonic way. Why has the API not been > included in the Python core? $ svn up $ make ... $ python Python 2.5a0 (#1, Dec 12 2005, 19:26:49) >>> import xml.etree.Element

Re: ElementTree - Why not part of the core?

2005-12-09 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > >> ElementTree on the other hand provides incredibly easy access to XML > >> elements and works in a more Pythonic way. Why has the API not been > >> included in the Python core? > > Magnus> I'd really like to see that too. Sure, it's fairly trivial to >

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Steven Bethard
[EMAIL PROTECTED] wrote: > I think the key here is ElementTree's Pythoninc API. While it's clearly > possible to install it as a third-party package, I think there's a clear > best-of-breed aspect here that suggests it belongs in the standard > distribution simply to discourage continued use of DO

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Jeremy Hylton
> I still hope that the standard distribution will, in a not too distant future, > bundle more external libraries. as things are today, "including something > in the core" means that you have to transfer code and rights to the PSF. Your description of how to include something in the core isn't en

Re: ElementTree - Why not part of the core?

2005-12-08 Thread skip
>> ElementTree on the other hand provides incredibly easy access to XML >> elements and works in a more Pythonic way. Why has the API not been >> included in the Python core? I think the key here is ElementTree's Pythoninc API. While it's clearly possible to install it as a third-pa

Re: ElementTree - Why not part of the core?

2005-12-08 Thread skip
>> ElementTree on the other hand provides incredibly easy access to XML >> elements and works in a more Pythonic way. Why has the API not been >> included in the Python core? Magnus> I'd really like to see that too. Sure, it's fairly trivial to Magnus> install it, but each di

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Magnus Lycka
Fredrik Lundh wrote: > but seriously, given how easy it is to build things with distutils, I don't > think your > configuration folks would have much trouble adding support for "anything that > has > a setup file, and is reasonably self-contained" to their build scripts. True. It's one more thin

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Giovanni Bajo
Giovanni Bajo wrote: > One thing I really fear about the otherwise great EasyInstall (and > Python Eggs) is that we could forget about... ... how important is to have a standard library. The fact that it's easy to install external modules shouldn't make us drop the standard library. A standard li

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Giovanni Bajo
[EMAIL PROTECTED] wrote: >> I think some people were hoping that instead of adding these things >> to >> the standard library, we would come up with a better package manager >> that would make adding these things to your local library much >> simpler. >> >> STeVe >> >> [1]http://www.python.org/dev

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Fuzzyman
Fredrik Lundh wrote: > Steven Bethard wrote: > > > > ElementTree on the other hand provides incredibly easy access to XML > > > elements and works in a more Pythonic way. Why has the API not been > > > included in the Python core? > > > > While I fully agree that ElementTree is far more Pythonic

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Fredrik Lundh
Magnus Lycka wrote: > We're deploying our software on a number of different platforms. We > certainly depend on Python, so a standard Python install will always > be included. Using standard library modules is for free. Using yet > another third party library has a cost, even if some Cheese Shop o

Re: ElementTree - Why not part of the core?

2005-12-08 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > ElementTree on the other hand provides incredibly easy access to XML > elements and works in a more Pythonic way. Why has the API not been > included in the Python core? I'd really like to see that too. Sure, it's fairly trivial to install it, but each different package

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: ... > seems to be asking a lot for some people.) And at some > companies, one has to jump though beauracratic hoops > for each external package installed. And I personally > stear away from packages that have a long list of > prerequisites. Funny -- me, I prefer to

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Mike Meyer
"Fredrik Lundh" <[EMAIL PROTECTED]> writes: > as I've said many times, if the Linux folks can build distributions that con- > sists of thousands of individually maintained pieces, the Python distributors > should be able to handle a few dozen components. Yes, but "distributers" is not necessarily

Re: ElementTree - Why not part of the core?

2005-12-07 Thread rurpy
Steven Bethard wrote: --snip-- > I think some people were hoping that instead of adding these things to > the standard library, we would come up with a better package manager > that would make adding these things to your local library much simpler. > > STeVe > > [1]http://www.python.org/dev/summar

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Simon Percivall
Before that can happen we'll need some better management of co-existing different versions of a package. You'll want to be able to use newer versions of external packages without breakage in the standard library. -- http://mail.python.org/mailman/listinfo/python-list

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Fredrik Lundh
Steven Bethard wrote: > > ElementTree on the other hand provides incredibly easy access to XML > > elements and works in a more Pythonic way. Why has the API not been > > included in the Python core? > > While I fully agree that ElementTree is far more Pythonic than the > dom-based stuff in the c

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Jarek Zgoda
Steven Bethard napisaƂ(a): >> ElementTree on the other hand provides incredibly easy access to XML >> elements and works in a more Pythonic way. Why has the API not been >> included in the Python core? > > While I fully agree that ElementTree is far more Pythonic than the > dom-based stuff in th

Re: ElementTree - Why not part of the core?

2005-12-07 Thread Steven Bethard
[EMAIL PROTECTED] wrote: > ElementTree on the other hand provides incredibly easy access to XML > elements and works in a more Pythonic way. Why has the API not been > included in the Python core? While I fully agree that ElementTree is far more Pythonic than the dom-based stuff in the core, thi

Re: ElementTree - Why not part of the core?

2005-12-07 Thread jelle
Doug, I agree with you, ElementTree is fast & pythonic. Certainly does make sense to me. -- http://mail.python.org/mailman/listinfo/python-list

ElementTree - Why not part of the core?

2005-12-07 Thread doug . bromley
Why is the ElementTree API not a part of the Python core? I've recently been developing a script for accessing the Miva API only to find all the core API's provided by Python for parsing XML is messy and complicated. Many of the examples I see for parsing the data using these API's uses a similar