This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Replace func_name with __name__ for compatibility with Python 3
ClosedPublic

Authored by broadwaylamb on Dec 6 2019, 11:21 AM.

Details

Summary

The __name__ attribute is the correct way to get a function name in
Python 3. This also works with Python 2.

Diff Detail

Event Timeline

broadwaylamb created this revision.Dec 6 2019, 11:21 AM
Herald added a project: Restricted Project. · View Herald Transcript

Replace one more func_name

broadwaylamb edited the summary of this revision. (Show Details)Dec 6 2019, 11:26 AM
Harbormaster completed remote builds in B42029: Diff 232619.
jroelofs accepted this revision.Dec 7 2019, 4:53 PM

LGTM

This revision is now accepted and ready to land.Dec 7 2019, 4:53 PM
This revision was automatically updated to reflect the committed changes.