Branch: refs/heads/python3
Home: https://github.com/pyinstaller/pyinstaller
Commit: f207109053a9385e396c5a9c0a334e2f04e19317
https://github.com/pyinstaller/pyinstaller/commit/f207109053a9385e396c5a9c0a334e2f04e19317
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/depend/analysis.py
M PyInstaller/lib/altgraph/ObjectGraph.py
M PyInstaller/lib/modulegraph/find_modules.py
M PyInstaller/lib/modulegraph/modulegraph.py
Log Message:
-----------
Documentation improved.
Critical classes, functions, and methods now sport Sphinx-compatible docstrings
in the standard numpydoc style. TODO comments have also been sporadically added.
This includes a TODO comment prefixing the
"PyInstaller.lib.modulegraph.find_modules" module, which is unused in the
current codebase and thus removable.
Commit: 71361deaaf9793f88a59ee89f97c71f1f73c67b6
https://github.com/pyinstaller/pyinstaller/commit/71361deaaf9793f88a59ee89f97c71f1f73c67b6
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/depend/analysis.py
Log Message:
-----------
Graph hooks added.
Graph hooks are hooks run immediately before importing the corresponding modules
(as opposed to traditional import hooks, which are run *AFTER* importing these
modules). This requires three new callables in the "depend.analysis" module:
* load_module_file(), dynamically importing the passed file.
* PyiModuleGraph._calc_graph_hooks(), caching the set of all graph hooks.
* PyiModuleGraph.import_module(), running graph hooks before importing modules.
Commit: 29d3c4004e48465ee2502afe7ab0dea2d51e09d9
https://github.com/pyinstaller/pyinstaller/commit/29d3c4004e48465ee2502afe7ab0dea2d51e09d9
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
A PyInstaller/hooks/graph/__init__.py
A PyInstaller/hooks/graph/hook-six.moves.py
Log Message:
-----------
"six.moves" graph hook added.
This hook adds PyInstaller support for the popular compatibility layer "six".
Specifically, the dynamically defined `six.moves` module is added to the module
graph as a runtime module node, while all modules mapped by the PEP 302-
compliant `six._SixMetaPathImporter` are added as aliased module nodes.
Commit: 49c725e9f5a79b65923b8e1bfdd794f0f6f7c4bf
https://github.com/pyinstaller/pyinstaller/commit/49c725e9f5a79b65923b8e1bfdd794f0f6f7c4bf
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/lib/altgraph/ObjectGraph.py
Log Message:
-----------
ObjectGraph.get_edges() bug fixed.
The iter_edges() generator defined by the get_edges() function erroneously
yields None values when iterating MissingModule edges, resulting in exceptions
being raised in callers expecting only non-None values (e.g., the
PyiModuleGraph.importer_names() method). This generator now yields only valid
nodes by skipping problematic edges.
Commit: ae4a646c044ba4a4bd366c415b73d804b3e24c30
https://github.com/pyinstaller/pyinstaller/commit/ae4a646c044ba4a4bd366c415b73d804b3e24c30
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/lib/modulegraph/modulegraph.py
Log Message:
-----------
RuntimeModule class added.
Instances of this class are graph nodes representing Python modules dynamically
defined at runtime (e.g., "six.moves"). Like most Node classes, the body of this
class is currently empty.
Commit: 59ca847b041c6350ad1f21dea797bf23431f3c48
https://github.com/pyinstaller/pyinstaller/commit/59ca847b041c6350ad1f21dea797bf23431f3c48
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/lib/modulegraph/modulegraph.py
Log Message:
-----------
High-level module node "adders" added.
Two new high-level methods have been added to the ModuleGraph class, permitting
graph hooks to manipulate the module graph in a safe manner:
* alias_module(), adding an existing module to the graph under a different name.
The "six.moves" graph hook calls this method for each of its module mappings.
* add_module(), adding a node to the graph without attempting to import that
module. Again, the "six.moves" graph hook calls this method for the top-level
"six.moves" module (which does not exist and thus cannot be imported).
Commit: 88762b7bdbc58ff27a91fe6331aded165d7bb07d
https://github.com/pyinstaller/pyinstaller/commit/88762b7bdbc58ff27a91fe6331aded165d7bb07d
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/lib/modulegraph/modulegraph.py
M PyInstaller/loader/pyi_archive.py
Log Message:
-----------
Archive marshalling bugs fixed.
The bootloader currently fails on frozen executables whose module graphs
contain one or more aliased nodes. These nodes contain instances of the Alias
class, subclassing the str class. Since only the latter are marshallable, the
Archive.save_toc() method raises unreadable "ValueError: unmarshallable object"
exceptions when passed TOCs containing such nodes.
This is fixed by coercing non-str to str types in the ModuleGraph.findNode()
method. To streamline debugging of similar issues in the future,
Archive.save_toc() has been improved to find and log the responsible nested TOC
object on catching unmarshallable exceptions.
Commit: 5d66c09dff9a4e4c6cd1998db88c93f933fcc53a
https://github.com/pyinstaller/pyinstaller/commit/5d66c09dff9a4e4c6cd1998db88c93f933fcc53a
Author: leycec <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M PyInstaller/depend/analysis.py
Log Message:
-----------
PyiModuleGraph.import_module() renamed.
To comply with upstream changes, such method has been renamed to
_import_module() and internally refactored to call the superclass
_import_module() method.
Commit: 82cc72bda429c1b36c9a5c38f75ffbf29133eaa8
https://github.com/pyinstaller/pyinstaller/commit/82cc72bda429c1b36c9a5c38f75ffbf29133eaa8
Author: leycec <[email protected]>
Date: 2015-06-05 (Fri, 05 Jun 2015)
Changed paths:
M PyInstaller/depend/utils.py
M PyInstaller/hooks/graph/hook-six.moves.py
M PyInstaller/lib/macholib/util.py
M PyInstaller/lib/modulegraph/find_modules.py
M PyInstaller/lib/modulegraph/modulegraph.py
Log Message:
-----------
modulegraph imported in standard fashion.
To comply with PyInstaller's library import style, imports of the
"PyInstaller.lib.modulegraph" package have been refactored to import
"modulegraph" instead. Imports in related modules have been somewhat cleaned up.
Likewise, the erroneously repeated _Visitor.visit_ExceptHandler() method in the
"modulegraph" module has been removed.
Commit: 18ee86030fc3a9841513d9ee1deab939699de48a
https://github.com/pyinstaller/pyinstaller/commit/18ee86030fc3a9841513d9ee1deab939699de48a
Author: Martin Zibricky <[email protected]>
Date: 2015-07-07 (Tue, 07 Jul 2015)
Changed paths:
M PyInstaller/depend/analysis.py
A PyInstaller/hooks/graph/__init__.py
A PyInstaller/hooks/graph/hook-six.moves.py
M PyInstaller/lib/altgraph/ObjectGraph.py
M PyInstaller/lib/macholib/util.py
M PyInstaller/lib/modulegraph/find_modules.py
M PyInstaller/lib/modulegraph/modulegraph.py
M PyInstaller/loader/pyi_archive.py
Log Message:
-----------
Pull request #1231: Resolved conflicts.
Commit: 9ac7f630b87aa9491df5b6d3355af5da5cb0cd76
https://github.com/pyinstaller/pyinstaller/commit/9ac7f630b87aa9491df5b6d3355af5da5cb0cd76
Author: Martin Zibricky <[email protected]>
Date: 2015-07-07 (Tue, 07 Jul 2015)
Changed paths:
M PyInstaller/depend/analysis.py
A PyInstaller/hooks/graph/__init__.py
A PyInstaller/hooks/graph/hook-six.moves.py
M PyInstaller/lib/altgraph/ObjectGraph.py
M PyInstaller/lib/macholib/util.py
M PyInstaller/lib/modulegraph/find_modules.py
M PyInstaller/lib/modulegraph/modulegraph.py
M PyInstaller/loader/pyi_archive.py
Log Message:
-----------
Merge branch 'graph_hooks-six' into python3
Compare:
https://github.com/pyinstaller/pyinstaller/compare/a7256bb857c8...9ac7f630b87a
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.