Comment Comment by lauriat You can already do that with d.get("non_existant_key", default) parent lauriat 5 years ago