[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-02 Thread Łukasz Langa
Łukasz Langa added the comment: Agreed with Victor. I'd go with the "traditional" flow of PendingDeprecationWarning in 3.9, DeprecationWarning in 3.10, and removal in 3.11; but since we kept DeprecationWarning for two releases, it's pretty much the same and fine to remove it now. --

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a8066087054417885db0a2dbdce2ddb2ac498247 by Victor Stinner in branch 'main': bpo-45085: Remove the binhex module (GH-28117) https://github.com/python/cpython/commit/a8066087054417885db0a2dbdce2ddb2ac498247 -- nosy: +lukasz.langa

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
STINNER Victor added the comment: In bpo-39353, Serhiy Storchaka proposed: "But it would be nice to create a separate package on PyPI that provides such functionality before removing it from the stdlib." The purpose of the PEP 594 is to reduce the Python maintenance burden. Publishing a mod

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
STINNER Victor added the comment: The binhex module was deprecated in Python 3.9 by bpo-39353 (commit beea26b57e8c80f1eff0f967a0f9d083a7dc3d66). I have been asked there to keep binascii.crc_hqx() (not deprecated it). -- ___ Python tracker

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
STINNER Victor added the comment: See also the PEP 594: Removing dead batteries from the standard library https://www.python.org/dev/peps/pep-0594/ -- ___ Python tracker ___ _

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +26558 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28117 ___ Python tracker ___ _

[issue45085] Remove the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
New submission from STINNER Victor : The binhex module was deprecated in Python 3.9 by bpo-39353 (commit beea26b57e8c80f1eff0f967a0f9d083a7dc3d66). I propose to remove it: see attached PR. The PR also removes the following binascii functions, also deprecated in Python 3.9: * a2b_hqx(), b2a_