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
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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.6k
(2.6k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
test
test_pathlib
test_read.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 19, 2026
Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (#154008)
Show description for 9f5af27
ravg998
and
tomasr8
authored
9f5af27
View commit details
Copy full SHA for 9f5af27
View code at this point
Browse repository at this point
Commits on Sep 12, 2025
GH-128520: pathlib ABCs: improve protocol for 'openable' objects (#134101)
Show description for 805e336
barneygale
and
encukou
authored
805e336
View commit details
Copy full SHA for 805e336
View code at this point
Browse repository at this point
Commits on Apr 28, 2025
GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)
Show description for 336322b
barneygale
authored
336322b
View commit details
Copy full SHA for 336322b
View code at this point
Browse repository at this point
GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)
Show description for fbffd70
barneygale
authored
fbffd70
View commit details
Copy full SHA for fbffd70
View code at this point
Browse repository at this point
Commits on Mar 24, 2025
GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)
Show description for d716ea3
barneygale
authored
d716ea3
View commit details
Copy full SHA for d716ea3
View code at this point
Browse repository at this point
GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#127343)
Show description for fbfb0e1
barneygale
authored
fbfb0e1
View commit details
Copy full SHA for fbfb0e1
View code at this point
Browse repository at this point
Commits on Mar 21, 2025
GH-128520: pathlib ABCs: allow tests to be run externally (#131315)
Show description for cf9d1a4
barneygale
authored
cf9d1a4
View commit details
Copy full SHA for cf9d1a4
View code at this point
Browse repository at this point
Commits on Mar 11, 2025
GH-130614: pathlib ABCs: revise test suite for readable paths (#131018)
Show description for ad90c5f
barneygale
authored
ad90c5f
View commit details
Copy full SHA for ad90c5f
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.