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 }}
ActiveState
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
4
Star
12
Code
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Objects
exceptions.c
on
2.7
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 9, 2019
bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)
methane
authored
4e8e8aa
View commit details
Copy full SHA for 4e8e8aa
View code at this point
Browse repository at this point
Commits on Sep 14, 2017
consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)
Show description for a72d15c
benjaminp
authored
a72d15c
View commit details
Copy full SHA for a72d15c
View code at this point
Browse repository at this point
Commits on Jul 28, 2016
Issue #27626: Spelling fixes in docs, comments and internal names
Show description for a850ef6
vadmium
committed
a850ef6
View commit details
Copy full SHA for a850ef6
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 763a61c
serhiy-storchaka
committed
763a61c
View commit details
Copy full SHA for 763a61c
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
bc62af1
View commit details
Copy full SHA for bc62af1
View code at this point
Browse repository at this point
Commits on Dec 27, 2015
Issue #20440: More use of Py_SETREF.
Show description for 2e6c829
serhiy-storchaka
committed
2e6c829
View commit details
Copy full SHA for 2e6c829
View code at this point
Browse repository at this point
Issue #20440: Applied yet one patch for using Py_SETREF.
Show description for 8688aca
serhiy-storchaka
committed
8688aca
View commit details
Copy full SHA for 8688aca
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 5951f23
serhiy-storchaka
committed
5951f23
View commit details
Copy full SHA for 5951f23
View code at this point
Browse repository at this point
Commits on Apr 2, 2014
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)
benjaminp
committed
c4e6e0a
View commit details
Copy full SHA for c4e6e0a
View code at this point
Browse repository at this point
Commits on Mar 3, 2013
Issue #16445: Fix potential segmentation fault when deleting an exception message.
mdickinson
committed
7cac1c2
View commit details
Copy full SHA for 7cac1c2
View code at this point
Browse repository at this point
Commits on Feb 10, 2012
this is only a borrowed ref in Brett's branch
benjaminp
committed
0f7e2df
View commit details
Copy full SHA for 0f7e2df
View code at this point
Browse repository at this point
Commits on Feb 6, 2012
bltinmod is borrowed, so it shouldn't be decrefed
benjaminp
committed
cec6a61
View commit details
Copy full SHA for cec6a61
View code at this point
Browse repository at this point
Commits on Feb 4, 2012
put returns on their own lines
benjaminp
committed
4c79aec
View commit details
Copy full SHA for 4c79aec
View code at this point
Browse repository at this point
Commits on Jun 22, 2010
remove INT_MAX assertions; they can fail with large Py_ssize_t #9058
benjaminp
committed
b913389
View commit details
Copy full SHA for b913389
View code at this point
Browse repository at this point
Commits on May 9, 2010
Untabify C files. Will watch buildbots.
pitrou
committed
c83ea13
View commit details
Copy full SHA for c83ea13
View code at this point
Browse repository at this point
Commits on Feb 24, 2010
Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
ericvsmith
committed
2d9856d
View commit details
Copy full SHA for 2d9856d
View code at this point
Browse repository at this point
Commits on Dec 24, 2009
#6108: unicode(exception) and str(exception) should return the same message
ezio-melotti
committed
f84caf4
View commit details
Copy full SHA for f84caf4
View code at this point
Browse repository at this point
Commits on Sep 16, 2009
#6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.
Show description for 0674d3f
birkenfeld
committed
0674d3f
View commit details
Copy full SHA for 0674d3f
View code at this point
Browse repository at this point
Commits on Jun 16, 2009
Remove unused macro.
birkenfeld
committed
af01c03
View commit details
Copy full SHA for af01c03
View code at this point
Browse repository at this point
Commits on Jun 12, 2009
Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
avassalotti
committed
55bd1ef
View commit details
Copy full SHA for 55bd1ef
View code at this point
Browse repository at this point
Commits on Feb 10, 2009
Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions.
Kristján Valur Jónsson
committed
6a743d3
View commit details
Copy full SHA for 6a743d3
View code at this point
Browse repository at this point
Commits on Jan 17, 2009
#4077: No need to append \n when calling Py_FatalError
Show description for 59ce042
amauryfa
committed
59ce042
View commit details
Copy full SHA for 59ce042
View code at this point
Browse repository at this point
Commits on Jul 30, 2008
backport r64751
benjaminp
committed
c0bf76d
View commit details
Copy full SHA for c0bf76d
View code at this point
Browse repository at this point
Commits on Jul 8, 2008
Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
ncoghlan
committed
524b777
View commit details
Copy full SHA for 524b777
View code at this point
Browse repository at this point
Commits on Jun 9, 2008
This reverts r63675 based on the discussion in this thread:
Show description for dd96db6
gpshead
committed
dd96db6
View commit details
Copy full SHA for dd96db6
View code at this point
Browse repository at this point
Commits on May 26, 2008
Renamed PyString to PyBytes
tiran
committed
593daf5
View commit details
Copy full SHA for 593daf5
View code at this point
Browse repository at this point
Commits on Apr 27, 2008
A little reformating of Py3k warnings
benjaminp
committed
f19a7b9
View commit details
Copy full SHA for f19a7b9
View code at this point
Browse repository at this point
Use PyErr_WarnPy3k throughout
benjaminp
committed
9f4f481
View commit details
Copy full SHA for 9f4f481
View code at this point
Browse repository at this point
Commits on Mar 26, 2008
Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from
Show description for 1a6387e
tiran
committed
1a6387e
View commit details
Copy full SHA for 1a6387e
View code at this point
Browse repository at this point
Commits on Mar 25, 2008
Make Py3k warnings consistent w.r.t. punctuation; also respect the
Show description for d5b635f
birkenfeld
committed
d5b635f
View commit details
Copy full SHA for d5b635f
View code at this point
Browse repository at this point
Commits on Mar 18, 2008
Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Pyth…
Show description for 3781aef
teoliphant
committed
3781aef
View commit details
Copy full SHA for 3781aef
View code at this point
Browse repository at this point
- Issue 2379: Raise a Py3K warning for __getitem__ or __getslice__ on
Show description for 6d91be3
gvanrossum
committed
6d91be3
View commit details
Copy full SHA for 6d91be3
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. Macros for b/w compatibility are available.
tiran
committed
e93237d
View commit details
Copy full SHA for e93237d
View code at this point
Browse repository at this point
Commits on Dec 3, 2007
Patch #1537 from Chad Austin
Show description for 44eeaec
tiran
committed
44eeaec
View commit details
Copy full SHA for 44eeaec
View code at this point
Browse repository at this point
Commits on Sep 7, 2007
Fix a crasher where Python code managed to infinitely recurse in C code without
Show description for 1e534b5
brettcannon
committed
1e534b5
View commit details
Copy full SHA for 1e534b5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.