These patches had already been merged for 3.5 and 3.6 but not yet for 3.4. However, they did contain a mistake as explained in #28349.
A Python 3.6 version of de1b4e71c1.
de1b4e71c1