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 }}
xiaolanpython
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
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
complexobject.c
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 5, 2017
Update Argument Clinic generated code for bpo-29878. (#1001)
serhiy-storchaka
authored
bae6881
View commit details
Copy full SHA for bae6881
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 24, 2017
bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798)
Show description for 671079e
serhiy-storchaka
authored
671079e
View commit details
Copy full SHA for 671079e
View code at this point
Browse repository at this point
Commits on Mar 19, 2017
bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615)
serhiy-storchaka
authored
18b250f
View commit details
Copy full SHA for 18b250f
View code at this point
Browse repository at this point
Commits on Feb 20, 2017
bpo-29602: fix signed zero handling in complex constructor. (#203)
Show description for 112ec38
mdickinson
authored
112ec38
View commit details
Copy full SHA for 112ec38
View code at this point
Browse repository at this point
Commits on Dec 6, 2016
Use _PyObject_CallNoArg()
Show description for f17c3de
vstinner
committed
f17c3de
View commit details
Copy full SHA for f17c3de
View code at this point
Browse repository at this point
Commits on Dec 4, 2016
Backed out changeset b9c9691c72c5
Show description for de4ae3d
vstinner
committed
de4ae3d
View commit details
Copy full SHA for de4ae3d
View code at this point
Browse repository at this point
Commits on Dec 1, 2016
Replace PyObject_CallFunctionObjArgs() with fastcall
Show description for 27580c1
vstinner
committed
27580c1
View commit details
Copy full SHA for 27580c1
View code at this point
Browse repository at this point
Commits on Sep 24, 2016
Issue #28203: Merge from 3.5
mdickinson
committed
6997946
View commit details
Copy full SHA for 6997946
View code at this point
Browse repository at this point
Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
mdickinson
committed
613f8e5
View commit details
Copy full SHA for 613f8e5
View code at this point
Browse repository at this point
Commits on Sep 9, 2016
Issue #26331: Implement the parsing part of PEP 515.
Show description for a721aba
brettcannon
committed
a721aba
View commit details
Copy full SHA for a721aba
View code at this point
Browse repository at this point
Commits on Nov 7, 2015
Issue #24802: Merge null termination fixes from 3.4 into 3.5
vadmium
committed
61d6e4a
View commit details
Copy full SHA for 61d6e4a
View code at this point
Browse repository at this point
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
Show description for eeb896c
vadmium
committed
eeb896c
View commit details
Copy full SHA for eeb896c
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 3dd3e26
serhiy-storchaka
committed
3dd3e26
View commit details
Copy full SHA for 3dd3e26
View code at this point
Browse repository at this point
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 4fdb684
serhiy-storchaka
committed
4fdb684
View commit details
Copy full SHA for 4fdb684
View code at this point
Browse repository at this point
Commits on Oct 10, 2014
Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).
pitrou
committed
759920c
View commit details
Copy full SHA for 759920c
View code at this point
Browse repository at this point
Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).
pitrou
committed
9086f92
View commit details
Copy full SHA for 9086f92
View code at this point
Browse repository at this point
Commits on Jul 7, 2014
Issue #21803: remove macro indirections in complexobject.h
pitrou
committed
1eee8e5
View commit details
Copy full SHA for 1eee8e5
View code at this point
Browse repository at this point
Commits on Dec 4, 2013
Silence expression result unused warnings with clang.
Show description for d3afe78
tiran
committed
d3afe78
View commit details
Copy full SHA for d3afe78
View code at this point
Browse repository at this point
Commits on Nov 7, 2013
#17080: improve error message of float/complex when the wrong type is passed.
ezio-melotti
committed
a5b9599
View commit details
Copy full SHA for a5b9599
View code at this point
Browse repository at this point
Commits on Oct 5, 2013
#19068: merge with 3.3.
ezio-melotti
committed
c1ae254
View commit details
Copy full SHA for c1ae254
View code at this point
Browse repository at this point
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
ezio-melotti
committed
488d244
View commit details
Copy full SHA for 488d244
View code at this point
Browse repository at this point
Commits on Aug 13, 2013
Issue #18722: Remove uses of the "register" keyword in C code.
pitrou
committed
9ed5f27
View commit details
Copy full SHA for 9ed5f27
View code at this point
Browse repository at this point
Commits on Apr 17, 2013
Close #17694: Add minimum length to _PyUnicodeWriter
Show description for 8f674cc
vstinner
committed
8f674cc
View commit details
Copy full SHA for 8f674cc
View code at this point
Browse repository at this point
Commits on Nov 14, 2012
Issue #16290: __complex__ must now always return an instance of complex.
mdickinson
committed
d20fb82
View commit details
Copy full SHA for d20fb82
View code at this point
Browse repository at this point
Commits on May 29, 2012
Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args)
Show description for d3f0882
vstinner
committed
d3f0882
View commit details
Copy full SHA for d3f0882
View code at this point
Browse repository at this point
Commits on Jan 22, 2012
use the static identifier api for looking up special methods
Show description for ce79852
benjaminp
committed
ce79852
View commit details
Copy full SHA for ce79852
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Implement PEP 393.
loewis
committed
d63a3b8
View commit details
Copy full SHA for d63a3b8
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 Mar 21, 2011
Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of
Show description for 6ced7c4
Victor Stinner
committed
6ced7c4
View commit details
Copy full SHA for 6ced7c4
View code at this point
Browse repository at this point
Commits on Dec 4, 2010
Removed static function complex_format, moved it into complex_repr. Modified tests to check both str and repr, which are the same for complex.
ericvsmith
committed
70099a1
View commit details
Copy full SHA for 70099a1
View code at this point
Browse repository at this point
Issue #10557: Fixed error messages from float() and other numeric
Show description for 942af5a
abalkin
committed
942af5a
View commit details
Copy full SHA for 942af5a
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
#6780: fix complex() constructor TypeError message
Victor Stinner
committed
f961377
View commit details
Copy full SHA for f961377
View code at this point
Browse repository at this point
Commits on Oct 23, 2010
follow up to #9778: define and use an unsigned hash type
benjaminp
committed
8035bc5
View commit details
Copy full SHA for 8035bc5
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
make hashes always the size of pointers; introduce Py_hash_t #9778
benjaminp
committed
8f67d08
View commit details
Copy full SHA for 8f67d08
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.