Can you file a ticket reporting what the failure is and what you expect instead? I'd be interested to know if it's failing because the bytecode files are stored in a different location. I'm reluctant to simply remove code without first understanding why the code was there. Perhaps this code is no longer necessary, but to be sure, it's necessary to understand why it was added in the first place.
The problem is describe in the commit log.
--record will not work for python 3.x, it will append .pyc and .pyo, while it is not valid. _bytecode_filenames from python base distutils will handle it more gracefully.