Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

Commit fbf29ec9 authored by Pierre Augier's avatar Pierre Augier
Browse files

Fix a small bug with FLUIDPYTHRAN_NO_REPLACE

parent 1dea173e3535
......@@ -154,7 +154,7 @@ FluidPythran is sensible to environment variables:
the function :code:`set_pythranize_at_import`.
- :code:`FLUIDPYTHRAN_NO_REPLACE` can be set to disable all code replacements.
This is useful only when measuring code coverage.
This is useful to compare execution times and when measuring code coverage.
- :code:`FLUID_COMPILE_CACHEDJIT` can be set to false to disable the
compilation of cachedjited functions. This can be useful for unittests.
......@@ -240,12 +240,13 @@ class FluidPythran:
self.is_transpiled = False
self.is_compiling = False
if not use_fluidpythranized or not has_to_replace:
self.is_transpiled = False
self.is_compiled = False
self.is_compiling = False
if "." in module_name:
package, module_short_name = module_name.rsplit(".", 1)
module_pythran_name = package + "."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment