pep-039 solved