Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# **Diagnosticism.Python** Changes

## 0.16.0 - 3rd August 2026

* + added `function()` alias for `func()`;


## 0.15.2 - 27th August 2025

* project boilerplate;
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ The following functions are defined:
| `fileline()` | Obtains the file+line in which the calling function is defined. |
| `filelinefunc()` | Obtains the file+line+function in which the calling function is defined. |
| `func()` | Obtains the function in which the calling function is defined. |
| `function()` | Alias for `func()`. |
| `line()` | Obtains the line on which the calling function is defined. |


Expand Down
3 changes: 2 additions & 1 deletion diagnosticism/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__license__ = 'BSD-3-Clause'
__maintainer__ = 'Matt Wilson'
__status__ = 'Beta'
__version__ = '0.15.2'
__version__ = '0.16.0'

import sys

Expand Down Expand Up @@ -38,6 +38,7 @@
fileline,
filelinefunc,
func,
function,
is_tracing_enabled,
line,
trace,
Expand Down
3 changes: 3 additions & 0 deletions diagnosticism/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ def func(
return _flf(depth=1)[2]


function = func


def line(
**kwargs,
):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setuptools.setup(

name='diagnosticism',
version='0.15.2',
version='0.16.0',

author='Matt Wilson',
author_email='matthew@synesis.com.au',
Expand Down