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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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
35.2k
Star
74.4k
Code
Issues
5k+
Pull requests
2.5k
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
Objects
sliceobject.c
on
3.8
User selector
All users
Datepicker
All time
Commit history
Commits on May 31, 2019
bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464)
Show description for 530f506
jdemeyer
authored and
benjaminp
committed
530f506
View commit details
Copy full SHA for 530f506
View code at this point
Browse repository at this point
Commits on Feb 13, 2019
bpo-35961: Fix a crash in slice_richcompare() (GH-11830)
Show description for dcb68f4
vstinner
authored
dcb68f4
View commit details
Copy full SHA for dcb68f4
View code at this point
Browse repository at this point
Commits on Nov 21, 2018
bpo-35081: Add Include/internal/pycore_object.h (GH-10640)
Show description for bcda8f1
vstinner
authored
bcda8f1
View commit details
Copy full SHA for bcda8f1
View code at this point
Browse repository at this point
Commits on Nov 12, 2018
bpo-35081: Rename internal headers (GH-10275)
Show description for 621cebe
vstinner
authored
621cebe
View commit details
Copy full SHA for 621cebe
View code at this point
Browse repository at this point
Commits on Oct 31, 2018
bpo-35081: Add pycore_ prefix to internal header files (GH-10263)
Show description for 27e2d1f
vstinner
authored
27e2d1f
View commit details
Copy full SHA for 27e2d1f
View code at this point
Browse repository at this point
Commits on Apr 29, 2018
bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)
Show description for 55edd0c
siddhesh
authored and
serhiy-storchaka
committed
55edd0c
View commit details
Copy full SHA for 55edd0c
View code at this point
Browse repository at this point
Commits on Sep 8, 2017
bpo-30860: Consolidate stateful runtime globals. (#3397)
Show description for 2ebc5ce
ericsnowcurrently
authored
2ebc5ce
View commit details
Copy full SHA for 2ebc5ce
View code at this point
Browse repository at this point
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 May 10, 2017
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480)
zhangyangyu
authored
2ddf5a1
View commit details
Copy full SHA for 2ddf5a1
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 Jan 25, 2017
Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with
Show description for 6e08baf
serhiy-storchaka
committed
6e08baf
View commit details
Copy full SHA for 6e08baf
View code at this point
Browse repository at this point
Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if
Show description for b2a5be0
serhiy-storchaka
committed
b2a5be0
View commit details
Copy full SHA for b2a5be0
View code at this point
Browse repository at this point
Commits on Dec 16, 2016
Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
serhiy-storchaka
committed
5ab81d7
View commit details
Copy full SHA for 5ab81d7
View code at this point
Browse repository at this point
Commits on Apr 16, 2016
fix slice cache finalization to use gc del
benjaminp
committed
b0c04cb
View commit details
Copy full SHA for b0c04cb
View code at this point
Browse repository at this point
add gc support to slice (closes #26659)
benjaminp
committed
2b601d3
View commit details
Copy full SHA for 2b601d3
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
Make Ellipsis and NotImplemented picklable through the reduce protocol.
avassalotti
committed
c49477b
View commit details
Copy full SHA for c49477b
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 10, 2012
Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length.
mdickinson
committed
c8a6967
View commit details
Copy full SHA for c8a6967
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
Issue #14783: Improve int() docstring and also str(), range(), and slice().
Show description for 83fe2e1
cjerdonek
committed
83fe2e1
View commit details
Copy full SHA for 83fe2e1
View code at this point
Browse repository at this point
Commits on Nov 18, 2011
Issue #10227: Add an allocation cache for a single slice object.
Show description for f34a0cd
pitrou
committed
f34a0cd
View commit details
Copy full SHA for f34a0cd
View code at this point
Browse repository at this point
Commits on Oct 17, 2011
merge 3.2 (#13199)
benjaminp
committed
897d059
View commit details
Copy full SHA for 897d059
View code at this point
Browse repository at this point
plug possible refleak (closes #13199)
benjaminp
committed
2963fe0
View commit details
Copy full SHA for 2963fe0
View code at this point
Browse repository at this point
Commits on Aug 11, 2011
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
Show description for dfc80e3
briancurtin
committed
dfc80e3
View commit details
Copy full SHA for dfc80e3
View code at this point
Browse repository at this point
Commits on Jul 29, 2011
make the types of None and Ellipsis callable
benjaminp
committed
c4607ae
View commit details
Copy full SHA for c4607ae
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Merge branches/pep-0384.
loewis
committed
4d0d471
View commit details
Copy full SHA for 4d0d471
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
use helper hash unimplemented function
benjaminp
committed
23d05c1
View commit details
Copy full SHA for 23d05c1
View code at this point
Browse repository at this point
Commits on Aug 6, 2010
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].
mdickinson
committed
e6fc740
View commit details
Copy full SHA for e6fc740
View code at this point
Browse repository at this point
Commits on May 9, 2010
Recorded merge of revisions 81029 via svnmerge from
Show description for f95a1b3
pitrou
committed
f95a1b3
View commit details
Copy full SHA for f95a1b3
View code at this point
Browse repository at this point
Commits on Apr 20, 2009
Merged revisions 71734,71738-71739 via svnmerge from
Show description for fd838e6
benjaminp
committed
fd838e6
View commit details
Copy full SHA for fd838e6
View code at this point
Browse repository at this point
Commits on Feb 2, 2009
Issue #1717: rename tp_compare to tp_reserved. I'll change the
Show description for e94c679
mdickinson
committed
e94c679
View commit details
Copy full SHA for e94c679
View code at this point
Browse repository at this point
Commits on Jul 2, 2008
Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,64425-64428 via svnmerge from
Show description for fea6a94
benjaminp
committed
fea6a94
View commit details
Copy full SHA for fea6a94
View code at this point
Browse repository at this point
Commits on Dec 19, 2007
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
tiran
committed
90aa764
View commit details
Copy full SHA for 90aa764
View code at this point
Browse repository at this point
Commits on Dec 2, 2007
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
tiran
committed
217cfd1
View commit details
Copy full SHA for 217cfd1
View code at this point
Browse repository at this point
Commits on Oct 23, 2007
#1316: remove redundant PyLong_Check calls when PyInt_Check was already called.
birkenfeld
committed
e1a0d11
View commit details
Copy full SHA for e1a0d11
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.