[all-commits] [llvm/llvm-project] 44c167: [libcxx] Replace func_name with __name__ for compa...

Sergej Jaskiewicz via All-commits all-commits at lists.llvm.org
Tue Dec 10 15:37:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3
      https://github.com/llvm/llvm-project/commit/44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3
  Author: Sergej Jaskiewicz <jaskiewiczs at icloud.com>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M libcxx/utils/libcxx/test/tracing.py

  Log Message:
  -----------
  [libcxx] Replace func_name with __name__ for compatibility with Python 3

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

Reviewers: jroelofs, EricWF

Subscribers: christof, ldionne, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D71136




More information about the All-commits mailing list