Reverse of pythons#3912