Skip to content

support use with mixin classes - #2

Open
cd-eho wants to merge 2 commits into
mainfrom
feature/support_mixins
Open

support use with mixin classes#2
cd-eho wants to merge 2 commits into
mainfrom
feature/support_mixins

Conversation

@cd-eho

@cd-eho cd-eho commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

support use with mixin classes

  • require Python 3.12
  • use explicit generic classes syntax
  • use get_original_bases() and get_origin() to find base class among
    potentially multiple bases

@cd-eho
cd-eho requested a review from cd-fge August 12, 2026 17:58
cd-eho added 2 commits August 13, 2026 11:45
* require Python 3.12
* use explicit generic classes syntax
* use get_original_bases() and iterate in MRO over all bases
  to determine specific enum type
* use get_origin() to determine base class of generic
@cd-eho
cd-eho force-pushed the feature/support_mixins branch from 78df9b2 to a9707e9 Compare August 13, 2026 09:49
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
64 64 100% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/multiprocessing_intenum/init.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 789be76 by action🐍

cd-fge
cd-fge previously approved these changes Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants