X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=bootstrap.py;h=52359f11ab77b64e4fd604528e8cdad54e557a33;hb=3cd90acd08d5a95f5fb95b79c8bfddebbe099291;hp=1316dabc9433b7e468a0af60a4311d1b65db5cc8;hpb=322c0be2cc5266fadd5bac90cf1082ba66611a92;p=python_utils.git diff --git a/bootstrap.py b/bootstrap.py index 1316dab..52359f1 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -269,6 +269,10 @@ def initialize(entry_point): logger.debug('Python interpreter version: %s', sys.version) logger.debug('Python implementation: %s', sys.implementation) logger.debug('Python C API version: %s', sys.api_version) + if __debug__: + logger.debug('Python interpreter running in __debug__ mode.') + else: + logger.debug('Python interpreter running in optimized mode.') logger.debug('Python path: %s', sys.path) # Log something about the site_config, many things use it.