Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39353: Deprecate the binhex module #18025
Conversation
This comment has been minimized.
This comment has been minimized.
cc @tiran |
This comment has been minimized.
This comment has been minimized.
@serhiy-storchaka: Does you expect any issue just by marking the module as deprecated in 3.9? |
This comment has been minimized.
This comment has been minimized.
What is a benefit of deprecating it? This module is a high-level interface to several functions in the |
This comment has been minimized.
This comment has been minimized.
If deprecate the binhex module, I think that it would be better to deprecate corresponding functions in the binascii module in the same issue and PR, so it will be easier to find the original discussion. |
f99007d
to
09f5a4c
This comment has been minimized.
This comment has been minimized.
Ok. Let's do that. I added a second commit which deprecates the 5 related functions of the binascii module. I'm not sure about the binhex code to avoid emitting warnings on calls to deprecated binascii functions:
Let me answer on the issue instead. |
LGTM |
import unittest | ||
from test import support | ||
|
||
with support.check_warnings(('', DeprecationWarning)): | ||
import binhex |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vstinner
Jan 22, 2020
Author
Member
The full test suite pass with -Werror, except of test_signal which is unrelated to this PR: https://bugs.python.org/issue39424
Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module and the following binascii functions: * b2a_hqx(), a2b_hqx() * rlecode_hqx(), rledecode_hqx() * crc_hqx()
beea26b
into
python:master
This comment has been minimized.
This comment has been minimized.
@serhiy-storchaka: Thank you for insisting to also deprecate related binascii functions. You're right that it's more consistent. |
vstinner commentedJan 16, 2020
•
edited by bedevere-bot
https://bugs.python.org/issue39353