Skip to content

PriorityThreadPoolExecutor relies on CPython implementation details #4

@dtsong

Description

@dtsong

Problem

data_diff/thread_utils.py:34 — The PriorityThreadPoolExecutor accesses internal _work_queue of ThreadPoolExecutor, which is a CPython implementation detail.

Impact

May break in future Python versions or alternative implementations (PyPy, etc.).

Suggested Fix

Use a proper priority queue wrapper or document the CPython dependency.

References

  • File: data_diff/thread_utils.py, line 34

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions