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
Developer articles
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 }}
xiaolanpython
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Modules
newmodule.c
on
2.1
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 1, 2001
move extra arguments to the back of the new.code() arglist
jeremyhylton
committed
6fe0a82
View commit details
Copy full SHA for 6fe0a82
View code at this point
Browse repository at this point
Commits on Jan 28, 2001
new_instance(): Use PyInstance_NewRaw() instead of knowing too much
Show description for ceb2bff
freddrake
committed
ceb2bff
View commit details
Copy full SHA for ceb2bff
View code at this point
Browse repository at this point
Commits on Jan 25, 2001
PEP 227 implementation
Show description for 903f654
jeremyhylton
committed
903f654
View commit details
Copy full SHA for 903f654
View code at this point
Browse repository at this point
Commits on Nov 13, 2000
Allow new.function() called with explicit 3rd arg of None, as
Show description for 1bff883
gvanrossum
committed
1bff883
View commit details
Copy full SHA for 1bff883
View code at this point
Browse repository at this point
Commits on Oct 10, 2000
Fix the docstring for new.function().
Show description for 5428c7d
freddrake
committed
5428c7d
View commit details
Copy full SHA for 5428c7d
View code at this point
Browse repository at this point
Commits on Sep 1, 2000
REMOVED all CWI, CNRI and BeOpen copyright markings.
Show description for 8586991
gvanrossum
committed
8586991
View commit details
Copy full SHA for 8586991
View code at this point
Browse repository at this point
Commits on Aug 3, 2000
Use METH_VARARGS instead of numeric constant 1 in method def. tables
akuchling
committed
e365fb8
View commit details
Copy full SHA for e365fb8
View code at this point
Browse repository at this point
Commits on Jul 21, 2000
Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
Show description for f3f33dc
Yhg1s
committed
f3f33dc
View commit details
Copy full SHA for f3f33dc
View code at this point
Browse repository at this point
Commits on Jul 10, 2000
ANSI-fication
Peter Schneider-Kamp
committed
c4bc0e0
View commit details
Copy full SHA for c4bc0e0
View code at this point
Browse repository at this point
Commits on Jun 30, 2000
Change copyright notice - 2nd try.
gvanrossum
committed
ffcc381
View commit details
Copy full SHA for ffcc381
View code at this point
Browse repository at this point
Change copyright notice.
gvanrossum
committed
fd71b9e
View commit details
Copy full SHA for fd71b9e
View code at this point
Browse repository at this point
final patches from Neil Schemenauer for garbage collection
jeremyhylton
committed
c5007aa
View commit details
Copy full SHA for c5007aa
View code at this point
Browse repository at this point
Commits on May 3, 2000
Vladimir Marangozov's long-awaited malloc restructuring.
Show description for b18618d
gvanrossum
committed
b18618d
View commit details
Copy full SHA for b18618d
View code at this point
Browse repository at this point
Commits on Feb 29, 2000
Massive patch by Skip Montanaro to add ":name" to as many
Show description for 43713e5
gvanrossum
committed
43713e5
View commit details
Copy full SHA for 43713e5
View code at this point
Browse repository at this point
Commits on Dec 4, 1998
Add DL_EXPORT() to all modules that could possibly be used
Show description for 3886bb6
gvanrossum
committed
3886bb6
View commit details
Copy full SHA for 3886bb6
View code at this point
Browse repository at this point
Commits on Oct 7, 1998
Changes to support other object types besides strings
Show description for d076c73
gvanrossum
committed
d076c73
View commit details
Copy full SHA for d076c73
View code at this point
Browse repository at this point
Commits on Jul 8, 1998
Marc-Andre Lemburg's patch to support instance methods with other
Show description for 7859f87
gvanrossum
committed
7859f87
View commit details
Copy full SHA for 7859f87
View code at this point
Browse repository at this point
Commits on May 22, 1998
I think there was a tiny bug in new_function() -- the 'defaults'
Show description for b88679b
gvanrossum
committed
b88679b
View commit details
Copy full SHA for b88679b
View code at this point
Browse repository at this point
Commits on Jan 24, 1997
Two more arguments to newcodeobject -- first lineno and lineno table.
gvanrossum
committed
463e55a
View commit details
Copy full SHA for 463e55a
View code at this point
Browse repository at this point
Commits on Jan 17, 1997
Add stacksize argument to new.code().
gvanrossum
committed
e9fd28d
View commit details
Copy full SHA for e9fd28d
View code at this point
Browse repository at this point
Commits on Dec 10, 1996
Renamed.
warsaw
committed
a6b7c71
View commit details
Copy full SHA for a6b7c71
View code at this point
Browse repository at this point
Commits on Nov 21, 1996
Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code.
gvanrossum
committed
b916faf
View commit details
Copy full SHA for b916faf
View code at this point
Browse repository at this point
Commits on Oct 25, 1996
New permission notice, includes CNRI.
gvanrossum
committed
d266eb4
View commit details
Copy full SHA for d266eb4
View code at this point
Browse repository at this point
Commits on Jun 17, 1996
Added new.instance(class, dict).
gvanrossum
committed
26b310a
View commit details
Copy full SHA for 26b310a
View code at this point
Browse repository at this point
Commits on Jan 12, 1996
added new.classobj()
gvanrossum
committed
b28911c
View commit details
Copy full SHA for b28911c
View code at this point
Browse repository at this point
Commits on Sep 30, 1995
re-enable new.code(...) with new args
gvanrossum
committed
896fc7e
View commit details
Copy full SHA for 896fc7e
View code at this point
Browse repository at this point
Commits on Jul 28, 1995
\temporary 'fix' for brokenness
gvanrossum
committed
b158909
View commit details
Copy full SHA for b158909
View code at this point
Browse repository at this point
Commits on Jan 17, 1995
Made some more things static, and other cleanup for new naming scheme
gvanrossum
committed
cd938fc
View commit details
Copy full SHA for cd938fc
View code at this point
Browse repository at this point
Commits on Jan 9, 1995
initmodule3 -> initmodule3
gvanrossum
committed
37431fb
View commit details
Copy full SHA for 37431fb
View code at this point
Browse repository at this point
Commits on Jan 7, 1995
totally revamped
gvanrossum
committed
f9888eb
View commit details
Copy full SHA for f9888eb
View code at this point
Browse repository at this point
Commits on Nov 10, 1994
don't use backslashes for continuation lines
gvanrossum
committed
5e8e832
View commit details
Copy full SHA for 5e8e832
View code at this point
Browse repository at this point
Commits on May 23, 1994
Added some new modules
gvanrossum
committed
34162a1
View commit details
Copy full SHA for 34162a1
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.