This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thruston
Recipients serhiy.storchaka, thruston, xiang.zhang
Date 2017-04-16.21:50:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492379403.77.0.536849794266.issue30077@psf.upfronthosting.co.za>
In-reply-to
Content
I think it's probably better as a no-op.  Currently in my patch I just put 

    return data

You could do

    return data[::-1]

to reverse the sample, so that it came out as big endian, but if you leave it as a no-op then the data is returned in the native format for Intel Mac OS, which is the whole point of the "sowt" encoding.  Either way, the user can easily reverse the data in a `unpack` format if they want to, but in my own testing it seemed easier and simpler just to leave it in the native format. Then basically "it just works".

The patch as I've proposed it works fine on my MacOS boxes, but I have only tested it with AIFF-C files from one source.
History
Date User Action Args
2017-04-16 21:50:03thrustonsetrecipients: + thruston, serhiy.storchaka, xiang.zhang
2017-04-16 21:50:03thrustonsetmessageid: <1492379403.77.0.536849794266.issue30077@psf.upfronthosting.co.za>
2017-04-16 21:50:03thrustonlinkissue30077 messages
2017-04-16 21:50:03thrustoncreate