Merge lp:~free.ekanayaka/storm/zstorm-access into lp:storm
Proposed by
Free Ekanayaka
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~free.ekanayaka/storm/zstorm-access | ||||
Merge into: | lp:storm | ||||
Diff against target: |
216 lines (+94/-9) 4 files modified
storm/zope/testing.py (+16/-7) storm/zope/zstorm.py (+18/-0) tests/zope/testing.py (+11/-1) tests/zope/zstorm.py (+49/-1) |
||||
To merge this branch: | bzr merge lp:~free.ekanayaka/storm/zstorm-access | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Needs Information | ||
Storm Developers | Pending | ||
Review via email: mp+81556@code.launchpad.net |
Description of the change
This branch adds a ZStorm.of static method similar to Store.of, that lets Storm object access the ZStorm they belong to without relying on global variables.
It also adds a ZStorm.settings instance variable that application code can use to expose configuration values and resources to Storm objects without using global variables.
To post a comment you must log in.
Unmerged revisions
- 420. By Free Ekanayaka
-
Add ZStorm.of and ZStorm.settings
[1]
What's the reasoning for these features?
[2]
This is adding a reference cycle between every store and zstorm.