[issue19628] maxlevels -1 on compileall for unlimited recursion

Sworddragon report at bugs.python.org
Sat Nov 16 21:40:50 CET 2013


New submission from Sworddragon:

All functions of compileall are providing a maxlevels argument which defaults to 10. But it is currently not possible to disable this recursion limitation. Maybe it would be useful to have a special value like -1 to disable this limitation and allow to compile in an infinite amount of subdirectories.

Also I'm noticing maxlevels is the only argument which is not available on command line. Does it default there to 10 too? Maybe it would be useful if it could be configured too (in this case it could theoretically replace -l).

----------
components: Library (Lib)
messages: 203081
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: maxlevels -1 on compileall for unlimited recursion
type: enhancement
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19628>
_______________________________________


More information about the Python-bugs-list mailing list