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.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Tools
scripts
highlight.py
on
3.8
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 8, 2016
#27364: fix "incorrect" uses of escape character in the stdlib.
Show description for 44b548d
bitdancer
committed
44b548d
View commit details
Copy full SHA for 44b548d
View code at this point
Browse repository at this point
Commits on Dec 1, 2014
Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
Show description for 7a1104d
serhiy-storchaka
committed
7a1104d
View commit details
Copy full SHA for 7a1104d
View code at this point
Browse repository at this point
Commits on Jul 23, 2012
Simplify the LaTeX section (only three escapes are needed for alltt)
rhettinger
committed
d3f63d3
View commit details
Copy full SHA for d3f63d3
View code at this point
Browse repository at this point
Commits on Jul 15, 2012
Fix-up latex styling
rhettinger
committed
c4ac789
View commit details
Copy full SHA for c4ac789
View code at this point
Browse repository at this point
Commits on Jul 13, 2012
Fix builtin test and simplify the classified text tuple.
rhettinger
committed
fb20a1a
View commit details
Copy full SHA for fb20a1a
View code at this point
Browse repository at this point
Commits on Jul 10, 2012
Add simple LaTeX markup
rhettinger
committed
7d39055
View commit details
Copy full SHA for 7d39055
View code at this point
Browse repository at this point
Commits on Jul 9, 2012
Add verbose option for diagnostics
rhettinger
committed
848245a
View commit details
Copy full SHA for 848245a
View code at this point
Browse repository at this point
Commits on Jul 8, 2012
Minor algorithmic tweaks, better factoring, improved docstrings and variable names
rhettinger
committed
42a5f4a
View commit details
Copy full SHA for 42a5f4a
View code at this point
Browse repository at this point
Commits on Jul 4, 2012
Fix undefined names in __all__.
mdickinson
committed
3bee1f1
View commit details
Copy full SHA for 3bee1f1
View code at this point
Browse repository at this point
Make ANSI the default output style
rhettinger
committed
5b381a3
View commit details
Copy full SHA for 5b381a3
View code at this point
Browse repository at this point
Commits on Jul 3, 2012
Add examples to the module docstring
rhettinger
committed
0712f40
View commit details
Copy full SHA for 0712f40
View code at this point
Browse repository at this point
Fix spelling.
rhettinger
committed
1087d9c
View commit details
Copy full SHA for 1087d9c
View code at this point
Browse repository at this point
Add support for ANSI escape sequences
rhettinger
committed
3a96161
View commit details
Copy full SHA for 3a96161
View code at this point
Browse repository at this point
Refactor to isolate HTML encoding step from the parsing step.
rhettinger
committed
5da6039
View commit details
Copy full SHA for 5da6039
View code at this point
Browse repository at this point
Fix keyword argument
rhettinger
committed
ac5f846
View commit details
Copy full SHA for ac5f846
View code at this point
Browse repository at this point
Minor cleanups
rhettinger
committed
cf6eac4
View commit details
Copy full SHA for cf6eac4
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.