Просто измените функцию:
def notastonishinganymore(a = []): '''The name is just a joke :)''' a = a[:] a.append(5) return a