<div dir="ltr">Yeah, but is it supposed to be avoided to apply new features in Python 3.x to Python 2.x? Sorry if there's already a consensus.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-13 22:37 GMT+09:00 MRAB <span dir="ltr"><<a href="mailto:python@mrabarnett.plus.com" target="_blank">python@mrabarnett.plus.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-12-13 11:31, KH Luke Kim wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
recently there had been some issues in audioread and librosa that 3-byte<br>
samples can be loaded in Python 3 but 2.<br>
<br>
The documentation says that the audioop.lin2lin function in Python 3<br>
support 1-, 2-, 3-, 4-byte samples but only 1-, 2-, 4-byte samples in<br>
Python 2.<br>
<br>
I wonder why 3-byte support is not implemented in Python 2. If there is<br>
any previous thread or history regarding this issue, could you refer it<br>
to me?<br>
<br>
</blockquote></span>
The Python docs say that support for 3-byte (24-bit) samples was added in Python 3.4, so anyone using a version before that one is out of luck!<br>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/khlukekim%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/options/python-dev/khlukekim<wbr>%40gmail.com</a><br>
</blockquote></div><br></div>