[docutils:patches] #194 Deprecate PEP 263 coding slugs support

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/194/374acdada0c15d4f8f28cdd634a38e340c116462.patches@docutils.p.sourceforge.net>
See also the Docutils Enhancement Proposal at https://docutils.sourceforge.io/sandbox/enhancement-proposals/input-encoding/dep-999-input-encoding.txt

The attached patch set implements the changes announced in the RELEASE_NOTES.


Attachments:

- [0003-Document-input-encoding-auto-detection.patch](https://sourceforge.net/p/docutils/patches/_discuss/thread/d27c8d1320/c78d/attachment/0003-Document-input-encoding-auto-detection.patch) (7.4 kB; text/x-patch)
- [0001-Read-binary-data-and-decode-with-heuristics-if-input.patch](https://sourceforge.net/p/docutils/patches/_discuss/thread/d27c8d1320/c78d/attachment/0001-Read-binary-data-and-decode-with-heuristics-if-input.patch) (2.4 kB; text/x-patch)
- [0002-After-detecting-a-BOM-leave-handling-it-to-Python-s-.patch](https://sourceforge.net/p/docutils/patches/_discuss/thread/d27c8d1320/c78d/attachment/0002-After-detecting-a-BOM-leave-handling-it-to-Python-s-.patch) (7.8 kB; text/x-patch)


---

** [patches:#194] Deprecate PEP 263 coding slugs support**

**Status:** open
**Group:** None
**Created:** Thu Jun 09, 2022 10:48 PM UTC by Adam  Turner
**Last Updated:** Sun Jul 24, 2022 08:19 PM UTC
**Owner:** nobody
**Attachments:**

- [0001-Deprecate-PEP-263-coding-slugs.patch](https://sourceforge.net/p/docutils/patches/194/attachment/0001-Deprecate-PEP-263-coding-slugs.patch) (5.5 kB; application/octet-stream)


Python 3 uses utf-8 as the encoding for Python source files, there is no longer a compelling use-case for the support, which adds complexity to the IO implementation.

I propose deprecating support for removal in 1.0, but 2.0 might be a better option.

Support was added in [r4506].

A


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.