summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix multiple leading dots in GlobalObject/Interface.issue41Jason Madden2018-09-263-6/+15
| | | | Fixes #41.
* Back to development: 4.2.2Jason Madden2018-09-262-1/+7
|
* Preparing release 4.2.14.2.1Jason Madden2018-09-262-2/+2
|
* Merge pull request #37 from zopefoundation/issue35Jason Madden2018-09-263-5/+28
|\ | | | | Fix GlobalObject breaking with just a .
| * Fix GlobalObject breaking with just a .Jason Madden2018-09-263-5/+28
|/ | | | Fixes #35.
* Back to development: 4.2.1Jason Madden2018-09-262-1/+7
|
* Preparing release 4.2.04.2.0Jason Madden2018-09-262-2/+2
|
* Typo fixes in CHANGES.Jason Madden2018-09-261-2/+2
|
* Merge pull request #34 from zopefoundation/issue10Jason Madden2018-09-265-78/+135
|\ | | | | Allow customization of which exceptions should pass through Configurationmachine
| * Be less clever and more explicit, per review.Jason Madden2018-09-261-9/+5
| |
| * Stop catching and wrapping BaseException in config and xmlconfig.pyJason Madden2018-09-265-82/+107
| | | | | | | | Add new tests for this.
| * Allow customization of which exceptions should pass through ↵issue10Jason Madden2018-09-253-4/+40
|/ | | | | | ConfigurationMachine. Fixes #10.
* Merge pull request #33 from zopefoundation/issue3Jason Madden2018-09-257-8/+93
|\ | | | | Make Path and .path() expand users and environment variables.
| * Quick typo fix from ↵Jason Madden2018-09-251-1/+1
| | | | | | | | https://github.com/zopefoundation/zope.configuration/pull/32#discussion_r220283143 [skip ci]
| * Make Path and .path() expand users and environment variables.Jason Madden2018-09-256-7/+92
|/ | | | Fixes #3
* Merge pull request #29 from zopefoundation/issue6Jason Madden2018-09-255-69/+84
|\ | | | | Make GlobalObject only allow dotted names.
| * Update changenote since its undeprecated due to needing to disallow empty ↵Jason Madden2018-09-251-2/+2
| | | | | | | | values. [skip ci]
| * Do not allow empty identifiers in PythonIdentifier.issue6Jason Madden2018-09-252-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 Madden2018-09-255-65/+19
| | | | | | | | Also PythonIdentifier, which fixes #28.
| * Make GlobalObject only allow dotted names.Jason Madden2018-09-253-19/+75
| | | | | | | | | | | | | | Fixes #6 Also make all fields provide the ``value`` and ``field`` when they raise an exception.
* | Merge pull request #32 from zopefoundation/issue5Jason Madden2018-09-253-47/+112
|\ \ | |/ |/| Document zcml:condition more thoroughly.
| * Refer to if/else instead of or.Jason Madden2018-09-251-2/+2
| |
| * Document zcml:condition more thoroughly.Jason Madden2018-09-253-47/+112
|/ | | | | | Also some cross-ref cleanups in narr.rst and zopeconfigure.py Fixes #5
* Merge pull request #31 from zopefoundation/issue30Jason Madden2018-09-2513-205/+209
|\ | | | | 100% test coverage
| * Cleanups from review:Jason Madden2018-09-253-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.pyissue30Jason Madden2018-09-245-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.pyJason Madden2018-09-242-4/+13
| | | | | | | | Run coverage with Python 3 to test the decode logic.
| * 100% coverage for test_xmlconfig.pyJason Madden2018-09-241-22/+10
| |
| * 100% for tests/directive.pyJason Madden2018-09-241-8/+2
| |
| * 100% coverage for test_docutils.Jason Madden2018-09-242-6/+8
| |
| * 100% cover for name.pyJason Madden2018-09-244-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/issue26Jason Madden2018-09-2414-263/+194
|\ | | | | Remove unneeded internal _compat functions and aliases
| * Remove unneeded internal _compat functions and aliases.Jason Madden2018-09-2414-263/+194
|/ | | | Fixes #26
* Merge pull request #25 from zopefoundation/issue8Jason Madden2018-09-244-81/+77
|\ | | | | Flesh out the docs for ``includeOverrides`` a little bit
| * Add intersphinx mapping for Python and zope.schemaJason Madden2018-09-241-0/+10
| |
| * Flesh out the docs for ``includeOverrides`` a little bit.Jason Madden2018-09-244-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/issue21Jason Madden2018-09-2415-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.issue21Jason Madden2018-09-221-1/+1
| |
| * Fix the doctests with newer zope.schema; run them on Py 2 and Py3Jason Madden2018-09-2215-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-builtinJason Madden2018-09-222-6/+9
|\ | | | | Make ``GroupingContextDecorator`` stop shadowing builtins in ``__getattr__``
| * Make ``GroupingContextDecorator`` stop shadowing builtins in ``__getattr__``Jason Madden2018-09-222-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/issue20Jason Madden2018-09-224-46/+19
|\ | | | | Add support for Python 3.7; drop Python 3.3
| * Try testing pypy3Jason Madden2018-09-222-4/+2
| |
| * CHANGES.rst entry for dropping setup.py test.Jason Madden2018-09-211-0/+2
| |
| * Add support for Python 3.7; drop Python 3.3Jason Madden2018-09-214-43/+16
|/ | | | | | Fixes #20 Also drop support for 'python setup.py test'
* Merge pull request #19 from cjwatson/unicode-allColin Watson2018-05-034-6/+35
|\ | | | | Cope with unicode __all__ in Python 2 packages
| * Add rationale commentColin Watson2018-05-031-0/+6
| |
| * Cope with unicode __all__ in Python 2 packagesColin Watson2018-02-024-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 TravisMarius Gedminas2017-10-051-1/+1
|
* Back to development: 4.1.1Jason Madden2017-04-262-1/+7
|