Fypp

Latest version: v3.2

Safety actively analyzes 618849 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.2

===

Added
-----

* Option ``--file-var-root`` to render file variables (``_FILE_``,
``_THIS_FILE``) as relative paths with respect to a specified root.

3.1

===

Added
-----

* Global variables _SYSTEM_ and _MACHINE_ to query environment.

* Emission of standard (line pragma styled) line directives.

* Factory method arguments in Fypp constructor: evaluator_factory,
parser_factor, builder_factory and renderer_factory.


Changed
-------

* Support for Python 2.7, 3.3 and 3.4 dropped, support for Python 3.9 added.

3.0

===

Added
-----

* Implement variable keyword argument in macros.

* Add block / contains / endblock construct as alternative for call / nextarg /
endcall.

* Escaping of preprocessor comments

* Possibility of specifying character encoding for file I/O with UTF-8 as
default.


Changed
-------

* Injecting local variables into macros by passing arbitrary (non-declared)
keyword arguments is not possible any more. This feature made it impossible to
detect typos in keyword argument names in macro calls. [Backwards
incompatible]

* Variable positional argument in a macro resolves to a list not to a tuple for
more consistency with Python.


Fixed
-----

* Wrong command-line parser initialisation in waf frontend.

* _LINE_ and _FILE_ were incorrect if the called macro contained a call
directive with an evaluation in its argument.

2.1.1

=====

Fixed
-----

* Wrong _LINE_ and _FILE_ values when calling a macro during evaluation of the
arguments of a call directive.

2.1

===

Fixed
-----

* Variable definition without value.


Changed
-------

* Hosting site and branch names (develop -> master, master -> release).

2.0.1

=====

Fixed
-----

* Missing files in Python source distribution package.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.