[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2022-03-22 Thread Irit Katriel


Irit Katriel  added the comment:

> We are currently debating to bring the module back and warn users that it 
> will be removed in 3.10.


Doesn't look like it was removed in 3.10. Was this an oversight?

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-20 Thread Ido Michael


Ido Michael  added the comment:

Thanks Tal.

Yes, I also got the impression we want to clean this, sorry Christian.

Please let me know how to follow up on this.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-08 Thread Tal Einat


Tal Einat  added the comment:

Ah, thanks for the update Christian, I must have misunderstood your intentions.

So should the deprecation note be removed in the "master" branch for 3.10?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-08 Thread Christian Heimes


Christian Heimes  added the comment:

No, please don't change the docs yet. I want to re-introduce the cElementTree 
and go through a proper deprecation phase.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-08 Thread Tal Einat


Tal Einat  added the comment:

(My mistake! This should be done from/against the master branch, and then 
back-ported to 3.9, as usual.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-08 Thread Tal Einat


Tal Einat  added the comment:

(Also, please note that the "master" branch is now for version 3.10; PRs for 
version 3.9 should be based on the "3.9" branch, and the pull request made for 
that branch too.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-08 Thread Tal Einat


Tal Einat  added the comment:

AFAICT from following the discussion, the decision is to hold off on a few 
deprecations which were causing most of the breakage. However, this does not 
appear to include xml.etree.cElementTree. Since that has currently been removed 
in the 3.9 branch, we should indeed fix the docs accordingly.

(Note that previous versions' docs, especially 3.8, should also be updated in 
this regard, as per the other issue Fred opened about this, #40064.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-06-06 Thread Ido Michael


Ido Michael  added the comment:

Tal, is there a decision to this debate or can I just move the dep. warning?

--
nosy: +Ido Michael, taleinat

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-05-20 Thread Manjusaka


Manjusaka  added the comment:

I'm working on it. I will make a PR today.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-05-20 Thread Christian Heimes


Christian Heimes  added the comment:

Although the modules has been deprecated for a long time, the removal came as 
surprise. We are currently debating to bring the module back and warn users 
that it will be removed in 3.10.

--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-05-20 Thread Florian Dahlitz


Florian Dahlitz  added the comment:

Are you still working on this @Manjusaka?
If not, I would like to submit a patch for it.

--
nosy: +DahlitzFlorian

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-04-12 Thread Cajetan Rodrigues


Cajetan Rodrigues  added the comment:

For the record, I submitted a fix to the dependent:

https://github.com/boto/botocore/pull/2015

--
nosy: +Cajetan Rodrigues

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-26 Thread Fred Drake


Fred Drake  added the comment:

The Python 2.7 documentation was not clear that xml.etree.cElementTree was 
optional, so users who didn't dive into the implementation or build process 
could easily not have known unless someone with a more limited installation 
used their code.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-26 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

The common idiom is

try:
import xml.etree.cElementTree as ET
except ImportError:
import xml.etree.ElementTree as ET

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-26 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Thank you for catching this Fred. I am surprised that some code uses 
xml.etree.cElementTree without falling back to xml.etree.ElementTree. In Python 
3 you can just use xml.etree.ElementTree, in Python 2 you have to fallback to 
the Python implementation because the C implementation was optional.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-26 Thread Fred Drake


Fred Drake  added the comment:

Same core problem (module removed with insufficient document update), but a 
different action is needed for 3.8 and 3.9.

When I started testing an application with 3.9 and found one of the 
dependencies broken because it was relying directly on xml.etree.cElementTree, 
I had to dig into the history to determine that it was removed intentionally.  
Updated documentation would have helped.

I did file an issue on the dependency as well:
https://github.com/boto/botocore/issues/2002

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-26 Thread Manjusaka


Manjusaka  added the comment:

I will clean this

This issue looks like the same with https://bugs.python.org/issue40064

--
nosy: +Manjusaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-25 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-25 Thread Fred Drake


New submission from Fred Drake :

Since xml.etree.cElementTree does not exist in Python 3.9, the statement that 
it's deprecated should be removed from the documentation.

--
assignee: docs@python
components: Documentation
keywords: easy
messages: 365016
nosy: docs@python, fdrake
priority: normal
severity: normal
status: open
title: py39: remove deprecation note for xml.etree.cElementTree
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com