| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|\
| |
| | |
Allow customization of which exceptions should pass through Configurationmachine
|
| | |
|
| |
| |
| |
| | |
Add new tests for this.
|
|/
|
|
|
|
| |
ConfigurationMachine.
Fixes #10.
|
|\
| |
| | |
Make Path and .path() expand users and environment variables.
|
| |
| |
| |
| | |
https://github.com/zopefoundation/zope.configuration/pull/32#discussion_r220283143 [skip ci]
|
|/
|
|
| |
Fixes #3
|
|\
| |
| | |
Make GlobalObject only allow dotted names.
|
| |
| |
| |
| | |
values. [skip ci]
|
| |
| |
| |
| | |
This restores the previous behaviour of validate(); fromUnicode() previously did no validation at all.
|
| |
| |
| |
| | |
Also PythonIdentifier, which fixes #28.
|
| |
| |
| |
| |
| |
| |
| | |
Fixes #6
Also make all fields provide the ``value`` and ``field`` when they
raise an exception.
|
|\ \
| |/
|/| |
Document zcml:condition more thoroughly.
|
| | |
|
|/
|
|
|
|
| |
Also some cross-ref cleanups in narr.rst and zopeconfigure.py
Fixes #5
|
|\
| |
| | |
100% test coverage
|
| |
| |
| |
| |
| | |
- Use AssertionError to distinguish case where we don't want to be called.
- Do more cleanups inside test teardown.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Run coverage with Python 3 to test the decode logic.
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
The tests were being skipped entirely because they weren't listed in the suite.
Also fix some broken pragmas.
|
|\
| |
| | |
Remove unneeded internal _compat functions and aliases
|
|/
|
|
| |
Fixes #26
|
|\
| |
| | |
Flesh out the docs for ``includeOverrides`` a little bit
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Fix the doctests with newer zope.schema; run them on Py 2 and Py3
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Make ``GroupingContextDecorator`` stop shadowing builtins in ``__getattr__``
|
|/
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add support for Python 3.7; drop Python 3.3
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Fixes #20
Also drop support for 'python setup.py test'
|
|\
| |
| | |
Cope with unicode __all__ in Python 2 packages
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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__`.)
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Make MessageID decode a bytes domain.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
Fixes #17.
Also use zope.testrunner to handle the namespace package issues.
Fixes #16.
Since we were in .travis.yml, enable coverage reporting and pip
caching.
|
|
|
|
| |
Add workaround for `tox -e py35,py36` (see #16).
|