When the instance of DandifiedNameConvertor is created in interactive mode it causes stack overflow unless pyp2rpm.settings.CONSOLE_LOGGING is set to True explicitly:
In [1]: from pyp2rpm.name_convertor import DandifiedNameConvertor
In [2]: nc = DandifiedNameConvertor('fedora')
Fatal Python error: Cannot recover from stack overflow.
...
The reason of this issue is recursive redirection of stdout to log and log to stdout.
When the instance of DandifiedNameConvertor is created in interactive mode it causes stack overflow unless pyp2rpm.settings.CONSOLE_LOGGING is set to True explicitly:
The reason of this issue is recursive redirection of stdout to log and log to stdout.