mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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:
parent
535ffa26e6
commit
3eb166b49b
3 changed files with 167 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue