From 3940bb0893b0c398bb348fecb2f38dea7fec7c3b Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 7 Feb 2023 20:03:26 +0000 Subject: [PATCH 1/3] Update copyright headers for 2023 --- apptools/__init__.py | 2 +- apptools/_testing/__init__.py | 2 +- apptools/_testing/optional_dependencies.py | 2 +- apptools/io/__init__.py | 2 +- apptools/io/api.py | 2 +- apptools/io/file.py | 2 +- apptools/io/h5/__init__.py | 2 +- apptools/io/h5/dict_node.py | 2 +- apptools/io/h5/file.py | 2 +- apptools/io/h5/table_node.py | 2 +- apptools/io/h5/tests/__init__.py | 2 +- apptools/io/h5/tests/test_dict_node.py | 2 +- apptools/io/h5/tests/test_file.py | 2 +- apptools/io/h5/tests/test_table_node.py | 2 +- apptools/io/h5/tests/utils.py | 2 +- apptools/io/h5/utils.py | 2 +- apptools/io/tests/__init__.py | 2 +- apptools/io/tests/test_file.py | 2 +- apptools/io/tests/test_folder.py | 2 +- apptools/logger/__init__.py | 2 +- apptools/logger/agent/__init__.py | 2 +- apptools/logger/agent/attachments.py | 2 +- apptools/logger/agent/quality_agent_mailer.py | 2 +- apptools/logger/agent/quality_agent_view.py | 2 +- apptools/logger/agent/tests/__init__.py | 2 +- apptools/logger/agent/tests/test_attachments.py | 2 +- apptools/logger/api.py | 2 +- apptools/logger/custom_excepthook.py | 2 +- apptools/logger/log_point.py | 2 +- apptools/logger/log_queue_handler.py | 2 +- apptools/logger/logger.py | 2 +- apptools/logger/plugin/__init__.py | 2 +- apptools/logger/plugin/logger_plugin.py | 2 +- apptools/logger/plugin/logger_preferences.py | 2 +- apptools/logger/plugin/logger_service.py | 2 +- apptools/logger/plugin/tests/__init__.py | 2 +- apptools/logger/plugin/tests/test_logger_service.py | 2 +- apptools/logger/plugin/view/__init__.py | 2 +- apptools/logger/plugin/view/logger_preferences_page.py | 2 +- apptools/logger/plugin/view/logger_view.py | 2 +- apptools/logger/ring_buffer.py | 2 +- apptools/naming/__init__.py | 2 +- apptools/naming/address.py | 2 +- apptools/naming/api.py | 2 +- apptools/naming/binding.py | 2 +- apptools/naming/context.py | 2 +- apptools/naming/dir_context.py | 2 +- apptools/naming/dynamic_context.py | 2 +- apptools/naming/exception.py | 2 +- apptools/naming/initial_context.py | 2 +- apptools/naming/initial_context_factory.py | 2 +- apptools/naming/naming_event.py | 2 +- apptools/naming/naming_manager.py | 2 +- apptools/naming/object_factory.py | 2 +- apptools/naming/object_serializer.py | 2 +- apptools/naming/py_context.py | 2 +- apptools/naming/py_object_factory.py | 2 +- apptools/naming/pyfs_context.py | 2 +- apptools/naming/pyfs_context_factory.py | 2 +- apptools/naming/pyfs_initial_context_factory.py | 2 +- apptools/naming/pyfs_object_factory.py | 2 +- apptools/naming/pyfs_state_factory.py | 2 +- apptools/naming/reference.py | 2 +- apptools/naming/referenceable.py | 2 +- apptools/naming/referenceable_state_factory.py | 2 +- apptools/naming/state_factory.py | 2 +- apptools/naming/tests/__init__.py | 2 +- apptools/naming/tests/test_context.py | 2 +- apptools/naming/tests/test_dir_context.py | 2 +- apptools/naming/tests/test_object_serializer.py | 2 +- apptools/naming/tests/test_py_context.py | 2 +- apptools/naming/tests/test_pyfs_context.py | 2 +- apptools/naming/trait_defs/__init__.py | 2 +- apptools/naming/trait_defs/api.py | 2 +- apptools/naming/trait_defs/naming_traits.py | 2 +- apptools/naming/unique_name.py | 2 +- apptools/persistence/__init__.py | 2 +- apptools/persistence/file_path.py | 2 +- apptools/persistence/project_loader.py | 2 +- apptools/persistence/state_pickler.py | 7 +++++-- apptools/persistence/tests/__init__.py | 2 +- apptools/persistence/tests/state_function_classes.py | 2 +- apptools/persistence/tests/test_class_mapping.py | 2 +- apptools/persistence/tests/test_file_path.py | 2 +- apptools/persistence/tests/test_state_function.py | 2 +- apptools/persistence/tests/test_state_pickler.py | 2 +- apptools/persistence/tests/test_two_stage_unpickler.py | 2 +- apptools/persistence/tests/test_version_registry.py | 2 +- apptools/persistence/updater.py | 2 +- apptools/persistence/version_registry.py | 2 +- apptools/persistence/versioned_unpickler.py | 2 +- apptools/preferences/__init__.py | 2 +- apptools/preferences/api.py | 2 +- apptools/preferences/i_preferences.py | 2 +- apptools/preferences/package_globals.py | 2 +- apptools/preferences/preference_binding.py | 2 +- apptools/preferences/preferences.py | 2 +- apptools/preferences/preferences_helper.py | 2 +- apptools/preferences/scoped_preferences.py | 2 +- apptools/preferences/tests/__init__.py | 2 +- apptools/preferences/tests/py_config_file.py | 2 +- apptools/preferences/tests/test_preference_binding.py | 2 +- apptools/preferences/tests/test_preferences.py | 2 +- apptools/preferences/tests/test_preferences_helper.py | 2 +- apptools/preferences/tests/test_py_config_file.py | 2 +- apptools/preferences/tests/test_scoped_preferences.py | 2 +- apptools/preferences/ui/__init__.py | 2 +- apptools/preferences/ui/api.py | 2 +- apptools/preferences/ui/i_preferences_page.py | 2 +- apptools/preferences/ui/preferences_manager.py | 2 +- apptools/preferences/ui/preferences_node.py | 2 +- apptools/preferences/ui/preferences_page.py | 2 +- apptools/preferences/ui/tests/__init__.py | 2 +- apptools/preferences/ui/tests/test_preferences_page.py | 2 +- apptools/preferences/ui/tree_item.py | 2 +- apptools/preferences/ui/widget_editor.py | 2 +- apptools/scripting/__init__.py | 2 +- apptools/scripting/api.py | 2 +- apptools/scripting/package_globals.py | 2 +- apptools/scripting/recordable.py | 2 +- apptools/scripting/recorder.py | 2 +- apptools/scripting/recorder_with_ui.py | 2 +- apptools/scripting/tests/__init__.py | 2 +- apptools/scripting/tests/test_recorder.py | 2 +- apptools/scripting/util.py | 2 +- apptools/selection/__init__.py | 2 +- apptools/selection/api.py | 2 +- apptools/selection/errors.py | 2 +- apptools/selection/i_selection.py | 2 +- apptools/selection/i_selection_provider.py | 2 +- apptools/selection/list_selection.py | 2 +- apptools/selection/selection_service.py | 2 +- apptools/selection/tests/__init__.py | 2 +- apptools/selection/tests/test_list_selection.py | 2 +- apptools/selection/tests/test_selection_service.py | 2 +- apptools/type_registry/__init__.py | 2 +- apptools/type_registry/api.py | 2 +- apptools/type_registry/tests/__init__.py | 2 +- apptools/type_registry/tests/dummies.py | 2 +- apptools/type_registry/tests/test_lazy_registry.py | 2 +- apptools/type_registry/tests/test_type_registry.py | 2 +- apptools/type_registry/type_registry.py | 2 +- apptools/undo/__init__.py | 2 +- apptools/undo/action/__init__.py | 2 +- docs/source/api/templates/module.rst_t | 2 +- docs/source/api/templates/package.rst_t | 2 +- docs/source/conf.py | 4 ++-- etstool.py | 2 +- examples/naming/simple.py | 2 +- examples/preferences/preferences_manager.py | 2 +- integrationtests/persistence/test_persistence.py | 2 +- integrationtests/persistence/update1.py | 2 +- integrationtests/persistence/update2.py | 2 +- integrationtests/persistence/update3.py | 2 +- setup.py | 4 ++-- 155 files changed, 161 insertions(+), 158 deletions(-) diff --git a/apptools/__init__.py b/apptools/__init__.py index 4fc044f5..4999985d 100644 --- a/apptools/__init__.py +++ b/apptools/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/_testing/__init__.py b/apptools/_testing/__init__.py index 0586629a..1cc9926a 100644 --- a/apptools/_testing/__init__.py +++ b/apptools/_testing/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2006-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2006-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/_testing/optional_dependencies.py b/apptools/_testing/optional_dependencies.py index a065e873..5994b6c1 100644 --- a/apptools/_testing/optional_dependencies.py +++ b/apptools/_testing/optional_dependencies.py @@ -1,4 +1,4 @@ -# (C) Copyright 2006-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2006-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/__init__.py b/apptools/io/__init__.py index 90868784..474e6d5c 100644 --- a/apptools/io/__init__.py +++ b/apptools/io/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/api.py b/apptools/io/api.py index b0d636b8..9663ddb1 100644 --- a/apptools/io/api.py +++ b/apptools/io/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/file.py b/apptools/io/file.py index 92c6a82c..2d32be9e 100644 --- a/apptools/io/file.py +++ b/apptools/io/file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/__init__.py b/apptools/io/h5/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/io/h5/__init__.py +++ b/apptools/io/h5/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/dict_node.py b/apptools/io/h5/dict_node.py index f7cb6a41..d87cc6f1 100644 --- a/apptools/io/h5/dict_node.py +++ b/apptools/io/h5/dict_node.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/file.py b/apptools/io/h5/file.py index 08c9a58b..cf4ae442 100644 --- a/apptools/io/h5/file.py +++ b/apptools/io/h5/file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/table_node.py b/apptools/io/h5/table_node.py index 6e79c54f..f246d33f 100644 --- a/apptools/io/h5/table_node.py +++ b/apptools/io/h5/table_node.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/tests/__init__.py b/apptools/io/h5/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/io/h5/tests/__init__.py +++ b/apptools/io/h5/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/tests/test_dict_node.py b/apptools/io/h5/tests/test_dict_node.py index ec7c532e..e447ae82 100644 --- a/apptools/io/h5/tests/test_dict_node.py +++ b/apptools/io/h5/tests/test_dict_node.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/tests/test_file.py b/apptools/io/h5/tests/test_file.py index 1304ad79..b4fb0680 100644 --- a/apptools/io/h5/tests/test_file.py +++ b/apptools/io/h5/tests/test_file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/tests/test_table_node.py b/apptools/io/h5/tests/test_table_node.py index 96291324..62f48aed 100644 --- a/apptools/io/h5/tests/test_table_node.py +++ b/apptools/io/h5/tests/test_table_node.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/tests/utils.py b/apptools/io/h5/tests/utils.py index c1e2f208..c272a88e 100644 --- a/apptools/io/h5/tests/utils.py +++ b/apptools/io/h5/tests/utils.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/h5/utils.py b/apptools/io/h5/utils.py index 4dfe8e4f..ee50996e 100644 --- a/apptools/io/h5/utils.py +++ b/apptools/io/h5/utils.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/tests/__init__.py b/apptools/io/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/io/tests/__init__.py +++ b/apptools/io/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/tests/test_file.py b/apptools/io/tests/test_file.py index ee14ce59..7232cc61 100644 --- a/apptools/io/tests/test_file.py +++ b/apptools/io/tests/test_file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/io/tests/test_folder.py b/apptools/io/tests/test_folder.py index 81e5d30e..f8e304c5 100644 --- a/apptools/io/tests/test_folder.py +++ b/apptools/io/tests/test_folder.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/__init__.py b/apptools/logger/__init__.py index 2320630e..d116ecc1 100644 --- a/apptools/logger/__init__.py +++ b/apptools/logger/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/__init__.py b/apptools/logger/agent/__init__.py index 79d5d450..cdd6171e 100644 --- a/apptools/logger/agent/__init__.py +++ b/apptools/logger/agent/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/attachments.py b/apptools/logger/agent/attachments.py index 15d1cb80..b47bb104 100644 --- a/apptools/logger/agent/attachments.py +++ b/apptools/logger/agent/attachments.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/quality_agent_mailer.py b/apptools/logger/agent/quality_agent_mailer.py index dfd26f26..16708b07 100644 --- a/apptools/logger/agent/quality_agent_mailer.py +++ b/apptools/logger/agent/quality_agent_mailer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/quality_agent_view.py b/apptools/logger/agent/quality_agent_view.py index b9547799..19e09089 100644 --- a/apptools/logger/agent/quality_agent_view.py +++ b/apptools/logger/agent/quality_agent_view.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/tests/__init__.py b/apptools/logger/agent/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/logger/agent/tests/__init__.py +++ b/apptools/logger/agent/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/agent/tests/test_attachments.py b/apptools/logger/agent/tests/test_attachments.py index 7a572c61..fb01d32c 100644 --- a/apptools/logger/agent/tests/test_attachments.py +++ b/apptools/logger/agent/tests/test_attachments.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/api.py b/apptools/logger/api.py index 85f42d17..8911b0b1 100644 --- a/apptools/logger/api.py +++ b/apptools/logger/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/custom_excepthook.py b/apptools/logger/custom_excepthook.py index 3faacee9..cee97847 100644 --- a/apptools/logger/custom_excepthook.py +++ b/apptools/logger/custom_excepthook.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/log_point.py b/apptools/logger/log_point.py index 16b3c177..ef7aa515 100644 --- a/apptools/logger/log_point.py +++ b/apptools/logger/log_point.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/log_queue_handler.py b/apptools/logger/log_queue_handler.py index 02117934..c6f3ceac 100644 --- a/apptools/logger/log_queue_handler.py +++ b/apptools/logger/log_queue_handler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/logger.py b/apptools/logger/logger.py index a441fed5..f899edd9 100644 --- a/apptools/logger/logger.py +++ b/apptools/logger/logger.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/__init__.py b/apptools/logger/plugin/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/logger/plugin/__init__.py +++ b/apptools/logger/plugin/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/logger_plugin.py b/apptools/logger/plugin/logger_plugin.py index 3083bad1..2025431c 100644 --- a/apptools/logger/plugin/logger_plugin.py +++ b/apptools/logger/plugin/logger_plugin.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/logger_preferences.py b/apptools/logger/plugin/logger_preferences.py index 7fbe1286..56d2808a 100644 --- a/apptools/logger/plugin/logger_preferences.py +++ b/apptools/logger/plugin/logger_preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/logger_service.py b/apptools/logger/plugin/logger_service.py index 20ae28ef..bfeb86cc 100644 --- a/apptools/logger/plugin/logger_service.py +++ b/apptools/logger/plugin/logger_service.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/tests/__init__.py b/apptools/logger/plugin/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/logger/plugin/tests/__init__.py +++ b/apptools/logger/plugin/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/tests/test_logger_service.py b/apptools/logger/plugin/tests/test_logger_service.py index e40443ef..9c69d960 100644 --- a/apptools/logger/plugin/tests/test_logger_service.py +++ b/apptools/logger/plugin/tests/test_logger_service.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/view/__init__.py b/apptools/logger/plugin/view/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/logger/plugin/view/__init__.py +++ b/apptools/logger/plugin/view/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/view/logger_preferences_page.py b/apptools/logger/plugin/view/logger_preferences_page.py index d50fb5c3..c80651e7 100644 --- a/apptools/logger/plugin/view/logger_preferences_page.py +++ b/apptools/logger/plugin/view/logger_preferences_page.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/plugin/view/logger_view.py b/apptools/logger/plugin/view/logger_view.py index 3423367c..12c4a841 100644 --- a/apptools/logger/plugin/view/logger_view.py +++ b/apptools/logger/plugin/view/logger_view.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/logger/ring_buffer.py b/apptools/logger/ring_buffer.py index 3d3c26a0..4d13e549 100644 --- a/apptools/logger/ring_buffer.py +++ b/apptools/logger/ring_buffer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/__init__.py b/apptools/naming/__init__.py index 23f90936..4ccfbd80 100644 --- a/apptools/naming/__init__.py +++ b/apptools/naming/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/address.py b/apptools/naming/address.py index 42c82844..b36a6316 100644 --- a/apptools/naming/address.py +++ b/apptools/naming/address.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/api.py b/apptools/naming/api.py index 4ba0d300..f3fc7593 100644 --- a/apptools/naming/api.py +++ b/apptools/naming/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/binding.py b/apptools/naming/binding.py index 54df6da6..8466d81e 100644 --- a/apptools/naming/binding.py +++ b/apptools/naming/binding.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/context.py b/apptools/naming/context.py index 53ae5ea8..e1dc3282 100644 --- a/apptools/naming/context.py +++ b/apptools/naming/context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/dir_context.py b/apptools/naming/dir_context.py index 78385862..6e96eefb 100644 --- a/apptools/naming/dir_context.py +++ b/apptools/naming/dir_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/dynamic_context.py b/apptools/naming/dynamic_context.py index 2cf10394..0e261ec4 100644 --- a/apptools/naming/dynamic_context.py +++ b/apptools/naming/dynamic_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/exception.py b/apptools/naming/exception.py index 45d0e263..93d9e308 100644 --- a/apptools/naming/exception.py +++ b/apptools/naming/exception.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/initial_context.py b/apptools/naming/initial_context.py index a494e05b..ae00671a 100644 --- a/apptools/naming/initial_context.py +++ b/apptools/naming/initial_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/initial_context_factory.py b/apptools/naming/initial_context_factory.py index 4afc41f7..b28dcdeb 100644 --- a/apptools/naming/initial_context_factory.py +++ b/apptools/naming/initial_context_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/naming_event.py b/apptools/naming/naming_event.py index 008ddbe7..52715f9e 100644 --- a/apptools/naming/naming_event.py +++ b/apptools/naming/naming_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/naming_manager.py b/apptools/naming/naming_manager.py index 11375040..3017a483 100644 --- a/apptools/naming/naming_manager.py +++ b/apptools/naming/naming_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/object_factory.py b/apptools/naming/object_factory.py index f1dba1d7..93833fc3 100644 --- a/apptools/naming/object_factory.py +++ b/apptools/naming/object_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/object_serializer.py b/apptools/naming/object_serializer.py index 65d5b190..5ebb8d84 100644 --- a/apptools/naming/object_serializer.py +++ b/apptools/naming/object_serializer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/py_context.py b/apptools/naming/py_context.py index eb00a073..b31f266e 100644 --- a/apptools/naming/py_context.py +++ b/apptools/naming/py_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/py_object_factory.py b/apptools/naming/py_object_factory.py index f2b1b928..40b28733 100644 --- a/apptools/naming/py_object_factory.py +++ b/apptools/naming/py_object_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/pyfs_context.py b/apptools/naming/pyfs_context.py index 87c2dda2..56972f12 100644 --- a/apptools/naming/pyfs_context.py +++ b/apptools/naming/pyfs_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/pyfs_context_factory.py b/apptools/naming/pyfs_context_factory.py index 735bd50f..e702a3d9 100644 --- a/apptools/naming/pyfs_context_factory.py +++ b/apptools/naming/pyfs_context_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/pyfs_initial_context_factory.py b/apptools/naming/pyfs_initial_context_factory.py index 6692576b..5be56a27 100644 --- a/apptools/naming/pyfs_initial_context_factory.py +++ b/apptools/naming/pyfs_initial_context_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/pyfs_object_factory.py b/apptools/naming/pyfs_object_factory.py index d69f4b0b..fa6f747c 100644 --- a/apptools/naming/pyfs_object_factory.py +++ b/apptools/naming/pyfs_object_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/pyfs_state_factory.py b/apptools/naming/pyfs_state_factory.py index 741c2cd7..182c84f3 100644 --- a/apptools/naming/pyfs_state_factory.py +++ b/apptools/naming/pyfs_state_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/reference.py b/apptools/naming/reference.py index 1dc23671..44a2b676 100644 --- a/apptools/naming/reference.py +++ b/apptools/naming/reference.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/referenceable.py b/apptools/naming/referenceable.py index 2a1e5515..a0ddd0f8 100644 --- a/apptools/naming/referenceable.py +++ b/apptools/naming/referenceable.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/referenceable_state_factory.py b/apptools/naming/referenceable_state_factory.py index 3e3d516c..3ca8226f 100644 --- a/apptools/naming/referenceable_state_factory.py +++ b/apptools/naming/referenceable_state_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/state_factory.py b/apptools/naming/state_factory.py index fd0fb2ab..06cf6866 100644 --- a/apptools/naming/state_factory.py +++ b/apptools/naming/state_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/__init__.py b/apptools/naming/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/naming/tests/__init__.py +++ b/apptools/naming/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/test_context.py b/apptools/naming/tests/test_context.py index f72fbda4..1a1029b5 100644 --- a/apptools/naming/tests/test_context.py +++ b/apptools/naming/tests/test_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/test_dir_context.py b/apptools/naming/tests/test_dir_context.py index 67ea855d..2f96b297 100644 --- a/apptools/naming/tests/test_dir_context.py +++ b/apptools/naming/tests/test_dir_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/test_object_serializer.py b/apptools/naming/tests/test_object_serializer.py index 2cfe3c41..2ad2315e 100644 --- a/apptools/naming/tests/test_object_serializer.py +++ b/apptools/naming/tests/test_object_serializer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/test_py_context.py b/apptools/naming/tests/test_py_context.py index d6abafd6..43065ebd 100644 --- a/apptools/naming/tests/test_py_context.py +++ b/apptools/naming/tests/test_py_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/tests/test_pyfs_context.py b/apptools/naming/tests/test_pyfs_context.py index 409e1f70..115a9176 100644 --- a/apptools/naming/tests/test_pyfs_context.py +++ b/apptools/naming/tests/test_pyfs_context.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/trait_defs/__init__.py b/apptools/naming/trait_defs/__init__.py index 76b603bb..18992964 100644 --- a/apptools/naming/trait_defs/__init__.py +++ b/apptools/naming/trait_defs/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/trait_defs/api.py b/apptools/naming/trait_defs/api.py index 74fc2106..2f14cb18 100644 --- a/apptools/naming/trait_defs/api.py +++ b/apptools/naming/trait_defs/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/trait_defs/naming_traits.py b/apptools/naming/trait_defs/naming_traits.py index 1e990d90..54dcbba0 100644 --- a/apptools/naming/trait_defs/naming_traits.py +++ b/apptools/naming/trait_defs/naming_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/naming/unique_name.py b/apptools/naming/unique_name.py index be0e630d..1831a439 100644 --- a/apptools/naming/unique_name.py +++ b/apptools/naming/unique_name.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/__init__.py b/apptools/persistence/__init__.py index cf8a21e1..e5a577b4 100644 --- a/apptools/persistence/__init__.py +++ b/apptools/persistence/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/file_path.py b/apptools/persistence/file_path.py index 6cb0cfc6..b3b0dd6a 100644 --- a/apptools/persistence/file_path.py +++ b/apptools/persistence/file_path.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/project_loader.py b/apptools/persistence/project_loader.py index 1f31b431..d2257133 100644 --- a/apptools/persistence/project_loader.py +++ b/apptools/persistence/project_loader.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/state_pickler.py b/apptools/persistence/state_pickler.py index 019dcf9d..06b87c91 100644 --- a/apptools/persistence/state_pickler.py +++ b/apptools/persistence/state_pickler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -393,11 +393,14 @@ def _do_instance(self, value): args = value.__getinitargs__() # Get the object state. + state = None if hasattr(value, "__get_pure_state__"): state = value.__get_pure_state__() elif hasattr(value, "__getstate__"): + # Note that __getstate__() may return None in Python >= 3.11. state = value.__getstate__() - else: + + if state is None: state = value.__dict__ state.pop("__traits_version__", None) diff --git a/apptools/persistence/tests/__init__.py b/apptools/persistence/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/persistence/tests/__init__.py +++ b/apptools/persistence/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/state_function_classes.py b/apptools/persistence/tests/state_function_classes.py index 855a6f34..7de3d5e6 100644 --- a/apptools/persistence/tests/state_function_classes.py +++ b/apptools/persistence/tests/state_function_classes.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_class_mapping.py b/apptools/persistence/tests/test_class_mapping.py index bb44884d..a074026c 100644 --- a/apptools/persistence/tests/test_class_mapping.py +++ b/apptools/persistence/tests/test_class_mapping.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_file_path.py b/apptools/persistence/tests/test_file_path.py index d8f90775..6993e839 100644 --- a/apptools/persistence/tests/test_file_path.py +++ b/apptools/persistence/tests/test_file_path.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_state_function.py b/apptools/persistence/tests/test_state_function.py index f75597c3..ed6d78b3 100644 --- a/apptools/persistence/tests/test_state_function.py +++ b/apptools/persistence/tests/test_state_function.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_state_pickler.py b/apptools/persistence/tests/test_state_pickler.py index 84f6cf02..2351449f 100644 --- a/apptools/persistence/tests/test_state_pickler.py +++ b/apptools/persistence/tests/test_state_pickler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_two_stage_unpickler.py b/apptools/persistence/tests/test_two_stage_unpickler.py index 50a201d2..205d3b8f 100644 --- a/apptools/persistence/tests/test_two_stage_unpickler.py +++ b/apptools/persistence/tests/test_two_stage_unpickler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/tests/test_version_registry.py b/apptools/persistence/tests/test_version_registry.py index a599b40a..29622065 100644 --- a/apptools/persistence/tests/test_version_registry.py +++ b/apptools/persistence/tests/test_version_registry.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/updater.py b/apptools/persistence/updater.py index 40faa0c8..a5da35a1 100644 --- a/apptools/persistence/updater.py +++ b/apptools/persistence/updater.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/version_registry.py b/apptools/persistence/version_registry.py index ac2b3eda..d7e67d97 100644 --- a/apptools/persistence/version_registry.py +++ b/apptools/persistence/version_registry.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/persistence/versioned_unpickler.py b/apptools/persistence/versioned_unpickler.py index 1c64bc43..5450a1b3 100644 --- a/apptools/persistence/versioned_unpickler.py +++ b/apptools/persistence/versioned_unpickler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/__init__.py b/apptools/preferences/__init__.py index a63f645c..9c7d8df1 100644 --- a/apptools/preferences/__init__.py +++ b/apptools/preferences/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/api.py b/apptools/preferences/api.py index f44d307c..4eabbc99 100644 --- a/apptools/preferences/api.py +++ b/apptools/preferences/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/i_preferences.py b/apptools/preferences/i_preferences.py index de60a189..97cfbdb0 100644 --- a/apptools/preferences/i_preferences.py +++ b/apptools/preferences/i_preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/package_globals.py b/apptools/preferences/package_globals.py index 68b6f932..571a2de8 100644 --- a/apptools/preferences/package_globals.py +++ b/apptools/preferences/package_globals.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/preference_binding.py b/apptools/preferences/preference_binding.py index 89cee809..e777f1e8 100644 --- a/apptools/preferences/preference_binding.py +++ b/apptools/preferences/preference_binding.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/preferences.py b/apptools/preferences/preferences.py index 4fd69e72..02360f03 100644 --- a/apptools/preferences/preferences.py +++ b/apptools/preferences/preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/preferences_helper.py b/apptools/preferences/preferences_helper.py index 514b1a79..a6f5e584 100644 --- a/apptools/preferences/preferences_helper.py +++ b/apptools/preferences/preferences_helper.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/scoped_preferences.py b/apptools/preferences/scoped_preferences.py index 2c1953bb..1ef9a0a6 100644 --- a/apptools/preferences/scoped_preferences.py +++ b/apptools/preferences/scoped_preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/__init__.py b/apptools/preferences/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/preferences/tests/__init__.py +++ b/apptools/preferences/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/py_config_file.py b/apptools/preferences/tests/py_config_file.py index 51573ec1..e1c9d8bd 100644 --- a/apptools/preferences/tests/py_config_file.py +++ b/apptools/preferences/tests/py_config_file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/test_preference_binding.py b/apptools/preferences/tests/test_preference_binding.py index 53497368..d7d5372e 100644 --- a/apptools/preferences/tests/test_preference_binding.py +++ b/apptools/preferences/tests/test_preference_binding.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/test_preferences.py b/apptools/preferences/tests/test_preferences.py index 7dfe5418..de6d5cb2 100644 --- a/apptools/preferences/tests/test_preferences.py +++ b/apptools/preferences/tests/test_preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/test_preferences_helper.py b/apptools/preferences/tests/test_preferences_helper.py index fce74f5a..1c27c21f 100644 --- a/apptools/preferences/tests/test_preferences_helper.py +++ b/apptools/preferences/tests/test_preferences_helper.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/test_py_config_file.py b/apptools/preferences/tests/test_py_config_file.py index 89c96c88..148cab94 100644 --- a/apptools/preferences/tests/test_py_config_file.py +++ b/apptools/preferences/tests/test_py_config_file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/tests/test_scoped_preferences.py b/apptools/preferences/tests/test_scoped_preferences.py index 5370210e..c6b2c71e 100644 --- a/apptools/preferences/tests/test_scoped_preferences.py +++ b/apptools/preferences/tests/test_scoped_preferences.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/__init__.py b/apptools/preferences/ui/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/preferences/ui/__init__.py +++ b/apptools/preferences/ui/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/api.py b/apptools/preferences/ui/api.py index 9b21540d..47785669 100644 --- a/apptools/preferences/ui/api.py +++ b/apptools/preferences/ui/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/i_preferences_page.py b/apptools/preferences/ui/i_preferences_page.py index a72ed354..7c44c80d 100644 --- a/apptools/preferences/ui/i_preferences_page.py +++ b/apptools/preferences/ui/i_preferences_page.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/preferences_manager.py b/apptools/preferences/ui/preferences_manager.py index 0ee8caa3..1cfe48b9 100644 --- a/apptools/preferences/ui/preferences_manager.py +++ b/apptools/preferences/ui/preferences_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/preferences_node.py b/apptools/preferences/ui/preferences_node.py index 3c5d08e0..be6f48df 100644 --- a/apptools/preferences/ui/preferences_node.py +++ b/apptools/preferences/ui/preferences_node.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/preferences_page.py b/apptools/preferences/ui/preferences_page.py index c1ef7899..62a6478d 100644 --- a/apptools/preferences/ui/preferences_page.py +++ b/apptools/preferences/ui/preferences_page.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/tests/__init__.py b/apptools/preferences/ui/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/preferences/ui/tests/__init__.py +++ b/apptools/preferences/ui/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/tests/test_preferences_page.py b/apptools/preferences/ui/tests/test_preferences_page.py index 329b3d16..41858132 100644 --- a/apptools/preferences/ui/tests/test_preferences_page.py +++ b/apptools/preferences/ui/tests/test_preferences_page.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/tree_item.py b/apptools/preferences/ui/tree_item.py index 6ff30aff..f35d8d1c 100644 --- a/apptools/preferences/ui/tree_item.py +++ b/apptools/preferences/ui/tree_item.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/preferences/ui/widget_editor.py b/apptools/preferences/ui/widget_editor.py index 2c7f0313..9bfc956a 100644 --- a/apptools/preferences/ui/widget_editor.py +++ b/apptools/preferences/ui/widget_editor.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/__init__.py b/apptools/scripting/__init__.py index 7d69c9af..1f9de6e9 100644 --- a/apptools/scripting/__init__.py +++ b/apptools/scripting/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/api.py b/apptools/scripting/api.py index 010f8897..e4166c39 100644 --- a/apptools/scripting/api.py +++ b/apptools/scripting/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/package_globals.py b/apptools/scripting/package_globals.py index f6ca6114..f9ecbe04 100644 --- a/apptools/scripting/package_globals.py +++ b/apptools/scripting/package_globals.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/recordable.py b/apptools/scripting/recordable.py index 569a5258..032378a7 100644 --- a/apptools/scripting/recordable.py +++ b/apptools/scripting/recordable.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/recorder.py b/apptools/scripting/recorder.py index a6a95509..9b9ea1c1 100644 --- a/apptools/scripting/recorder.py +++ b/apptools/scripting/recorder.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/recorder_with_ui.py b/apptools/scripting/recorder_with_ui.py index c919d818..3b77c0c0 100644 --- a/apptools/scripting/recorder_with_ui.py +++ b/apptools/scripting/recorder_with_ui.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/tests/__init__.py b/apptools/scripting/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/scripting/tests/__init__.py +++ b/apptools/scripting/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/tests/test_recorder.py b/apptools/scripting/tests/test_recorder.py index 9986de80..baaa594a 100644 --- a/apptools/scripting/tests/test_recorder.py +++ b/apptools/scripting/tests/test_recorder.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/scripting/util.py b/apptools/scripting/util.py index 9475e07d..f65fca64 100644 --- a/apptools/scripting/util.py +++ b/apptools/scripting/util.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/__init__.py b/apptools/selection/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/selection/__init__.py +++ b/apptools/selection/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/api.py b/apptools/selection/api.py index 4ae3b9f2..d3e0e50d 100644 --- a/apptools/selection/api.py +++ b/apptools/selection/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/errors.py b/apptools/selection/errors.py index e616e19f..75376c05 100644 --- a/apptools/selection/errors.py +++ b/apptools/selection/errors.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/i_selection.py b/apptools/selection/i_selection.py index 8a213dfc..9739ccac 100644 --- a/apptools/selection/i_selection.py +++ b/apptools/selection/i_selection.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/i_selection_provider.py b/apptools/selection/i_selection_provider.py index 1ec45e9f..2cbe53fe 100644 --- a/apptools/selection/i_selection_provider.py +++ b/apptools/selection/i_selection_provider.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/list_selection.py b/apptools/selection/list_selection.py index 3296ee21..d87dfba5 100644 --- a/apptools/selection/list_selection.py +++ b/apptools/selection/list_selection.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/selection_service.py b/apptools/selection/selection_service.py index 4d8c3589..1bf4b2cb 100644 --- a/apptools/selection/selection_service.py +++ b/apptools/selection/selection_service.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/tests/__init__.py b/apptools/selection/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/selection/tests/__init__.py +++ b/apptools/selection/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/tests/test_list_selection.py b/apptools/selection/tests/test_list_selection.py index 83b4b332..e6565b34 100644 --- a/apptools/selection/tests/test_list_selection.py +++ b/apptools/selection/tests/test_list_selection.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/selection/tests/test_selection_service.py b/apptools/selection/tests/test_selection_service.py index d527a423..b6dc3b61 100644 --- a/apptools/selection/tests/test_selection_service.py +++ b/apptools/selection/tests/test_selection_service.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/__init__.py b/apptools/type_registry/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/type_registry/__init__.py +++ b/apptools/type_registry/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/api.py b/apptools/type_registry/api.py index e7a04f2d..8f1be8a4 100644 --- a/apptools/type_registry/api.py +++ b/apptools/type_registry/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/tests/__init__.py b/apptools/type_registry/tests/__init__.py index 20ef4fab..aa2218ef 100644 --- a/apptools/type_registry/tests/__init__.py +++ b/apptools/type_registry/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/tests/dummies.py b/apptools/type_registry/tests/dummies.py index c8205644..7c91b86e 100644 --- a/apptools/type_registry/tests/dummies.py +++ b/apptools/type_registry/tests/dummies.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/tests/test_lazy_registry.py b/apptools/type_registry/tests/test_lazy_registry.py index a25f8639..e95a1e29 100644 --- a/apptools/type_registry/tests/test_lazy_registry.py +++ b/apptools/type_registry/tests/test_lazy_registry.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/tests/test_type_registry.py b/apptools/type_registry/tests/test_type_registry.py index 075805c8..4799a4ba 100644 --- a/apptools/type_registry/tests/test_type_registry.py +++ b/apptools/type_registry/tests/test_type_registry.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/type_registry/type_registry.py b/apptools/type_registry/type_registry.py index a817e797..cb0fc9e8 100644 --- a/apptools/type_registry/type_registry.py +++ b/apptools/type_registry/type_registry.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/undo/__init__.py b/apptools/undo/__init__.py index 00cf196c..93072d4d 100644 --- a/apptools/undo/__init__.py +++ b/apptools/undo/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/apptools/undo/action/__init__.py b/apptools/undo/action/__init__.py index 1b5d0141..e09a6103 100644 --- a/apptools/undo/action/__init__.py +++ b/apptools/undo/action/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/docs/source/api/templates/module.rst_t b/docs/source/api/templates/module.rst_t index 384cabd7..5a011462 100644 --- a/docs/source/api/templates/module.rst_t +++ b/docs/source/api/templates/module.rst_t @@ -1,5 +1,5 @@ .. - (C) Copyright 2006-2022 Enthought, Inc., Austin, TX + (C) Copyright 2006-2023 Enthought, Inc., Austin, TX All rights reserved. This software is provided without warranty under the terms of the BSD diff --git a/docs/source/api/templates/package.rst_t b/docs/source/api/templates/package.rst_t index 414eb99c..26c1fd5d 100644 --- a/docs/source/api/templates/package.rst_t +++ b/docs/source/api/templates/package.rst_t @@ -1,5 +1,5 @@ .. - (C) Copyright 2006-2022 Enthought, Inc., Austin, TX + (C) Copyright 2006-2023 Enthought, Inc., Austin, TX All rights reserved. This software is provided without warranty under the terms of the BSD diff --git a/docs/source/conf.py b/docs/source/conf.py index 4e7429e0..0b67f7ad 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -49,7 +49,7 @@ # General substitutions. project = 'apptools' -copyright = '2008-2022, Enthought' +copyright = '2008-2023, Enthought' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. diff --git a/etstool.py b/etstool.py index adc6d17c..c572b936 100644 --- a/etstool.py +++ b/etstool.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/naming/simple.py b/examples/naming/simple.py index 0f137f1f..281033e4 100644 --- a/examples/naming/simple.py +++ b/examples/naming/simple.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/preferences/preferences_manager.py b/examples/preferences/preferences_manager.py index f18d1edb..ca6c7167 100644 --- a/examples/preferences/preferences_manager.py +++ b/examples/preferences/preferences_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/integrationtests/persistence/test_persistence.py b/integrationtests/persistence/test_persistence.py index 8ccc4944..c9b57aca 100644 --- a/integrationtests/persistence/test_persistence.py +++ b/integrationtests/persistence/test_persistence.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/integrationtests/persistence/update1.py b/integrationtests/persistence/update1.py index 71e7e6b0..170a3ade 100644 --- a/integrationtests/persistence/update1.py +++ b/integrationtests/persistence/update1.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/integrationtests/persistence/update2.py b/integrationtests/persistence/update2.py index 5797a04b..ee6eecec 100644 --- a/integrationtests/persistence/update2.py +++ b/integrationtests/persistence/update2.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/integrationtests/persistence/update3.py b/integrationtests/persistence/update3.py index bcd9a685..03c0c149 100644 --- a/integrationtests/persistence/update3.py +++ b/integrationtests/persistence/update3.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/setup.py b/setup.py index 689f5e75..87faf577 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# (C) Copyright 2008-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2008-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -40,7 +40,7 @@ # Template for the autogenerated version file. VERSION_FILE_TEMPLATE = '''\ -# (C) Copyright 2008-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2008-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD From eb1ea738c78058516fc61e1632dcef6d9f638f42 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 7 Feb 2023 20:07:22 +0000 Subject: [PATCH 2/3] Revert accidentally-included unrelated changes --- apptools/persistence/state_pickler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apptools/persistence/state_pickler.py b/apptools/persistence/state_pickler.py index 06b87c91..079dcd63 100644 --- a/apptools/persistence/state_pickler.py +++ b/apptools/persistence/state_pickler.py @@ -393,14 +393,11 @@ def _do_instance(self, value): args = value.__getinitargs__() # Get the object state. - state = None if hasattr(value, "__get_pure_state__"): state = value.__get_pure_state__() elif hasattr(value, "__getstate__"): - # Note that __getstate__() may return None in Python >= 3.11. state = value.__getstate__() - - if state is None: + else: state = value.__dict__ state.pop("__traits_version__", None) From 17aaab868a08d728a8da4eb7a07114c4e47ff6fe Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Wed, 8 Feb 2023 08:24:55 +0000 Subject: [PATCH 3/3] Remove pin on copyright year check --- etstool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/etstool.py b/etstool.py index 789e2f8d..e8c57265 100644 --- a/etstool.py +++ b/etstool.py @@ -304,7 +304,6 @@ def flake8(edm, runtime, environment): ] commands = [ "{edm} run -e {environment} -- python -m flake8 " - + "--copyright-end-year 2022 " + " ".join(targets) ] execute(commands, parameters)