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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.7k
Star
77.3k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
_sitebuiltins.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on May 25, 2026
gh-150427: Remove unused `__linecnt` attribute from `_sitebuiltins` (#150428)
angelolicastro
authored
c549837
View commit details
Copy full SHA for c549837
View code at this point
Browse repository at this point
Commits on Mar 10, 2026
gh-145035: Allows removing the _pyrepl module to completely disable the modern REPL (GH-145159)
zooba
authored
ae0d287
View commit details
Copy full SHA for ae0d287
View code at this point
Browse repository at this point
Commits on Jan 2, 2026
gh-138897: Use `_pyrepl.pager` for `_sitebuiltins._Printer` (GH-138898)
Show description for 0417dab
StanFromIreland
and
ambv
authored
0417dab
View commit details
Copy full SHA for 0417dab
View code at this point
Browse repository at this point
Commits on Apr 6, 2021
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189)
Show description for fb78692
methane
authored
fb78692
View commit details
Copy full SHA for fb78692
View code at this point
Browse repository at this point
Commits on Apr 19, 2014
#9364: Improve the text printed by help(pydoc) and help(help).
bitdancer
committed
3d050dd
View commit details
Copy full SHA for 3d050dd
View code at this point
Browse repository at this point
Commits on Aug 6, 2013
Normalize whitespace
pitrou
committed
47cd96e
View commit details
Copy full SHA for 47cd96e
View code at this point
Browse repository at this point
Issue #18621: Prevent the site module's patched builtins from keeping too many references alive for too long.
pitrou
committed
853395b
View commit details
Copy full SHA for 853395b
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.