The __name__ attribute is the correct way to get a function name in
Python 3. This also works with Python 2.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 42029 Build 42386: arc lint + arc unit
Paths
| Differential D71136
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2019, 4:53 PM Closed by commit rG44c167ace998: [libcxx] Replace func_name with __name__ for compatibility with Python 3 (authored by broadwaylamb). · Explain WhyDec 10 2019, 3:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 232619 libcxx/utils/libcxx/test/tracing.py
|