This pull request primarily focuses on improving compatibility with Python 3.12+ by ensuring the override decorator is available and updating method signatures accordingly. It also includes the removal of unused imports across multiple files.
Compatibility Enhancements:
Added conditional imports for the override decorator to support Python 3.12+ and created a fallback for earlier versions. (oxt/ext_code/impl/doc_window_factory_impl.py, oxt/ext_code/impl/python_impl.py, oxt/ext_code/jobs/focus_job.py, oxt/ext_code/jobs/loading_job.py, oxt/ext_code/jobs/log_window_job.py, oxt/ext_code/jobs/saving_job.py, oxt/ext_code/jobs/unloading_job.py, oxt/ext_code/jobs/view_job.py) [1][2][3][4][5][6][7][8][9][10][11][12][13][14] F9a5d2d1L41R37, [15][16][17][18][19][20][21][22]
Code Cleanup:
Removed unused uno import statements from multiple files to clean up the codebase. (oxt/ext_code/impl/__init__.py, oxt/ext_code/impl/doc_window_factory_impl.py, oxt/ext_code/impl/py_impl.py, oxt/ext_code/impl/python_impl.py, oxt/ext_code/jobs/__init__.py, oxt/ext_code/jobs/focus_job.py, oxt/ext_code/jobs/loading_job.py, oxt/ext_code/jobs/log_window_job.py, oxt/ext_code/jobs/saving_job.py, oxt/ext_code/jobs/unloading_job.py, oxt/ext_code/jobs/view_job.py) [1][2][3][4] F9a5d2d1L4R4, [5][6][7][8]
Method Signature Updates:
Updated method signatures to use the override decorator and adjusted parameter names to follow the new conventions. (oxt/ext_code/impl/doc_window_factory_impl.py) [1][2][3][4][5][6]
This pull request primarily focuses on improving compatibility with Python 3.12+ by ensuring the
override
decorator is available and updating method signatures accordingly. It also includes the removal of unused imports across multiple files.Compatibility Enhancements:
override
decorator to support Python 3.12+ and created a fallback for earlier versions. (oxt/ext_code/impl/doc_window_factory_impl.py
,oxt/ext_code/impl/python_impl.py
,oxt/ext_code/jobs/focus_job.py
,oxt/ext_code/jobs/loading_job.py
,oxt/ext_code/jobs/log_window_job.py
,oxt/ext_code/jobs/saving_job.py
,oxt/ext_code/jobs/unloading_job.py
,oxt/ext_code/jobs/view_job.py
) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] F9a5d2d1L41R37, [15] [16] [17] [18] [19] [20] [21] [22]Code Cleanup:
uno
import statements from multiple files to clean up the codebase. (oxt/ext_code/impl/__init__.py
,oxt/ext_code/impl/doc_window_factory_impl.py
,oxt/ext_code/impl/py_impl.py
,oxt/ext_code/impl/python_impl.py
,oxt/ext_code/jobs/__init__.py
,oxt/ext_code/jobs/focus_job.py
,oxt/ext_code/jobs/loading_job.py
,oxt/ext_code/jobs/log_window_job.py
,oxt/ext_code/jobs/saving_job.py
,oxt/ext_code/jobs/unloading_job.py
,oxt/ext_code/jobs/view_job.py
) [1] [2] [3] [4] F9a5d2d1L4R4, [5] [6] [7] [8]Method Signature Updates:
override
decorator and adjusted parameter names to follow the new conventions. (oxt/ext_code/impl/doc_window_factory_impl.py
) [1] [2] [3] [4] [5] [6]