[issue29209] Remove old-deprecated ElementTree features

2019-04-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The rest will be removed in issue36543. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29209] Remove old-deprecated ElementTree features

2019-04-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: This should be closed. -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue29209] Remove old-deprecated ElementTree features

2018-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 02ec92fa7b1dddc23d479ee0b87dc283793505a8 by Serhiy Storchaka in branch 'master': bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769) https://github.com/python/cpython/commit/02ec92fa7b1dddc23d479ee0b87dc283793505a8 --

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The following two patches will remove getchildren() and getiterator() (in 3.9) and xml.etree.cElementTree (in an unspecified future). -- Added file: https://bugs.python.org/file47584/etree_remove_deprecated_getiterator.diff

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : Added file: https://bugs.python.org/file47585/etree_remove_deprecated_cElementTree.diff ___ Python tracker ___

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 6769 removes the html parameter and the doctype() method. getchildren() and getiterator() emit now a DeprecationWarning instead of PendingDeprecationWarning and will be removed in 3.9. -- ___ Python tracker <

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6457 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29209] Remove old-deprecated ElementTree features

2018-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: getchildren() and getiterator() have deprecation notes in their docstrings in lxml.etree. -- ___ Python tracker ___ ___

[issue29209] Remove old-deprecated ElementTree features

2018-01-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Serhiy, Did you want to revive this for 3.8? -- nosy: +csabella ___ Python tracker ___ ___ Python

[issue29209] Remove old-deprecated ElementTree features

2018-01-13 Thread Stefan Behnel
Stefan Behnel added the comment: Patch looks right to me. I'd personally be ok with applying it to 3.7, but I'll leave the decision to you. Most of the removed "features" are non-controversial, except: - "getchildren()" is probably still in use, also because it's more efficient than "list(el

[issue29209] Remove old-deprecated ElementTree features

2017-12-24 Thread Gordon P. Hemsley
Change by Gordon P. Hemsley : -- nosy: +gphemsley ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29209] Remove old-deprecated ElementTree features

2017-01-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Add code deprecations in ElementTree ___ Python tracker ___ ___ Python-bugs-list maili

[issue29209] Remove old-deprecated ElementTree features

2017-01-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch removes old-deprecated ElementTree features. * Methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() deprecated in 2.7 and 3.2. Use list(elem) or iteration instead of getchildren(), methods iter() instead of get