diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 74a15243..b0300586 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,11 @@ Changelog for package xacro ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +1.14.17 (2024-01-25) +-------------------- +* Expose python.abs() +* Contributors: Robert Haschke + 1.14.16 (2023-05-24) -------------------- * Fix hasattr support of YamlDictWrapper (`#324 `_) diff --git a/package.xml b/package.xml index 088b2504..4d482146 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ xacro - 1.14.16 + 1.14.17 Xacro (XML Macros) Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. diff --git a/src/xacro/__init__.py b/src/xacro/__init__.py index 3cb12113..34af9563 100644 --- a/src/xacro/__init__.py +++ b/src/xacro/__init__.py @@ -203,7 +203,7 @@ def expose(*args, **kwargs): expose('sorted', 'range', source=__builtins__, ns='python', deprecate_msg=deprecate_msg) # Expose all builtin symbols into the python namespace. Thus the stay accessible if the global symbol was overriden expose('list', 'dict', 'map', 'len', 'str', 'float', 'int', 'True', 'False', 'min', 'max', 'round', - 'all', 'any', 'complex', 'divmod', 'enumerate', 'filter', 'frozenset', 'hash', 'isinstance', 'issubclass', + 'abs', 'all', 'any', 'complex', 'divmod', 'enumerate', 'filter', 'frozenset', 'hash', 'isinstance', 'issubclass', 'ord', 'repr', 'reversed', 'slice', 'set', 'sum', 'tuple', 'type', 'zip', source=__builtins__, ns='python') # Expose all math symbols and functions into namespace math (and directly for backwards compatibility -- w/o deprecation)