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
/
typeshed
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
5.1k
Code
Issues
219
Pull requests
150
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
More precise return types for open(), Path.open(), bz2.open(), etc.
- #3371
#3371
Merged
JelleZijlstra
merged 16 commits into
python:master
python/typeshed:master
from
ilai-deutel:overloaded-open
ilai-deutel/typeshed:overloaded-open
Copy head branch name to clipboard
May 28, 2020
Conversation
Commits
16
(16)
Checks
Files changed
Merged
More precise return types for open(), Path.open(), bz2.open(), etc.
#3371
JelleZijlstra
merged 16 commits into
python:master
python/typeshed:master
from
ilai-deutel:overloaded-open
ilai-deutel/typeshed:overloaded-open
Copy head branch name to clipboard
Commits
Commits on Oct 16, 2019
Overload on mode for open() and Path.open()
ilai-deutel
committed
71506a8
View commit details
Copy full SHA for 71506a8
Browse repository at this point
Update Python2 stubs
ilai-deutel
committed
6bec337
View commit details
Copy full SHA for 6bec337
Browse repository at this point
overload + Literal on BZ2, gzip, LZMA
ilai-deutel
committed
23749a6
View commit details
Copy full SHA for 23749a6
Browse repository at this point
Apply black partially to builtin.pyi
ilai-deutel
committed
952dc90
View commit details
Copy full SHA for 952dc90
Browse repository at this point
Fix pytype exceptions
ilai-deutel
committed
0335f3f
View commit details
Copy full SHA for 0335f3f
Browse repository at this point
Commits on Oct 17, 2019
Move _OpenBinaryMode and _OpenTextMode to io; refactor code
ilai-deutel
committed
38e04fe
View commit details
Copy full SHA for 38e04fe
Browse repository at this point
Fix missing import in io
ilai-deutel
committed
1619c9b
View commit details
Copy full SHA for 1619c9b
Browse repository at this point
Commits on Oct 25, 2019
Merge branch 'master' into overloaded-open
ilai-deutel
committed
1eb282e
View commit details
Copy full SHA for 1eb282e
Browse repository at this point
Commits on Nov 11, 2019
Merge branch 'master' into overloaded-open
ilai-deutel
committed
e6a4321
View commit details
Copy full SHA for e6a4321
Browse repository at this point
Commits on Nov 12, 2019
Merge branch 'master' into overloaded-open
ilai-deutel
committed
3a631c0
View commit details
Copy full SHA for 3a631c0
Browse repository at this point
Commits on Jan 15, 2020
Merge branch 'master' into overloaded-open
ilai-deutel
committed
f924ef2
View commit details
Copy full SHA for f924ef2
Browse repository at this point
open() always return BinaryIO in Python2
ilai-deutel
committed
7455811
View commit details
Copy full SHA for 7455811
Browse repository at this point
Commits on Apr 12, 2020
Merge branch 'master' into overloaded-open
ilai-deutel
committed
529d3b8
View commit details
Copy full SHA for 529d3b8
Browse repository at this point
Commits on May 28, 2020
Merge branch 'overloaded-open' of https://github.com/ilai-deutel/typeshed into ilai-deutel-overloaded-open
JelleZijlstra
committed
a4f11f1
View commit details
Copy full SHA for a4f11f1
Browse repository at this point
Merge remote-tracking branch 'upstream/master' into ilai-deutel-overloaded-open
JelleZijlstra
committed
70916ef
View commit details
Copy full SHA for 70916ef
Browse repository at this point
Remove support for Python 3.4
Show description for 7bc89fe
ilai-deutel
and
srittau
authored
7bc89fe
View commit details
Copy full SHA for 7bc89fe
Browse repository at this point
You can’t perform that action at this time.