Beispiel #1
0
    def __init__(self):
        Repr.__init__(self)

        # Note: These levels can get adjusted dynamically!  My goal is to get more info when printing important debug stuff like exceptions and stack traces and less info when logging normal events.  --Zooko 2000-10-14
        self.maxlevel = 6
        self.maxdict = 6
        self.maxlist = 6
        self.maxtuple = 6
        self.maxstring = 300
        self.maxother = 300
Beispiel #2
0
    def __init__(self):
        Repr.__init__(self)

        # Note: These levels can get adjusted dynamically!  My goal is to get more info when printing important debug stuff like exceptions and stack traces and less info when logging normal events.  --Zooko 2000-10-14
        self.maxlevel = 6
        self.maxdict = 6
        self.maxlist = 6
        self.maxtuple = 6
        self.maxstring = 300
        self.maxother = 300
Beispiel #3
0
    def __init__(self, subsequentIndent=""):
        Repr.__init__(self)
        self.maxtuple = 20
        self.maxset = 160
        self.maxlist = 20
        self.maxdict = 20
        self.maxstring = 1600
        self.maxother = 160

        self.maxLineLen = 160

        self.subsequentIndent = subsequentIndent
        # Pretty-print?
        self._pretty = True
Beispiel #4
0
    def __init__(self, subsequentIndent = ""):
        Repr.__init__(self)
        self.maxtuple = 20
        self.maxset = 160
        self.maxlist = 20
        self.maxdict = 20
        self.maxstring = 1600
        self.maxother = 160

        self.maxLineLen = 160

        self.subsequentIndent = subsequentIndent
        # Pretty-print?
        self._pretty = True
 def __init__(self):
     Repr.__init__(self)
     self.maxstring = 76
     self.maxother = 76
 def __init__(self):
     Repr.__init__(self)
     self.maxstring = 100
     self.maxother = 100
Beispiel #7
0
 def __init__(self):
     Repr.__init__(self)
     self.maxstring = 76
     self.maxother = 76
Beispiel #8
0
 def __init__(self):
     Repr.__init__(self)
     self.maxstring = 100
     self.maxother = 100