Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make asyncore support optional for Python 3. #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

troycurtisjr
Copy link

Simple fix for Python 3.12 since it dropped asyncore. Catches the import error instead of using a version check so that the user can install the compatibility package for any uses that can't be upgraded to asyncio or similar immediately.

Fixes #204.

sarcasticadmin added a commit to sarcasticadmin/nixpkgs that referenced this pull request Jul 9, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205
sarcasticadmin added a commit to sarcasticadmin/nixpkgs that referenced this pull request Jul 9, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this pull request Jul 15, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205

(cherry picked from commit 7ea81e0)
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.

Python 3.12 removed asyncore module
1 participant