Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
socket.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 8, 2019
bpo-35934: Add socket.create_server() utility function (GH-11784)
giampaolo
authored
eb7e29f
View commit details
Copy full SHA for eb7e29f
View code at this point
Browse repository at this point
Commits on Oct 31, 2018
bpo-33138: Change standard error message for non-pickleable and non-copyable types. (GH-6239)
serhiy-storchaka
authored
0353b4e
View commit details
Copy full SHA for 0353b4e
View code at this point
Browse repository at this point
Commits on Sep 12, 2018
bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)
Show description for 0fb9fad
orlnub123
authored and
ethanfurman
committed
0fb9fad
View commit details
Copy full SHA for 0fb9fad
View code at this point
Browse repository at this point
Commits on Jan 29, 2018
bpo-28134: Auto-detect socket values from file descriptor (#1349)
Show description for b6e43af
tiran
authored
b6e43af
View commit details
Copy full SHA for b6e43af
View code at this point
Browse repository at this point
Commits on Dec 19, 2017
bpo-32331: Fix socket.type when SOCK_NONBLOCK is available (#4877)
Yury Selivanov
authored
9818142
View commit details
Copy full SHA for 9818142
View code at this point
Browse repository at this point
Commits on Sep 13, 2017
bpo-31234, socket.create_connection(): Fix ref cycle (#3546)
vstinner
authored
acb9fa7
View commit details
Copy full SHA for acb9fa7
View code at this point
Browse repository at this point
Commits on Sep 17, 2016
Issue #26384: Merge from 3.5
berkerpeksag
committed
5d625cf
View commit details
Copy full SHA for 5d625cf
View code at this point
Browse repository at this point
Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile
berkerpeksag
committed
bcfb35f
View commit details
Copy full SHA for bcfb35f
View code at this point
Browse repository at this point
Commits on Sep 11, 2016
issue28083: add IntFlag constants
ethanfurman
committed
40bed8a
View commit details
Copy full SHA for 40bed8a
View code at this point
Browse repository at this point
Commits on Aug 17, 2016
Issue #27698: Add socketpair to socket.__all__ on Windows
vstinner
committed
3da5743
View commit details
Copy full SHA for 3da5743
View code at this point
Browse repository at this point
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
View commit details
Copy full SHA for 6a7b3a7
View code at this point
Browse repository at this point
Commits on Feb 18, 2016
Issue #16915: Clarify that mode parameter of socket.makefile() does not accept
Show description for 3fe64d0
berkerpeksag
committed
3fe64d0
View commit details
Copy full SHA for 3fe64d0
View code at this point
Browse repository at this point
Commits on Oct 25, 2015
merge 3.4 (#25471)
benjaminp
committed
2775d85
View commit details
Copy full SHA for 2775d85
View code at this point
Browse repository at this point
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)
benjaminp
committed
d9dbf49
View commit details
Copy full SHA for d9dbf49
View code at this point
Browse repository at this point
Commits on Mar 19, 2015
issue23673
Show description for 24e837f
ethanfurman
committed
24e837f
View commit details
Copy full SHA for 24e837f
View code at this point
Browse repository at this point
issue23673
Show description for 482fe04
ethanfurman
committed
482fe04
View commit details
Copy full SHA for 482fe04
View code at this point
Browse repository at this point
Commits on Feb 7, 2015
Issue #23285: PEP 475 -- Retry system calls failing with EINTR.
cf-natali
committed
6e6c59b
View commit details
Copy full SHA for 6e6c59b
View code at this point
Browse repository at this point
Commits on Jan 13, 2015
merge 3.4 (#23221)
benjaminp
committed
610bc6a
View commit details
Copy full SHA for 610bc6a
View code at this point
Browse repository at this point
fix instances of consecutive articles (closes #23221)
Show description for 82f34ad
benjaminp
committed
82f34ad
View commit details
Copy full SHA for 82f34ad
View code at this point
Browse repository at this point
Commits on Nov 19, 2014
Issue #20604: Added missed invalid mode in error message of socket.makefile().
Show description for a9568bb
serhiy-storchaka
committed
a9568bb
View commit details
Copy full SHA for a9568bb
View code at this point
Browse repository at this point
Issue #20604: Added missed invalid mode in error message of socket.makefile().
Show description for fca2fc0
serhiy-storchaka
committed
fca2fc0
View commit details
Copy full SHA for fca2fc0
View code at this point
Browse repository at this point
Commits on Oct 18, 2014
Issue20689: add missing API pieces to __all__
ethanfurman
committed
61358f4
View commit details
Copy full SHA for 61358f4
View code at this point
Browse repository at this point
Issue20689: add missing API pieces to __all__
ethanfurman
committed
8e120ac
View commit details
Copy full SHA for 8e120ac
View code at this point
Browse repository at this point
Commits on Oct 15, 2014
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
ethanfurman
committed
41d3196
View commit details
Copy full SHA for 41d3196
View code at this point
Browse repository at this point
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
ethanfurman
committed
7184bac
View commit details
Copy full SHA for 7184bac
View code at this point
Browse repository at this point
Commits on Oct 14, 2014
Issue #18643: Add socket.socketpair() on Windows.
cf-natali
committed
98c745a
View commit details
Copy full SHA for 98c745a
View code at this point
Browse repository at this point
Commits on Jul 22, 2014
Issue #22032: __qualname__ instead of __name__ is now always used to format
Show description for 521e586
serhiy-storchaka
committed
521e586
View commit details
Copy full SHA for 521e586
View code at this point
Browse repository at this point
Commits on Jun 11, 2014
fix issue #17552: add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
giampaolo
committed
915d141
View commit details
Copy full SHA for 915d141
View code at this point
Browse repository at this point
Commits on Oct 3, 2013
Provide a more readable representation of socket on repr().
Show description for b628149
giampaolo
committed
b628149
View commit details
Copy full SHA for b628149
View code at this point
Browse repository at this point
Commits on Aug 31, 2013
Switch the AF_* and SOCK_* constants in the socket module to IntEnum.
Show description for b2ff3cf
eliben
committed
b2ff3cf
View commit details
Copy full SHA for b2ff3cf
View code at this point
Browse repository at this point
Commits on Aug 27, 2013
Issue #18571: Implementation of the PEP 446: file descriptors and file handles
Show description for daf4555
vstinner
committed
daf4555
View commit details
Copy full SHA for daf4555
View code at this point
Browse repository at this point
Commits on Jul 4, 2013
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
brettcannon
committed
cd171c8
View commit details
Copy full SHA for cd171c8
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18200: Update the stdlib (except tests) to use
Show description for 0a14066
brettcannon
committed
0a14066
View commit details
Copy full SHA for 0a14066
View code at this point
Browse repository at this point
Commits on Apr 10, 2013
Fix issue #17675: make socket repr() provide local and remote addresses (if any).
giampaolo
committed
50331cb
View commit details
Copy full SHA for 50331cb
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.