Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] folding cElementTree behind ElementTree in 3.3

Nick Coghlanncoghlan at gmail.com
Wed Feb 8 05:15:26 CET 2012


On Wed, Feb 8, 2012 at 1:59 PM, Eli Bendersky <eliben at gmail.com> wrote:> Is there a good reason why xml.etree.ElementTree /> xml.etree.cElementTree did not "receive this treatment"?See PEP 360, which lists "Externally Maintained Packages". In the pastwe allowed additions to the standard library without requiring thatthe standard library version become the master version. These days weexpect python.org to become the master version, perhaps with backportsand experimental features published on PyPI (cf. packaging vsdistutils2, unittest vs unittest, contextlib vs contextlib2).ElementTree was one of the last of those externally maintained modulesadded to the standard library - as documented in the PEP, it's stillofficially maintained by Fredrik Lundh. Folding the twoimplementations together in the standard library would mean officiallydeclaring that xml.etree is now an independently maintained fork ofFredrik's version rather than just a "snapshot in time" of aparticular version (which is what it has been historically).So the reasons for keeping these two separate to date isn't technical,it's because Fredrik publishes them as separate modules.Regards,Nick.-- Nick Coghlan   |  ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp