582:f391131fd7c6
|
2012-07-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed duplication from type and attribute pop-up elements in reports.
Added set compatibility imports. |
|
|
micropython/common.py micropython/program.py micropython/report.py
|
|
581:1f42e393ed15
|
2012-07-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added circular import detection by separating module loading from module
"completion" and processing, thus preventing attribute usage observations from
being made before processing of an affected module's code can begin.
Simplified module loading in the importer somewhat. |
|
|
micropython/__init__.py micropython/data.py micropython/inspect.py micropython/trans.py
|
|
580:c7d9132bd609
|
2012-07-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the redundant _visitBinary and _visitUnary names. |
|
|
micropython/inspect.py
|
|
579:9df30d738ec1
|
2012-07-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Filter out __init__.py files when looking for submodule files. |
|
|
micropython/__init__.py
|
|
578:d161d4ac7dc0
|
2012-07-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added module global modification/invalidation upon imports.
Reverted the separate module processing phases introduced in 8824b42d7b71.
Established a mechanism for modifying module globals, updating Attr assignment
statistics and recording each name.
Changed the update method on the Attr class to use a separate assignments update
method, fixing the number of assignments recorded.
Changed the get_context and get_value methods on the Attr class to test the
number of assignments as well as the length of the list of recorded values.
Changed one of the tests to more thoroughly demonstrate the effects of global
modification on attribute usage and constant value identification. |
|
|
micropython/__init__.py micropython/data.py micropython/inspect.py tests/changed/__init__.py tests/changed/modifier.py tests/changed_globals.py
|
|
577:5d7586cd3780
|
2012-07-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added missing name references where attribute usage is not being recorded. |
|
|
micropython/data.py
|
|
576:41686b1fb1e2
|
2012-07-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Simplified the registration of modified globals by making sure they are known
before the module-level code is visited, thus helping to avoid the gathering of
attribute usage for names that are known to be modified.
(External modification of globals may require usage revocation support,
however, since such modification would not be known until module code is being
visited.) |
|
|
micropython/data.py micropython/inspect.py tests/changed_globals_function.py
|
|
575:7faa219df637
|
2012-07-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Switched the order of global statement discovery and module code visiting,
changing module attribute initialisation so that global statements are regarded
as potential multiple assignments of unknown objects and thus preventing such
globals from being treated as sources of constant values.
Added modified name registration for module globals so that the combined
attribute usage of modified globals can be revoked when finalising the attribute
users for a module's top-level code. |
|
|
TO_DO.txt micropython/data.py micropython/inspect.py tests/changed_globals_function.py
|
|
574:16ae35b97fa3
|
2012-07-03 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added PySonar reference. |
|
|
docs/related.txt
|
|
573:0870065a77d4
|
2012-07-03 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a test of external modification of a module during initialisation. |
|
|
tests/changed2/__init__.py tests/changed2/modifier.py tests/changed_globals2.py
|
|