[Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3 (original) (raw)
KH Luke Kim khlukekim at gmail.com
Tue Dec 13 08:47:33 EST 2016
- Previous message (by thread): [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3
- Next message (by thread): [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
2016-12-13 22:37 GMT+09:00 MRAB <python at mrabarnett.plus.com>:
On 2016-12-13 11:31, KH Luke Kim wrote:
Hello, recently there had been some issues in audioread and librosa that 3-byte samples can be loaded in Python 3 but 2.
The documentation says that the audioop.lin2lin function in Python 3 support 1-, 2-, 3-, 4-byte samples but only 1-, 2-, 4-byte samples in Python 2. I wonder why 3-byte support is not implemented in Python 2. If there is any previous thread or history regarding this issue, could you refer it to me? 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!
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/khlukekim %40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20161213/6991652e/attachment-0001.html>
- Previous message (by thread): [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3
- Next message (by thread): [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]