[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2021-09-01 Thread STINNER Victor
Change by STINNER Victor : -- title: Deprecate the binhex module -> Deprecate the binhex module, binhex4 and hexbin4 standards ___ Python tracker ___

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-30 Thread Martin Panter
Martin Panter added the comment: Thanks Victor -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-30 Thread STINNER Victor
STINNER Victor added the comment: binascii.crc_hqx() is no longer deprecated. I close again the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f by Victor Stinner in branch 'master': bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276) https://github.com/python/cpython/commit/c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f --

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-30 Thread STINNER Victor
STINNER Victor added the comment: > Of course I would prefer “crc_hqx” to stay, because we use it at work. I propose to deprecate it because I understood that it was strictly related to binhex4 and hexbin4 protocols. If there is an use case outside these protocols, I'm fine with maintaining

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17651 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/18276 ___ Python tracker ___

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-24 Thread Martin Panter
Martin Panter added the comment: Of course I would prefer “crc_hqx” to stay, because we use it at work. But I understand if you think it is not popular enough to justify maintaining it. But I was more asking if the deprecation notice should point the way forward. This function is no longer

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-24 Thread STINNER Victor
STINNER Victor added the comment: > Building and verifying the checksum in "RTA protocol" that uses this: (...) Are you simply asking to not deprecate binascii.crc_hqx()? -- ___ Python tracker

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread Martin Panter
Martin Panter added the comment: Building and verifying the checksum in "RTA protocol" that uses this: . But I understand CRC-CCITT is one of the two popular 16-bit CRC polynomials, used in

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread STINNER Victor
STINNER Victor added the comment: > Is there a recommended replacement for calculating CRC-CCITT? Do it yourself > in Python code, or use a particular external module? What is your use case? -- ___ Python tracker

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread Martin Panter
Martin Panter added the comment: Is there a recommended replacement for calculating CRC-CCITT? Do it yourself in Python code, or use a particular external module? -- nosy: +martin.panter ___ Python tracker

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread STINNER Victor
STINNER Victor added the comment: > I agree with deprecating binhex. Good :-) It's now deprecated. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset beea26b57e8c80f1eff0f967a0f9d083a7dc3d66 by Victor Stinner in branch 'master': bpo-39353: Deprecate the binhex module (GH-18025) https://github.com/python/cpython/commit/beea26b57e8c80f1eff0f967a0f9d083a7dc3d66 --

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with deprecating binhex. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-17 Thread STINNER Victor
STINNER Victor added the comment: BinHex format: https://en.wikipedia.org/wiki/BinHex The question here is not only if binhex remains popular, but more generally if we want to continue to maintain it forever. Each module has a cost on the overall Python maintenance burden. --

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-17 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka asked: https://github.com/python/cpython/pull/18025#issuecomment-575645748 """ What is a benefit of deprecating it? This module is a high-level interface to several functions in the binascii module. This is all macOS specific stuff, so you

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-17 Thread STINNER Victor
STINNER Victor added the comment: > If deprecate the binhex module, we perhaps should deprecate also > binascii.b2a_hqx(), binascii.a2b_hqx(), binascii.rlecode_hqx(), > binascii.rledecode_hqx() and binascii.crc_hqx(). Ok, let's do that. I updated the issue title and my PR. --

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-17 Thread STINNER Victor
Change by STINNER Victor : -- title: Deprecate the binhex module -> Deprecate the binhex module, binhex4 and hexbin4 standards ___ Python tracker ___