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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
__future__.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 26, 2018
String annotations [PEP 563] (#4390)
Show description for 95e4d58
gvanrossum
authored and
ambv
committed
95e4d58
View commit details
Copy full SHA for 95e4d58
View code at this point
Browse repository at this point
Commits on May 9, 2015
PEP 479: Change StopIteration handling inside generators.
Show description for 8170e8c
Yury Selivanov
committed
8170e8c
View commit details
Copy full SHA for 8170e8c
View code at this point
Browse repository at this point
Commits on May 19, 2012
#14494: Document that absolute imports became default in 3.0 instead of 2.7.
akheron
committed
079bfc9
View commit details
Copy full SHA for 079bfc9
View code at this point
Browse repository at this point
Commits on Apr 1, 2009
barry has already been causing test breakage
benjaminp
committed
91d7dfd
View commit details
Copy full SHA for 91d7dfd
View code at this point
Browse repository at this point
The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!
brettcannon
committed
e3944a5
View commit details
Copy full SHA for e3944a5
View code at this point
Browse repository at this point
Commits on Mar 26, 2008
Merged revisions 61952-61953 via svnmerge from
Show description for 4d6ec85
tiran
committed
4d6ec85
View commit details
Copy full SHA for 4d6ec85
View code at this point
Browse repository at this point
Commits on Mar 20, 2008
Add __future__ import for print_function. It's a no-op in 3.0, but it needs to not be a syntax error.
Show description for 8782408
ericvsmith
committed
8782408
View commit details
Copy full SHA for 8782408
View code at this point
Browse repository at this point
Commits on Apr 21, 2006
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Show description for 49fd7fa
Yhg1s
committed
49fd7fa
View commit details
Copy full SHA for 49fd7fa
View code at this point
Browse repository at this point
Commits on Feb 28, 2006
Make __future__ features similar for with and absolute import since they were both added before a1
nnorwitz
committed
9193491
View commit details
Copy full SHA for 9193491
View code at this point
Browse repository at this point
from __future__ import with_statement addon for 'with', mostly written by
Show description for 34aa7ba
Yhg1s
committed
34aa7ba
View commit details
Copy full SHA for 34aa7ba
View code at this point
Browse repository at this point
SF patch #1438387, PEP 328: relative and absolute imports.
Show description for f7f438b
Yhg1s
committed
f7f438b
View commit details
Copy full SHA for f7f438b
View code at this point
Browse repository at this point
Commits on Feb 27, 2006
Finish removal of CO_GENERATOR_ALLOWED.
nnorwitz
committed
0023a2f
View commit details
Copy full SHA for 0023a2f
View code at this point
Browse repository at this point
Commits on Aug 24, 2001
Repair repr of future-features (wasn't updated to include the new
Show description for 16c018d
tim-one
committed
16c018d
View commit details
Copy full SHA for 16c018d
View code at this point
Browse repository at this point
Back out trying to use the C values for CO_xxx.
Show description for 8967507
tim-one
committed
8967507
View commit details
Copy full SHA for 8967507
View code at this point
Browse repository at this point
Commits on Aug 19, 2001
Avoid total dependency on the new module. This addresses the problem
Show description for 8cb00e2
gvanrossum
committed
8cb00e2
View commit details
Copy full SHA for 8cb00e2
View code at this point
Browse repository at this point
Commits on Aug 18, 2001
Expose the CO_xxx flags via the "new" module (re-solving a problem "the
Show description for aa32070
tim-one
committed
aa32070
View commit details
Copy full SHA for aa32070
View code at this point
Browse repository at this point
Commits on Aug 17, 2001
A self-contained piece of Michael Hudson's patch
Show description for de642bd
tim-one
committed
de642bd
View commit details
Copy full SHA for de642bd
View code at this point
Browse repository at this point
Commits on Aug 8, 2001
Implement PEP 238 in its (almost) full glory.
Show description for 4668b00
gvanrossum
committed
4668b00
View commit details
Copy full SHA for 4668b00
View code at this point
Browse repository at this point
Commits on Jul 15, 2001
Preliminary support for "from __future__ import generators" to enable
Show description for b09f7ed
gvanrossum
committed
b09f7ed
View commit details
Copy full SHA for b09f7ed
View code at this point
Browse repository at this point
Commits on Jul 12, 2001
Remove now-unnecessary "from __future__ import nested_scopes" stmts.
tim-one
committed
c4889c4
View commit details
Copy full SHA for c4889c4
View code at this point
Browse repository at this point
Commits on Mar 15, 2001
Remove redundant "__future__:" from module docstring.
zestyping
committed
3bda4f0
View commit details
Copy full SHA for 3bda4f0
View code at this point
Browse repository at this point
Commits on Mar 2, 2001
Typo repair.
tim-one
committed
fd85a4e
View commit details
Copy full SHA for fd85a4e
View code at this point
Browse repository at this point
Make names in __future__.py bind to class instances instead of 2-tuples.
Show description for d74bc43
tim-one
committed
d74bc43
View commit details
Copy full SHA for d74bc43
View code at this point
Browse repository at this point
Commits on Feb 28, 2001
Whitespace normalization.
tim-one
committed
85ba673
View commit details
Copy full SHA for 85ba673
View code at this point
Browse repository at this point
Commits on Feb 26, 2001
Add __future__.py to std library, + dull test to verify that assignments
Show description for ffc215a
tim-one
committed
ffc215a
View commit details
Copy full SHA for ffc215a
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.