Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue24608

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Certain inputs to wave.open() result in readframes returning a str instead of bytes
Type:behaviorStage:resolved
Components:Library (Lib)Versions:Python 3.6, Python 3.4, Python 3.5
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: Christophe Biocca, python-dev, serhiy.storchaka
Priority:normalKeywords:

Created on2015-07-10 18:37 byChristophe Biocca, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
python_wave_error.pyChristophe Biocca,2015-07-10 18:37Simple script showing the issue.
Messages (3)
msg246575 -(view)Author: Christophe Biocca (Christophe Biocca)Date: 2015-07-10 18:37
Basically, some (malformed or empty?) WAV strings result in the empty string being returned when calling readframes.That string cannot be passed back to writeframes() without causing a crash, since it does not implement the buffer interface.
msg246578 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2015-07-10 19:27
New changeset9e035639516c by Serhiy Storchaka in branch '3.4':Issue#24608: chunk.Chunk.read() now always returns bytes, not str.https://hg.python.org/cpython/rev/9e035639516cNew changeset64b2d154a5db by Serhiy Storchaka in branch '3.5':Issue#24608: chunk.Chunk.read() now always returns bytes, not str.https://hg.python.org/cpython/rev/64b2d154a5dbNew changeset8befb15024b5 by Serhiy Storchaka in branch 'default':Issue#24608: chunk.Chunk.read() now always returns bytes, not str.https://hg.python.org/cpython/rev/8befb15024b5
msg246579 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2015-07-10 19:28
Thank you for your report Christophe.
History
DateUserActionArgs
2022-04-11 14:58:18adminsetgithub: 68796
2015-07-10 19:28:43serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg246579

stage: needs patch -> resolved
2015-07-10 19:27:18python-devsetnosy: +python-dev
messages: +msg246578
2015-07-10 19:21:03serhiy.storchakasetassignee:serhiy.storchaka
stage: needs patch

nosy: +serhiy.storchaka
versions: + Python 3.5, Python 3.6
2015-07-10 18:37:45Christophe Bioccacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp