diff options
author | Fred Drake <fdrake@acm.org> | 2000-09-27 22:43:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-09-27 22:43:54 (GMT) |
commit | 2a37f9f862b81056601584f53a2d5ef88c85d566 (patch) | |
tree | 2d52779b0ce9fbcb2ac6fd16a0c68ada24b6f54a /Lib/imputil.py | |
parent | 6372fe1e40385d5d37bb938688e7bd5ecd2517be (diff) | |
download | cpython-2a37f9f862b81056601584f53a2d5ef88c85d566.zip cpython-2a37f9f862b81056601584f53a2d5ef88c85d566.tar.gz cpython-2a37f9f862b81056601584f53a2d5ef88c85d566.tar.bz2 |
Allow spaces in section names.
Do not expose the __name__ when reporting the list of options available
for a section since that is for internal use.
This closes SourceForge bug #115357.
Additionally, define InterpolationDepthError and MAX_INTERPOLATION_DEPTH.
The exception is raised by get*() when value interpolation cannot be
completed within the defined recursion limit. The constant is only
informative; changing it will not affect the allowed depth.
Fix the exit from get() so that None is not returned if the depth is met
or exceeded; either return the value of raise InterpolationDepthError.
Diffstat (limited to 'Lib/imputil.py')
0 files changed, 0 insertions, 0 deletions