gh-47061: Deprecate chunk (GH-91419)

This commit is contained in:
Brett Cannon 2022-04-11 15:02:41 -07:00 committed by GitHub
parent 8be8949116
commit 3869a839d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 124 additions and 4 deletions

View file

@ -255,7 +255,9 @@ def _write_float(f, x):
_write_ulong(f, himant)
_write_ulong(f, lomant)
from chunk import Chunk
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
from chunk import Chunk
from collections import namedtuple
_aifc_params = namedtuple('_aifc_params',