Slightly improved version of patch #642578: "Expose PyImport_FrozenModules

in imp". This adds two functions to the imp module: get_frozenmodules()
and set_frozenmodules().
This commit is contained in:
Just van Rossum 2002-11-29 20:47:40 +00:00
parent 535ffa26e6
commit 3eb166b49b
3 changed files with 167 additions and 0 deletions

View file

@ -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)