summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2016-08-21 07:41:56 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2016-08-21 07:41:56 (GMT)
commit8682f578c1c8fd0486c886b001729907a5409a9f (patch)
tree2f54886ef578b7faf94e26fe32e24fbb258b896a /Misc/NEWS
parent9c8aa9bffe755fe6126dc72dfd037c6b20e65906 (diff)
downloadcpython-8682f578c1c8fd0486c886b001729907a5409a9f.zip
cpython-8682f578c1c8fd0486c886b001729907a5409a9f.tar.gz
cpython-8682f578c1c8fd0486c886b001729907a5409a9f.tar.bz2
Issue #27782: Fix m_methods handling in multiphase init
Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1ecb6f1..36af974 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: TBA
Core and Builtins
-----------------
+- Issue #27782: Multi-phase extension module import now correctly allows the
+ ``m_methods`` field to be used to add module level functions to instances
+ of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
+
- Issue #27487: Warn if a submodule argument to "python -m" or
runpy.run_module() is found in sys.modules after parent packages are
imported, but before the submodule is executed.