summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2002-11-29 20:47:40 (GMT)
committerJust van Rossum <just@letterror.com>2002-11-29 20:47:40 (GMT)
commit3eb166b49b2a290441f7597c413082ae45b59bb6 (patch)
tree57706b250bf4df0ae66de107800fea372454f385 /Misc
parent535ffa26e691676058b8664191d60d526d2d74b8 (diff)
downloadcpython-3eb166b49b2a290441f7597c413082ae45b59bb6.zip
cpython-3eb166b49b2a290441f7597c413082ae45b59bb6.tar.gz
cpython-3eb166b49b2a290441f7597c413082ae45b59bb6.tar.bz2
Slightly improved version of patch #642578: "Expose PyImport_FrozenModules
in imp". This adds two functions to the imp module: get_frozenmodules() and set_frozenmodules().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4109391..ee27ed9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.3 alpha 1?
Type/class unification and new-style classes
--------------------------------------------
+- Exposed the PyImport_FrozenModules variable in import.c through
+ imp.get_frozenmodules() and imp.set_frozenmodules(). This is
+ useful for freezing tools written in Python that use Python for
+ bootstrapping the frozen application.
+
- One can now assign to __bases__ and __name__ of new-style classes.
- dict() now accepts keyword arguments so that dict(one=1, two=2)