Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3.8k
Star
24k
Code
Issues
196
Pull requests
225
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Pin text I/O to UTF-8 and fail CI on locale-dependent reads/writes
- #3296
#3296
Merged
maxisbey
merged 10 commits into
main
modelcontextprotocol/python-sdk:main
from
encoding-guard
modelcontextprotocol/python-sdk:encoding-guard
Copy head branch name to clipboard
Aug 16, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
Pin text I/O to UTF-8 and fail CI on locale-dependent reads/writes
#3296
maxisbey
merged 10 commits into
main
modelcontextprotocol/python-sdk:main
from
encoding-guard
modelcontextprotocol/python-sdk:encoding-guard
Copy head branch name to clipboard
Commits
Commits on Aug 11, 2026
Read UTF-8 test fixtures with explicit encoding
Show description for d8f8feb
2 people
authored and
maxisbey
committed
d8f8feb
View commit details
Copy full SHA for d8f8feb
Browse repository at this point
Pin text I/O to UTF-8 and fail CI on locale-dependent reads/writes
Show description for 6c27385
maxisbey
committed
6c27385
View commit details
Copy full SHA for 6c27385
Browse repository at this point
Commits on Aug 14, 2026
Address review: quote "$@", fail the README check closed, reword the ruff preview note
Show description for b8e97a0
maxisbey
committed
b8e97a0
View commit details
Copy full SHA for b8e97a0
Browse repository at this point
Merge remote-tracking branch 'origin/main' into encoding-guard
maxisbey
committed
f72016f
View commit details
Copy full SHA for f72016f
Browse repository at this point
Drop the preview-only lint rule, gate the pre-commit hook too, tolerate a BOM in the Claude config
Show description for dbf7dca
maxisbey
committed
dbf7dca
View commit details
Copy full SHA for dbf7dca
Browse repository at this point
Decode the captured child stderr leniently, like the other two captures
maxisbey
committed
9572a85
View commit details
Copy full SHA for 9572a85
Browse repository at this point
Trim to the test-suite guard; let the JSON layer own the config's encoding
Show description for f2bdbb7
maxisbey
committed
f2bdbb7
View commit details
Copy full SHA for f2bdbb7
Browse repository at this point
Point contributors at scripts/test; keep a test's quoted tutorial line in sync
maxisbey
committed
1bc8670
View commit details
Copy full SHA for 1bc8670
Browse repository at this point
Don't ask people to set the env var for everyday test runs; scripts/test and CI carry it
maxisbey
committed
17aed5d
View commit details
Copy full SHA for 17aed5d
Browse repository at this point
README snippet check: give a mis-encoded source the same one-line error as a missing one
maxisbey
committed
26447e2
View commit details
Copy full SHA for 26447e2
Browse repository at this point
You can’t perform that action at this time.