Hi, Pablo.

I just submitted the PEP 686 to the SC.
https://github.com/python/steering-council/issues/118

In this PEP, I am proposing:

a. Small improvement for UTF-8 mode in Python 3.11
b. Make UTF-8 mode default in Python 3.13.

(a) is an important change for (b) so I included it in the PEP.
More precisely, (a) contains two changes:

* Making `open(path, encoding="locale")` use locale encoding in UTF-8
mode (Python 3.10 used UTF-8)
* Add `locale.getencoding()` that is same to
`locale.getpreferredencoding(False)` but returns locale encoding even
in UTF-8 mode.

These changes are important for (b).
But they are not a big change needing PEP.

What should I do?

* Do not merge anything until PEP accepted.
* Merge (a) without waiting PEP accepted.
* Merge (a) and remove it from the PEP.

FWI, I and Victor are implementing `locale.getencoding()` for now.

https://bugs.python.org/issue47000
https://github.com/python/cpython/pull/32068

Regards,
-- 
Inada Naoki  <songofaca...@gmail.com>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/7E4QEKZ6HNDDPDL76LP3TBBKLAUQ7AHB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to