Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix multiple leading dots in GlobalObject/Interface.issue41 | Jason Madden | 2018-09-26 | 3 | -6/+15 |
| | | | | Fixes #41. | ||||
* | Back to development: 4.2.2 | Jason Madden | 2018-09-26 | 2 | -1/+7 |
| | |||||
* | Preparing release 4.2.14.2.1 | Jason Madden | 2018-09-26 | 2 | -2/+2 |
| | |||||
* | Merge pull request #37 from zopefoundation/issue35 | Jason Madden | 2018-09-26 | 3 | -5/+28 |
|\ | | | | | Fix GlobalObject breaking with just a . | ||||
| * | Fix GlobalObject breaking with just a . | Jason Madden | 2018-09-26 | 3 | -5/+28 |
|/ | | | | Fixes #35. | ||||
* | Back to development: 4.2.1 | Jason Madden | 2018-09-26 | 2 | -1/+7 |
| | |||||
* | Preparing release 4.2.04.2.0 | Jason Madden | 2018-09-26 | 2 | -2/+2 |
| | |||||
* | Typo fixes in CHANGES. | Jason Madden | 2018-09-26 | 1 | -2/+2 |
| | |||||
* | Merge pull request #34 from zopefoundation/issue10 | Jason Madden | 2018-09-26 | 5 | -78/+135 |
|\ | | | | | Allow customization of which exceptions should pass through Configurationmachine | ||||
| * | Be less clever and more explicit, per review. | Jason Madden | 2018-09-26 | 1 | -9/+5 |
| | | |||||
| * | Stop catching and wrapping BaseException in config and xmlconfig.py | Jason Madden | 2018-09-26 | 5 | -82/+107 |
| | | | | | | | | Add new tests for this. | ||||
| * | Allow customization of which exceptions should pass through ↵issue10 | Jason Madden | 2018-09-25 | 3 | -4/+40 |
|/ | | | | | | ConfigurationMachine. Fixes #10. | ||||
* | Merge pull request #33 from zopefoundation/issue3 | Jason Madden | 2018-09-25 | 7 | -8/+93 |
|\ | | | | | Make Path and .path() expand users and environment variables. | ||||
| * | Quick typo fix from ↵ | Jason Madden | 2018-09-25 | 1 | -1/+1 |
| | | | | | | | | https://github.com/zopefoundation/zope.configuration/pull/32#discussion_r220283143 [skip ci] | ||||
| * | Make Path and .path() expand users and environment variables. | Jason Madden | 2018-09-25 | 6 | -7/+92 |
|/ | | | | Fixes #3 | ||||
* | Merge pull request #29 from zopefoundation/issue6 | Jason Madden | 2018-09-25 | 5 | -69/+84 |
|\ | | | | | Make GlobalObject only allow dotted names. | ||||
| * | Update changenote since its undeprecated due to needing to disallow empty ↵ | Jason Madden | 2018-09-25 | 1 | -2/+2 |
| | | | | | | | | values. [skip ci] | ||||
| * | Do not allow empty identifiers in PythonIdentifier.issue6 | Jason Madden | 2018-09-25 | 2 | -2/+7 |
| | | | | | | | | This restores the previous behaviour of validate(); fromUnicode() previously did no validation at all. | ||||
| * | Use the newest release of zope.schema for DottedName. | Jason Madden | 2018-09-25 | 5 | -65/+19 |
| | | | | | | | | Also PythonIdentifier, which fixes #28. | ||||
| * | Make GlobalObject only allow dotted names. | Jason Madden | 2018-09-25 | 3 | -19/+75 |
| | | | | | | | | | | | | | | Fixes #6 Also make all fields provide the ``value`` and ``field`` when they raise an exception. | ||||
* | | Merge pull request #32 from zopefoundation/issue5 | Jason Madden | 2018-09-25 | 3 | -47/+112 |
|\ \ | |/ |/| | Document zcml:condition more thoroughly. | ||||
| * | Refer to if/else instead of or. | Jason Madden | 2018-09-25 | 1 | -2/+2 |
| | | |||||
| * | Document zcml:condition more thoroughly. | Jason Madden | 2018-09-25 | 3 | -47/+112 |
|/ | | | | | | Also some cross-ref cleanups in narr.rst and zopeconfigure.py Fixes #5 | ||||
* | Merge pull request #31 from zopefoundation/issue30 | Jason Madden | 2018-09-25 | 13 | -205/+209 |
|\ | | | | | 100% test coverage | ||||
| * | Cleanups from review: | Jason Madden | 2018-09-25 | 3 | -69/+62 |
| | | | | | | | | | | - Use AssertionError to distinguish case where we don't want to be called. - Do more cleanups inside test teardown. | ||||
| * | 100% coverage for test_config.pyissue30 | Jason Madden | 2018-09-24 | 5 | -138/+164 |
| | | | | | | | | | | | | And bad.py on Python 3; victim.py was accidentally raising an import error, but not the one we wanted. Also some indentation and style fixes on test_config.py. | ||||
| * | 100% coverage of fields.py | Jason Madden | 2018-09-24 | 2 | -4/+13 |
| | | | | | | | | Run coverage with Python 3 to test the decode logic. | ||||
| * | 100% coverage for test_xmlconfig.py | Jason Madden | 2018-09-24 | 1 | -22/+10 |
| | | |||||
| * | 100% for tests/directive.py | Jason Madden | 2018-09-24 | 1 | -8/+2 |
| | | |||||
| * | 100% coverage for test_docutils. | Jason Madden | 2018-09-24 | 2 | -6/+8 |
| | | |||||
| * | 100% cover for name.py | Jason Madden | 2018-09-24 | 4 | -21/+13 |
|/ | | | | | | The tests were being skipped entirely because they weren't listed in the suite. Also fix some broken pragmas. | ||||
* | Merge pull request #27 from zopefoundation/issue26 | Jason Madden | 2018-09-24 | 14 | -263/+194 |
|\ | | | | | Remove unneeded internal _compat functions and aliases | ||||
| * | Remove unneeded internal _compat functions and aliases. | Jason Madden | 2018-09-24 | 14 | -263/+194 |
|/ | | | | Fixes #26 | ||||
* | Merge pull request #25 from zopefoundation/issue8 | Jason Madden | 2018-09-24 | 4 | -81/+77 |
|\ | | | | | Flesh out the docs for ``includeOverrides`` a little bit | ||||
| * | Add intersphinx mapping for Python and zope.schema | Jason Madden | 2018-09-24 | 1 | -0/+10 |
| | | |||||
| * | Flesh out the docs for ``includeOverrides`` a little bit. | Jason Madden | 2018-09-24 | 4 | -81/+67 |
|/ | | | | | | | | | | | | Fixes #8. Also correct a usage of logger.debug() to not format prematurely. This caused some changes to a doctest, so this is based on #24. Remove the usage of _compat.u in xmlconfig.py and fix its pragmas to match .coveragerc. Fix the version number reported to Sphinx. | ||||
* | Merge pull request #24 from zopefoundation/issue21 | Jason Madden | 2018-09-24 | 15 | -177/+271 |
|\ | | | | | Fix the doctests with newer zope.schema; run them on Py 2 and Py3 | ||||
| * | Python 3.4 indents differently, tweak the pprint width to account for that.issue21 | Jason Madden | 2018-09-22 | 1 | -1/+1 |
| | | |||||
| * | Fix the doctests with newer zope.schema; run them on Py 2 and Py3 | Jason Madden | 2018-09-22 | 15 | -177/+271 |
|/ | | | | | | | | | | | Fixes #21 Include them as part of the normal test run (using manuel, because plain doctest doesn't accept absolute paths). Switch Sphinx to run them under Python 3. We can use a checker as part of the normal test run, but not under Sphinx, so normalize the output for Python 3. | ||||
* | Merge pull request #22 from zopefoundation/feature-GCD-not-shadow-builtin | Jason Madden | 2018-09-22 | 2 | -6/+9 |
|\ | | | | | Make ``GroupingContextDecorator`` stop shadowing builtins in ``__getattr__`` | ||||
| * | Make ``GroupingContextDecorator`` stop shadowing builtins in ``__getattr__`` | Jason Madden | 2018-09-22 | 2 | -6/+9 |
|/ | | | | | | | These were not intended as arguments to be used by subclasses, and the signature caused confusion. Presumably this was done as an optimization, but in the absence of any benchmarks or even comments, it doesn't seem worth the confusion. | ||||
* | Merge pull request #23 from zopefoundation/issue20 | Jason Madden | 2018-09-22 | 4 | -46/+19 |
|\ | | | | | Add support for Python 3.7; drop Python 3.3 | ||||
| * | Try testing pypy3 | Jason Madden | 2018-09-22 | 2 | -4/+2 |
| | | |||||
| * | CHANGES.rst entry for dropping setup.py test. | Jason Madden | 2018-09-21 | 1 | -0/+2 |
| | | |||||
| * | Add support for Python 3.7; drop Python 3.3 | Jason Madden | 2018-09-21 | 4 | -43/+16 |
|/ | | | | | | Fixes #20 Also drop support for 'python setup.py test' | ||||
* | Merge pull request #19 from cjwatson/unicode-all | Colin Watson | 2018-05-03 | 4 | -6/+35 |
|\ | | | | | Cope with unicode __all__ in Python 2 packages | ||||
| * | Add rationale comment | Colin Watson | 2018-05-03 | 1 | -0/+6 |
| | | |||||
| * | Cope with unicode __all__ in Python 2 packages | Colin Watson | 2018-02-02 | 4 | -6/+29 |
|/ | | | | | | | | | | | | | | | | | | | | | When porting a package from Python 2 to 3, one natural path involves adding `from __future__ import unicode_literals` everywhere to prepare for the `bytes`/`unicode` change. This can cause `__all__` to contain `unicode` elements, which mostly works but breaks star imports as follows (depending on the exact Python version - see https://bugs.python.org/issue21720): TypeError: Item in ``from list'' not a string TypeError: Item in ``from list'' must be str, not unicode Star imports can usually be avoided, but it's hard to avoid this behaviour of zope.configuration if you're using ZCML, so it seems worth adjusting `ConfigurationContext.resolve` slightly to avoid the problem. The `sys.modules` logic is borrowed from 2.7's `importlib.import_module`. (Using `importlib` directly here is tricky because of the care we take with tracebacks, but for the time being we can still get by with `__import__`.) | ||||
* | Use SVG icon for Travis | Marius Gedminas | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Back to development: 4.1.1 | Jason Madden | 2017-04-26 | 2 | -1/+7 |
| |