bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found by ZackerySpytz · Pull Request #5240 · python/cpython

@ZackerySpytz

…SND chunk is not found

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.

@ZackerySpytz

serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 20, 2018
…SND chunk is not found (pythonGH-5240)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 20, 2018
…SND chunk is not found (pythonGH-5240)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 20, 2018
…SND chunk is not found (pythonGH-5240)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

miss-islington added a commit that referenced this pull request

Feb 20, 2018
…SND chunk is not found (GH-5240)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

miss-islington added a commit that referenced this pull request

Feb 20, 2018
…SND chunk is not found (GH-5240)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

serhiy-storchaka pushed a commit that referenced this pull request

Feb 21, 2018
… the SSND chunk is not found (GH-5240) (GH-5781)

Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
(cherry picked from commit 80d20b9)


Co-authored-by: Zackery Spytz <zspytz@gmail.com>