Fix -Wcast-align warning by using new Python API

Authored by arichardson on Feb 12 2016, 12:39 PM.

Description

Fix -Wcast-align warning by using new Python API

This should also be slightly more performant as Python doesn't have to
convert to a different unicode format first.

REVIEW: 127043

Details

Committed
arichardsonFeb 12 2016, 12:48 PM
Parents
R53:9d6900d2b73a: Add missing override (fixes -Winconsistent-override)
Branches
Unknown
Tags
Unknown