Python's 2026 Code of Conduct Update: Key Changes
The PSF announces 2026 updates to Python's Code of Conduct, including clearer harassment definitions, anonymous reporting, and stricter accountability for moderators. Learn what changes and why they matter for the community.
Python's 2026 Code of Conduct Update: What’s Changing and Why It Matters
If you’ve been around the Python community for a while, you know the Code of Conduct (CoC) isn’t just a formality. It’s the backbone of how we interact in conferences, mailing lists, and even on GitHub. The Python Software Foundation (PSF) recently announced updates to the CoC for 2026, and let me tell you, these aren’t minor tweaks. They’re thoughtful changes aimed at making the community more inclusive, clear, and actionable. Let’s break down what’s new and why you should care.
The Big Picture: Why Update Now?
First, a little context. The original CoC was written years ago, and while it served its purpose, the community has grown. Python now powers everything from web apps to AI models, and the people behind it come from diverse backgrounds, cultures, and countries. The old language sometimes left room for interpretation, which could create confusion or even discourage participation.
The PSF’s goal with the 2026 update is to close those gaps, especially around reporting procedures and explicit examples of unacceptable behavior. This isn't about being overly strict—it's about ensuring everyone feels safe to contribute, whether you’re a first-time attendee at PyCon or a seasoned core developer.
Key Changes in the 2026 Update
Here’s a rundown of the most notable modifications:
1. Clearer Definitions of Harassment
The old CoC mentioned “harassment” broadly, but the new version expands on specific examples like:
- Deliberate intimidation, stalking, or following (both online and in person).
- Inappropriate physical contact or unwelcome sexual attention.
- Sustained disruption of talks, workshops, or other events.
For PythonSkillset readers who teach or mentor others, this is especially relevant. If you’re running a tutorial session and someone repeatedly talks over newcomers, that’s a disruptive behavior the CoC now explicitly covers.
2. Stronger Emphasis on Reporting in Multiple Languages
One underappreciated aspect of Python’s community is its global reach. The 2026 update mandates that reporting channels must support translations and interpretation for non-English speakers. This is a huge step forward. Imagine being at a sprints event in Argentina, feeling uncomfortable, but struggling to report it in English. Now, the CoC requires conference organizers and online forums to offer reporting in the local language of the event.
3. Anonymous Reporting Options
Not everyone feels safe using their real name when reporting a violation. The new CoC introduces a verified anonymous reporting mechanism. This means you can report an issue without revealing your identity, but the report must still contain enough detail to be actionable. It’s a tricky balance, but it gives voice to people who might otherwise stay silent.
4. Accountability for Moderators and Volunteers
Previously, if a moderator or event organizer violated the CoC, the reporting path was fuzzy. The 2026 update explicitly states that volunteers and leadership are subject to the same standards. If a PyCon moderator makes inappropriate jokes, that’s reportable, and there’s a clear process for handling it without conflict of interest.
5. Updated Sanctions and Resolution Process
The old system sometimes felt like a black box: you report, wait, and maybe hear back. Now, the PSF outlines a tiered response:
- Warning: For first-time or minor infractions.
- Temporary ban: From specific channels or events.
- Permanent ban: For severe, repeated, or intentional violations.
The timeline for responses is also tighter—targeting 7 business days for initial acknowledgement and 30 days for resolution.
How This Affects You as a Python Skillset Reader
Let’s get practical. Whether you’re a hobbyist, a student, or a professional developer, these changes matter in your day-to-day Python journey.
If you run a local meetup or workshop
You should update your group’s own CoC to align with the 2026 PSF standards. It’s as simple as copying the new text and adapting it. More importantly, ensure you have a designated, trained person (or two) to handle reports. The new guidelines recommend that anyone dealing with CoC issues receives training—something many small groups overlook.
If you participate in online forums (Discord, Slack, GitHub)
Be aware that the anonymous reporting option now applies to digital spaces too. So if you see toxic behavior in a Python Discord server, you don’t have to fear retaliation. Use the reporting tool, and include timestamps and quotes.
If you contribute to CPython or major libraries
Core development can be intense, with strong technical disagreements. The updated CoC clarifies that “disagreement is fine, but personal attacks are not.” You can debate PEP 8 formatting for hours, but don’t call someone’s code “stupid” or question their ability. That’s a reportable offense.
A Real-World Example
Let me share a quick story. Last year, at a regional Python conference, a speaker made repeated jokes about a specific programming language being “for amateurs.” Some attendees found it funny, but a few beginners felt uncomfortable and left. Under the old CoC, the organizers weren’t sure if that counted as harassment. Under the 2026 rules, it would likely trigger a warning to the speaker—and if it continued, a session removal.
This isn’t about censorship. It’s about making sure everyone, from beginners to experts, feels welcome. As PythonSkillset readers, we know that the best ideas come from diverse perspectives. A hostile environment kills innovation.
What’s Next?
The PSF is rolling out the 2026 CoC over the next few months. They’re also collecting feedback. If you have thoughts on the updated language, you can submit comments via the official PSF wiki. The deadline for public input is March 2026.
In the meantime, I recommend reading the full draft yourself. It’s not long—maybe 3 pages—but it’s worth your time. Understanding the CoC isn’t just about compliance; it’s about being a better member of the Python community.
This article was written for PythonSkillset.com, your go-to source for practical Python guides and community insights.
Comments
Questions, corrections, and tips stay visible for everyone reading this page.
Join the discussion
No comments yet
Be the first to leave a note — it helps the next reader.