Skip to content

Rewrite to use asyncio instead of asynchat #1414

@dgw

Description

@dgw

Python's asyncore and asynchat modules are deprecated as of 3.6. The asyncio module was added in 3.4, and Sopel should probably be rewritten on top of that when Python 2.x support is dropped.

I don't think there's a specific timeline for that happening yet. Maybe whenever Python releases a stable version that no longer supports asyncore and asynchat, it'll be a good time to make Sopel require Python 3.4+. That probably won't happen for years to come, but I think it's good to get this on the radar.

No milestone until Python actually removes the modules. The next major release of Sopel after that happens will include this rewrite. (Anyone want to place bets on what the version number will be? 😹)

Metadata

Metadata

Assignees

Labels

High PriorityLong-term PlanningThings that need to happen at some point in the future, but need to NOT happen soon.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions