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 }}
miaogs
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
rangeobject.c
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 8, 2017
bpo-30592: Fixed error messages for some builtins. (#1996)
Show description for 6cca5c8
serhiy-storchaka
authored
6cca5c8
View commit details
Copy full SHA for 6cca5c8
View code at this point
Browse repository at this point
Commits on Mar 30, 2017
bpo-29878: Add global instances of int for 0 and 1. (#852)
serhiy-storchaka
authored
ba85d69
View commit details
Copy full SHA for ba85d69
View code at this point
Browse repository at this point
Commits on Mar 20, 2017
bpo-28876: bool of large range raises OverflowError (#699)
4kir4
authored and
serhiy-storchaka
committed
e46fb86
View commit details
Copy full SHA for e46fb86
View code at this point
Browse repository at this point
Commits on Oct 8, 2016
Issue #28376: Creating instances of range_iterator by calling range_iterator
Show description for df53392
serhiy-storchaka
committed
df53392
View commit details
Copy full SHA for df53392
View code at this point
Browse repository at this point
Issue #28376: Creating instances of range_iterator by calling range_iterator
Show description for c7f490c
serhiy-storchaka
committed
c7f490c
View commit details
Copy full SHA for c7f490c
View code at this point
Browse repository at this point
Merge from 3.5.
serhiy-storchaka
committed
639098c
View commit details
Copy full SHA for 639098c
View code at this point
Browse repository at this point
Issue #28376: The constructor of range_iterator now checks that step is not 0.
Show description for 44759bc
serhiy-storchaka
committed
44759bc
View commit details
Copy full SHA for 44759bc
View code at this point
Browse repository at this point
Commits on Sep 12, 2016
Issue #28045: Merge from 3.5
berkerpeksag
committed
1d7feab
View commit details
Copy full SHA for 1d7feab
View code at this point
Browse repository at this point
Issue #28045: Fix comment in range_contains_long()
Show description for ed6224e
berkerpeksag
committed
ed6224e
View commit details
Copy full SHA for ed6224e
View code at this point
Browse repository at this point
Commits on Sep 6, 2016
replace PY_LONG_LONG with long long
benjaminp
committed
af580df
View commit details
Copy full SHA for af580df
View code at this point
Browse repository at this point
Commits on Jun 18, 2016
Issue #27333: Simplified testing step on 0.
serhiy-storchaka
committed
5d062d7
View commit details
Copy full SHA for 5d062d7
View code at this point
Browse repository at this point
Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs.
Show description for cfdfbb4
serhiy-storchaka
committed
cfdfbb4
View commit details
Copy full SHA for cfdfbb4
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 Apr 10, 2016
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
Show description for 57a01d3
serhiy-storchaka
committed
57a01d3
View commit details
Copy full SHA for 57a01d3
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
4884271
View commit details
Copy full SHA for 4884271
View code at this point
Browse repository at this point
Commits on Dec 27, 2015
Issue #20440: Applied yet one patch for using Py_SETREF.
Show description for 4a1e70f
serhiy-storchaka
committed
4a1e70f
View commit details
Copy full SHA for 4a1e70f
View code at this point
Browse repository at this point
Commits on Dec 24, 2015
Issue #20440: Massive replacing unsafe attribute setting code with special
Show description for 5a57ade
serhiy-storchaka
committed
5a57ade
View commit details
Copy full SHA for 5a57ade
View code at this point
Browse repository at this point
Commits on May 30, 2015
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Show description for ac5569b
serhiy-storchaka
committed
ac5569b
View commit details
Copy full SHA for ac5569b
View code at this point
Browse repository at this point
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Show description for fa494fd
serhiy-storchaka
committed
fa494fd
View commit details
Copy full SHA for fa494fd
View code at this point
Browse repository at this point
Commits on Apr 22, 2015
merge 3.4 (#22785)
benjaminp
committed
4320f54
View commit details
Copy full SHA for 4320f54
View code at this point
Browse repository at this point
improved range docstring (closes #22785)
Show description for ac22c6b
benjaminp
committed
ac22c6b
View commit details
Copy full SHA for ac22c6b
View code at this point
Browse repository at this point
Commits on Mar 18, 2015
Removed unintentional trailing spaces in non-external and non-generated C files.
serhiy-storchaka
committed
009b811
View commit details
Copy full SHA for 009b811
View code at this point
Browse repository at this point
Commits on Jan 9, 2015
remove buzzword (closes #23210)
benjaminp
committed
bcf8554
View commit details
Copy full SHA for bcf8554
View code at this point
Browse repository at this point
Commits on Mar 5, 2014
Make the various iterators' "setstate" sliently and consistently clip the
Show description for c5cc501
kristjanvalur
committed
c5cc501
View commit details
Copy full SHA for c5cc501
View code at this point
Browse repository at this point
Make the various iterators' "setstate" sliently and consistently clip the
Show description for 25dded0
kristjanvalur
committed
25dded0
View commit details
Copy full SHA for 25dded0
View code at this point
Browse repository at this point
Commits on Mar 4, 2014
Merge with 3.3
Kristján Valur Jónsson
committed
25ea45d
View commit details
Copy full SHA for 25ea45d
View code at this point
Browse repository at this point
Fix pickling of rangeiter. rangeiter_setstate would not allow setting it
Show description for 4ca688e
Kristján Valur Jónsson
committed
4ca688e
View commit details
Copy full SHA for 4ca688e
View code at this point
Browse repository at this point
Commits on Oct 5, 2013
#19067: merge with 3.3.
ezio-melotti
committed
b32a811
View commit details
Copy full SHA for b32a811
View code at this point
Browse repository at this point
#19067: use imperative mood in range object docstrings. Patch by Marco Buttu.
ezio-melotti
committed
5792ce1
View commit details
Copy full SHA for 5792ce1
View code at this point
Browse repository at this point
Commits on Aug 27, 2013
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 46e1ce2
serhiy-storchaka
committed
46e1ce2
View commit details
Copy full SHA for 46e1ce2
View code at this point
Browse repository at this point
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 9594942
serhiy-storchaka
committed
9594942
View commit details
Copy full SHA for 9594942
View code at this point
Browse repository at this point
Commits on Nov 17, 2012
Issue #16451: Refactor to remove duplication between range and slice in slice index computations.
mdickinson
committed
ffdb2c2
View commit details
Copy full SHA for ffdb2c2
View code at this point
Browse repository at this point
Commits on Nov 4, 2012
Issue #16402: Merge fix from 3.2
mdickinson
committed
1321eda
View commit details
Copy full SHA for 1321eda
View code at this point
Browse repository at this point
Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method.
mdickinson
committed
8cd1c76
View commit details
Copy full SHA for 8cd1c76
View code at this point
Browse repository at this point
Commits on Oct 7, 2012
Issue #14783: Merge changes from 3.2.
cjerdonek
committed
042fa65
View commit details
Copy full SHA for 042fa65
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.