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 }}
bpython
bpython
Repository navigation
Code
Issues
144
(144)
Pull requests
7
(7)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
bpython
bpython
formatter.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 17, 2025
Upgrade code to 3.9+
sebastinas
committed
9b34424
View commit details
Copy full SHA for 9b34424
View code at this point
Browse repository at this point
Commits on Jan 14, 2022
Adding type hints to formatter.py
Ben-Reg
authored and
thomasballinger
committed
5629bbe
View commit details
Copy full SHA for 5629bbe
View code at this point
Browse repository at this point
Commits on Nov 7, 2021
Use more f-strings
sebastinas
committed
2f7899b
View commit details
Copy full SHA for 2f7899b
View code at this point
Browse repository at this point
Commits on Oct 13, 2020
Use str.format and f-strings where possible
sebastinas
committed
3b83c02
View commit details
Copy full SHA for 3b83c02
View code at this point
Browse repository at this point
Remove use of six.iteritems
sebastinas
committed
5a42d0a
View commit details
Copy full SHA for 5a42d0a
View code at this point
Browse repository at this point
Update use of super and class definitions
sebastinas
committed
8f03ee2
View commit details
Copy full SHA for 8f03ee2
View code at this point
Browse repository at this point
Remove encoding header
sebastinas
committed
ebe19cc
View commit details
Copy full SHA for ebe19cc
View code at this point
Browse repository at this point
Remove __future__ imports
sebastinas
committed
bebcdb3
View commit details
Copy full SHA for bebcdb3
View code at this point
Browse repository at this point
Commits on Nov 22, 2019
Blacken the source code and add `black` configuration.
Show description for cde2aad
ikanobori
committed
cde2aad
View commit details
Copy full SHA for cde2aad
View code at this point
Browse repository at this point
Commits on Oct 4, 2019
Use super where possible
sebastinas
committed
072576a
View commit details
Copy full SHA for 072576a
View code at this point
Browse repository at this point
Commits on Jan 10, 2017
Fix typo
sebastinas
committed
7c8cef6
View commit details
Copy full SHA for 7c8cef6
View code at this point
Browse repository at this point
Commits on Jan 8, 2017
Use consistent encoding
Show description for 4029ab2
sebastinas
committed
4029ab2
View commit details
Copy full SHA for 4029ab2
View code at this point
Browse repository at this point
Commits on Dec 19, 2016
Fix typos
sebastinas
committed
1d23529
View commit details
Copy full SHA for 1d23529
View code at this point
Browse repository at this point
Commits on Apr 7, 2016
spelling: preceded
jsoref
committed
dc8563e
View commit details
Copy full SHA for dc8563e
View code at this point
Browse repository at this point
Commits on Feb 6, 2015
PEP-8
Show description for 5b406c1
sebastinas
committed
5b406c1
View commit details
Copy full SHA for 5b406c1
View code at this point
Browse repository at this point
Commits on Feb 5, 2015
PEP-8
Show description for 589a867
sebastinas
committed
589a867
View commit details
Copy full SHA for 589a867
View code at this point
Browse repository at this point
Commits on Feb 4, 2015
Use iter* from six
Show description for d513d3a
sebastinas
committed
d513d3a
View commit details
Copy full SHA for d513d3a
View code at this point
Browse repository at this point
Revert "Use methods without iter"
Show description for 7064858
sebastinas
committed
7064858
View commit details
Copy full SHA for 7064858
View code at this point
Browse repository at this point
Use methods without iter
Show description for 1ef719c
sebastinas
committed
1ef719c
View commit details
Copy full SHA for 1ef719c
View code at this point
Browse repository at this point
Commits on Mar 29, 2010
REPOFIX: Revert to before bpdb branch
ikanobori
committed
634b9a0
View commit details
Copy full SHA for 634b9a0
View code at this point
Browse repository at this point
Commits on Oct 27, 2009
PEP-8 conformance
ikanobori
committed
2c906bf
View commit details
Copy full SHA for 2c906bf
View code at this point
Browse repository at this point
Commits on Oct 9, 2009
< bob_f> "The dawn of a new era !"
Show description for 597ef02
Trundle
committed
597ef02
View commit details
Copy full SHA for 597ef02
View code at this point
Browse repository at this point
Commits on Sep 18, 2009
Remove some unused imports.
Trundle
committed
7020939
View commit details
Copy full SHA for 7020939
View code at this point
Browse repository at this point
Commits on Aug 23, 2009
Use parent's type instead of generic Token in formatter.
Trundle
committed
7c24edf
View commit details
Copy full SHA for 7c24edf
View code at this point
Browse repository at this point
Commits on Jul 17, 2009
Forgot to remove some old code in commit b6bacd19248d.
Trundle
committed
2a4bc48
View commit details
Copy full SHA for 2a4bc48
View code at this point
Browse repository at this point
Fixed a curses error for terminals which do not support setting the cursor, by Marien Zwart
ikanobori
committed
412513a
View commit details
Copy full SHA for 412513a
View code at this point
Browse repository at this point
Commits on Jul 12, 2009
Improve and fix the "under cursor" detection of paren highlighting.
Trundle
committed
5a0d9d6
View commit details
Copy full SHA for 5a0d9d6
View code at this point
Browse repository at this point
Fix a typo and off-by-one in paren highlighting.
Trundle
committed
cb4527e
View commit details
Copy full SHA for cb4527e
View code at this point
Browse repository at this point
Commits on Jul 11, 2009
Highlight the paren under the cursor in a different color and hide the cursor.
Trundle
committed
7ce15e4
View commit details
Copy full SHA for 7ce15e4
View code at this point
Browse repository at this point
Commits on Jun 11, 2009
add more friendly error on theme load fail, add support for "cI" colours (I
Show description for 3c6e4c2
bobf
committed
3c6e4c2
View commit details
Copy full SHA for 3c6e4c2
View code at this point
Browse repository at this point
Commits on Jun 9, 2009
make paren matching highlight in a different background colour
bobf
committed
d8007e8
View commit details
Copy full SHA for d8007e8
View code at this point
Browse repository at this point
Commits on Jun 8, 2009
simplify "bold" output - just use an upper case character, slightly change
Show description for fea3d8d
bobf
committed
fea3d8d
View commit details
Copy full SHA for fea3d8d
View code at this point
Browse repository at this point
Commits on Jun 7, 2009
add theme support for fully configurable colours and do a bit of tidying up of
Show description for 6afbe52
bobf
committed
6afbe52
View commit details
Copy full SHA for 6afbe52
View code at this point
Browse repository at this point
Implemented highlighting of matching parentheses
Trundle
committed
6054b16
View commit details
Copy full SHA for 6054b16
View code at this point
Browse repository at this point
Commits on Jun 6, 2009
fix traceback colour not being customisable and (hopefully) improve light
Show description for 08c5b26
bobf
committed
08c5b26
View commit details
Copy full SHA for 08c5b26
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.