Loading DHParser/configuration.py +1 −0 Original line number Original line Diff line number Diff line Loading @@ -106,6 +106,7 @@ def finalize_presets(): import multiprocessing import multiprocessing import os import os import pickle import pickle global CONFIG_PRESET if multiprocessing.get_start_method() != 'fork': if multiprocessing.get_start_method() != 'fork': syncfile_path = get_syncfile_path(os.getpid()) syncfile_path = get_syncfile_path(os.getpid()) existing_syncfile = CONFIG_PRESET['syncfile_path'] existing_syncfile = CONFIG_PRESET['syncfile_path'] Loading DHParser/syntaxtree.py +1 −0 Original line number Original line Diff line number Diff line Loading @@ -873,6 +873,7 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil """ """ switch = how.lower() switch = how.lower() from DHParser import configuration if switch == 'ast': if switch == 'ast': switch = get_config_value('ast_serialization').lower() switch = get_config_value('ast_serialization').lower() elif switch == 'cst': elif switch == 'cst': Loading Loading
DHParser/configuration.py +1 −0 Original line number Original line Diff line number Diff line Loading @@ -106,6 +106,7 @@ def finalize_presets(): import multiprocessing import multiprocessing import os import os import pickle import pickle global CONFIG_PRESET if multiprocessing.get_start_method() != 'fork': if multiprocessing.get_start_method() != 'fork': syncfile_path = get_syncfile_path(os.getpid()) syncfile_path = get_syncfile_path(os.getpid()) existing_syncfile = CONFIG_PRESET['syncfile_path'] existing_syncfile = CONFIG_PRESET['syncfile_path'] Loading
DHParser/syntaxtree.py +1 −0 Original line number Original line Diff line number Diff line Loading @@ -873,6 +873,7 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil """ """ switch = how.lower() switch = how.lower() from DHParser import configuration if switch == 'ast': if switch == 'ast': switch = get_config_value('ast_serialization').lower() switch = get_config_value('ast_serialization').lower() elif switch == 'cst': elif switch == 'cst': Loading