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
Type
/
to 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
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
bpo-15216: TextIOWrapper support change encoding after creation
- #2343
#2343
Merged
methane
merged 12 commits into
python:master
python/cpython:master
from
methane:reconfigure-encoding
methane/cpython:reconfigure-encoding
Copy head branch name to clipboard
Dec 21, 2017
Conversation
Commits
12
(12)
Checks
Files changed
Merged
bpo-15216: TextIOWrapper support change encoding after creation
#2343
methane
merged 12 commits into
python:master
python/cpython:master
from
methane:reconfigure-encoding
methane/cpython:reconfigure-encoding
Copy head branch name to clipboard
Commits
Commits on Sep 15, 2017
bpo-15216: TextIOWrapper support set encoding, errors and newline after creation
methane
committed
b74d8d6
View commit details
Copy full SHA for b74d8d6
Browse repository at this point
Add note about changing encoding after write
methane
committed
6213e31
View commit details
Copy full SHA for 6213e31
Browse repository at this point
Add NEWS file
methane
committed
25a8acf
View commit details
Copy full SHA for 25a8acf
Browse repository at this point
Commits on Sep 16, 2017
Fix TextIOWrapper.reconfigure(newline=None)
methane
committed
8d1ca37
View commit details
Copy full SHA for 8d1ca37
Browse repository at this point
Fix _pyio.TextIOWrapper.reconfigure(encoding=...)
Show description for 687e18a
methane
committed
687e18a
View commit details
Copy full SHA for 687e18a
Browse repository at this point
Commits on Sep 17, 2017
Don't detect new encoding is alias of old encoding.
Show description for 24518bc
methane
committed
24518bc
View commit details
Copy full SHA for 24518bc
Browse repository at this point
Commits on Dec 15, 2017
Merge remote-tracking branch 'origin/master' into reconfigure-encoding
methane
committed
ef44458
View commit details
Copy full SHA for ef44458
Browse repository at this point
Doc: Explain keyword only arguments are optional
methane
committed
4d09f6d
View commit details
Copy full SHA for 4d09f6d
Browse repository at this point
test: Add missing assert
methane
committed
3af545d
View commit details
Copy full SHA for 3af545d
Browse repository at this point
Fix comments and error message
methane
committed
78c9cd5
View commit details
Copy full SHA for 78c9cd5
Browse repository at this point
prohibit setting newline after first read
methane
committed
b323dcd
View commit details
Copy full SHA for b323dcd
Browse repository at this point
Commits on Dec 20, 2017
doc: newline can't be changed after read
methane
committed
1018b67
View commit details
Copy full SHA for 1018b67
Browse repository at this point
You can’t perform that action at this time.