commit | 1d3b0aaa54c56282c0a3e7fc396e5b1de8b1974e | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jan 17 15:17:48 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Jan 17 15:17:48 2020 +0100 |
tree | a8900b44518559521a9613fed4f71dce6422722f | |
parent | 10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71 [diff] |
bpo-39356, zipfile: Remove code handling DeprecationWarning (GH-18027) Remove old "except DeprecationWarning:" code path added by commit bf02e3bb21b2d75cba4ce409a14ae64dbc2dd6d2. It's no longer needed. struct.pack() no longer emit DeprecationWarning if getting a float whereas an integer is expected. It now raises an hard error instead.