Message12622

Author jeff.allen
Recipients jeff.allen
Date 2019-08-05.12:59:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565009975.26.0.811834677781.issue2778@roundup.psfhosted.org>
In-reply-to
Content
Interesting observation for the semantics of this: the registry setting python.verbose (if given) overrides the -v option on the command line (currently). This is because the command parser updates Options.verbose as it works, but the registry is only read as the runtime initialises. Here we start verbose, but hen the registry value takes over.

PS jython-trunk> dist\bin\jython -vvv
initializer: 'META-INF/services/org.python.core.JythonInitializer' not found on sun.misc.Launcher$AppClassLoader@45e4d960
initializer: 'META-INF/services/org.python.core.JythonInitializer' not found on sun.misc.Launcher$AppClassLoader@45e4d960
Jython 2.7.2a1+ (default:011472a1af03+, Aug 4 2019, 16:52:04)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_80
Type "help", "copyright", "credits" or "license" for more information.
>>> from org.python.core import Options
>>> Options.verbose
1
            
A setting made via JUL logging properties is available from the start and -v will adjust relative to that.
History
Date User Action Args
2019-08-05 12:59:35jeff.allensetmessageid: <1565009975.26.0.811834677781.issue2778@roundup.psfhosted.org>
2019-08-05 12:59:35jeff.allensetrecipients: + jeff.allen
2019-08-05 12:59:35jeff.allenlinkissue2778 messages
2019-08-05 12:59:35jeff.allencreate