00001
00002
00003
00004 """Useful/conventional constants."""
00005
00006 __all__ = [ 'ALL', 'VERBOSE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL',
00007 'TRUE', 'FALSE' ]
00008
00009
00010
00011 ALL = 0
00012 VERBOSE = 1
00013 DEBUG = 2
00014 INFO = 3
00015 WARNING = 4
00016 ERROR = 5
00017 FATAL = 6
00018
00019
00020 TRUE = True
00021 FALSE = False
00022
00023
00024 error_explanation = """
00025 ==> After this line, a hack will be executed, attempting to rectify the
00026 ==> problem just reported. Since this hack may fail, and since it is a
00027 ==> rather temporary measure hack, this is an ERROR, not a WARNING."""