Immutable
release. Only release title and notes can be modified.
Fixed
- Keep a module-level assignment that calls a local definition after the names that call
needs at runtime.APP = App()only referencesAppsyntactically, but
instantiating it runsApp.__init__, which may read a module-level function defined
later in the file. Such an assignment was previously hoisted above that function and
raisedNameErrorat import. The runtime references reachable through a called
class or function (transitively) are now treated as dependencies of the calling
assignment. - Do not sort the keyword arguments of an
OrderedDictcall.OrderedDict(b=2, a=1)iterates in argument order and is a distinct value fromOrderedDict(a=1, b=2), so reordering its keyword arguments changed the resulting object. Calls to
OrderedDict(bare or dotted, such ascollections.OrderedDict) are now left
untouched.