| commit | a8e1e2aaf8783092b74330e2d4c727f814533cc9 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Fri Mar 08 11:15:01 2024 -0700 |
| committer | Tom Tromey <tromey@adacore.com> | Mon Mar 18 07:20:14 2024 -0600 |
| tree | 1634b4e06e275f2f84683871a8db4068c15243f3 | |
| parent | 2518ce94704e54597bec273cafb090693b2de098 [diff] |
Set __file__ when source'ing a Python script This patch arranges to set __file__ when source'ing a Python script. This fixes a problem that was introduced by the "source" rewrite, and then pointed out by Lancelot Six. Reviewed-by: Lancelot Six <lancelot.six@amd.com> Approved-By: Andrew Burgess <aburgess@redhat.com>