pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-modulegraph
Module Name: pkgsrc
Committed By: rodent
Date: Thu Aug 7 01:45:27 UTC 2014
Modified Files:
pkgsrc/devel/py-modulegraph: Makefile PLIST distinfo
Log Message:
0.12
----
* Added 'modulegraph.modulegraph.InvalidSourceModule'. This graph node is
used for Python source modules that cannot be compiled (for example because
they contain syntax errors).
This is primarily useful for being able to create a graph for packages
that have python 2.x or python 3.x compatibility in separate modules that
contain code that isn't valid in the "other" python version.
* Added 'modulegraph.modulegraph.InvalidCompiledModule'. This graph node
is used for Python bytecode modules that cannot be loaded.
* Added 'modulegraph.modulegraph.NamespacePackage'.
Patch by bitbucket user htgoebel.
* No longer add a MissingModule node to the graph for 'collections.defaultdict'
when using 'from collections import defaultdict' ('collections.defaultdict'
is an attribute of 'collections', not a submodule).
* Fixed typo in ModuleGraph.getReferences()
* Added ModuleGraph.getReferers(tonode). This methods yields the
nodes that are referencing *tonode* (the reverse of getReferences)
* The graph will no longer contain MissingModule nodes when using 'from ...
import name' to
import a global variable in a python module.
There will still be MissingModule nodes for global variables in C extentions,
and
for 'from missing import name' when 'missing' is itself a MissingModule.
* Issue #18: Don't assume that a PEP 302 loader object has a ``path``
attribute. That
attribute is not documented and is not always present.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-modulegraph/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-modulegraph/PLIST \
pkgsrc/devel/py-modulegraph/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index