content
stringlengths
7
1.05M
# Copyright (c) 2022 Jakub Vesely # This software is published under MIT license. Full text of the license is available at https://opensource.org/licenses/MIT class RemoteKeyboardBase: """ this class is a base class for remote keyboards/controls (IR or the BLE one) example of usage can be found in examples/___remote_control """ def __init__(self, address_bit_tolerance=2) -> None: """ The variable "address_bit_tolerance" is a workaround for quite common practice that address have 16 bits (not 8 + 8 inverted as is defined and used for data). Unfortunately it happens that the address is received malformed quite often. When there is define set of one or two RCs used for the project, addresses can be predefined and chosen if the received address is bitwise close (lower or equal to address_bit_distance). """ self.address_bit_tolerance = address_bit_tolerance def get_address(self): raise NotImplementedError def find_name_by_scan_code(self, scan_code): raise NotImplementedError
maze = ' ******* * **** * **** * *** *# *** *** *** *********' g = '' s = '' for i in range(0, len(maze)): g += maze[i] if (i+1)%8==0: g += s + '\n' s = '' print(g)
class Error(Exception): pass class FieldLookupError(Error): pass class BadValueError(Error): pass class DocumentClassRequiredError(Error): pass class FieldError(Error): pass
# pylint: disable=missing-docstring,too-few-public-methods class AbstractFoo: def kwonly_1(self, first, *, second, third): "Normal positional with two positional only params." def kwonly_2(self, *, first, second): "Two positional only parameter." def kwonly_3(self, *, first, second): "Two positional only params." def kwonly_4(self, *, first, second=None): "One positional only and another with a default." def kwonly_5(self, *, first, **kwargs): "Keyword only and keyword variadics." def kwonly_6(self, first, second, *, third): "Two positional and one keyword" class Foo(AbstractFoo): def kwonly_1(self, first, *, second): # [arguments-differ] "One positional and only one positional only param." def kwonly_2(self, first): # [arguments-differ] "Only one positional parameter instead of two positional only parameters." def kwonly_3(self, first, second): # [arguments-differ] "Two positional params." def kwonly_4(self, first, second): # [arguments-differ] "Two positional params." def kwonly_5(self, *, first): # [arguments-differ] "Keyword only, but no variadics." def kwonly_6(self, *args, **kwargs): # valid override "Positional and keyword variadics to pass through parent params" class Foo2(AbstractFoo): def kwonly_6(self, first, *args, **kwargs): # valid override "One positional with the rest variadics to pass through parent params"
#paste your api_hash and api_id from my.telegram.org api_hash = "exxxxxxxxxx" api_id = xxxx entity = "tgcloud"
# Server Specific Configurations server = { 'port': '8558', 'host': '0.0.0.0' } # Pecan Application Configurations app = { 'root': 'vouch.controllers.root.RootController', 'modules': ['vouch'], 'debug': False, # this 'guess' also strips off the extension from the resource path. 'guess_content_type_from_ext': False } logging = { 'loggers': { 'vouch': {'level': 'DEBUG', 'handlers': ['console']}, 'keystonemiddleware': {'level': 'DEBUG', 'handlers': ['console']}, '__force_dict__': True }, 'handlers': { 'console': { 'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'simple' } }, 'formatters': { 'simple': { 'format': ('%(asctime)s %(levelname)s [%(name)s]' '[%(threadName)s] %(message)s') } } }
def shakehand(): rest() i01.startedGesture() ##move arm and hand i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setHandSpeed("right", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setArmSpeed("right", 0.75, 0.85, 0.95, 0.85) i01.setArmSpeed("left", 0.75, 0.85, 0.95, 0.85) i01.setHeadSpeed(1.0, 1.0) i01.setTorsoSpeed(0.75, 0.55, 1.0) i01.moveHead(39,70) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,55,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",50,50,40,20,20,90) i01.moveTorso(95,95,90) sleep(3) ##close the hand i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setHandSpeed("right", 0.85, 0.85, 0.85, 0.85, 0.85, 1.0) i01.setArmSpeed("right", 0.75, 0.85, 0.95, 0.85) i01.setArmSpeed("left", 0.75, 0.85, 0.75, 0.85) i01.setHeadSpeed(1.0, 1.0) i01.setTorsoSpeed(0.75, 0.55, 1.0) i01.moveHead(39,70) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,48,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,125,135,145,168,77) i01.moveTorso(95,95,90) sleep(3) ##shake hand up i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setHandSpeed("right", 0.85, 0.85, 0.85, 0.85, 0.85, 1.0) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(1.0, 1.0) i01.setTorsoSpeed(0.75, 0.55, 1.0) i01.moveHead(90,90) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,60,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,125,135,145,168,77) i01.moveTorso(95,95,90) sleep(1) ##shake hand down x = (random.randint(1, 7)) if x == 1: i01.mouth.speak("please to meet you") if x == 2: i01.mouth.speak("carefull my hand is made out of plastic") if x == 3: i01.mouth.speak("I am happy to shake a human hand") if x == 4: i01.mouth.speak("it is a pleasure to meet you") if x == 5: i01.mouth.speak("very nice to meet you") if x == 6: i01.mouth.speak("shaking a human hand, feels strange. please to meet you") if x == 7: i01.mouth.speak("I am glad you don't shake me like trump does") i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(0.75, 0.75) i01.setTorsoSpeed(0.65, 0.55, 1.0) i01.moveHead(70,53) sleep(0.5) i01.moveHead(39,70) sleep(0.5) i01.moveHead(70,53) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,48,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,125,135,145,168,77) i01.moveTorso(95,95,90) sleep(1.5) ##shake hand up i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(0.85, 0.85) i01.setTorsoSpeed(0.65, 0.55, 1.0) i01.moveHead(80,53) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,60,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,125,135,145,168,77) i01.moveTorso(95,95,90) sleep(1) ##shake hand down i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(0.85, 0.85) i01.setTorsoSpeed(0.65, 0.55, 1.0) i01.moveHead(80,88) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,48,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,125,135,145,168,77) i01.moveTorso(95,95,90) sleep(1.5) ## release hand i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.95, 0.95, 0.95, 0.85) i01.setArmSpeed("left", 0.75, 0.85, 0.95, 0.85) i01.setHeadSpeed(1.0, 1.0) i01.setTorsoSpeed(0.65, 0.55, 1.0) i01.moveHead(39,70) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,45,16) i01.moveHand("left",50,50,40,20,20,77) i01.moveHand("right",20,30,30,20,20,90) i01.moveTorso(95,95,90) sleep(1) rest() relax() i01.moveHead(90,90) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,70,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,126,120,145,168,77) i01.moveTorso(101,100,90) sleep(1) ##shake hand down x = (random.randint(1, 5)) if x == 1: i01.mouth.speak("please to meet you") if x == 2: i01.mouth.speak("carefull my hand is made out of plastic") if x == 3: i01.mouth.speak("I am happy to shake a human hand") if x == 4: i01.mouth.speak("it is a pleasure to meet you") if x == 5: i01.mouth.speak("very nice to meet you") i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.75, 0.75, 0.95, 0.85) i01.setHeadSpeed(0.85, 0.85) i01.setTorsoSpeed(1.0, 1.0, 1.0) i01.moveHead(80,53) sleep(2) i01.moveHead(39,70) sleep(2) i01.moveHead(80,53) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,60,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,126,120,145,168,77) i01.moveTorso(101,100,90) sleep(1) ##shake hand up i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.75, 0.75, 0.95, 0.85) i01.setHeadSpeed(0.85, 0.85) i01.setTorsoSpeed(1.0, 1.0, 1.0) i01.moveHead(80,53) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,75,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,126,120,145,168,77) i01.moveTorso(101,100,90) sleep(1) ##shake hand down i01.setHandSpeed("left", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.75, 0.75, 0.95, 0.85) i01.setHeadSpeed(0.85, 0.85) i01.setTorsoSpeed(1.0, 1.0, 1.0) i01.moveHead(82,88) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,62,16) i01.moveHand("left",50,50,40,20,20,90) i01.moveHand("right",180,126,120,145,168,77) i01.moveTorso(101,100,90) sleep(2) ## release hand i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0) i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 0.95, 0.95, 0.95, 0.85) i01.setArmSpeed("left", 0.75, 0.85, 0.95, 0.85) i01.setHeadSpeed(1.0, 1.0) i01.setTorsoSpeed(0.75, 0.55, 1.0) i01.moveHead(39,70) i01.moveArm("left",5,84,16,15) i01.moveArm("right",6,73,62,16) i01.moveHand("left",50,50,40,20,20,77) i01.moveHand("right",20,30,30,20,20,90) i01.moveTorso(101,100,90) sleep(1) relax() i01.finishedGesture()
# Copyright (c) 2013 Huan Do, http://huan.do class FrameContextManager(object): def __init__(self, frame, visitor): self.frame = frame self.visitor = visitor def __enter__(self): self.visitor.current_frame = self.frame return self.frame def __exit__(self, *_): self.visitor.withdraw_frame()
# wczytanie napisow with open('../dane/NAPIS.TXT') as f: data = [] for word in f.readlines(): data.append(word[:-1]) # zbior slow rosnacych growing = [] # przejscie po slowach for word in data: # przejscie po literach i sprawdzenie czy aktualna wartosc ASCII litery jest wieksza niz poprzednej isgrowing = True prevnum = 0 for char in word: if prevnum >= ord(char): isgrowing = False break prevnum = ord(char) if isgrowing: growing.append(word) # wyswietlenie odpowiedzi nl = '\n' answer = f'5 b) Slowa rosnace: {nl}{nl.join(growing)}' print(answer)
sum = lambda a, b : a + b print(sum(3,4)) def sum1(a, b): return a + b print(sum1(4, 5)) myList = [lambda a, b : a + b, lambda a, b : a * b] print(myList) print(myList[0]) print(myList[0](3, 4)) print(myList[1](3, 4))
# pylint: disable=missing-docstring def baz(): # [disallowed-name] pass
# c:\Users\i341972\Desktop\git_repos\enaml\enaml\core\parse_tab\parsetab.py # This file is automatically generated. Do not edit. _tabversion = '3.2' _lr_method = 'LALR' _lr_signature = '\x7f\xdd\xc1Pb\x9c\xa9\xeb\xac\xc9\xad\xb5=\x06\x80j' _lr_action_items = {'LPAR':([0,1,6,7,9,13,14,16,18,24,28,29,30,31,33,35,39,42,43,44,47,49,52,54,55,57,61,63,64,65,67,72,73,74,82,83,85,86,89,90,95,96,97,102,103,104,106,109,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,137,138,140,144,147,148,150,155,157,160,161,163,165,166,168,169,170,171,177,183,185,186,187,188,189,191,193,194,195,196,199,201,202,205,210,211,213,215,216,218,219,220,228,233,234,244,246,248,251,253,256,258,260,262,263,265,270,271,272,274,277,278,279,281,282,291,292,293,296,299,300,301,303,306,307,308,309,310,312,314,315,316,318,319,321,324,328,330,333,341,343,346,347,350,353,354,355,356,360,364,365,367,368,370,374,375,377,378,379,383,391,394,401,404,410,414,417,418,420,428,429,430,432,435,437,440,442,444,447,450,453,459,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,512,518,523,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[1,1,-140,1,1,1,-55,-143,-139,-137,-141,1,-297,1,1,-298,1,-56,1,-9,-7,1,165,171,1,1,1,-8,-142,1,-295,-296,1,1,1,1,-144,1,-138,-288,-57,1,-58,1,1,1,1,-215,1,1,-125,-116,-120,-115,1,-118,-122,-117,-121,-124,-126,-123,-119,1,1,-181,-180,242,1,-299,1,1,251,1,1,1,-293,1,1,1,165,1,1,-286,171,1,-291,-241,1,-237,-236,-244,-239,-242,-240,-238,-6,1,1,314,316,-290,1,1,-289,1,1,1,1,-216,1,1,1,1,1,171,1,1,-51,1,-294,1,1,1,-314,1,1,1,-287,-317,1,1,1,171,1,1,1,-292,1,1,-245,1,-243,1,1,1,1,1,1,1,408,411,1,-168,1,-217,1,1,1,1,1,1,-163,-158,1,1,-315,1,1,1,-371,1,1,1,-316,171,171,-153,1,-177,-145,483,1,-169,-218,1,-174,1,1,-162,1,1,1,1,-372,1,1,171,171,1,1,1,1,-150,1,-146,-147,-155,-52,1,1,-164,1,1,1,-157,1,1,1,1,1,171,1,171,-178,1,1,-149,-148,1,-10,-159,-160,-165,1,-371,1,-154,1,1,1,-179,1,-152,-11,1,1,1,1,1,-372,1,1,-151,-12,-156,1,-166,-167,1,-14,-15,1,1,1,1,1,-13,-161,-16,-17,-18,-19,]),'ENDMARKER':([0,6,8,14,16,18,24,28,41,42,44,47,63,64,73,85,89,95,97,135,136,153,196,258,328,354,355,391,401,404,417,428,432,472,475,476,488,490,493,497,524,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[2,-140,100,-55,-143,-139,-137,-141,152,-56,-9,-7,-8,-142,-5,-144,-138,-57,-58,-181,-180,255,-6,-51,-168,-163,-158,-153,-177,-145,-169,-174,-162,-150,-146,-147,-155,-52,-164,-157,-178,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'NOTEQUAL':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,185,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,185,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'AMPEREQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,120,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'CIRCUMFLEX':([10,12,23,30,35,37,38,51,52,67,72,90,101,105,107,113,131,132,140,149,151,160,162,164,166,170,181,183,210,215,222,223,224,225,226,232,239,240,241,254,262,267,268,269,271,278,279,280,300,336,351,364,371,378,],[-270,112,-264,-297,-298,-278,-254,-258,-282,-295,-296,-288,-279,-272,-271,233,-265,-266,-299,-255,-280,-293,-260,-259,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-253,-257,-315,-285,-316,]),'WITH':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,97,135,136,196,258,328,353,354,355,391,401,404,417,428,430,432,472,475,476,488,490,493,497,524,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[7,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,7,-144,-138,-57,-58,-181,-180,-6,-51,-168,7,-163,-158,-153,-177,-145,-169,-174,7,-162,-150,-146,-147,-155,-52,-164,-157,-178,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'MINUS':([0,1,6,7,9,10,13,14,16,18,23,24,28,29,30,31,33,35,37,39,42,43,44,47,49,52,55,57,61,63,64,65,67,72,73,74,82,83,85,86,89,90,95,96,97,101,102,103,104,105,106,107,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,140,144,147,150,151,155,157,160,161,163,165,166,168,169,170,177,181,183,185,186,187,188,189,191,193,194,195,196,199,201,210,211,213,215,216,218,219,220,222,223,224,225,226,233,234,239,240,241,244,246,248,253,256,258,260,262,263,265,270,271,272,274,277,278,279,280,281,282,291,293,296,299,300,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,364,365,367,368,370,371,374,375,377,378,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[39,39,-140,39,39,-270,39,-55,-143,-139,134,-137,-141,39,-297,39,39,-298,-278,39,-56,39,-9,-7,39,-282,39,39,39,-8,-142,39,-295,-296,39,39,39,39,-144,39,-138,-288,-57,39,-58,-279,39,39,39,-272,39,-271,39,39,-125,-116,-120,-115,39,-118,-122,-117,-121,-124,-126,-123,-119,134,-266,39,39,-181,-180,39,-299,39,39,39,-280,39,39,-293,39,39,39,-284,39,39,-286,39,-281,-291,-241,39,-237,-236,-244,-239,-242,-240,-238,-6,39,39,-290,39,39,-289,39,39,39,39,-274,-276,-277,-275,-273,39,39,-267,-268,-269,39,39,39,39,39,-51,39,-294,39,39,39,-314,39,39,39,-287,-317,-283,39,39,39,39,39,39,-292,39,39,-245,39,-243,39,39,39,39,39,39,39,39,-168,39,39,39,39,39,39,39,-163,-158,39,39,-315,39,39,39,-371,-285,39,39,39,-316,-153,39,-177,-145,39,-169,39,-174,39,39,-162,39,39,39,39,-372,39,39,39,39,39,39,-150,39,-146,-147,-155,-52,39,39,-164,39,39,39,-157,39,39,39,39,39,39,-178,39,39,-149,-148,39,-10,-159,-160,-165,39,-371,39,-154,39,39,39,-179,39,-152,-11,39,39,39,39,39,-372,39,39,-151,-12,-156,39,-166,-167,39,-14,-15,39,39,39,39,39,-13,-161,-16,-17,-18,-19,]),'LESS':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,188,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,188,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'EXCEPT':([95,97,258,259,354,490,493,549,617,618,],[-57,-58,-51,356,356,-52,-164,-165,-166,-167,]),'PLUS':([0,1,6,7,9,10,13,14,16,18,23,24,28,29,30,31,33,35,37,39,42,43,44,47,49,52,55,57,61,63,64,65,67,72,73,74,82,83,85,86,89,90,95,96,97,101,102,103,104,105,106,107,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,140,144,147,150,151,155,157,160,161,163,165,166,168,169,170,177,181,183,185,186,187,188,189,191,193,194,195,196,199,201,210,211,213,215,216,218,219,220,222,223,224,225,226,233,234,239,240,241,244,246,248,253,256,258,260,262,263,265,270,271,272,274,277,278,279,280,281,282,291,293,296,299,300,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,364,365,367,368,370,371,374,375,377,378,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[9,9,-140,9,9,-270,9,-55,-143,-139,133,-137,-141,9,-297,9,9,-298,-278,9,-56,9,-9,-7,9,-282,9,9,9,-8,-142,9,-295,-296,9,9,9,9,-144,9,-138,-288,-57,9,-58,-279,9,9,9,-272,9,-271,9,9,-125,-116,-120,-115,9,-118,-122,-117,-121,-124,-126,-123,-119,133,-266,9,9,-181,-180,9,-299,9,9,9,-280,9,9,-293,9,9,9,-284,9,9,-286,9,-281,-291,-241,9,-237,-236,-244,-239,-242,-240,-238,-6,9,9,-290,9,9,-289,9,9,9,9,-274,-276,-277,-275,-273,9,9,-267,-268,-269,9,9,9,9,9,-51,9,-294,9,9,9,-314,9,9,9,-287,-317,-283,9,9,9,9,9,9,-292,9,9,-245,9,-243,9,9,9,9,9,9,9,9,-168,9,9,9,9,9,9,9,-163,-158,9,9,-315,9,9,9,-371,-285,9,9,9,-316,-153,9,-177,-145,9,-169,9,-174,9,9,-162,9,9,9,9,-372,9,9,9,9,9,9,-150,9,-146,-147,-155,-52,9,9,-164,9,9,9,-157,9,9,9,9,9,9,-178,9,9,-149,-148,9,-10,-159,-160,-165,9,-371,9,-154,9,9,9,-179,9,-152,-11,9,9,9,9,9,-372,9,9,-151,-12,-156,9,-166,-167,9,-14,-15,9,9,9,9,9,-13,-161,-16,-17,-18,-19,]),'PERCENTEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,125,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'IMPORT':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,109,135,136,155,196,207,208,209,216,219,228,258,299,315,318,320,322,328,330,333,350,353,354,355,391,401,404,417,418,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[11,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,11,-144,-138,-57,11,-58,-215,-181,-180,11,-6,319,321,-199,11,11,-216,-51,11,11,11,410,-200,-168,11,-217,11,11,-163,-158,-153,-177,-145,-169,-218,-174,11,11,-162,11,11,11,-150,-146,-147,-155,-52,11,11,-164,11,-157,11,-178,11,11,-149,-148,-10,-159,-160,-165,-154,-179,11,-152,-11,11,11,11,-151,-12,-156,11,-166,-167,-14,-15,11,-13,-161,-16,-17,-18,-19,]),'EQEQUAL':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,195,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,195,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'RBRACE':([10,12,19,23,27,30,32,35,37,38,46,48,49,51,52,67,68,72,75,90,101,105,107,113,131,132,140,143,149,151,156,158,160,162,164,166,170,181,183,190,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,263,264,266,267,268,269,271,278,279,280,295,300,305,311,336,344,351,358,359,360,361,364,371,378,388,395,397,422,438,439,440,441,485,498,521,522,537,538,539,579,588,601,603,619,627,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,160,-258,-282,-295,-232,-296,-226,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,262,-293,-260,-259,-284,-286,-281,-291,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-350,-351,-349,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-253,-249,-257,-225,-355,-352,-345,-315,-285,-316,-398,-235,-229,-220,-356,-347,-346,-344,-382,-348,-394,-393,-385,-384,-383,-386,-353,-395,-387,-354,-396,]),'EXEC':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[13,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,13,-144,-138,-57,13,-58,-181,-180,13,-6,13,13,-51,13,13,13,-168,13,13,13,-163,-158,-153,-177,-145,-169,-174,13,13,-162,13,13,13,-150,-146,-147,-155,-52,13,13,-164,13,-157,13,-178,13,13,-149,-148,-10,-159,-160,-165,-154,-179,13,-152,-11,13,13,13,-151,-12,-156,13,-166,-167,-14,-15,13,-13,-161,-16,-17,-18,-19,]),'SLASH':([10,30,35,37,52,67,72,90,101,105,107,140,151,160,166,170,181,183,210,215,222,223,224,225,226,262,271,278,279,280,300,364,371,378,],[106,-297,-298,-278,-282,-295,-296,-288,-279,-272,106,-299,-280,-293,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-294,-314,-287,-317,-283,-292,-315,-285,-316,]),'PASS':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,487,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,580,581,582,583,585,586,602,604,606,607,608,609,611,613,615,616,617,618,628,629,631,632,633,634,638,641,642,643,644,648,649,650,651,653,654,661,663,664,666,667,668,670,672,673,674,675,676,677,678,679,680,681,683,685,686,687,689,690,692,693,694,696,697,698,699,700,],[20,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,20,-144,-138,-57,20,-58,-181,-180,20,-6,20,20,-51,20,20,20,-168,20,20,20,-163,-158,-153,-177,-145,-169,-174,20,20,-162,20,20,20,-150,-146,-147,544,-155,-52,20,20,-164,20,-157,20,-178,20,20,-149,-148,-10,-159,-160,-165,-154,-179,20,-152,610,614,-11,20,20,20,-151,-24,-22,-20,-23,610,610,-12,-156,20,-166,-167,610,-14,-21,-25,-15,610,-45,662,20,-13,-161,610,610,662,-16,-26,-28,-32,-31,-50,-17,-18,610,-49,-48,-46,-47,-30,684,691,-33,-19,-27,-29,-35,-34,-42,691,-40,-43,691,-36,-37,-41,-44,-38,691,-39,]),'NAME':([0,1,6,7,9,11,13,14,16,18,24,26,28,29,31,33,34,39,42,43,44,47,49,54,55,56,57,61,63,64,65,73,74,80,82,83,84,85,86,87,89,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,144,147,150,155,157,161,163,165,167,168,169,171,172,176,177,185,186,187,188,189,191,193,194,195,196,199,201,208,209,211,213,216,218,219,220,227,229,230,233,234,242,244,246,248,251,253,256,258,260,263,265,270,272,274,277,281,282,291,292,293,296,298,299,301,303,306,307,308,309,310,312,314,315,316,318,319,321,322,324,328,330,332,335,341,343,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,379,383,385,387,391,394,401,404,408,410,411,414,417,420,428,429,430,432,435,437,440,442,444,447,450,453,454,455,457,459,461,463,466,468,472,473,475,476,477,479,483,487,488,490,491,492,493,494,495,496,497,498,501,502,505,510,512,513,514,518,523,524,525,528,529,530,532,540,543,546,547,549,552,553,556,560,561,564,565,569,570,573,574,575,576,580,582,583,585,586,587,589,590,592,599,600,602,604,606,607,608,609,611,612,613,615,616,617,618,621,624,628,629,630,631,632,633,634,635,637,638,639,640,641,642,643,644,646,648,649,650,651,653,654,655,661,663,664,666,667,668,670,672,673,674,675,676,677,678,679,680,681,683,685,686,687,689,690,692,693,694,696,697,698,699,700,],[67,67,-140,67,67,109,67,-55,-143,-139,-137,137,-141,67,67,67,148,67,-56,67,-9,-7,67,173,67,179,67,67,-8,-142,67,67,67,202,67,67,109,-144,67,109,-138,-57,67,-58,67,67,67,67,67,67,-125,-116,-120,-115,67,-118,-122,-117,-121,-124,-126,-123,-119,67,67,-181,-180,67,67,67,67,67,67,67,67,67,279,67,67,173,289,294,67,-241,67,-237,-236,-244,-239,-242,-240,-238,-6,67,67,109,-199,67,67,67,67,67,67,331,333,109,67,67,340,67,67,67,173,67,67,-51,67,67,67,67,67,67,67,67,67,67,173,67,67,390,67,67,67,-245,67,-243,67,67,67,67,67,67,67,407,407,-200,67,-168,67,418,109,67,67,67,67,67,67,-163,-158,67,67,67,67,67,-371,67,67,67,173,173,460,462,-153,67,-177,-145,407,407,407,67,-169,67,-174,67,67,-162,67,67,67,67,-372,67,67,173,508,509,511,173,67,67,67,67,-150,67,-146,-147,407,533,407,542,-155,-52,67,67,-164,67,67,67,-157,67,67,67,67,67,173,562,563,67,173,-178,67,67,-149,-148,407,67,-10,-159,-160,-165,67,-371,67,593,594,596,-154,67,67,67,-179,67,-152,612,-11,67,67,67,67,67,-372,622,67,67,-151,-24,-22,-20,-23,630,630,636,-12,-156,67,-166,-167,67,647,612,-14,636,-21,-25,-15,630,67,67,-45,67,67,659,67,-13,-161,665,630,630,669,-16,-26,-28,671,-32,-31,-50,-17,-18,630,-49,-48,-46,-47,-30,682,688,-33,-19,-27,-29,-35,-34,-42,695,-40,-43,695,-36,-37,-41,-44,-38,695,-39,]),'INDENT':([257,541,660,],[353,580,677,]),'MINUSEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,119,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'ENAMLDEF':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,97,135,136,196,258,328,354,355,391,401,404,417,428,432,472,475,476,488,490,493,497,524,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[26,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,26,-144,-138,-57,-58,-181,-180,-6,-51,-168,-163,-158,-153,-177,-145,-169,-174,-162,-150,-146,-147,-155,-52,-164,-157,-178,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'DEDENT':([6,14,16,18,24,28,42,64,85,89,95,97,135,136,258,328,354,355,391,401,404,417,428,430,431,432,472,475,476,488,489,490,493,497,524,529,530,546,547,549,565,574,576,602,604,606,607,608,609,611,615,617,618,631,632,634,638,644,648,649,653,654,661,663,664,668,670,672,673,674,675,678,680,681,683,685,686,687,689,690,692,693,694,696,697,698,699,700,],[-140,-55,-143,-139,-137,-141,-56,-142,-144,-138,-57,-58,-181,-180,-51,-168,-163,-158,-153,-177,-145,-169,-174,-54,490,-162,-150,-146,-147,-155,-53,-52,-164,-157,-178,-149,-148,-159,-160,-165,-154,-179,-152,-151,-24,-22,-20,-23,629,633,-156,-166,-167,-21,-25,651,-45,-161,666,667,-26,-28,-32,-31,-50,679,-49,-48,-46,-47,-30,-33,-27,-29,-35,-34,-42,694,-40,-43,698,-36,-37,-41,-44,-38,700,-39,]),'RETURN':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[29,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,29,-144,-138,-57,29,-58,-181,-180,29,-6,29,29,-51,29,29,29,-168,29,29,29,-163,-158,-153,-177,-145,-169,-174,29,29,-162,29,29,29,-150,-146,-147,-155,-52,29,29,-164,29,-157,29,-178,29,29,-149,-148,-10,-159,-160,-165,-154,-179,29,-152,-11,29,29,29,-151,-12,-156,29,-166,-167,-14,-15,29,-13,-161,-16,-17,-18,-19,]),'DEL':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[31,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,31,-144,-138,-57,31,-58,-181,-180,31,-6,31,31,-51,31,31,31,-168,31,31,31,-163,-158,-153,-177,-145,-169,-174,31,31,-162,31,31,31,-150,-146,-147,-155,-52,31,31,-164,31,-157,31,-178,31,31,-149,-148,-10,-159,-160,-165,-154,-179,31,-152,-11,31,31,31,-151,-12,-156,31,-166,-167,-14,-15,31,-13,-161,-16,-17,-18,-19,]),'PRINT':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[33,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,33,-144,-138,-57,33,-58,-181,-180,33,-6,33,33,-51,33,33,33,-168,33,33,33,-163,-158,-153,-177,-145,-169,-174,33,33,-162,33,33,33,-150,-146,-147,-155,-52,33,33,-164,33,-157,33,-178,33,33,-149,-148,-10,-159,-160,-165,-154,-179,33,-152,-11,33,33,33,-151,-12,-156,33,-166,-167,-14,-15,33,-13,-161,-16,-17,-18,-19,]),'DOUBLESTAR':([30,35,52,54,67,72,90,140,160,165,166,170,183,210,215,251,262,271,274,278,279,292,300,316,364,370,378,382,383,442,444,459,503,512,515,523,553,558,590,595,623,],[-297,-298,168,176,-295,-296,-288,-299,-293,272,277,-286,-291,-290,-289,176,-294,-314,367,-287,-317,387,-292,272,-315,-371,-316,454,457,501,-372,514,556,561,564,176,589,592,621,624,646,]),'DEF':([0,6,14,16,18,22,24,25,28,42,44,47,63,64,73,85,89,95,97,130,135,136,196,258,317,328,353,354,355,391,401,404,417,428,430,432,470,472,475,476,488,490,493,497,524,526,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[34,-140,-55,-143,-139,-183,-137,34,-141,-56,-9,-7,-8,-142,34,-144,-138,-57,-58,-182,-181,-180,-6,-51,-184,-168,34,-163,-158,-153,-177,-145,-169,-174,34,-162,-185,-150,-146,-147,-155,-52,-164,-157,-178,-186,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'CIRCUMFLEXEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,118,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'COLON':([10,12,19,23,27,30,32,35,37,38,45,46,48,51,52,54,67,68,72,75,77,90,98,99,101,105,107,113,131,132,140,143,149,151,156,159,160,162,164,166,169,170,173,174,175,180,181,183,190,198,200,201,202,204,206,210,215,221,222,223,224,225,226,232,239,240,241,247,252,254,261,262,267,268,269,271,278,279,280,283,289,290,292,294,295,300,305,311,312,313,327,329,336,344,348,351,352,356,357,358,364,371,372,377,378,381,383,384,386,388,395,397,398,399,416,421,422,427,433,434,436,448,450,456,458,459,460,462,465,469,474,499,508,509,511,512,516,523,527,542,545,548,550,551,559,562,563,572,584,593,594,596,612,622,630,636,647,659,665,669,688,695,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,155,-222,-230,-258,-282,177,-295,-232,-296,-226,-131,-288,-170,219,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,265,-293,-260,-259,-284,281,-286,-426,-402,293,299,-281,-291,-233,-227,-133,-132,315,-231,318,-290,-289,330,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,350,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,374,-419,-407,-403,-421,-397,-292,-234,-228,-134,-135,-171,-173,-253,-249,-175,-257,429,435,437,-225,-315,-285,447,281,-316,-427,-408,-412,-422,-398,-235,-229,-136,468,-172,487,-220,-176,491,492,495,505,281,-424,-417,-413,-399,-401,518,525,528,552,-420,-404,-406,-418,-423,573,575,581,583,585,586,587,-425,-409,-411,600,616,-414,-416,-400,641,-405,650,655,-410,676,-415,676,641,650,]),'DOUBLECOLON':([10,12,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,169,170,181,183,190,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,283,295,300,305,311,336,344,351,358,364,371,377,378,388,395,397,422,450,612,630,636,659,669,671,682,688,695,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,282,-286,-281,-291,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,375,-397,-292,-234,-228,-253,-249,-257,-225,-315,-285,282,-316,-398,-235,-229,-220,282,642,642,642,642,642,642,642,642,642,]),'$end':([2,71,100,152,255,],[-4,0,-3,-2,-1,]),'FOR':([0,6,10,12,14,16,18,19,23,24,27,28,30,32,35,37,38,42,44,46,47,48,51,52,63,64,67,68,72,73,75,85,89,90,92,95,97,101,105,107,113,131,132,135,136,140,143,149,151,156,159,160,162,164,166,170,181,183,184,190,196,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,258,261,262,267,268,269,271,275,278,279,280,295,300,305,311,328,336,344,351,353,354,355,358,361,364,371,378,388,391,395,397,401,404,417,422,428,430,432,472,475,476,485,488,490,493,497,519,520,521,522,524,529,530,543,546,547,549,565,571,574,576,579,582,597,598,599,601,602,613,615,617,618,626,627,629,633,643,644,651,666,667,679,],[43,-140,-270,-250,-55,-143,-139,-221,-264,-137,-219,-141,-297,-246,-298,-278,-254,-56,-9,-222,-7,-230,-258,-282,-8,-142,-295,-232,-296,43,-226,-144,-138,-288,211,-57,-58,-279,-272,-271,-251,-265,-266,-181,-180,-299,-247,-255,-280,-223,211,-293,-260,-259,-284,-286,-281,-291,301,-233,-6,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-51,-224,-294,-262,-263,-261,-314,211,-287,-317,-283,-397,-292,-234,-228,-168,-253,-249,-257,43,-163,-158,-225,211,-315,-285,-316,-398,-153,-235,-229,-177,-145,-169,-220,-174,43,-162,-150,-146,-147,211,-155,-52,-164,-157,301,-388,-394,-393,-178,-149,-148,-10,-159,-160,-165,-154,-389,-179,-152,211,-11,301,-391,-390,-395,-151,-12,-156,-166,-167,-392,-396,-14,-15,-13,-161,-16,-17,-18,-19,]),'DOUBLESTAREQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,122,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'ELSE':([10,12,23,30,32,35,37,38,46,48,51,52,67,68,72,75,90,95,97,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,204,210,215,222,223,224,225,226,232,239,240,241,243,247,254,258,261,262,267,268,269,271,278,279,280,300,305,311,336,344,351,354,355,358,364,371,378,391,395,397,404,432,472,475,488,490,493,529,549,602,617,618,],[-270,-250,-264,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-288,-57,-58,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,341,-248,-256,-51,-224,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-228,-253,-249,-257,-163,433,-225,-315,-285,-316,465,-235,-229,474,-162,-150,474,545,-52,-164,-149,-165,-151,-166,-167,]),'TRY':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,97,135,136,196,258,328,353,354,355,391,401,404,417,428,430,432,472,475,476,488,490,493,497,524,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[45,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,45,-144,-138,-57,-58,-181,-180,-6,-51,-168,45,-163,-158,-153,-177,-145,-169,-174,45,-162,-150,-146,-147,-155,-52,-164,-157,-178,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'AND':([10,12,23,30,32,35,37,38,48,51,52,67,68,72,75,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,311,336,344,351,364,371,378,395,397,],[-270,-250,-264,-297,-246,-298,-278,-254,-230,-258,-282,-295,-232,-296,199,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,-233,310,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-228,-253,-249,-257,-315,-285,-316,-235,-229,]),'LBRACE':([0,1,6,7,9,13,14,16,18,24,28,29,31,33,39,42,43,44,47,49,55,57,61,63,64,65,73,74,82,83,85,86,89,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,144,147,150,155,157,161,163,165,168,169,177,185,186,187,188,189,191,193,194,195,196,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,258,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[49,49,-140,49,49,49,-55,-143,-139,-137,-141,49,49,49,49,-56,49,-9,-7,49,49,49,49,-8,-142,49,49,49,49,49,-144,49,-138,-57,49,-58,49,49,49,49,49,49,-125,-116,-120,-115,49,-118,-122,-117,-121,-124,-126,-123,-119,49,49,-181,-180,49,49,49,49,49,49,49,49,49,49,49,49,-241,49,-237,-236,-244,-239,-242,-240,-238,-6,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,-51,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,-245,49,-243,49,49,49,49,49,49,49,49,-168,49,49,49,49,49,49,49,-163,-158,49,49,49,49,49,-371,49,49,49,-153,49,-177,-145,49,-169,49,-174,49,49,-162,49,49,49,49,-372,49,49,49,49,49,49,-150,49,-146,-147,-155,-52,49,49,-164,49,49,49,-157,49,49,49,49,49,49,-178,49,49,-149,-148,49,-10,-159,-160,-165,49,-371,49,-154,49,49,49,-179,49,-152,-11,49,49,49,49,49,-372,49,49,-151,-12,-156,49,-166,-167,49,-14,-15,49,49,49,49,49,-13,-161,-16,-17,-18,-19,]),'AS':([10,12,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,90,98,101,105,107,108,109,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,204,210,215,222,223,224,225,226,228,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,333,336,344,351,358,364,371,378,388,395,397,407,418,422,436,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-288,218,-279,-272,-271,227,-215,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-216,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-217,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,479,-218,-220,494,]),'OR':([10,12,23,30,32,35,37,38,46,48,51,52,67,68,72,75,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,300,305,311,336,344,351,358,364,371,378,395,397,],[-270,-250,-264,-297,-246,-298,-278,-254,157,-230,-258,-282,-295,-232,-296,-226,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,260,-293,-260,-259,-284,-286,-281,-291,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-228,-253,-249,-257,-225,-315,-285,-316,-235,-229,]),'LEFTSHIFT':([10,23,30,35,37,51,52,67,72,90,101,105,107,131,132,140,151,160,162,164,166,170,181,183,210,215,222,223,224,225,226,239,240,241,262,267,268,269,271,278,279,280,300,364,371,378,612,630,636,659,669,671,682,688,695,],[-270,-264,-297,-298,-278,161,-282,-295,-296,-288,-279,-272,-271,-265,-266,-299,-280,-293,-260,161,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-267,-268,-269,-294,-262,-263,-261,-314,-287,-317,-283,-292,-315,-285,-316,640,640,640,640,640,640,640,640,640,]),'CONTINUE':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[53,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,53,-144,-138,-57,53,-58,-181,-180,53,-6,53,53,-51,53,53,53,-168,53,53,53,-163,-158,-153,-177,-145,-169,-174,53,53,-162,53,53,53,-150,-146,-147,-155,-52,53,53,-164,53,-157,53,-178,53,53,-149,-148,-10,-159,-160,-165,-154,-179,53,-152,-11,53,53,53,-151,-12,-156,53,-166,-167,-14,-15,53,-13,-161,-16,-17,-18,-19,]),'NOT':([0,1,6,7,10,12,14,16,18,23,24,28,29,30,32,33,35,37,38,42,44,47,49,51,52,55,57,63,64,65,67,68,72,73,74,82,83,85,86,89,90,95,96,97,101,105,107,113,116,117,118,119,120,121,122,123,124,125,126,127,128,129,131,132,135,136,138,140,143,147,149,151,155,157,160,162,164,165,166,169,170,177,181,183,189,190,196,199,201,210,213,215,216,219,220,222,223,224,225,226,232,234,239,240,241,247,248,254,256,258,260,262,263,265,267,268,269,270,271,272,274,278,279,280,281,282,291,293,296,299,300,303,305,309,310,312,314,315,316,318,324,328,330,336,341,344,346,347,350,351,353,354,355,356,360,364,365,367,368,370,371,374,375,377,378,391,394,395,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[83,83,-140,83,-270,-250,-55,-143,-139,-264,-137,-141,83,-297,-246,83,-298,-278,-254,-56,-9,-7,83,-258,-282,83,83,-8,-142,83,-295,192,-296,83,83,83,83,-144,83,-138,-288,-57,83,-58,-279,-272,-271,-251,83,-125,-116,-120,-115,83,-118,-122,-117,-121,-124,-126,-123,-119,-265,-266,-181,-180,83,-299,-247,83,-255,-280,83,83,-293,-260,-259,83,-284,83,-286,83,-281,-291,306,192,-6,83,83,-290,83,-289,83,83,83,-274,-276,-277,-275,-273,-252,83,-267,-268,-269,-248,83,-256,83,-51,83,-294,83,83,-262,-263,-261,83,-314,83,83,-287,-317,-283,83,83,83,83,83,83,-292,83,-234,83,83,83,83,83,83,83,83,-168,83,-253,83,-249,83,83,83,-257,83,-163,-158,83,83,-315,83,83,83,-371,-285,83,83,83,-316,-153,83,-235,-177,-145,83,-169,83,-174,83,83,-162,83,83,83,83,-372,83,83,83,83,83,83,-150,83,-146,-147,-155,-52,83,83,-164,83,83,83,-157,83,83,83,83,83,83,-178,83,83,-149,-148,83,-10,-159,-160,-165,83,-371,83,-154,83,83,83,-179,83,-152,-11,83,83,83,83,83,-372,83,83,-151,-12,-156,83,-166,-167,83,-14,-15,83,83,83,83,83,-13,-161,-16,-17,-18,-19,]),'LAMBDA':([0,1,6,7,14,16,18,24,28,29,33,42,44,47,49,55,57,63,64,65,73,74,82,85,86,89,95,96,97,116,117,118,119,120,121,122,123,124,125,126,127,128,129,135,136,147,155,165,169,177,196,201,213,216,219,220,234,248,256,258,263,265,270,272,274,281,282,291,293,296,299,303,309,312,314,315,316,318,324,328,330,341,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,391,394,401,404,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[54,54,-140,54,-55,-143,-139,-137,-141,54,54,-56,-9,-7,54,54,54,-8,-142,54,54,54,54,-144,54,-138,-57,54,-58,54,-125,-116,-120,-115,54,-118,-122,-117,-121,-124,-126,-123,-119,-181,-180,54,54,54,54,54,-6,54,54,54,54,54,54,54,54,-51,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,-168,54,54,54,54,54,54,-163,-158,54,54,54,54,54,-371,54,54,54,-153,54,-177,-145,-169,54,-174,54,54,-162,54,54,54,54,-372,54,54,54,54,523,54,-150,54,-146,-147,-155,-52,54,54,-164,54,54,54,-157,54,54,54,54,54,54,-178,54,54,-149,-148,523,-10,-159,-160,-165,54,-371,54,-154,523,523,523,-179,54,-152,-11,54,54,54,54,54,-372,523,523,-151,-12,-156,54,-166,-167,54,-14,-15,54,54,54,54,54,-13,-161,-16,-17,-18,-19,]),'NEWLINE':([0,3,4,5,6,10,12,14,15,16,17,18,19,20,21,23,24,27,28,29,30,32,33,35,36,37,38,40,41,42,44,46,47,48,50,51,52,53,55,58,59,60,62,63,64,66,67,68,69,70,72,73,75,76,77,78,79,81,82,85,88,89,90,94,95,96,97,101,105,107,108,109,110,111,113,114,115,131,132,135,136,139,140,141,142,143,145,146,149,151,155,156,160,162,164,166,170,178,179,181,183,190,196,197,198,200,201,203,204,205,210,215,216,217,219,222,223,224,225,226,228,231,232,235,236,237,238,239,240,241,244,245,247,248,249,250,254,258,261,262,267,268,269,271,278,279,280,295,297,299,300,305,311,312,313,315,318,326,328,330,331,333,334,336,337,338,339,342,343,344,345,346,350,351,354,355,358,364,371,378,388,389,390,391,395,396,397,398,401,402,404,405,406,407,409,412,413,417,418,419,422,423,424,425,426,428,429,432,435,437,464,468,471,472,475,476,477,478,481,482,486,487,488,490,491,492,493,495,497,517,518,524,525,528,529,530,531,532,533,534,536,543,544,546,547,549,565,574,575,576,577,578,581,582,583,585,586,602,605,610,613,614,615,616,617,618,629,633,636,641,642,643,644,650,651,652,656,657,658,659,662,666,667,671,676,679,684,691,],[8,95,-188,97,-140,-270,-250,-55,-111,-143,-72,-139,-221,-85,-64,-264,-137,-219,-141,-93,-297,-246,-73,-298,-68,-278,-254,-71,153,-56,-9,-222,-7,-230,-67,-258,-282,-92,-95,-88,-69,-87,-65,-8,-142,-89,-295,-232,-91,-90,-296,-5,-226,-86,-131,-70,-187,-99,-100,-144,-66,-138,-288,-60,-57,-59,-58,-279,-272,-271,-203,-215,-189,-211,-251,-106,-114,-265,-266,-181,-180,-94,-299,-84,-338,-247,-75,-74,-255,-280,257,-223,-293,-260,-259,-284,-286,-96,-102,-281,-291,-233,-6,-109,-227,-133,-132,-101,-231,317,-290,-289,-61,-62,257,-274,-276,-277,-275,-273,-216,-212,-252,-113,-112,-128,-127,-267,-268,-269,-339,-340,-248,-79,-80,-76,-256,-51,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-103,257,-292,-234,-228,-134,-135,257,257,-63,-168,257,-204,-217,-213,-253,-107,-130,-129,-342,-341,-249,-82,-81,257,-257,-163,-158,-225,-315,-285,-316,-398,-97,-105,-153,-235,-110,-229,-136,-177,470,-145,-205,-190,-201,-191,-196,-197,-169,-218,-214,-220,-343,-83,-78,-77,-174,257,-162,257,257,-104,257,526,-150,-146,-147,-206,-207,-194,-193,-108,541,-155,-52,257,257,-164,257,-157,-98,257,-178,257,257,-149,-148,-209,-208,-202,-192,-198,-10,582,-159,-160,-165,-154,-179,257,-152,-210,-195,541,-11,257,257,257,-151,628,632,-12,643,-156,257,-166,-167,-14,-15,653,660,257,-13,-161,660,-16,670,672,673,674,675,678,-17,-18,680,660,-19,693,697,]),'RAISE':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[55,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,55,-144,-138,-57,55,-58,-181,-180,55,-6,55,55,-51,55,55,55,-168,55,55,55,-163,-158,-153,-177,-145,-169,-174,55,55,-162,55,55,55,-150,-146,-147,-155,-52,55,55,-164,55,-157,55,-178,55,55,-149,-148,-10,-159,-160,-165,-154,-179,55,-152,-11,55,55,55,-151,-12,-156,55,-166,-167,-14,-15,55,-13,-161,-16,-17,-18,-19,]),'GLOBAL':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[56,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,56,-144,-138,-57,56,-58,-181,-180,56,-6,56,56,-51,56,56,56,-168,56,56,56,-163,-158,-153,-177,-145,-169,-174,56,56,-162,56,56,56,-150,-146,-147,-155,-52,56,56,-164,56,-157,56,-178,56,56,-149,-148,-10,-159,-160,-165,-154,-179,56,-152,-11,56,56,56,-151,-12,-156,56,-166,-167,-14,-15,56,-13,-161,-16,-17,-18,-19,]),'WHILE':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,97,135,136,196,258,328,353,354,355,391,401,404,417,428,430,432,472,475,476,488,490,493,497,524,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[57,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,57,-144,-138,-57,-58,-181,-180,-6,-51,-168,57,-163,-158,-153,-177,-145,-169,-174,57,-162,-150,-146,-147,-155,-52,-164,-157,-178,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'VBAR':([10,12,23,30,32,35,37,38,51,52,67,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,336,344,351,364,371,378,],[-270,-250,-264,-297,144,-298,-278,-254,-258,-282,-295,-296,-288,-279,-272,-271,-251,-265,-266,-299,246,-255,-280,-293,-260,-259,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-253,-249,-257,-315,-285,-316,]),'STAR':([10,30,35,37,52,54,67,72,90,101,105,107,140,151,160,165,166,170,181,183,210,215,222,223,224,225,226,251,262,271,274,278,279,280,292,300,316,319,321,364,370,371,378,383,410,444,459,512,523,],[102,-297,-298,-278,-282,172,-295,-296,-288,-279,-272,102,-299,-280,-293,270,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,172,-294,-314,365,-287,-317,-283,385,-292,270,406,412,-315,-371,-285,-316,455,482,-372,513,560,172,]),'DOT':([30,35,52,67,72,87,90,109,140,160,166,170,183,208,209,210,215,228,262,271,278,279,300,322,333,364,378,418,],[-297,-298,167,-295,-296,209,-288,229,-299,-293,167,-286,-291,322,-199,-290,-289,332,-294,-314,-287,-317,-292,-200,-217,-315,-316,-218,]),'LEFTSHIFTEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,129,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'TILDE':([0,1,6,7,9,13,14,16,18,24,28,29,31,33,39,42,43,44,47,49,55,57,61,63,64,65,73,74,82,83,85,86,89,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,144,147,150,155,157,161,163,165,168,169,177,185,186,187,188,189,191,193,194,195,196,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,258,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[61,61,-140,61,61,61,-55,-143,-139,-137,-141,61,61,61,61,-56,61,-9,-7,61,61,61,61,-8,-142,61,61,61,61,61,-144,61,-138,-57,61,-58,61,61,61,61,61,61,-125,-116,-120,-115,61,-118,-122,-117,-121,-124,-126,-123,-119,61,61,-181,-180,61,61,61,61,61,61,61,61,61,61,61,61,-241,61,-237,-236,-244,-239,-242,-240,-238,-6,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,-51,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,-245,61,-243,61,61,61,61,61,61,61,61,-168,61,61,61,61,61,61,61,-163,-158,61,61,61,61,61,-371,61,61,61,-153,61,-177,-145,61,-169,61,-174,61,61,-162,61,61,61,61,-372,61,61,61,61,61,61,-150,61,-146,-147,-155,-52,61,61,-164,61,61,61,-157,61,61,61,61,61,61,-178,61,61,-149,-148,61,-10,-159,-160,-165,61,-371,61,-154,61,61,61,-179,61,-152,-11,61,61,61,61,61,-372,61,61,-151,-12,-156,61,-166,-167,61,-14,-15,61,61,61,61,61,-13,-161,-16,-17,-18,-19,]),'RSQB':([10,12,19,23,27,30,32,35,37,38,46,48,51,52,65,67,68,72,75,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,182,183,184,190,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,281,282,283,284,285,286,295,300,302,303,304,305,311,336,344,351,358,364,371,372,373,374,375,376,377,378,388,393,394,395,397,422,447,448,449,450,451,467,504,505,506,519,520,521,522,557,566,567,568,571,597,598,599,601,625,626,627,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,183,-295,-232,-296,-226,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,300,-291,-301,-233,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-326,-327,-325,-318,378,-324,-397,-292,-300,-302,-303,-234,-228,-253,-249,-257,-225,-315,-285,-330,-332,-328,-329,-320,-319,-316,-398,-305,-304,-235,-229,-220,-331,-333,-337,-321,-322,-306,-335,-334,-323,-376,-388,-394,-393,-336,-377,-379,-378,-389,-380,-391,-390,-395,-381,-392,-396,]),'PERCENT':([10,30,35,37,52,67,72,90,101,105,107,140,151,160,166,170,181,183,210,215,222,223,224,225,226,262,271,278,279,280,300,364,371,378,],[103,-297,-298,-278,-282,-295,-296,-288,-279,-272,103,-299,-280,-293,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-294,-314,-287,-317,-283,-292,-315,-285,-316,]),'DOUBLESLASH':([10,30,35,37,52,67,72,90,101,105,107,140,151,160,166,170,181,183,210,215,222,223,224,225,226,262,271,278,279,280,300,364,371,378,],[104,-297,-298,-278,-282,-295,-296,-288,-279,-272,104,-299,-280,-293,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-294,-314,-287,-317,-283,-292,-315,-285,-316,]),'EQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,82,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,173,174,181,183,190,198,200,201,203,204,210,215,222,223,224,225,226,232,237,238,239,240,241,247,254,261,262,267,268,269,271,275,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,381,386,388,395,397,398,422,456,612,630,636,659,669,671,682,688,695,],[-270,-250,121,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-100,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-426,291,-281,-291,-233,-227,-133,-132,-101,-231,-290,-289,-274,-276,-277,-275,-273,-252,121,121,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,368,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-427,461,-398,-235,-229,-136,-220,510,639,639,639,639,639,639,639,639,639,]),'PLUSEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,123,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'ELLIPSIS':([169,377,450,],[286,286,286,]),'LESSEQUAL':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,194,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,194,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'LSQB':([0,1,6,7,9,13,14,16,18,24,28,29,30,31,33,35,39,42,43,44,47,49,52,55,57,61,63,64,65,67,72,73,74,82,83,85,86,89,90,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,140,144,147,150,155,157,160,161,163,165,166,168,169,170,177,183,185,186,187,188,189,191,193,194,195,196,199,201,210,211,213,215,216,218,219,220,233,234,244,246,248,253,256,258,260,262,263,265,270,271,272,274,277,278,279,281,282,291,293,296,299,300,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,364,365,367,368,370,374,375,377,378,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[65,65,-140,65,65,65,-55,-143,-139,-137,-141,65,-297,65,65,-298,65,-56,65,-9,-7,65,169,65,65,65,-8,-142,65,-295,-296,65,65,65,65,-144,65,-138,-288,-57,65,-58,65,65,65,65,65,65,-125,-116,-120,-115,65,-118,-122,-117,-121,-124,-126,-123,-119,65,65,-181,-180,65,-299,65,65,65,65,65,-293,65,65,65,169,65,65,-286,65,-291,-241,65,-237,-236,-244,-239,-242,-240,-238,-6,65,65,-290,65,65,-289,65,65,65,65,65,65,65,65,65,65,65,-51,65,-294,65,65,65,-314,65,65,65,-287,-317,65,65,65,65,65,65,-292,65,65,-245,65,-243,65,65,65,65,65,65,65,65,-168,65,65,65,65,65,65,65,-163,-158,65,65,-315,65,65,65,-371,65,65,65,-316,-153,65,-177,-145,65,-169,65,-174,65,65,-162,65,65,65,65,-372,65,65,65,65,65,65,-150,65,-146,-147,-155,-52,65,65,-164,65,65,65,-157,65,65,65,65,65,65,-178,65,65,-149,-148,65,-10,-159,-160,-165,65,-371,65,-154,65,65,65,-179,65,-152,-11,65,65,65,65,65,-372,65,65,-151,-12,-156,65,-166,-167,65,-14,-15,65,65,65,65,65,-13,-161,-16,-17,-18,-19,]),'GREATER':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,187,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,187,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'VBAREQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,127,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'BREAK':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[69,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,69,-144,-138,-57,69,-58,-181,-180,69,-6,69,69,-51,69,69,69,-168,69,69,69,-163,-158,-153,-177,-145,-169,-174,69,69,-162,69,69,69,-150,-146,-147,-155,-52,69,69,-164,69,-157,69,-178,69,69,-149,-148,-10,-159,-160,-165,-154,-179,69,-152,-11,69,69,69,-151,-12,-156,69,-166,-167,-14,-15,69,-13,-161,-16,-17,-18,-19,]),'STAREQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,117,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'ELIF':([95,97,258,404,472,475,490,529,602,],[-57,-58,-51,473,-150,473,-52,-149,-151,]),'SLASHEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,126,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'NUMBER':([0,1,6,7,9,13,14,16,18,24,28,29,31,33,39,42,43,44,47,49,55,57,61,63,64,65,73,74,82,83,85,86,89,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,144,147,150,155,157,161,163,165,168,169,177,185,186,187,188,189,191,193,194,195,196,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,258,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[72,72,-140,72,72,72,-55,-143,-139,-137,-141,72,72,72,72,-56,72,-9,-7,72,72,72,72,-8,-142,72,72,72,72,72,-144,72,-138,-57,72,-58,72,72,72,72,72,72,-125,-116,-120,-115,72,-118,-122,-117,-121,-124,-126,-123,-119,72,72,-181,-180,72,72,72,72,72,72,72,72,72,72,72,72,-241,72,-237,-236,-244,-239,-242,-240,-238,-6,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,-51,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,-245,72,-243,72,72,72,72,72,72,72,72,-168,72,72,72,72,72,72,72,-163,-158,72,72,72,72,72,-371,72,72,72,-153,72,-177,-145,72,-169,72,-174,72,72,-162,72,72,72,72,-372,72,72,72,72,72,72,-150,72,-146,-147,-155,-52,72,72,-164,72,72,72,-157,72,72,72,72,72,72,-178,72,72,-149,-148,72,-10,-159,-160,-165,72,-371,72,-154,72,72,72,-179,72,-152,-11,72,72,72,72,72,-372,72,72,-151,-12,-156,72,-166,-167,72,-14,-15,72,72,72,72,72,-13,-161,-16,-17,-18,-19,]),'RPAR':([1,10,12,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,82,90,91,92,93,101,105,107,113,131,132,140,143,149,151,156,160,162,164,165,166,170,173,174,181,183,190,198,200,201,203,204,210,212,213,214,215,222,223,224,225,226,232,239,240,241,247,251,254,261,262,267,268,269,271,273,275,276,278,279,280,287,288,289,290,292,294,295,300,305,311,312,313,314,316,324,325,336,340,344,349,351,358,362,363,364,366,369,370,371,378,379,380,381,383,384,386,388,395,397,398,400,403,405,407,415,422,443,444,445,446,452,453,456,458,459,460,462,477,478,480,484,485,500,507,508,509,511,512,516,521,522,531,532,533,535,537,538,539,554,555,559,562,563,577,579,591,593,594,596,601,603,620,622,627,645,647,665,],[90,-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-100,-288,210,-308,215,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,271,-284,-286,-426,-402,-281,-291,-233,-227,-133,-132,-101,-231,-290,-310,-309,-307,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,348,-256,-224,-294,-262,-263,-261,-314,364,-373,-357,-287,-317,-283,-428,381,-419,-407,-403,-421,-397,-292,-234,-228,-134,-135,399,402,-311,-312,-253,421,-249,427,-257,-225,-359,-361,-315,-362,-374,-358,-285,-316,-429,-430,-427,-408,-412,-422,-398,-235,-229,-136,469,471,-205,-201,-313,-220,-364,-363,-366,-375,-432,-431,-424,-417,-413,-399,-401,-206,-207,534,536,-382,-367,-433,-420,-404,-406,-418,-423,-394,-393,-209,-208,-202,578,-385,-384,-383,-360,-369,-425,-409,-411,-210,-386,-365,-414,-416,-400,-395,-387,-368,-405,-396,-370,-410,-415,]),'ASSERT':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[74,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,74,-144,-138,-57,74,-58,-181,-180,74,-6,74,74,-51,74,74,74,-168,74,74,74,-163,-158,-153,-177,-145,-169,-174,74,74,-162,74,74,74,-150,-146,-147,-155,-52,74,74,-164,74,-157,74,-178,74,74,-149,-148,-10,-159,-160,-165,-154,-179,74,-152,-11,74,74,74,-151,-12,-156,74,-166,-167,-14,-15,74,-13,-161,-16,-17,-18,-19,]),'RIGHTSHIFTEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,128,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'GREATEREQUAL':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,191,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,191,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'SEMI':([3,4,10,12,15,17,19,20,21,23,27,29,30,32,33,35,36,37,38,40,46,48,50,51,52,53,55,58,59,60,62,66,67,68,69,70,72,75,76,77,78,79,81,82,88,90,94,101,105,107,108,109,110,111,113,114,115,131,132,139,140,141,142,143,145,146,149,151,156,160,162,164,166,170,178,179,181,183,190,197,198,200,201,203,204,210,215,217,222,223,224,225,226,228,231,232,235,236,237,238,239,240,241,244,245,247,248,249,250,254,261,262,267,268,269,271,278,279,280,295,297,300,305,311,312,313,326,331,333,334,336,337,338,339,342,343,344,345,346,351,358,364,371,378,388,389,390,395,396,397,398,405,406,407,409,412,413,418,419,422,423,424,425,426,464,477,478,481,482,486,517,531,532,533,534,536,577,578,],[96,-188,-270,-250,-111,-72,-221,-85,-64,-264,-219,-93,-297,-246,-73,-298,-68,-278,-254,-71,-222,-230,-67,-258,-282,-92,-95,-88,-69,-87,-65,-89,-295,-232,-91,-90,-296,-226,-86,-131,-70,-187,-99,-100,-66,-288,216,-279,-272,-271,-203,-215,-189,-211,-251,-106,-114,-265,-266,-94,-299,-84,-338,-247,-75,-74,-255,-280,-223,-293,-260,-259,-284,-286,-96,-102,-281,-291,-233,-109,-227,-133,-132,-101,-231,-290,-289,-62,-274,-276,-277,-275,-273,-216,-212,-252,-113,-112,-128,-127,-267,-268,-269,-339,-340,-248,-79,-80,-76,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-103,-292,-234,-228,-134,-135,-63,-204,-217,-213,-253,-107,-130,-129,-342,-341,-249,-82,-81,-257,-225,-315,-285,-316,-398,-97,-105,-235,-110,-229,-136,-205,-190,-201,-191,-196,-197,-218,-214,-220,-343,-83,-78,-77,-104,-206,-207,-194,-193,-108,-98,-209,-208,-202,-192,-198,-210,-195,]),'DOUBLESLASHEQUAL':([10,12,15,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,101,105,107,113,131,132,140,143,149,151,156,160,162,164,166,170,181,183,190,198,200,201,204,210,215,222,223,224,225,226,232,239,240,241,247,254,261,262,267,268,269,271,278,279,280,295,300,305,311,312,313,336,344,351,358,364,371,378,388,395,397,398,422,],[-270,-250,124,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,-131,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-227,-133,-132,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-224,-294,-262,-263,-261,-314,-287,-317,-283,-397,-292,-234,-228,-134,-135,-253,-249,-257,-225,-315,-285,-316,-398,-235,-229,-136,-220,]),'COMMA':([10,12,19,23,27,30,32,35,37,38,46,48,51,52,67,68,72,75,77,90,92,98,99,101,105,107,108,109,111,113,131,132,140,142,143,146,149,151,156,159,160,162,164,166,170,173,174,178,179,181,183,184,190,197,198,200,204,210,212,215,222,223,224,225,226,228,231,232,239,240,241,245,247,249,250,254,261,262,264,267,268,269,271,275,276,278,279,280,281,282,283,284,286,287,289,290,295,300,304,305,311,313,325,327,329,331,333,334,336,337,342,344,345,351,358,359,361,362,364,366,369,371,372,373,374,375,376,378,380,381,384,386,388,389,390,393,395,397,398,405,407,415,418,419,422,423,424,426,436,438,439,443,446,447,448,449,451,452,456,458,460,467,478,485,500,504,505,506,507,509,516,520,521,522,531,533,537,538,539,555,557,559,562,571,577,579,588,593,598,601,603,619,626,627,],[-270,-250,-221,-264,-219,-297,-246,-298,-278,-254,-222,-230,-258,-282,-295,-232,-296,-226,201,-288,213,-170,220,-279,-272,-271,-203,-215,230,-251,-265,-266,-299,244,-247,248,-255,-280,-223,263,-293,-260,-259,-284,-286,-426,292,296,298,-281,-291,303,-233,309,-227,312,-231,-290,324,-289,-274,-276,-277,-275,-273,-216,335,-252,-267,-268,-269,343,-248,346,347,-256,-224,-294,360,-262,-263,-261,-314,-373,370,-287,-317,-283,-326,-327,-325,377,-324,379,382,383,-397,-292,394,-234,-228,-135,-312,-171,220,-204,-217,-213,-253,420,-342,-249,-82,-257,-225,-355,440,442,-315,444,-374,-285,-330,-332,-328,-329,450,-316,453,-427,459,-422,-398,463,298,-305,-235,-229,-136,477,-201,-313,-218,-214,-220,-343,-83,248,496,-356,498,503,-375,-331,-333,-337,-322,-432,-424,512,515,-306,532,-382,553,-335,-334,-323,-433,558,-423,570,-394,-393,-209,-202,-385,-384,-383,590,-336,-425,595,599,-210,-386,-353,623,-391,-395,-387,-354,-392,-396,]),'CLASS':([0,6,14,16,18,22,24,25,28,42,44,47,63,64,73,85,89,95,97,130,135,136,196,258,317,328,353,354,355,391,401,404,417,428,430,432,470,472,475,476,488,490,493,497,524,526,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[80,-140,-55,-143,-139,-183,-137,80,-141,-56,-9,-7,-8,-142,80,-144,-138,-57,-58,-182,-181,-180,-6,-51,-184,-168,80,-163,-158,-153,-177,-145,-169,-174,80,-162,-185,-150,-146,-147,-155,-52,-164,-157,-178,-186,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'RIGHTSHIFT':([10,23,30,33,35,37,51,52,67,72,90,101,105,107,131,132,140,151,160,162,164,166,170,181,183,210,215,222,223,224,225,226,239,240,241,262,267,268,269,271,278,279,280,300,364,371,378,612,630,636,659,669,671,682,688,695,],[-270,-264,-297,147,-298,-278,163,-282,-295,-296,-288,-279,-272,-271,-265,-266,-299,-280,-293,-260,163,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-267,-268,-269,-294,-262,-263,-261,-314,-287,-317,-283,-292,-315,-285,-316,635,635,635,635,635,635,635,635,635,]),'STRING':([0,1,6,7,9,13,14,16,18,24,28,29,30,31,33,35,39,42,43,44,47,49,55,57,61,63,64,65,73,74,82,83,85,86,89,95,96,97,102,103,104,106,112,116,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,138,140,144,147,150,155,157,161,163,165,168,169,177,185,186,187,188,189,191,193,194,195,196,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,258,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,306,307,308,309,310,312,314,315,316,318,324,328,330,341,343,346,347,350,353,354,355,356,360,365,367,368,370,374,375,377,391,394,401,404,414,417,420,428,429,430,432,435,437,440,442,444,447,450,461,463,466,468,472,473,475,476,488,490,491,492,493,494,495,496,497,498,501,502,505,510,518,524,525,528,529,530,540,543,546,547,549,552,553,556,565,569,570,573,574,575,576,580,582,583,585,586,587,589,590,599,600,602,613,615,616,617,618,621,629,633,635,637,639,640,642,643,644,651,666,667,679,],[35,35,-140,35,35,35,-55,-143,-139,-137,-141,35,140,35,35,-298,35,-56,35,-9,-7,35,35,35,35,-8,-142,35,35,35,35,35,-144,35,-138,-57,35,-58,35,35,35,35,35,35,-125,-116,-120,-115,35,-118,-122,-117,-121,-124,-126,-123,-119,35,35,-181,-180,35,-299,35,35,35,35,35,35,35,35,35,35,35,-241,35,-237,-236,-244,-239,-242,-240,-238,-6,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,-51,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,-245,35,-243,35,35,35,35,35,35,35,35,-168,35,35,35,35,35,35,35,-163,-158,35,35,35,35,35,-371,35,35,35,-153,35,-177,-145,35,-169,35,-174,35,35,-162,35,35,35,35,-372,35,35,35,35,35,35,-150,35,-146,-147,-155,-52,35,35,-164,35,35,35,-157,35,35,35,35,35,35,-178,35,35,-149,-148,35,-10,-159,-160,-165,35,-371,35,-154,35,35,35,-179,35,-152,605,-11,35,35,35,35,35,-372,35,35,-151,-12,-156,35,-166,-167,35,-14,-15,35,35,35,35,35,-13,-161,-16,-17,-18,-19,]),'COLONEQUAL':([612,630,636,659,669,671,682,688,695,],[637,637,637,637,637,637,637,637,637,]),'IS':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,131,132,140,143,149,151,160,162,164,166,170,181,183,190,210,215,222,223,224,225,226,232,239,240,241,247,254,262,267,268,269,271,278,279,280,300,305,336,344,351,364,371,378,395,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,189,-296,-288,-279,-272,-271,-251,-265,-266,-299,-247,-255,-280,-293,-260,-259,-284,-286,-281,-291,189,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-253,-249,-257,-315,-285,-316,-235,]),'YIELD':([0,1,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,116,117,118,119,120,121,122,123,124,125,126,127,128,129,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[82,82,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,82,-144,-138,-57,82,-58,82,-125,-116,-120,-115,82,-118,-122,-117,-121,-124,-126,-123,-119,-181,-180,82,-6,82,82,-51,82,82,82,-168,82,82,82,-163,-158,-153,-177,-145,-169,-174,82,82,-162,82,82,82,-150,-146,-147,-155,-52,82,82,-164,82,-157,82,-178,82,82,-149,-148,-10,-159,-160,-165,-154,-179,82,-152,-11,82,82,82,-151,-12,-156,82,-166,-167,-14,-15,82,-13,-161,-16,-17,-18,-19,]),'FINALLY':([95,97,258,259,354,355,432,490,493,546,549,617,618,],[-57,-58,-51,357,-163,434,-162,-52,-164,584,-165,-166,-167,]),'AT':([0,6,14,16,18,22,24,28,42,44,47,63,64,73,85,89,95,97,135,136,196,258,317,328,353,354,355,391,401,404,417,428,430,432,470,472,475,476,488,490,493,497,524,526,529,530,543,546,547,549,565,574,576,582,602,613,615,617,618,629,633,643,644,651,666,667,679,],[84,-140,-55,-143,-139,84,-137,-141,-56,-9,-7,-8,-142,84,-144,-138,-57,-58,-181,-180,-6,-51,-184,-168,84,-163,-158,-153,-177,-145,-169,-174,84,-162,-185,-150,-146,-147,-155,-52,-164,-157,-178,-186,-149,-148,-10,-159,-160,-165,-154,-179,-152,-11,-151,-12,-156,-166,-167,-14,-15,-13,-161,-16,-17,-18,-19,]),'AMPER':([10,23,30,35,37,38,51,52,67,72,90,101,105,107,131,132,140,149,151,160,162,164,166,170,181,183,210,215,222,223,224,225,226,239,240,241,254,262,267,268,269,271,278,279,280,300,351,364,371,378,],[-270,-264,-297,-298,-278,150,-258,-282,-295,-296,-288,-279,-272,-271,-265,-266,-299,253,-280,-293,-260,-259,-284,-286,-281,-291,-290,-289,-274,-276,-277,-275,-273,-267,-268,-269,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-257,-315,-285,-316,]),'IN':([10,12,23,30,32,35,37,38,51,52,67,68,72,90,101,105,107,113,114,131,132,140,142,143,149,151,154,160,162,164,166,170,181,183,190,192,210,215,222,223,224,225,226,232,239,240,241,244,245,247,254,262,267,268,269,271,278,279,280,300,305,323,336,342,343,344,351,364,371,378,392,395,423,],[-270,-250,-264,-297,-246,-298,-278,-254,-258,-282,-295,193,-296,-288,-279,-272,-271,-251,234,-265,-266,-299,-338,-247,-255,-280,256,-293,-260,-259,-284,-286,-281,-291,193,308,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-339,-340,-248,-256,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,414,-253,-342,-341,-249,-257,-315,-285,-316,466,-235,-343,]),'IF':([0,6,10,12,14,16,18,23,24,27,28,30,32,35,37,38,42,44,46,47,48,51,52,63,64,67,68,72,73,75,85,89,90,95,97,101,105,107,113,131,132,135,136,140,143,149,151,156,160,162,164,166,170,181,183,190,196,198,204,210,215,222,223,224,225,226,232,239,240,241,247,254,258,261,262,267,268,269,271,278,279,280,300,305,311,328,336,344,351,353,354,355,358,364,371,378,391,395,397,401,404,417,428,430,432,472,475,476,485,488,490,493,497,519,520,521,522,524,529,530,543,546,547,549,565,571,574,576,579,582,597,598,599,601,602,613,615,617,618,626,627,629,633,643,644,651,666,667,679,],[86,-140,-270,-250,-55,-143,-139,-264,-137,138,-141,-297,-246,-298,-278,-254,-56,-9,-222,-7,-230,-258,-282,-8,-142,-295,-232,-296,86,-226,-144,-138,-288,-57,-58,-279,-272,-271,-251,-265,-266,-181,-180,-299,-247,-255,-280,-223,-293,-260,-259,-284,-286,-281,-291,-233,-6,-227,-231,-290,-289,-274,-276,-277,-275,-273,-252,-267,-268,-269,-248,-256,-51,-224,-294,-262,-263,-261,-314,-287,-317,-283,-292,-234,-228,-168,-253,-249,-257,86,-163,-158,-225,-315,-285,-316,-153,-235,-229,-177,-145,-169,-174,86,-162,-150,-146,-147,540,-155,-52,-164,-157,569,-388,-394,-393,-178,-149,-148,-10,-159,-160,-165,-154,-389,-179,-152,540,-11,569,-391,-390,-395,-151,-12,-156,-166,-167,-392,-396,-14,-15,-13,-161,-16,-17,-18,-19,]),'FROM':([0,6,14,16,18,24,28,42,44,47,63,64,73,85,89,95,96,97,135,136,155,196,216,219,258,299,315,318,328,330,350,353,354,355,391,401,404,417,428,429,430,432,435,437,468,472,475,476,488,490,491,492,493,495,497,518,524,525,528,529,530,543,546,547,549,565,574,575,576,582,583,585,586,602,613,615,616,617,618,629,633,642,643,644,651,666,667,679,],[87,-140,-55,-143,-139,-137,-141,-56,-9,-7,-8,-142,87,-144,-138,-57,87,-58,-181,-180,87,-6,87,87,-51,87,87,87,-168,87,87,87,-163,-158,-153,-177,-145,-169,-174,87,87,-162,87,87,87,-150,-146,-147,-155,-52,87,87,-164,87,-157,87,-178,87,87,-149,-148,-10,-159,-160,-165,-154,-179,87,-152,-11,87,87,87,-151,-12,-156,87,-166,-167,-14,-15,87,-13,-161,-16,-17,-18,-19,]),} _lr_action = { } for _k, _v in _lr_action_items.items(): for _x,_y in zip(_v[0],_v[1]): if not _x in _lr_action: _lr_action[_x] = { } _lr_action[_x][_k] = _y del _lr_action_items _lr_goto_items = {'import_as_name':([319,321,408,410,411,477,483,532,],[405,405,405,481,405,531,405,577,]),'try_stmt':([0,73,353,430,],[6,6,6,6,]),'small_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[3,3,217,3,326,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,]),'augassign':([15,],[116,]),'import_from':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,]),'small_stmt_list':([0,73,155,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,]),'import_as_names':([319,321,408,411,483,],[409,413,480,484,535,]),'else_stmt':([404,475,],[476,530,]),'comp_op':([68,190,],[186,307,]),'parameters':([148,],[252,]),'factor':([0,1,7,9,13,29,31,33,39,43,49,55,57,61,65,73,74,82,83,86,96,102,103,104,106,112,116,121,133,134,138,144,147,150,155,157,161,163,165,168,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[10,10,10,101,10,10,10,10,151,10,10,10,10,181,10,10,10,10,10,10,10,222,223,224,225,10,10,10,10,10,10,10,10,10,10,10,10,10,10,280,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,371,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,]),'suite':([155,219,299,315,318,330,350,429,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[259,328,391,401,404,417,428,488,493,497,524,546,547,549,565,574,576,602,615,617,618,644,664,]),'globals_list':([179,390,],[297,464,]),'exec_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,]),'and_expr_list':([38,],[149,]),'or_test_list':([46,],[156,]),'simple_stmt':([0,73,155,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[14,14,258,258,258,258,258,258,258,14,258,14,258,258,258,258,258,258,258,258,258,258,258,258,258,258,258,]),'dotted_as_names_list':([111,],[231,]),'subscriptlist':([169,],[285,]),'testlist':([0,29,73,82,96,116,121,155,216,219,256,299,314,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[15,139,15,203,15,236,238,15,15,15,352,15,400,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,]),'classdef':([0,25,73,353,430,],[16,135,16,16,16,]),'assert_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,]),'for_stmt':([0,73,353,430,],[18,18,18,18,]),'lambdef':([0,1,7,29,33,49,55,57,65,73,74,82,86,96,116,121,147,155,165,169,177,201,213,216,219,220,234,248,256,263,265,270,272,274,281,282,291,293,296,299,303,309,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,420,429,430,435,437,440,442,447,450,461,463,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,552,556,575,583,585,586,587,589,616,621,635,637,639,640,642,],[19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,]),'expr_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,]),'decorator':([0,22,73,353,430,],[22,22,22,22,22,]),'arith_op':([23,131,],[132,239,]),'term':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,112,116,121,133,134,138,144,147,150,155,157,161,163,165,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,240,241,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,]),'if_stmt':([0,73,353,430,],[24,24,24,24,]),'enaml_module':([0,],[41,]),'or_test':([0,1,7,29,33,49,55,57,65,73,74,82,86,96,116,121,138,147,155,165,169,177,201,213,216,219,220,234,248,256,263,265,270,272,274,281,282,291,293,296,299,303,309,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,243,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,485,27,27,27,27,27,27,27,27,27,27,27,522,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,522,27,27,522,522,522,27,27,27,27,27,27,522,522,27,27,27,27,27,27,27,]),'with_stmt':([0,73,353,430,],[28,28,28,28,]),'comp_for':([92,159,275,361,485,579,],[214,266,369,441,538,538,]),'and_test_list':([75,],[198,]),'identifier':([580,628,677,],[611,649,692,]),'trailer':([52,166,],[170,278,]),'with_item_list':([99,329,],[221,416,]),'instantiation_body_items':([677,692,],[687,699,]),'expr_list':([32,],[143,]),'varargslist_list':([174,384,],[290,458,]),'atom_string_list':([0,1,7,9,13,29,31,33,39,43,49,55,57,61,65,73,74,82,83,86,96,102,103,104,106,112,116,121,133,134,138,144,147,150,155,157,161,163,165,168,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,]),'listmaker':([65,],[182,]),'arglist':([165,316,],[273,403,]),'exprlist_list':([142,],[245,]),'flow_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,]),'comp_if':([485,579,],[537,537,]),'shift_expr':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,112,116,121,138,144,147,150,155,157,165,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,254,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,351,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,]),'import_from_dots':([87,],[208,]),'arglist_list':([165,316,442,],[274,274,502,]),'list_iter':([519,597,],[566,625,]),'dictorsetmaker':([49,],[158,]),'list_for':([184,519,597,],[302,568,568,]),'subscript':([169,377,450,],[284,451,506,]),'decorators':([0,22,73,353,430,],[25,130,25,25,25,]),'compound_stmt':([0,73,353,430,],[42,42,42,42,]),'dosm_comma_list':([159,],[264,]),'dotted_name':([11,84,87,208,230,335,],[108,205,207,320,108,108,]),'power':([0,1,7,9,13,29,31,33,39,43,49,55,57,61,65,73,74,82,83,86,96,102,103,104,106,112,116,121,133,134,138,144,147,150,155,157,161,163,165,168,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,]),'xor_expr_list':([12,],[113,]),'stmt':([0,73,353,430,],[44,44,430,430,]),'fplist_list':([287,],[380,]),'xor_expr':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,116,121,138,144,147,155,157,165,169,177,186,199,201,211,213,216,218,219,220,234,244,246,248,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,247,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,344,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,]),'term_list':([10,],[107,]),'comparison':([0,1,7,29,33,49,55,57,65,73,74,82,83,86,96,116,121,138,147,155,157,165,169,177,199,201,213,216,219,220,234,248,256,260,263,265,270,272,274,281,282,291,293,296,299,303,309,310,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,]),'pass_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,]),'arith_expr':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,112,116,121,138,144,147,150,155,157,161,163,165,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,267,268,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,]),'declaration_body_item':([580,609,611,628,634,648,649,668,],[607,631,607,607,631,631,607,631,]),'instantiation_body_item':([677,687,692,699,],[689,696,689,696,]),'atom':([0,1,7,9,13,29,31,33,39,43,49,55,57,61,65,73,74,82,83,86,96,102,103,104,106,112,116,121,133,134,138,144,147,150,155,157,161,163,165,168,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,253,256,260,263,265,270,272,274,277,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,]),'import_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,]),'elif_stmts':([404,],[475,]),'comp_iter':([485,579,],[539,603,]),'print_list_list':([146,426,],[249,249,]),'dotted_as_names':([11,],[110,]),'shift_op':([51,164,],[162,269,]),'attribute_declaration':([580,609,611,628,634,648,649,668,],[606,606,606,606,606,606,606,606,]),'return_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,]),'testlist_comp':([1,],[91,]),'old_test':([466,540,569,570,573,599,600,],[520,579,597,598,601,626,627,]),'testlist_safe_list':([520,],[571,]),'instantiation':([580,609,611,628,634,648,649,668,677,687,692,699,],[604,604,604,604,604,604,604,604,686,686,686,686,]),'enaml_module_item':([0,73,],[47,196,]),'continue_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,]),'testlist_list':([77,],[200,]),'attribute_binding':([580,609,611,628,634,641,648,649,650,668,676,677,687,692,699,],[608,608,608,608,608,661,608,608,661,608,683,690,690,690,690,]),'dotted_as_name':([11,230,335,],[111,334,419,]),'equal_list':([15,237,238,],[115,338,339,]),'print_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,]),'binding':([612,630,636,659,669,671,682,688,695,],[638,638,654,638,638,681,638,638,638,]),'term_op':([10,107,],[105,226,]),'declaration':([0,73,],[63,63,]),'funcdef':([0,25,73,353,430,],[64,136,64,64,64,]),'raise_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,]),'old_lambdef':([466,540,569,570,573,599,600,],[521,521,521,521,521,521,521,]),'exprlist':([31,43,211,301,],[141,154,323,392,]),'expr':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,116,121,138,147,155,157,165,169,177,186,199,201,211,213,216,218,219,220,234,244,248,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[68,68,68,114,68,142,68,142,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,305,68,68,142,68,68,327,68,68,68,342,68,68,68,68,68,68,68,68,68,68,68,68,68,68,142,68,395,68,68,68,68,68,68,68,68,68,68,423,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'declaration_body':([487,581,],[543,613,]),'except_clause':([259,354,],[354,354,]),'and_expr':([0,1,7,13,29,31,33,43,49,55,57,65,73,74,82,83,86,96,112,116,121,138,144,147,155,157,165,169,177,186,199,201,211,213,216,218,219,220,233,234,244,246,248,256,260,263,265,270,272,274,281,282,291,293,296,299,301,303,307,309,310,312,314,315,316,318,324,330,341,343,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,232,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,336,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,]),'instantiation_body':([641,650,676,],[663,663,685,]),'yield_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,]),'arith_expr_list':([23,],[131,]),'shift_list':([51,],[164,]),'enaml':([0,],[71,]),'subscriptlist_list':([284,],[376,]),'argument':([165,274,316,442,502,],[276,366,276,500,555,]),'enaml_module_body':([0,],[73,]),'fplist':([171,],[288,]),'testlist_safe':([466,],[519,]),'not_test':([0,1,7,29,33,49,55,57,65,73,74,82,83,86,96,116,121,138,147,155,157,165,169,177,199,201,213,216,219,220,234,248,256,260,263,265,270,272,274,281,282,291,293,296,299,303,309,310,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[75,75,75,75,75,75,75,75,75,75,75,75,204,75,75,75,75,75,75,75,75,75,75,75,311,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,397,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,]),'print_list':([33,347,],[145,425,]),'break_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,]),'del_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,]),'fpdef':([54,171,251,292,379,383,453,459,512,523,],[174,287,174,386,452,456,507,386,456,174,]),'testlist_comp_list':([92,],[212,]),'small_stmt_list_list':([3,],[94,]),'list_if':([519,597,],[567,567,]),'test':([0,1,7,29,33,49,55,57,65,73,74,82,86,96,116,121,147,155,165,169,177,201,213,216,219,220,234,248,256,263,265,270,272,274,281,282,291,293,296,299,303,309,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,420,429,430,435,437,440,442,447,450,461,463,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,552,556,575,583,585,586,587,589,616,621,635,637,639,640,642,],[77,92,98,77,146,159,178,180,184,77,197,77,206,77,77,77,250,77,275,283,295,313,325,77,77,98,337,345,77,359,361,362,363,275,372,373,384,388,389,77,393,396,398,77,77,275,77,415,77,422,424,426,77,77,436,438,443,445,446,448,449,283,467,486,77,77,77,77,499,275,504,283,516,517,77,527,77,77,548,77,550,551,554,275,557,559,77,77,77,588,591,77,77,77,77,619,620,77,645,652,656,657,658,77,]),'global_stmt':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,]),'import_as_names_list':([405,],[478,]),'with_item':([7,220,],[99,329,]),'import_name':([0,73,96,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,]),'yield_expr':([0,1,73,96,116,121,155,216,219,299,315,318,330,350,353,429,430,435,437,468,491,492,495,518,525,528,575,583,585,586,616,642,],[81,93,81,81,235,237,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,]),'except_clauses':([259,354,],[355,432,]),'comparison_list':([68,],[190,]),'and_test':([0,1,7,29,33,49,55,57,65,73,74,82,86,96,116,121,138,147,155,157,165,169,177,201,213,216,219,220,234,248,256,260,263,265,270,272,274,281,282,291,293,296,299,303,309,312,314,315,316,318,324,330,341,346,347,350,353,356,360,365,367,368,374,375,377,394,414,420,429,430,435,437,440,442,447,450,461,463,466,468,473,491,492,494,495,496,498,501,502,505,510,518,525,528,540,552,556,569,570,573,575,583,585,586,587,589,599,600,616,621,635,637,639,640,642,],[46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,261,46,46,46,46,46,46,46,46,46,46,46,358,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,]),'declaration_body_items':([580,611,628,649,],[609,634,648,668,]),'decorated':([0,73,353,430,],[85,85,85,85,]),'stmt_list':([353,430,],[431,489,]),'elif_stmt':([404,475,],[472,529,]),'dosm_colon_list':([361,],[439,]),'power_list':([52,],[166,]),'while_stmt':([0,73,353,430,],[89,89,89,89,]),'varargslist':([54,251,523,],[175,349,572,]),'dotted_name_list':([109,],[228,]),'listmaker_list':([184,],[304,]),} _lr_goto = { } for _k, _v in _lr_goto_items.items(): for _x,_y in zip(_v[0],_v[1]): if not _x in _lr_goto: _lr_goto[_x] = { } _lr_goto[_x][_k] = _y del _lr_goto_items _lr_productions = [ ("S' -> enaml","S'",1,None,None,None), ('enaml -> enaml_module NEWLINE ENDMARKER','enaml',3,'p_enaml1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',351), ('enaml -> enaml_module ENDMARKER','enaml',2,'p_enaml1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',352), ('enaml -> NEWLINE ENDMARKER','enaml',2,'p_enaml2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',357), ('enaml -> ENDMARKER','enaml',1,'p_enaml2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',358), ('enaml_module -> enaml_module_body','enaml_module',1,'p_enaml_module','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',363), ('enaml_module_body -> enaml_module_body enaml_module_item','enaml_module_body',2,'p_enaml_module_body1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',384), ('enaml_module_body -> enaml_module_item','enaml_module_body',1,'p_enaml_module_body2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',389), ('enaml_module_item -> declaration','enaml_module_item',1,'p_enaml_module_item2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',394), ('enaml_module_item -> stmt','enaml_module_item',1,'p_enaml_module_item1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',399), ('declaration -> ENAMLDEF NAME LPAR NAME RPAR COLON declaration_body','declaration',7,'p_declaration1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',407), ('declaration -> ENAMLDEF NAME LPAR NAME RPAR COLON PASS NEWLINE','declaration',8,'p_declaration2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',414), ('declaration -> ENAMLDEF NAME LPAR NAME RPAR COLON NAME COLON declaration_body','declaration',9,'p_declaration3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',424), ('declaration -> ENAMLDEF NAME LPAR NAME RPAR COLON NAME COLON PASS NEWLINE','declaration',10,'p_declaration4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',438), ('declaration_body -> NEWLINE INDENT declaration_body_items DEDENT','declaration_body',4,'p_declaration_body1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',448), ('declaration_body -> NEWLINE INDENT identifier DEDENT','declaration_body',4,'p_declaration_body2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',455), ('declaration_body -> NEWLINE INDENT identifier declaration_body_items DEDENT','declaration_body',5,'p_declaration_body3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',460), ('declaration_body -> NEWLINE INDENT STRING NEWLINE declaration_body_items DEDENT','declaration_body',6,'p_declaration_body4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',467), ('declaration_body -> NEWLINE INDENT STRING NEWLINE identifier DEDENT','declaration_body',6,'p_declaration_body5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',474), ('declaration_body -> NEWLINE INDENT STRING NEWLINE identifier declaration_body_items DEDENT','declaration_body',7,'p_declaration_body6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',479), ('declaration_body_items -> declaration_body_item','declaration_body_items',1,'p_declaration_body_items1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',486), ('declaration_body_items -> declaration_body_items declaration_body_item','declaration_body_items',2,'p_declaration_body_items2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',491), ('declaration_body_item -> attribute_declaration','declaration_body_item',1,'p_declaration_body_item1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',496), ('declaration_body_item -> attribute_binding','declaration_body_item',1,'p_declaration_body_item2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',501), ('declaration_body_item -> instantiation','declaration_body_item',1,'p_declaration_body_item3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',506), ('declaration_body_item -> PASS NEWLINE','declaration_body_item',2,'p_declaration_body_item4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',511), ('attribute_declaration -> NAME NAME NEWLINE','attribute_declaration',3,'p_attribute_declaration1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',519), ('attribute_declaration -> NAME NAME COLON NAME NEWLINE','attribute_declaration',5,'p_attribute_declaration2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',524), ('attribute_declaration -> NAME NAME binding','attribute_declaration',3,'p_attribute_declaration3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',529), ('attribute_declaration -> NAME NAME COLON NAME binding','attribute_declaration',5,'p_attribute_declaration4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',537), ('identifier -> NAME COLON NAME NEWLINE','identifier',4,'p_identifier','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',548), ('instantiation -> NAME COLON instantiation_body','instantiation',3,'p_instantiation1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',560), ('instantiation -> NAME COLON attribute_binding','instantiation',3,'p_instantiation2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',566), ('instantiation -> NAME COLON PASS NEWLINE','instantiation',4,'p_instantiation3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',571), ('instantiation -> NAME COLON NAME COLON instantiation_body','instantiation',5,'p_instantiation4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',576), ('instantiation -> NAME COLON NAME COLON attribute_binding','instantiation',5,'p_instantiation5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',585), ('instantiation -> NAME COLON NAME COLON PASS NEWLINE','instantiation',6,'p_instantiation6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',590), ('instantiation_body -> NEWLINE INDENT instantiation_body_items DEDENT','instantiation_body',4,'p_instantiation_body1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',595), ('instantiation_body -> NEWLINE INDENT identifier DEDENT','instantiation_body',4,'p_instantiation_body2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',602), ('instantiation_body -> NEWLINE INDENT identifier instantiation_body_items DEDENT','instantiation_body',5,'p_instantiation_body3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',607), ('instantiation_body_items -> instantiation_body_item','instantiation_body_items',1,'p_instantiation_body_items1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',614), ('instantiation_body_items -> instantiation_body_items instantiation_body_item','instantiation_body_items',2,'p_instantiation_body_items2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',619), ('instantiation_body_item -> instantiation','instantiation_body_item',1,'p_instantiation_body_item1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',624), ('instantiation_body_item -> attribute_binding','instantiation_body_item',1,'p_instantiation_body_item2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',629), ('instantiation_body_item -> PASS NEWLINE','instantiation_body_item',2,'p_instantiation_body_item3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',634), ('attribute_binding -> NAME binding','attribute_binding',2,'p_attribute_binding','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',642), ('binding -> EQUAL test NEWLINE','binding',3,'p_binding1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',647), ('binding -> LEFTSHIFT test NEWLINE','binding',3,'p_binding1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',648), ('binding -> COLONEQUAL test NEWLINE','binding',3,'p_binding2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',659), ('binding -> RIGHTSHIFT test NEWLINE','binding',3,'p_binding2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',660), ('binding -> DOUBLECOLON suite','binding',2,'p_binding3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',672), ('suite -> simple_stmt','suite',1,'p_suite1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',690), ('suite -> NEWLINE INDENT stmt_list DEDENT','suite',4,'p_suite2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',702), ('stmt_list -> stmt stmt_list','stmt_list',2,'p_stmt_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',707), ('stmt_list -> stmt','stmt_list',1,'p_stmt_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',719), ('stmt -> simple_stmt','stmt',1,'p_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',731), ('stmt -> compound_stmt','stmt',1,'p_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',732), ('simple_stmt -> small_stmt NEWLINE','simple_stmt',2,'p_simple_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',737), ('simple_stmt -> small_stmt_list NEWLINE','simple_stmt',2,'p_simple_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',745), ('small_stmt_list -> small_stmt SEMI','small_stmt_list',2,'p_small_stmt_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',755), ('small_stmt_list -> small_stmt small_stmt_list_list','small_stmt_list',2,'p_small_stmt_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',760), ('small_stmt_list -> small_stmt small_stmt_list_list SEMI','small_stmt_list',3,'p_small_stmt_list3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',765), ('small_stmt_list_list -> SEMI small_stmt','small_stmt_list_list',2,'p_small_stmt_list_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',770), ('small_stmt_list_list -> small_stmt_list_list SEMI small_stmt','small_stmt_list_list',3,'p_small_stmt_list_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',775), ('small_stmt -> expr_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',780), ('small_stmt -> print_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',781), ('small_stmt -> del_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',782), ('small_stmt -> pass_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',783), ('small_stmt -> flow_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',784), ('small_stmt -> import_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',785), ('small_stmt -> global_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',786), ('small_stmt -> exec_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',787), ('small_stmt -> assert_stmt','small_stmt',1,'p_small_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',788), ('print_stmt -> PRINT','print_stmt',1,'p_print_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',793), ('print_stmt -> PRINT test','print_stmt',2,'p_print_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',802), ('print_stmt -> PRINT print_list','print_stmt',2,'p_print_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',811), ('print_stmt -> PRINT RIGHTSHIFT test','print_stmt',3,'p_print_stmt4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',826), ('print_stmt -> PRINT RIGHTSHIFT test COMMA test','print_stmt',5,'p_print_stmt5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',835), ('print_stmt -> PRINT RIGHTSHIFT test COMMA print_list','print_stmt',5,'p_print_stmt6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',844), ('print_list -> test COMMA','print_list',2,'p_print_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',859), ('print_list -> test print_list_list','print_list',2,'p_print_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',864), ('print_list -> test print_list_list COMMA','print_list',3,'p_print_list3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',869), ('print_list_list -> COMMA test','print_list_list',2,'p_print_list_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',874), ('print_list_list -> print_list_list COMMA test','print_list_list',3,'p_print_list_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',879), ('del_stmt -> DEL exprlist','del_stmt',2,'p_del_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',884), ('pass_stmt -> PASS','pass_stmt',1,'p_pass_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',893), ('flow_stmt -> break_stmt','flow_stmt',1,'p_flow_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',900), ('flow_stmt -> continue_stmt','flow_stmt',1,'p_flow_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',901), ('flow_stmt -> return_stmt','flow_stmt',1,'p_flow_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',902), ('flow_stmt -> raise_stmt','flow_stmt',1,'p_flow_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',903), ('flow_stmt -> yield_stmt','flow_stmt',1,'p_flow_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',904), ('break_stmt -> BREAK','break_stmt',1,'p_break_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',909), ('continue_stmt -> CONTINUE','continue_stmt',1,'p_continue_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',916), ('return_stmt -> RETURN','return_stmt',1,'p_return_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',923), ('return_stmt -> RETURN testlist','return_stmt',2,'p_return_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',930), ('raise_stmt -> RAISE','raise_stmt',1,'p_raise_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',938), ('raise_stmt -> RAISE test','raise_stmt',2,'p_raise_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',947), ('raise_stmt -> RAISE test COMMA test','raise_stmt',4,'p_raise_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',956), ('raise_stmt -> RAISE test COMMA test COMMA test','raise_stmt',6,'p_raise_stmt4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',965), ('yield_stmt -> yield_expr','yield_stmt',1,'p_yield_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',974), ('yield_expr -> YIELD','yield_expr',1,'p_yield_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',979), ('yield_expr -> YIELD testlist','yield_expr',2,'p_yield_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',984), ('global_stmt -> GLOBAL NAME','global_stmt',2,'p_global_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',990), ('global_stmt -> GLOBAL NAME globals_list','global_stmt',3,'p_global_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',998), ('globals_list -> COMMA NAME globals_list','globals_list',3,'p_globals_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1006), ('globals_list -> COMMA NAME','globals_list',2,'p_globals_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1011), ('exec_stmt -> EXEC expr','exec_stmt',2,'p_exec_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1016), ('exec_stmt -> EXEC expr IN test','exec_stmt',4,'p_exec_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1025), ('exec_stmt -> EXEC expr IN test COMMA test','exec_stmt',6,'p_exec_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1034), ('assert_stmt -> ASSERT test','assert_stmt',2,'p_assert_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1043), ('assert_stmt -> ASSERT test COMMA test','assert_stmt',4,'p_assert_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1051), ('expr_stmt -> testlist','expr_stmt',1,'p_expr_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1059), ('expr_stmt -> testlist augassign testlist','expr_stmt',3,'p_expr_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1066), ('expr_stmt -> testlist augassign yield_expr','expr_stmt',3,'p_expr_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1067), ('expr_stmt -> testlist equal_list','expr_stmt',2,'p_expr_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1083), ('augassign -> AMPEREQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1099), ('augassign -> CIRCUMFLEXEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1100), ('augassign -> DOUBLESLASHEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1101), ('augassign -> DOUBLESTAREQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1102), ('augassign -> LEFTSHIFTEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1103), ('augassign -> MINUSEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1104), ('augassign -> PERCENTEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1105), ('augassign -> PLUSEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1106), ('augassign -> RIGHTSHIFTEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1107), ('augassign -> SLASHEQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1108), ('augassign -> STAREQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1109), ('augassign -> VBAREQUAL','augassign',1,'p_augassign','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1110), ('equal_list -> EQUAL testlist','equal_list',2,'p_equal_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1117), ('equal_list -> EQUAL yield_expr','equal_list',2,'p_equal_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1118), ('equal_list -> EQUAL testlist equal_list','equal_list',3,'p_equal_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1123), ('equal_list -> EQUAL yield_expr equal_list','equal_list',3,'p_equal_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1124), ('testlist -> test','testlist',1,'p_testlist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1129), ('testlist -> test COMMA','testlist',2,'p_testlist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1134), ('testlist -> test testlist_list','testlist',2,'p_testlist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1139), ('testlist -> test testlist_list COMMA','testlist',3,'p_testlist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1144), ('testlist_list -> COMMA test','testlist_list',2,'p_testlist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1149), ('testlist_list -> testlist_list COMMA test','testlist_list',3,'p_testlist_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1154), ('compound_stmt -> if_stmt','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1159), ('compound_stmt -> while_stmt','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1160), ('compound_stmt -> for_stmt','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1161), ('compound_stmt -> try_stmt','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1162), ('compound_stmt -> with_stmt','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1163), ('compound_stmt -> funcdef','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1164), ('compound_stmt -> classdef','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1165), ('compound_stmt -> decorated','compound_stmt',1,'p_compound_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1166), ('if_stmt -> IF test COLON suite','if_stmt',4,'p_if_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1171), ('if_stmt -> IF test COLON suite elif_stmts','if_stmt',5,'p_if_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1182), ('if_stmt -> IF test COLON suite else_stmt','if_stmt',5,'p_if_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1193), ('if_stmt -> IF test COLON suite elif_stmts else_stmt','if_stmt',6,'p_if_stmt4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1204), ('elif_stmts -> elif_stmts elif_stmt','elif_stmts',2,'p_elif_stmts1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1220), ('elif_stmts -> elif_stmt','elif_stmts',1,'p_elif_stmts2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1227), ('elif_stmt -> ELIF test COLON suite','elif_stmt',4,'p_elif_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1232), ('else_stmt -> ELSE COLON suite','else_stmt',3,'p_else_stmt','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1243), ('while_stmt -> WHILE test COLON suite','while_stmt',4,'p_while_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1248), ('while_stmt -> WHILE test COLON suite ELSE COLON suite','while_stmt',7,'p_while_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1259), ('for_stmt -> FOR exprlist IN testlist COLON suite','for_stmt',6,'p_for_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1270), ('for_stmt -> FOR exprlist IN testlist COLON suite ELSE COLON suite','for_stmt',9,'p_for_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1284), ('try_stmt -> TRY COLON suite FINALLY COLON suite','try_stmt',6,'p_try_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1298), ('try_stmt -> TRY COLON suite except_clauses','try_stmt',4,'p_try_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1308), ('try_stmt -> TRY COLON suite except_clauses ELSE COLON suite','try_stmt',7,'p_try_stmt3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1319), ('try_stmt -> TRY COLON suite except_clauses FINALLY COLON suite','try_stmt',7,'p_try_stmt4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1330), ('try_stmt -> TRY COLON suite except_clauses ELSE COLON suite FINALLY COLON suite','try_stmt',10,'p_try_stmt5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1347), ('except_clauses -> except_clause except_clauses','except_clauses',2,'p_except_clauses1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1364), ('except_clauses -> except_clause','except_clauses',1,'p_except_clauses2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1369), ('except_clause -> EXCEPT COLON suite','except_clause',3,'p_except_clause1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1374), ('except_clause -> EXCEPT test COLON suite','except_clause',4,'p_except_clause2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1385), ('except_clause -> EXCEPT test AS test COLON suite','except_clause',6,'p_except_clause3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1396), ('except_clause -> EXCEPT test COMMA test COLON suite','except_clause',6,'p_except_clause3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1397), ('with_stmt -> WITH with_item COLON suite','with_stmt',4,'p_with_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1410), ('with_stmt -> WITH with_item with_item_list COLON suite','with_stmt',5,'p_with_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1422), ('with_item -> test','with_item',1,'p_with_item1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1442), ('with_item -> test AS expr','with_item',3,'p_with_item2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1447), ('with_item_list -> COMMA with_item with_item_list','with_item_list',3,'p_with_item_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1454), ('with_item_list -> COMMA with_item','with_item_list',2,'p_with_item_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1459), ('funcdef -> DEF NAME parameters COLON suite','funcdef',5,'p_funcdef','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1464), ('parameters -> LPAR RPAR','parameters',2,'p_parameters1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1476), ('parameters -> LPAR varargslist RPAR','parameters',3,'p_parameters2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1481), ('classdef -> CLASS NAME COLON suite','classdef',4,'p_classdef1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1486), ('classdef -> CLASS NAME LPAR RPAR COLON suite','classdef',6,'p_classdef2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1498), ('classdef -> CLASS NAME LPAR testlist RPAR COLON suite','classdef',7,'p_classdef3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1510), ('decorated -> decorators funcdef','decorated',2,'p_decorated','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1525), ('decorated -> decorators classdef','decorated',2,'p_decorated','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1526), ('decorators -> decorator decorators','decorators',2,'p_decorators1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1534), ('decorators -> decorator','decorators',1,'p_decorators2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1539), ('decorator -> AT dotted_name NEWLINE','decorator',3,'p_decorator1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1544), ('decorator -> AT dotted_name LPAR RPAR NEWLINE','decorator',5,'p_decorator2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1552), ('decorator -> AT dotted_name LPAR arglist RPAR NEWLINE','decorator',6,'p_decorator3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1565), ('import_stmt -> import_name','import_stmt',1,'p_import_stmt1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1579), ('import_stmt -> import_from','import_stmt',1,'p_import_stmt2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1584), ('import_name -> IMPORT dotted_as_names','import_name',2,'p_import_name','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1588), ('import_from -> FROM dotted_name IMPORT STAR','import_from',4,'p_import_from1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1595), ('import_from -> FROM dotted_name IMPORT import_as_names','import_from',4,'p_import_from2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1603), ('import_from -> FROM dotted_name IMPORT LPAR import_as_names RPAR','import_from',6,'p_import_from3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1610), ('import_from -> FROM import_from_dots dotted_name IMPORT STAR','import_from',5,'p_import_from4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1617), ('import_from -> FROM import_from_dots dotted_name IMPORT import_as_name','import_from',5,'p_import_from5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1625), ('import_from -> FROM import_from_dots dotted_name IMPORT LPAR import_as_names RPAR','import_from',7,'p_import_from6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1632), ('import_from -> FROM import_from_dots IMPORT STAR','import_from',4,'p_import_from7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1639), ('import_from -> FROM import_from_dots IMPORT import_as_names','import_from',4,'p_import_from8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1647), ('import_from -> FROM import_from_dots IMPORT LPAR import_as_names RPAR','import_from',6,'p_import_from9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1654), ('import_from_dots -> DOT','import_from_dots',1,'p_import_from_dots1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1661), ('import_from_dots -> import_from_dots DOT','import_from_dots',2,'p_import_from_dots2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1666), ('import_as_name -> NAME','import_as_name',1,'p_import_as_name1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1671), ('import_as_name -> NAME AS NAME','import_as_name',3,'p_import_as_name2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1676), ('dotted_as_name -> dotted_name','dotted_as_name',1,'p_dotted_as_name1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1681), ('dotted_as_name -> dotted_name AS NAME','dotted_as_name',3,'p_dotted_as_name2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1687), ('import_as_names -> import_as_name','import_as_names',1,'p_import_as_names1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1693), ('import_as_names -> import_as_name COMMA','import_as_names',2,'p_import_as_names2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1698), ('import_as_names -> import_as_name import_as_names_list','import_as_names',2,'p_import_as_names3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1703), ('import_as_names -> import_as_name import_as_names_list COMMA','import_as_names',3,'p_import_as_names4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1708), ('import_as_names_list -> COMMA import_as_name','import_as_names_list',2,'p_import_as_names_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1713), ('import_as_names_list -> import_as_names_list COMMA import_as_name','import_as_names_list',3,'p_import_as_names_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1718), ('dotted_as_names -> dotted_as_name','dotted_as_names',1,'p_dotted_as_names1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1723), ('dotted_as_names -> dotted_as_name dotted_as_names_list','dotted_as_names',2,'p_dotted_as_names2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1728), ('dotted_as_names_list -> COMMA dotted_as_name','dotted_as_names_list',2,'p_dotted_as_names_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1733), ('dotted_as_names_list -> dotted_as_names_list COMMA dotted_as_name','dotted_as_names_list',3,'p_dotted_as_names_star_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1738), ('dotted_name -> NAME','dotted_name',1,'p_dotted_name1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1743), ('dotted_name -> NAME dotted_name_list','dotted_name',2,'p_dotted_name2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1748), ('dotted_name_list -> DOT NAME','dotted_name_list',2,'p_dotted_name_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1753), ('dotted_name_list -> dotted_name_list DOT NAME','dotted_name_list',3,'p_dotted_name_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1758), ('test -> or_test','test',1,'p_test1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1763), ('test -> or_test IF or_test ELSE test','test',5,'p_test2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1768), ('test -> lambdef','test',1,'p_test3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1774), ('or_test -> and_test','or_test',1,'p_or_test1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1779), ('or_test -> and_test or_test_list','or_test',2,'p_or_test2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1784), ('or_test_list -> OR and_test','or_test_list',2,'p_or_test_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1791), ('or_test_list -> or_test_list OR and_test','or_test_list',3,'p_or_test_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1796), ('and_test -> not_test','and_test',1,'p_and_test1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1801), ('and_test -> not_test and_test_list','and_test',2,'p_and_test2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1806), ('and_test_list -> AND not_test','and_test_list',2,'p_and_test_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1813), ('and_test_list -> and_test_list AND not_test','and_test_list',3,'p_and_test_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1818), ('not_test -> comparison','not_test',1,'p_not_test','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1823), ('not_test -> NOT not_test','not_test',2,'p_not_test2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1828), ('comparison -> expr','comparison',1,'p_comparison1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1834), ('comparison -> expr comparison_list','comparison',2,'p_comparison2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1839), ('comparison_list -> comp_op expr','comparison_list',2,'p_comparison_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1847), ('comparison_list -> comparison_list comp_op expr','comparison_list',3,'p_comparison_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1852), ('comp_op -> LESS','comp_op',1,'p_comp_op1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1857), ('comp_op -> GREATER','comp_op',1,'p_comp_op2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1862), ('comp_op -> EQEQUAL','comp_op',1,'p_comp_op3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1867), ('comp_op -> GREATEREQUAL','comp_op',1,'p_comp_op4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1872), ('comp_op -> LESSEQUAL','comp_op',1,'p_comp_op5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1877), ('comp_op -> NOTEQUAL','comp_op',1,'p_comp_op6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1882), ('comp_op -> IN','comp_op',1,'p_comp_op7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1887), ('comp_op -> NOT IN','comp_op',2,'p_comp_op8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1892), ('comp_op -> IS','comp_op',1,'p_comp_op9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1897), ('comp_op -> IS NOT','comp_op',2,'p_comp_op10','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1902), ('expr -> xor_expr','expr',1,'p_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1907), ('expr -> xor_expr expr_list','expr',2,'p_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1912), ('expr_list -> VBAR xor_expr','expr_list',2,'p_expr_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1920), ('expr_list -> expr_list VBAR xor_expr','expr_list',3,'p_expr_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1925), ('xor_expr -> and_expr','xor_expr',1,'p_xor_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1930), ('xor_expr -> and_expr xor_expr_list','xor_expr',2,'p_xor_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1935), ('xor_expr_list -> CIRCUMFLEX and_expr','xor_expr_list',2,'p_xor_expr_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1943), ('xor_expr_list -> xor_expr_list CIRCUMFLEX and_expr','xor_expr_list',3,'p_xor_expr_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1948), ('and_expr -> shift_expr','and_expr',1,'p_and_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1953), ('and_expr -> shift_expr and_expr_list','and_expr',2,'p_and_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1958), ('and_expr_list -> AMPER shift_expr','and_expr_list',2,'p_and_expr_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1966), ('and_expr_list -> and_expr_list AMPER shift_expr','and_expr_list',3,'p_and_expr_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1971), ('shift_expr -> arith_expr','shift_expr',1,'p_shift_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1976), ('shift_expr -> arith_expr shift_list','shift_expr',2,'p_shift_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1981), ('shift_list -> shift_op','shift_list',1,'p_shift_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1989), ('shift_list -> shift_list shift_op','shift_list',2,'p_shift_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1994), ('shift_op -> LEFTSHIFT arith_expr','shift_op',2,'p_shift_op1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',1999), ('shift_op -> RIGHTSHIFT arith_expr','shift_op',2,'p_shift_op2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2004), ('arith_expr -> term','arith_expr',1,'p_arith_expr1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2009), ('arith_expr -> term arith_expr_list','arith_expr',2,'p_arith_expr2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2014), ('arith_expr_list -> arith_op','arith_expr_list',1,'p_arith_expr_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2022), ('arith_expr_list -> arith_expr_list arith_op','arith_expr_list',2,'p_arith_expr_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2027), ('arith_op -> PLUS term','arith_op',2,'p_arith_op1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2032), ('arith_op -> MINUS term','arith_op',2,'p_arith_op2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2038), ('term -> factor','term',1,'p_term1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2043), ('term -> factor term_list','term',2,'p_term2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2048), ('term_list -> term_op','term_list',1,'p_term_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2056), ('term_list -> term_list term_op','term_list',2,'p_term_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2061), ('term_op -> STAR factor','term_op',2,'p_term_op1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2066), ('term_op -> SLASH factor','term_op',2,'p_term_op2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2071), ('term_op -> PERCENT factor','term_op',2,'p_term_op3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2076), ('term_op -> DOUBLESLASH factor','term_op',2,'p_term_op4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2081), ('factor -> power','factor',1,'p_factor1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2086), ('factor -> PLUS factor','factor',2,'p_factor2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2091), ('factor -> MINUS factor','factor',2,'p_factor3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2099), ('factor -> TILDE factor','factor',2,'p_factor4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2107), ('power -> atom','power',1,'p_power1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2115), ('power -> atom DOUBLESTAR factor','power',3,'p_power2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2120), ('power -> atom power_list','power',2,'p_power3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2126), ('power -> atom power_list DOUBLESTAR factor','power',4,'p_power4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2142), ('power_list -> trailer','power_list',1,'p_power_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2159), ('power_list -> power_list trailer','power_list',2,'p_power_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2164), ('atom -> LPAR RPAR','atom',2,'p_atom1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2169), ('atom -> LPAR yield_expr RPAR','atom',3,'p_atom2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2174), ('atom -> LPAR testlist_comp RPAR','atom',3,'p_atom3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2179), ('atom -> LSQB RSQB','atom',2,'p_atom4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2193), ('atom -> LSQB listmaker RSQB','atom',3,'p_atom5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2198), ('atom -> LBRACE RBRACE','atom',2,'p_atom6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2210), ('atom -> LBRACE dictorsetmaker RBRACE','atom',3,'p_atom7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2215), ('atom -> NAME','atom',1,'p_atom8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2236), ('atom -> NUMBER','atom',1,'p_atom9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2241), ('atom -> atom_string_list','atom',1,'p_atom10','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2247), ('atom_string_list -> STRING','atom_string_list',1,'p_atom_string_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2253), ('atom_string_list -> atom_string_list STRING','atom_string_list',2,'p_atom_string_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2258), ('listmaker -> test list_for','listmaker',2,'p_listmaker1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2268), ('listmaker -> test','listmaker',1,'p_listmaker2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2273), ('listmaker -> test COMMA','listmaker',2,'p_listmaker3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2278), ('listmaker -> test listmaker_list','listmaker',2,'p_listmaker4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2283), ('listmaker -> test listmaker_list COMMA','listmaker',3,'p_listmaker5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2289), ('listmaker_list -> COMMA test','listmaker_list',2,'p_listmaker_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2295), ('listmaker_list -> listmaker_list COMMA test','listmaker_list',3,'p_listmaker_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2300), ('testlist_comp -> test comp_for','testlist_comp',2,'p_testlist_comp1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2305), ('testlist_comp -> test','testlist_comp',1,'p_testlist_comp2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2310), ('testlist_comp -> test COMMA','testlist_comp',2,'p_testlist_comp3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2315), ('testlist_comp -> test testlist_comp_list','testlist_comp',2,'p_testlist_comp4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2320), ('testlist_comp -> test testlist_comp_list COMMA','testlist_comp',3,'p_testlist_comp5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2326), ('testlist_comp_list -> COMMA test','testlist_comp_list',2,'p_testlist_comp_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2332), ('testlist_comp_list -> testlist_comp_list COMMA test','testlist_comp_list',3,'p_testlist_comp_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2337), ('trailer -> LPAR RPAR','trailer',2,'p_trailer1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2342), ('trailer -> LPAR arglist RPAR','trailer',3,'p_trailer2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2347), ('trailer -> LSQB subscriptlist RSQB','trailer',3,'p_trailer3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2354), ('trailer -> DOT NAME','trailer',2,'p_trailer4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2359), ('subscriptlist -> subscript','subscriptlist',1,'p_subscriptlist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2364), ('subscriptlist -> subscript COMMA','subscriptlist',2,'p_subscriptlist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2369), ('subscriptlist -> subscript subscriptlist_list','subscriptlist',2,'p_subscriptlist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2375), ('subscriptlist -> subscript subscriptlist_list COMMA','subscriptlist',3,'p_subscriptlist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2381), ('subscriptlist_list -> COMMA subscript','subscriptlist_list',2,'p_subscriptlist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2387), ('subscriptlist_list -> subscriptlist_list COMMA subscript','subscriptlist_list',3,'p_subscript_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2392), ('subscript -> ELLIPSIS','subscript',1,'p_subscript1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2397), ('subscript -> test','subscript',1,'p_subcript2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2402), ('subscript -> COLON','subscript',1,'p_subscript3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2407), ('subscript -> DOUBLECOLON','subscript',1,'p_subscript4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2412), ('subscript -> test COLON','subscript',2,'p_subscript5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2418), ('subscript -> test DOUBLECOLON','subscript',2,'p_subscrip6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2423), ('subscript -> COLON test','subscript',2,'p_subscript7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2429), ('subscript -> COLON test COLON','subscript',3,'p_subscript8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2434), ('subscript -> DOUBLECOLON test','subscript',2,'p_subscript9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2440), ('subscript -> test COLON test','subscript',3,'p_subscript10','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2445), ('subscript -> test COLON test COLON','subscript',4,'p_subscript11','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2450), ('subscript -> COLON test COLON test','subscript',4,'p_subscript12','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2456), ('subscript -> test COLON test COLON test','subscript',5,'p_subscript13','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2461), ('subscript -> test DOUBLECOLON test','subscript',3,'p_subscript14','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2466), ('exprlist -> expr','exprlist',1,'p_exprlist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2471), ('exprlist -> expr COMMA','exprlist',2,'p_exprlist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2476), ('exprlist -> expr exprlist_list','exprlist',2,'p_exprlist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2483), ('exprlist -> expr exprlist_list COMMA','exprlist',3,'p_exprlist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2490), ('exprlist_list -> COMMA expr','exprlist_list',2,'p_exprlist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2497), ('exprlist_list -> exprlist_list COMMA expr','exprlist_list',3,'p_exprlist_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2502), ('dictorsetmaker -> test COLON test comp_for','dictorsetmaker',4,'p_dictorsetmaker1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2507), ('dictorsetmaker -> test COLON test','dictorsetmaker',3,'p_dictorsetmaker2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2512), ('dictorsetmaker -> test COLON test COMMA','dictorsetmaker',4,'p_dictorsetmaker3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2518), ('dictorsetmaker -> test COLON test dosm_colon_list','dictorsetmaker',4,'p_dictorsetmaker4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2524), ('dictorsetmaker -> test COLON test dosm_colon_list COMMA','dictorsetmaker',5,'p_dictorsetmaker5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2530), ('dictorsetmaker -> test comp_for','dictorsetmaker',2,'p_dictorsetmaker6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2536), ('dictorsetmaker -> test COMMA','dictorsetmaker',2,'p_dictorsetmaker7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2541), ('dictorsetmaker -> test dosm_comma_list','dictorsetmaker',2,'p_dictorsetmaker8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2547), ('dictorsetmaker -> test dosm_comma_list COMMA','dictorsetmaker',3,'p_dictorsetmaker9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2553), ('dosm_colon_list -> COMMA test COLON test','dosm_colon_list',4,'p_dosm_colon_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2559), ('dosm_colon_list -> dosm_colon_list COMMA test COLON test','dosm_colon_list',5,'p_dosm_colon_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2564), ('dosm_comma_list -> COMMA test','dosm_comma_list',2,'p_dosm_comma_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2569), ('dosm_comma_list -> dosm_comma_list COMMA test','dosm_comma_list',3,'p_dosm_comma_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2574), ('arglist -> argument','arglist',1,'p_arglist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2579), ('arglist -> argument COMMA','arglist',2,'p_arglist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2587), ('arglist -> STAR test','arglist',2,'p_arglist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2595), ('arglist -> STAR test COMMA DOUBLESTAR test','arglist',5,'p_arglist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2600), ('arglist -> DOUBLESTAR test','arglist',2,'p_arglist5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2605), ('arglist -> arglist_list argument','arglist',2,'p_arglist6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2610), ('arglist -> arglist_list argument COMMA','arglist',3,'p_arglist7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2622), ('arglist -> arglist_list STAR test','arglist',3,'p_arglist8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2634), ('arglist -> arglist_list STAR test COMMA DOUBLESTAR test','arglist',6,'p_arglist9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2646), ('arglist -> arglist_list DOUBLESTAR test','arglist',3,'p_arglist10','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2658), ('arglist -> STAR test COMMA argument','arglist',4,'p_arglist11','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2670), ('arglist -> STAR test COMMA argument COMMA DOUBLESTAR test','arglist',7,'p_arglist12','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2681), ('arglist -> STAR test COMMA arglist_list argument','arglist',5,'p_arglist13','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2692), ('arglist -> STAR test COMMA arglist_list argument COMMA DOUBLESTAR test','arglist',8,'p_arglist14','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2703), ('arglist_list -> argument COMMA','arglist_list',2,'p_arglist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2714), ('arglist_list -> arglist_list argument COMMA','arglist_list',3,'p_arglist_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2719), ('argument -> test','argument',1,'p_argument1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2724), ('argument -> test comp_for','argument',2,'p_argument2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2729), ('argument -> test EQUAL test','argument',3,'p_argument3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2736), ('list_for -> FOR exprlist IN testlist_safe','list_for',4,'p_list_for1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2744), ('list_for -> FOR exprlist IN testlist_safe list_iter','list_for',5,'p_list_for2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2751), ('list_iter -> list_for','list_iter',1,'p_list_iter1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2765), ('list_iter -> list_if','list_iter',1,'p_list_iter2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2770), ('list_if -> IF old_test','list_if',2,'p_list_if1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2775), ('list_if -> IF old_test list_iter','list_if',3,'p_list_if2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2780), ('comp_for -> FOR exprlist IN or_test','comp_for',4,'p_comp_for1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2785), ('comp_for -> FOR exprlist IN or_test comp_iter','comp_for',5,'p_comp_for2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2792), ('comp_iter -> comp_for','comp_iter',1,'p_comp_iter1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2806), ('comp_iter -> comp_if','comp_iter',1,'p_comp_iter2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2811), ('comp_if -> IF old_test','comp_if',2,'p_comp_if1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2816), ('comp_if -> IF old_test comp_iter','comp_if',3,'p_comp_if2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2821), ('testlist_safe -> old_test','testlist_safe',1,'p_testlist_safe1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2826), ('testlist_safe -> old_test testlist_safe_list','testlist_safe',2,'p_testlist_safe2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2831), ('testlist_safe -> old_test testlist_safe_list COMMA','testlist_safe',3,'p_testlist_safe3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2837), ('testlist_safe_list -> COMMA old_test','testlist_safe_list',2,'p_testlist_safe_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2843), ('testlist_safe_list -> testlist_safe_list COMMA old_test','testlist_safe_list',3,'p_testlist_safe_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2848), ('old_test -> or_test','old_test',1,'p_old_test1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2853), ('old_test -> old_lambdef','old_test',1,'p_old_test2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2858), ('old_lambdef -> LAMBDA COLON old_test','old_lambdef',3,'p_old_lambdef1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2863), ('old_lambdef -> LAMBDA varargslist COLON old_test','old_lambdef',4,'p_old_lambdef2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2870), ('lambdef -> LAMBDA COLON test','lambdef',3,'p_lambdef1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2877), ('lambdef -> LAMBDA varargslist COLON test','lambdef',4,'p_lambdef2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2884), ('varargslist -> fpdef COMMA STAR NAME','varargslist',4,'p_varargslist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2891), ('varargslist -> fpdef COMMA STAR NAME COMMA DOUBLESTAR NAME','varargslist',7,'p_varargslist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2898), ('varargslist -> fpdef COMMA DOUBLESTAR NAME','varargslist',4,'p_varargslist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2905), ('varargslist -> fpdef','varargslist',1,'p_varargslist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2912), ('varargslist -> fpdef COMMA','varargslist',2,'p_varargslist5','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2919), ('varargslist -> fpdef varargslist_list COMMA STAR NAME','varargslist',5,'p_varargslist6','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2926), ('varargslist -> fpdef varargslist_list COMMA STAR NAME COMMA DOUBLESTAR NAME','varargslist',8,'p_varargslist7','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2935), ('varargslist -> fpdef varargslist_list COMMA DOUBLESTAR NAME','varargslist',5,'p_varargslist8','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2944), ('varargslist -> fpdef varargslist_list','varargslist',2,'p_varargslist9','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2953), ('varargslist -> fpdef varargslist_list COMMA','varargslist',3,'p_varargslist10','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2962), ('varargslist -> fpdef EQUAL test COMMA STAR NAME','varargslist',6,'p_varargslist11','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2971), ('varargslist -> fpdef EQUAL test COMMA STAR NAME COMMA DOUBLESTAR NAME','varargslist',9,'p_varargslist12','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2978), ('varargslist -> fpdef EQUAL test COMMA DOUBLESTAR NAME','varargslist',6,'p_varargslist13','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2985), ('varargslist -> fpdef EQUAL test','varargslist',3,'p_varargslist14','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2992), ('varargslist -> fpdef EQUAL test COMMA','varargslist',4,'p_varargslist15','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',2999), ('varargslist -> fpdef EQUAL test varargslist_list COMMA STAR NAME','varargslist',7,'p_varargslist16','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3006), ('varargslist -> fpdef EQUAL test varargslist_list COMMA STAR NAME COMMA DOUBLESTAR NAME','varargslist',10,'p_varargslist17','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3019), ('varargslist -> fpdef EQUAL test varargslist_list COMMA DOUBLESTAR NAME','varargslist',7,'p_varargslist18','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3032), ('varargslist -> fpdef EQUAL test varargslist_list','varargslist',4,'p_varargslist19','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3045), ('varargslist -> fpdef EQUAL test varargslist_list COMMA','varargslist',5,'p_varargslist20','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3058), ('varargslist -> STAR NAME','varargslist',2,'p_varargslist21','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3071), ('varargslist -> STAR NAME COMMA DOUBLESTAR NAME','varargslist',5,'p_varargslist22','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3077), ('varargslist -> DOUBLESTAR NAME','varargslist',2,'p_varargslist23','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3083), ('varargslist_list -> COMMA fpdef','varargslist_list',2,'p_varargslist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3090), ('varargslist_list -> COMMA fpdef EQUAL test','varargslist_list',4,'p_varargslist_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3095), ('varargslist_list -> varargslist_list COMMA fpdef','varargslist_list',3,'p_varargslist_list3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3100), ('varargslist_list -> varargslist_list COMMA fpdef EQUAL test','varargslist_list',5,'p_varargslist_list4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3111), ('fpdef -> NAME','fpdef',1,'p_fpdef1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3119), ('fpdef -> LPAR fplist RPAR','fpdef',3,'p_fpdef2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3124), ('fplist -> fpdef','fplist',1,'p_fplist1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3131), ('fplist -> fpdef COMMA','fplist',2,'p_fplist2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3136), ('fplist -> fpdef fplist_list','fplist',2,'p_fplist3','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3144), ('fplist -> fpdef fplist_list COMMA','fplist',3,'p_fplist4','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3153), ('fplist_list -> COMMA fpdef','fplist_list',2,'p_fplist_list1','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3162), ('fplist_list -> fplist_list COMMA fpdef','fplist_list',3,'p_fplist_list2','c:\\Users\\i341972\\Desktop\\git_repos\\enaml\\enaml\\core\\parser.py',3167), ]
repeat = int(input()) for x in range(repeat): div1, div2, uplim = map(int, input().split()) divisor = div1 * div2 for i in range(divisor, uplim + 1, divisor): print(i) if x != repeat - 1: print()
""" Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of the two partitions. Example 1: Input: list = null, x = 0 Output: null Explanation: The empty list Satisfy the conditions by itself. Solution: Create two linked lists, one for smaller nodes, another for bigger nodes. In the end, concat these two lists. Dont forget about make the next pointer of last node in big linked list to None p_big.next = None """ """ Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param head: The first node of linked list @param x: An integer @return: A ListNode """ def partition(self, head, x): # write your code here if head == None: return head small_dummy, big_dummy = ListNode(0), ListNode(0) p_small, p_big = small_dummy, big_dummy while head != None: print(head.val) if head.val < x: p_small.next = head p_small = p_small.next else: p_big.next = head p_big = p_big.next head = head.next p_big.next = None p_small.next = big_dummy.next return small_dummy.next
DFLT_TOURN_PART_NAME = 'Unknown' GANG_LEADER = 'Gang Leader' GROUP_NAMES = {'Thug 1': 'Thugs', 'Robber 1': 'Robbers'} SURNAME_PARTS = [ 'bai', 'cai', 'cao', 'chang', 'chen', 'cheng', 'cui', 'dai', 'deng', 'ding', 'dong', 'du', 'duan', 'fan', 'fang', 'feng', 'fu', 'gao', 'gong', 'gu', 'guo', 'han', 'hao', 'he', 'hou', 'hu', 'huang', 'jen', 'jia', 'jiang', 'jin', 'kang', 'kong', 'lai', 'lei', 'li', 'liang', 'liao', 'lin', 'liu', 'long', 'lu', 'luo', 'ma', 'mao', 'meng', 'mo', 'pan', 'peng', 'qian', 'qiao', 'qin', 'qiu', 'shao', 'shen', 'shi', 'song', 'su', 'sun', 'tan', 'tang', 'tao', 'tian', 'wan', 'wang', 'wei', 'wen', 'wu', 'xia', 'xiang', 'xiao', 'xie', 'xiong', 'xu', 'xue', 'yan', 'yang', 'yao', 'ye', 'yi', 'yin', 'yu', 'yuan', 'zeng', 'zhang', 'zhao', 'zheng', 'zhong', 'zhou', 'zhu', 'zou', ] FIRST_NAME_PARTS = [ 'bai', 'cai', 'cao', 'chang', 'chao', 'chen', 'cheng', 'chu', 'cui', 'dai', 'deng', 'ding', 'dong', 'du', 'duan', 'fan', 'fang', 'fei', 'feng', 'fu', 'gang', 'gao', 'gong', 'gu', 'gui', 'guo', 'han', 'hao', 'he', 'hou', 'hu', 'huang', 'hung', 'jen', 'jia', 'jiang', 'jie', 'jin', 'jing', 'jiu', 'juan', 'jun', 'kang', 'kong', 'lai', 'lan', 'lei', 'li', 'liang', 'liao', 'lin', 'liu', 'long', 'lu', 'luo', 'ma', 'mao', 'meng', 'min', 'ming', 'mo', 'na', 'pan', 'peng', 'ping', 'qian', 'qiang', 'qiao', 'qin', 'qiu', 'shao', 'shen', 'sheng', 'shi', 'shing', 'song', 'su', 'sun', 'tan', 'tang', 'tao', 'tian', 'to', 'wan', 'wang', 'wei', 'wen', 'wu', 'xi', 'xia', 'xiang', 'xiao', 'xie', 'xiong', 'xiu', 'xu', 'xue', 'yan', 'yang', 'yao', 'ye', 'yi', 'yin', 'ying', 'yong', 'yu', 'yuan', 'zeng', 'zhang', 'zhao', 'zheng', 'zhong', 'zhou', 'zhu', 'ziu', 'zou', ] FOREIGN_COUNTRIES = 'England Germany Japan Korea Thailand Brazil'.split() FOREIGN_NAMES = { 'England': 'Smith Jones Taylor Brown Williams Wilson \ Johnson Walker Robinson Green Roberts'.split(), 'Germany': 'Muller Schmidt Schneider Fischer Meyer Weber \ Schulz Becker Hoffmann'.split(), 'Japan': 'Satou Suzuki Takahashi Tanaka Watanabe Itou \ Nakamura Yamamoto Kobayashi Saitou'.split(), 'Korea': 'Kwan Kangjun Kai Khong Nham Thang Pohng'.split(), 'Thailand': 'Awut Channarong Khemkhaeng Puenthai Somchair Thuanthong'.split(), 'Brazil': 'Silva Santos Oliveira Souza Rodrigues'.split(), } # just for the record, here is the meanings of the Thai names: # Awut: "weapon" # Channarong: "experienced warrior" # Khemkhaeng: "strong" # Puenthai: "gun" # Somchair: "manly." # Thuanthong: Thai name meaning "golden spear." ROBBER_NICKNAMES = '''Atrocious Bloody Cruel Dragon Evil Fat Greedy Horrible Immortal Jerky Killer Little Mad Nasty Opium Powerful Quick Ruthless Strong Tiger Unbeatable Vicious Wild'''.split() TURTLE_NAMES = 'Leonardo Raphael Michelangelo Donatello'.split() CAPITAL_LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
class NegativeInteger(Exception): pass def pascalTriangle(n,r): a=[[1],[1,1]] for i in range(2,n+1): for j in range(r+1): if j<=i: if j==0: a.append([1]) elif i==j: a[i].append(1) else: a[i].append(a[i-1][j-1]+a[i-1][j]) return a[n][r] def combination(): print("This program computes combination of two natural numbers, n and r.") print("Press Control-C to quit.") print("Press Enter when you are ready.") while True: try: n=int(input("Enter n:")) r=int(input("Enter r:")) if n<0 or r<0: raise NegativeInteger assert r<=n print(n,"C",r," = ",pascalTriangle(n,r), sep="") except ValueError as e: print(e,"은 정수가 아닙니다.") except AssertionError: print("r <= n 을 만족하지 않습니다.") except NegativeInteger: if n<0: print("n >= 0 을 만족하지 않습니다.") else: print("r >= 0 을 만족하지 않습니다.") except KeyboardInterrupt: print("Goodbye!") break combination()
lista = [2, 5, 9, 4] lista[2] = 3 lista.append(7) lista.sort() print(lista) lista.sort(reverse=True) print(lista) print(f'Essa lista tem {len(lista)} elementos') lista.insert(2, 0) print(lista) lista.pop(1) print(lista) lista.insert(2, 2) print(lista) lista.remove(2) #remove a primeira ocorrência print(lista)
###################### #### Midterm-1 ####### ###################### def midterm1(): print("Midtem 1: ") weight1 = int(input("Weight (0-100)? ")) score1 = int(input("Score earned? ")) is_score_shifted1= int(input("Were scores shifted (1=yes, 2=no) ? ")) if is_score_shifted1 == 1: shift1 = int(input("Score shift ? ")) add = score1+shift1 if add >= 100: print("Total points = 100 / 100") print("Weighted score = "+str(float(weight1))+" / "+str(weight1)) return weight1 else: print("Total points = "+str(add)+" / 100") print("Weighted score = "+str(float(weight1))+" / "+str(weight1)) return (add*weight1)/100 else: weighted_score1 = (weight1*score1)/100 print("Total points = "+str(score1)+" / 100") print("Weighted score = "+str(round(weighted_score1,1))+ " / "+str(weight1)) return weighted_score1 ###################### #### Midterm-2 ####### ###################### def midterm2(): print() print("Midtem 2: ") weight2 = int(input("Weight (0-100)? ")) score2 = int(input("Score earned? ")) is_score_shifted2= int(input("Were scores shifted (1=yes, 2=no) ? ")) if is_score_shifted2 == 1: shift2 = int(input("Score shift ? ")) add = score2+shift2 if add >= 100: print("Total points = 100 / 100") print("Weighted score = "+str(float(weight2))+" / "+str(weight2)) return weight2 else: print("Total points = "+str(add)+" / 100") print("Weighted score = "+str(float(weight2))+" / "+str(weight2)) return (add*weight2)/100 else: weighted_score2 = (weight2*score2)/100 print("Total points = "+str(score2)+" / 100") print("Weighted score = "+str(round(weighted_score2,1))+" / "+str(weight2)) return weighted_score2 ###################### #### Final ####### ###################### def final(): print() print("Final: ") weightf = int(input("Weight (0-100)? ")) scoref = int(input("Score earned? ")) is_score_shiftedf= int(input("Were scores shifted (1=yes, 2=no) ? ")) if is_score_shiftedf == 1: shiftf = int(input("Score shift ? ")) add = scoref+shiftf if add >= 100: print("Total points = 100 / 100") print("Weighted score = "+str(float(weightf))+" / "+str(weightf)) return weightf else: print("Total points = "+str(add)+" / 100") print("Weighted score = "+str(float(weightf))+" / "+str(weightf)) return (add*weightf)/100 else: weighted_final = (weightf*scoref)/100 print("Total points = "+str(scoref)+" / 100") print("Weighted score = "+str(round(weighted_final,1))+" / "+str(weightf)) return weighted_final ###################### #### Homework ######## ###################### def homework(): print() list1 = [] list2 = [] print("Homework:") homework_weight=int(input("Weight(0-100)? ")) no_of_assign=int(input("Number of assignments? ")) for i in range(1,no_of_assign+1): assign_score=int(input("Assignment "+str(i)+" score? ")) assign_max=int(input("Assignment "+str(i)+" max? ")) list1.append(assign_score) list2.append(assign_max) sections=int(input("Number of sections attended? ")) print("Section points = "+str(sections*3)+" / 34") if (sum(list1)+(sections*3)) >= (sum(list2)+34): print('Total points = '+str(34 + sum(list2))+' /'+str(34 + sum(list2))) print('Weighted score = '+str(homework_weight)+' /'+str(homework_weight)) return homework_weight else: weighted_score = ((sum(list1) + (sections*3))*homework_weight)/(34 + sum(list2)) print('Total points = '+str(sum(list1)+(sections*3))+' / '+str(34 + sum(list2))) print('Weighted score = '+str(round(weighted_score,1))+' / '+str(homework_weight)) return round(weighted_score,1) ###################### #### Quizzes ######### ###################### def quizzes(): print() print("Quizzes: ") quizzes_weight = int(input("Weight (0-100)? ")) quizzes_scores = int(input("Total points earned? ")) quizzes_max = int(input("Total points possible? ")) weighted_quizzes = (quizzes_scores*quizzes_weight)/quizzes_max print("Total points = "+str(quizzes_scores)+" / "+str(quizzes_max)) print("Weighted score = "+str(round(weighted_quizzes,1))+" / "+str(quizzes_weight)) return round(weighted_quizzes,1) ###################### #### Daily Homework ## ###################### def daily_homework(): print() print("Daily homework: ") d_weight = int(input("Weight (0-100)? ")) d_scores = int(input("Total points earned? ")) d_max = int(input("Total points possible? ")) weighted_d = (d_scores*d_weight)/d_max print("Total points = "+str(d_scores)+" / "+str(d_max)) print("Weighted score = "+str(round(weighted_d,1))+" / "+str(d_weight)) return round(weighted_d,1) ###################### #### Grades ########## ###################### def grades(x): if x >= 90: return 'A' elif 80<=x<=90: return 'B' elif 70<=x<=80: return 'C' elif 60<=x<=70: return 'D' else: return 'F' ###################### #### Main ########## ###################### print("This program reads exam/homework scores and reports your overall course grade.") overall_percentage= round((midterm1()+midterm2()+final()+homework()+quizzes()+daily_homework()),1) print() print("Overall Percentage = "+str(overall_percentage)) which_grade = grades(overall_percentage) print("Your grade will be at least: "+str(which_grade)) if which_grade == 'A': print("<< Your limitation—it's only your imagination ! >>") elif which_grade == 'B': print("<< Great ! Always be a constant learner. >>") elif which_grade == 'C': print("<< Hardwork beats talent when talent doesn't work hard ! >>") elif which_grade == 'D': print("<< Never Stop Trying ! >>") elif which_grade == 'F': print("<< Failure is a stepping stone to Success ! >>")
''' Created on 07.11.2019 @author: JM ''' class TMC4361_register_variant: " ===== TMC4361 register variants ===== " "..."
load( "//:repositories.bzl", "com_github_scalapb_scalapb", "io_bazel_rules_scala", "io_grpc_grpc_java", "scalapb_runtime", "scalapb_runtime_grpc", "scalapb_lenses", "rules_proto_grpc_repos", ) def scala_repos(**kwargs): rules_proto_grpc_repos(**kwargs) io_grpc_grpc_java(**kwargs) com_github_scalapb_scalapb(**kwargs) scalapb_runtime(**kwargs) scalapb_runtime_grpc(**kwargs) scalapb_lenses(**kwargs) io_bazel_rules_scala(**kwargs)
def scope_demo(): # definition of variable is local to do_local(), and so doesn't survive # when method goes out of scope. (This draws a weak warning that the local # variable is not used.) def do_local(): spam = "local spam" # definition of variable is specifically not local to do_nonlocal(), so is defined # in scope_demo() namespace. Thus value change survives when do_nonlocal() goes # out of scope. def do_nonlocal(): nonlocal spam spam = "nonlocal spam" # definition of variable is specifically declared to exist outside of scope_demo(), at the # module level. Thus value is only seen by isolated statement (below) outside the # scope of scope_demo(). def do_global(): global spam spam = "global spam" spam = "test spam" do_local() print("After local assignment:", spam) do_nonlocal() print("After nonlocal assignment:", spam) do_global() print("After global assignment:", spam) scope_demo() print("In global scope:", spam)
# WAP to demonstrate simple exception handling in Python def ExceptionHandling(): try: a += 10 except NameError as e: print(e) def main(): ExceptionHandling() if __name__ == "__main__": main()
SECRET_KEY = 'gk2ptgp9mB' SALT = 'SALT' PERM_FILE = 'perms.json' UPLOAD_FOLDER = 'uploads' DB_FILE = 'db.db'
# variavel soma = 0 lista = [] # entrada number1 = int(input()) number2 = int(input()) # adicionando em uma lista para ordenar lista.append(number1) lista.append(number2) lista = sorted(lista) # percorre intervalo de numeros e soma os numeros que não são divisiveis por 13 for i in range(lista[0], lista[1] + 1): # se sobra resta da digisao somar numero if i % 13 != 0: soma = soma + i print(soma)
TURTLEBOT_RADIUS = 0.176 # loaded config default_config = { 'PLANE_URDF': ".\\data\\py_data\\plane.urdf", 'BLOCK_URDF': ".\\data\\py_data\\boston_box.urdf", 'BLOCK_DYN_URDF': ".\\data\\py_data\\boston_box_fl.urdf", 'TURTLEBOT_URDF': ".\\data\\py_data\\turtlebot.urdf", 'SPHERO_URDF': ".\\data\\py_data\\sphero.urdf", 'PORT_GUI_2_ALL': 17555, 'PORT_SENSE_2_PLAN': 17556, 'PORT_SENS_2_GUI': 17559, 'PORT_PLAN_2_ROB': 17557, 'PORT_PLAN_2_GUI': 17562, 'PORT_ROB_2_SENS': 17558, 'PORT_ROB_2_GUI': 17560, 'PORT_ROB_2_PLAN': 17561, 'PUB_PREFIX': "{UUID:0000-0000-0000-0000-1111}", 'TURN_RADIUS': 0.3, 'TURN_RADIUS_MIN': 0.1, 'TURN_RADIUS_MAX': 1., 'TURN_RADIUS_STEP': 0.1, 'ROB_SPEED': 0.1, 'ROB_SPEED_MIN': 0.1, 'ROB_SPEED_MAX': 0.6, 'ROB_SPEED_STEP': 0.1, 'ROB_RADIUS': TURTLEBOT_RADIUS, 'ROB_MODEL': 0, 'TANGENT_DIST_INNER_F': 2., 'TANGENT_DIST_OUTER_F': 4.5, 'TANGENT_DIST_INNER_F_MIN': 1.1, 'TANGENT_DIST_INNER_F_MAX': 7.1, 'TANGENT_DIST_INNER_F_STEP':1, 'TANGENT_DIST_OUTER_F_MIN': 1.1, 'TANGENT_DIST_OUTER_F_MAX': 7.1, 'TANGENT_DIST_OUTER_F_STEP':1, 'H_TOL': 0.2, 'D_TOL': 0.0, 'H_TOL_MIN': 0., 'H_TOL_MAX': 1., 'H_TOL_STEP': 0.1, 'D_TOL_MIN': 0., 'D_TOL_MAX': 1., 'D_TOL_STEP': 0.1, 'NODE_REMOVAL_DIST': 0.15, 'SCAN_EDGE_THRESHOLD': 0.35, 'RES_HORIZONTAL': 480, 'RES_VERTICAL': 70, 'RES_HORIZONTAL_MIN': 480, 'RES_HORIZONTAL_MAX': 4800, 'RES_HORIZONTAL_STEP': 432, 'PATH_RES': 0.05, 'PATH_RES_QUICK': 0.3, 'OBST_COURSE': 1, 'SCENARIOS': {'Clear': 0, 'Static Simple': 1, 'Static Cluttered': 2, 'Static C-Shape': 3, 'Dynamic Dodge-the-Bullet': 4, 'Dynamic Traffic-Lights': 5, 'Dynamic At-the-Mall': 6, 'Obstacle Experiment': 7}, 'ROBOTS': {'TurtleBot 2': 0, 'SphereBot Deterministic': 1, 'SphereBot Random': 2,}, 'OBSTACLE_MOVEMENT': 3, # only used in scenario 7 'P_START': [0., 0., 0.], 'O_START': [1., 0., 0.], 'P_GOAL': [8., 0., 0.], # Experiment config 'PATH_FNAME': 0, 'CONF_VALUES': [], 'SET_HEADER': 0, 'ITERATION': 0, 'EXP_TIMEOUT': 440 } class Config(object): def __init__(self, given_conf=None): if given_conf is None: self._config = default_config else: self._config = given_conf def get_property(self, property_name): if property_name not in self._config.keys(): # we don't want KeyError return None # just return None if not found return self._config[property_name] def set_property(self, property_name, property_value): self._config[property_name] = property_value @property def PORT_GUI_2_ALL(self): return self.get_property('PORT_GUI_2_ALL') @property def PORT_SENSE_2_PLAN(self): return self.get_property('PORT_SENSE_2_PLAN') @property def PORT_SENS_2_GUI(self): return self.get_property('PORT_SENS_2_GUI') @property def PORT_PLAN_2_ROB(self): return self.get_property('PORT_PLAN_2_ROB') @property def PORT_PLAN_2_GUI(self): return self.get_property('PORT_PLAN_2_GUI') @property def PORT_ROB_2_SENS(self): return self.get_property('PORT_ROB_2_SENS') @property def PORT_ROB_2_GUI(self): return self.get_property('PORT_ROB_2_GUI') @property def PORT_ROB_2_PLAN(self): return self.get_property('PORT_ROB_2_PLAN') @property def PUB_PREFIX(self): return self.get_property('PUB_PREFIX') @property def TURN_RADIUS(self): return self.get_property('TURN_RADIUS') @property def ROB_RADIUS(self): return self.get_property('ROB_RADIUS') @property def ROB_SPEED(self): return self.get_property('ROB_SPEED') @property def TANGENT_DIST_INNER(self): return self.get_property('ROB_RADIUS') * self.get_property('TANGENT_DIST_INNER_F') @property def TANGENT_DIST_OUTER(self): return self.get_property('ROB_RADIUS') * self.get_property('TANGENT_DIST_OUTER_F') @property def H_TOL(self): return self.get_property('H_TOL') @property def D_TOL(self): return self.get_property('D_TOL') @property def NODE_REMOVAL_DIST(self): return self.get_property('NODE_REMOVAL_DIST') @property def RES_HORIZONTAL(self): return self.get_property('RES_HORIZONTAL') @property def RES_VERTICAL(self): return self.get_property('RES_VERTICAL') @property def PATH_RES(self): return self.get_property('PATH_RES') @property def PATH_RES_QUICK(self): return self.get_property('PATH_RES_QUICK') @property def OBST_COURSE(self): return self.get_property('OBST_COURSE') @property def SCEN_CHOICES(self): return self.get_property('SCENARIOS') @property def ROB_CHOICES(self): return self.get_property('ROBOTS') @property def HEADLESS(self): return self.get_property('HEADLESS') @property def SCAN_EDGE_THRESHOLD(self): return self.get_property('SCAN_EDGE_THRESHOLD') @property def PLANE_URDF(self): return self.get_property('PLANE_URDF') @property def BLOCK_URDF(self): return self.get_property('BLOCK_URDF') @property def BLOCK_DYN_URDF(self): return self.get_property('BLOCK_DYN_URDF') @property def TURTLEBOT_URDF(self): return self.get_property('TURTLEBOT_URDF') @property def SPHERO_URDF(self): return self.get_property('SPHERO_URDF') @property def P_START(self): return self.get_property('P_START') @property def P_GOAL(self): return self.get_property('P_GOAL') @property def O_START(self): return self.get_property('O_START') @property def OBSTACLE_MOVEMENT(self): return self.get_property('OBSTACLE_MOVEMENT') @property def ROB_MODEL(self): return self.get_property('ROB_MODEL') def loadURDF(self, p, file, *args): try: return p.loadURDF(file, *args) except: return p.loadURDF("." + file, *args) def __getstate__(self): return self._config def __setstate__(self, state): self._config = state class ExpConfig(Config): """ 'PATH_FNAME': 0, 'CSV_FNAME': "", 'CONF_VALUES': [], 'SET_HEADER': 0, """ @property def PATH_FNAME(self): return self.get_property('PATH_FNAME') @property def CONF_VALUES(self): return self.get_property('CONF_VALUES') @property def SET_HEADER(self): return self.get_property('SET_HEADER') @property def ITERATION(self): return self.get_property('ITERATION') @property def EXP_TIMEOUT(self): return self.get_property('EXP_TIMEOUT')
"""Parsing Destinations from phone numbers. Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. """ def parse_destination(phone_number, destinations): """Find the matching destination for a phone number. Args: phone_number: a string number with no leading '+' destinations: a list of Destination instances Returns: a Destination instance or None if the prefix wasn't found. """ # Get all the prefixes. prefixes = [d.prefix for d in destinations] # The longest possible prefix is four digits, so we'll start with that as a # guess. possible_prefix = phone_number[0:4] while possible_prefix: if possible_prefix in prefixes: index = prefixes.index(possible_prefix) return destinations[index] else: # Pop off the last number and try again. possible_prefix = possible_prefix[0:-1] # Prefix not found. return None
# Uses python3 def get_fibonacci_last_digit_naive(n): if n <= 1: return n previous = 0 current = 1 for _ in range(n - 1): previous, current = current, previous + current return current % 10 def get_digit_fast(n): if n <= 1: return n prev, curr = 0, 1 for _ in range(n - 1): prev, curr = curr, (prev + curr) % 10 return curr if __name__ == '__main__': n = int(input()) print(get_digit_fast(n))
suitcase = ["sunglasses", "hat", "passport", "laptop", "suit", "shoes"] first = suitcase[0:2] # The first and second items (index zero and one) print(first) middle = suitcase[2:4] # Third and fourth items (index two and three) print(middle) last = suitcase[4:6] # The last two items (index four and five)
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """ Migrations Utility Module. Place here your migration helpers that is shared among number of migrations. """
def extrair_linha(nome_do_arquivo): with open(nome_do_arquivo) as arquivo: #print(arquivo.readlines()) return arquivo.readlines()[0] #READLINES LÊ O ARQUIVO INTEIRO E NESTE CASO RETORNA APENAS O PRIMEIRO TERMO DO ARRAY GERADO ; coloque o return comentado e acine o print para ver primeira_linha = extrair_linha("dados.txt") print(primeira_linha)
# https://leetcode.com/problems/decode-ways/submissions/ # https://leetcode.com/problems/decode-ways/discuss/253018/Python%3A-Easy-to-understand-explanation-bottom-up-dynamic-programming class Solution_recursion_memo: def numDecodings(self, s): L = len(s) def helper(idx, memo): if idx == L: return 1 if idx > L or s[idx] == '0': # we cannot land on '0' or exceed s return float('-inf') if idx in memo: return memo[idx] else: if s[idx] == '1' or (s[idx] == '2' and int(s[idx:idx+2]) < 27): one = helper(idx+1, memo) two = helper(idx+2, memo) res = max(one, 0) + max(two, 0) else: res = helper(idx+1, memo) memo[idx] = res return res res = helper(0, {}) return res if res != float('-inf') else 0 class Solution_dp_table: def numDecodings(self, s: str) -> int: if not s or s[0]=='0': return 0 dp = [0 for x in range(len(s) + 1)] # base case initialization dp[0:2] = [1,1] for i in range(2, len(s) + 1): # One step jump # need to ignore if it is '0', since it must belong to '10' or '20' which is handled below if 0 < int(s[i-1:i]): #(2) dp[i] = dp[i - 1] # Two step jump if 10 <= int(s[i-2:i]) <= 26: #(3) dp[i] += dp[i - 2] return dp[-1] def memoize(f): memo = {} def wrapper(*args): if args not in memo: memo[args] = f(*args) return memo[args] return wrapper # what are we memoizing? note that self.numDecodings(s[:-1]) will evaluate first. # as this recursive stack finishes, we already traversed the string s once # so when we evaluate self.numDecodings(s[:-2]), we can make use of some of the results we already calculated # this uses up more memory than the approach on top class Solution_memoize: @memoize def numDecodings(self, s): if len(s) == 0: return 1 elif len(s) == 1: if s[0] == '0': return 0 else: return 1 if int(s[-1]) > 0: if 9 < int(s[-2:]) < 27: return self.numDecodings(s[:-1]) + self.numDecodings(s[:-2]) else: return self.numDecodings(s[:-1]) elif 9 < int(s[-2:]) < 27: return self.numDecodings(s[:-2]) else: return 0
# Implement the function interval_intersection below. # You can define other functions if it helps you decompose and solve # the problem. # Do not import any module that you do not use! # Remember that if this were an exam problem, in order to be marked # this file must meet certain requirements: # - it must contain ONLY syntactically valid python code (any syntax # or indentation error that stops the file from running would result # in a mark of zero); # - you MAY NOT use global variables; the function must use only the # input provided to it in its arguments. def interval_intersection(lA, uA, lB, uB): if (lB >= lA and lB <= uA): if uB < uA: return uB - lB else: return uA - lB elif (lA >= lB and lA <= uB): if uA < uB: return uA - lA else: return uB - lA return 0 def test_interval_intersection(): """ This function runs a number of tests of the interval_intersection function. If it works ok, you will just see the output ("all tests passed") at the end when you call this function; if some test fails, there will be an error message. """ assert interval_intersection(0, 2, 4, 7.5) == 0.0, "no intersection (uA < lB)" assert interval_intersection(1, 3, 2.5, 6) == 0.5, "intersection is [2.5, 3]" assert interval_intersection(1, 3, 1.5, 5) == 1.5, "intersection is [1.5, 3]" assert interval_intersection(0, 2, -2, 1.5) == 1.5, "intersection is [0, 1.5]" assert interval_intersection(1, 3, 0, 3.5) == 2.0, "A is contained in B" assert interval_intersection(1.5, 3.5, 0, 3.5) == 2.0, "A is contained in B" print("all tests passed")
# Copyright 2019 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Define metadata constants.""" LABEL_COLUMN = 'labelArray' KEY_COLUMN = 'fullVisitorId' # columns to omit from model features NON_FEATURE_COLUMNS = [LABEL_COLUMN, KEY_COLUMN] NUM_INTERVALS = 4 # number of bounded churn duration intervals SEED = 123
# negative elements [-1,0,1] -> [0,1,1] # same elements [-2,-2,0,2] -> [0,2,2,2] """ 977. 有序数组的平方 给你一个按 非递减顺序 排序的整数数组 nums,返回 每个数字的平方 组成的新数组,要求也按 非递减顺序 排序。 示例 1: 输入:nums = [-4,-1,0,3,10] 输出:[0,1,9,16,100] 解释:平方后,数组变为 [16,1,0,9,100] 排序后,数组变为 [0,1,9,16,100] 示例 2: 输入:nums = [-7,-3,2,3,11] 输出:[4,9,9,49,121] 提示: 1 <= nums.length <= 104 -104 <= nums[i] <= 104 nums 已按 非递减顺序 排序 """ def square(num): return num*num """ 执行用时:52 ms, 在所有 Python3 提交中击败了99.73%的用户 内存消耗:16.5 MB, 在所有 Python3 提交中击败了5.01%的用户 class Solution: def sortedSquares(self, nums: List[int]) -> List[int]: if nums==[]: return elif len(nums)==1: return [nums[0]*nums[0]] else: absNums = list(map(abs,nums)) # print(absNums) absNums.sort() # print(absNums) result = list(map(square,absNums)) # print(result) return result """ """ 执行用时:68 ms, 在所有 Python3 提交中击败了98.08%的用户 内存消耗:16.3 MB, 在所有 Python3 提交中击败了5.01%的用户 """ class Solution: def sortedSquares(self, nums: List[int]) -> List[int]: if nums==[]: return elif len(nums)==1: return [nums[0]*nums[0]] else: neg = -1 for i in range(len(nums)): if nums[i]<0: neg = i if neg==-1: return list(map(square,nums)) elif neg==len(nums)-1: ans = list(map(square,nums)) ans.sort() return ans else: num1 = list(map(square,nums[0:neg+1])) num2 = list(map(square,nums[neg+1:])) idxl,idxr = len(num1)-1,0 ans = [] while idxl>=0 and idxr<len(num2): if num2[idxr]<num1[idxl]: ans.append(num2[idxr]) idxr+=1 else: ans.append(num1[idxl]) idxl-=1 if idxl<0: while idxr<len(num2): ans.append(num2[idxr]) idxr+=1 else: while idxl>=0: ans.append(num1[idxl]) idxl-=1 return ans
def distance(str1: str, str2: str) -> float: """ The Levenshtein distance is a string metric for measuring the difference between two sequences. It is calculated as the minimum number of single-character edits necessary to transform one string into another """ n, m = len(str1), len(str2) if n > m: str1, str2 = str2, str1 n, m = m, n current_row = range(n + 1) for i in range(1, m + 1): previous_row, current_row = current_row, [i] + [0] * n for j in range(1, n + 1): add, delete, change = previous_row[j] + 1, current_row[j - 1] + 1, previous_row[j - 1] if str1[j - 1] != str2[i - 1]: change += 1 current_row[j] = min(add, delete, change) return current_row[n]
num = int(input('Digite um número: ')) cont = 0 for c in range(1,num+1): if num % c == 0: print('\033[34m{}\33[m'.format(c),end=' ') cont += 1 else: print('\033[35m{}\033[m'.format(c),end=' ') if cont == 2: print('\nO número {} é primo!'.format(num)) else: print('\nO número {} NÃO é primo!'.format(num))
#!/usr/bin/env python3 all_cases = [[[8, 1, 6], [3, 5, 7], [4, 9, 2]], [[6, 1, 8], [7, 5, 3], [2, 9, 4]], [[4, 9, 2], [3, 5, 7], [8, 1, 6]], [[2, 9, 4], [7, 5, 3], [6, 1, 8]], [[8, 3, 4], [1, 5, 9], [6, 7, 2]], [[4, 3, 8], [9, 5, 1], [2, 7, 6]], [[6, 7, 2], [1, 5, 9], [8, 3, 4]], [[2, 7, 6], [9, 5, 1], [4, 3, 8]], ] s = [] for s_i in range(3): s_t = [int(s_temp) for s_temp in input().strip().split(' ')] s.append(s_t) diffs = [sum([abs(cases[i][j] - s[i][j]) for i in range(0, 3) for j in range(0, 3)]) for cases in all_cases] print(min(diffs)) # Origin code # for cases in all_cases: # diff = 0 # for i in range(0, 3): # for j in range(0, 3): # diff += abs(cases[i][j] - s[i][j]) # diffs.append(diff) # # tranpose sample # seeds.append([list(t) for t in list(zip(*seed))])
def CountWithPseudocounts(Motifs): t = len(Motifs) k = len(Motifs[0]) count = {} # insert your code here for symbol in "ACGT": count[symbol] = [] for j in range(k): count[symbol].append(1) for i in range(t): for j in range(k): symbol = Motifs[i][j] count[symbol][j] += 1 return count
DEBUG = True SECRET_KEY = 'trinity kevin place' SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/angular_flask.db'
def cb(result): print('Service has been created') heartbeatTimeout = 15 payload = {'tags': ['tag1', 'tag2', 'tag3']} d = client.services.register('serviceId', heartbeatTimeout, payload) d.addCallback(cb) reactor.run()
# Code generated by font-to-py.py. # Font: DejaVuSans.ttf version = '0.26' def height(): return 20 def max_width(): return 20 def hmap(): return False def reverse(): return False def monospaced(): return False def min_ch(): return 32 def max_ch(): return 126 _font =\ b'\x0a\x00\x0c\x00\x00\x06\x00\x00\x06\x6e\x00\x86\x6f\x00\xce\x01'\ b'\x00\x7c\x00\x00\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x08\x00\xfe\x67\x00\xfe\x67\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00'\ b'\x3e\x00\x00\x3e\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x00\x00\x3e'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x06\x00\x30\x06\x00'\ b'\x30\x66\x00\x30\x7f\x00\xf0\x07\x00\x3f\x06\x00\x31\x46\x00\x30'\ b'\x7e\x00\xf0\x0f\x00\x7f\x06\x00\x33\x06\x00\x30\x06\x00\x30\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\xe0\x30\x00\xf0'\ b'\x61\x00\xb8\x61\x00\x98\x63\x00\xfe\xff\x03\x18\x63\x00\x18\x73'\ b'\x00\x30\x3e\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x12\x00\x78\x00\x00\xfe\x01\x00\x02\x01\x00\x02\x41\x00\xfe\x31'\ b'\x00\x78\x18\x00\x00\x06\x00\x00\x03\x00\xc0\x00\x00\x60\x00\x00'\ b'\x18\x1e\x00\x8c\x7f\x00\x82\x40\x00\x80\x40\x00\x80\x7f\x00\x00'\ b'\x1e\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00\x1e\x00\x00\x3f\x00'\ b'\xf8\x33\x00\xfc\x61\x00\xce\x61\x00\x86\x63\x00\x06\x77\x00\x06'\ b'\x3e\x00\x0c\x1c\x00\x00\x3e\x00\x00\x77\x00\x00\x63\x00\x00\x40'\ b'\x00\x00\x00\x00\x04\x00\x3e\x00\x00\x3e\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x07\x00\xc0\x1f\x00\xf8\xff\x00\x1e\xc0\x03\x02\x00\x02'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x02\x00\x02\x1e\xc0'\ b'\x03\xf8\xff\x00\xc0\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x0a\x00\x84\x00\x00\x48\x00\x00\x48\x00\x00\x30\x00\x00\xfe\x01'\ b'\x00\x30\x00\x00\x48\x00\x00\x48\x00\x00\x84\x00\x00\x00\x00\x00'\ b'\x10\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x03'\ b'\x00\xf8\x7f\x00\xf8\x7f\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00'\ b'\x00\x03\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x06\x00\x00\x00\x03\x00\xe0\x01\x00\xe0\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x07\x00\x00\x06\x00\x00\x06\x00\x00\x06'\ b'\x00\x00\x06\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00'\ b'\x60\x00\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x06\x00\x00\x80\x01\x00\xf8\x01\x80\x7f\x00\xf8\x07\x00\x7e'\ b'\x00\x00\x06\x00\x00\x0c\x00\xf0\x0f\x00\xf8\x1f\x00\x1c\x38\x00'\ b'\x06\x60\x00\x06\x60\x00\x06\x60\x00\x06\x60\x00\x1c\x38\x00\xf8'\ b'\x1f\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x0c\x60\x00'\ b'\x0c\x60\x00\x06\x60\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x60\x00\x00'\ b'\x60\x00\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x0c\x00\x0c\x60\x00\x06\x70\x00\x06\x78\x00\x06\x7c\x00\x06'\ b'\x6e\x00\x06\x67\x00\x8e\x63\x00\xfc\x60\x00\x78\x60\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x0c\x30\x00\x06\x60\x00\x86'\ b'\x61\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\xce\x73\x00\x7c\x3f'\ b'\x00\x78\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x00'\ b'\x0e\x00\x00\x0f\x00\xc0\x0d\x00\x70\x0c\x00\x18\x0c\x00\x0e\x0c'\ b'\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x0c\x00\x00\x0c\x00\x00\x00\x00'\ b'\x00\x00\x00\x0c\x00\x00\x30\x00\xfe\x61\x00\xfe\x60\x00\xc6\x60'\ b'\x00\xc6\x60\x00\xc6\x60\x00\xc6\x31\x00\x86\x3f\x00\x00\x1f\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\xe0\x0f\x00\xf8\x3f'\ b'\x00\x9c\x31\x00\x8e\x60\x00\xc6\x60\x00\xc6\x60\x00\xc6\x60\x00'\ b'\xc6\x71\x00\x8c\x3f\x00\x00\x1f\x00\x00\x00\x00\x00\x00\x00\x0c'\ b'\x00\x06\x00\x00\x06\x00\x00\x06\x40\x00\x06\x78\x00\x06\x3f\x00'\ b'\xc6\x07\x00\xfe\x01\x00\x3e\x00\x00\x06\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x0c\x00\x38\x1e\x00\x7c\x3f\x00\xce\x73\x00'\ b'\x86\x61\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\xce\x73\x00\x7c'\ b'\x3f\x00\x38\x1e\x00\x00\x00\x00\x00\x00\x00\x0c\x00\xf8\x00\x00'\ b'\xfc\x31\x00\x8e\x63\x00\x06\x63\x00\x06\x63\x00\x06\x63\x00\x06'\ b'\x71\x00\x8c\x39\x00\xfc\x1f\x00\xf0\x07\x00\x00\x00\x00\x00\x00'\ b'\x00\x06\x00\x60\x60\x00\x60\x60\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x06\x00\x00\x00\x03\x60\xe0\x01\x60\xe0\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x03\x00\x00\x03'\ b'\x00\x80\x07\x00\x80\x07\x00\x80\x07\x00\xc0\x0c\x00\xc0\x0c\x00'\ b'\xc0\x0c\x00\x60\x18\x00\x60\x18\x00\x60\x18\x00\x30\x30\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\xc0\x0c\x00'\ b'\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0'\ b'\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c\x00\xc0\x0c'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x30'\ b'\x30\x00\x60\x18\x00\x60\x18\x00\x60\x18\x00\xc0\x0c\x00\xc0\x0c'\ b'\x00\xc0\x0c\x00\x80\x07\x00\x80\x07\x00\x80\x07\x00\x00\x03\x00'\ b'\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0a'\ b'\x00\x0c\x00\x00\x06\x00\x00\x06\x6e\x00\x86\x6f\x00\xce\x01\x00'\ b'\x7c\x00\x00\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13'\ b'\x00\x80\x1f\x00\xe0\x3f\x00\x78\xf0\x00\x18\xc0\x01\x0c\x80\x01'\ b'\x8c\x8f\x03\xc6\x1f\x03\xc6\x18\x03\xc6\x18\x03\x86\x08\x03\xc6'\ b'\x1f\x03\xc6\x9f\x01\x0c\xd8\x00\x1c\x08\x00\x38\x0c\x00\xf0\x07'\ b'\x00\xc0\x03\x00\x00\x00\x00\x00\x00\x00\x0d\x00\x00\x40\x00\x00'\ b'\x78\x00\x00\x3e\x00\xc0\x0f\x00\xf8\x0d\x00\x3e\x0c\x00\x0e\x0c'\ b'\x00\x3e\x0c\x00\xf8\x0d\x00\xc0\x0f\x00\x00\x3e\x00\x00\x78\x00'\ b'\x00\x40\x00\x0d\x00\xfe\x7f\x00\xfe\x7f\x00\x86\x61\x00\x86\x61'\ b'\x00\x86\x61\x00\x86\x61\x00\xce\x61\x00\xfc\x73\x00\x78\x3e\x00'\ b'\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0d\x00\xe0\x07'\ b'\x00\xf8\x1f\x00\x1c\x38\x00\x0c\x30\x00\x06\x60\x00\x06\x60\x00'\ b'\x06\x60\x00\x06\x60\x00\x06\x60\x00\x06\x60\x00\x0c\x30\x00\x00'\ b'\x00\x00\x00\x00\x00\x0f\x00\xfe\x7f\x00\xfe\x7f\x00\x06\x60\x00'\ b'\x06\x60\x00\x06\x60\x00\x06\x60\x00\x06\x60\x00\x0e\x70\x00\x0c'\ b'\x30\x00\x1c\x38\x00\xf8\x1f\x00\xe0\x07\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x0c\x00\xfe\x7f\x00\xfe\x7f\x00\x86\x61\x00\x86'\ b'\x61\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\x86\x61'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\xfe\x7f\x00\xfe'\ b'\x7f\x00\x86\x01\x00\x86\x01\x00\x86\x01\x00\x86\x01\x00\x86\x01'\ b'\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\xe0'\ b'\x07\x00\xf8\x1f\x00\x1c\x38\x00\x0c\x30\x00\x06\x60\x00\x06\x60'\ b'\x00\x06\x60\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\x8c\x3f\x00'\ b'\x80\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\xfe\x7f'\ b'\x00\xfe\x7f\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00'\ b'\x80\x01\x00\x80\x01\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\xfe\x7f\x00\xfe\x7f\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00'\ b'\x06\x00\x00\x06\x00\x00\x07\xfe\xff\x03\xfe\xff\x01\x00\x00\x00'\ b'\x0c\x00\xfe\x7f\x00\xfe\x7f\x00\xc0\x01\x00\xe0\x03\x00\x70\x07'\ b'\x00\x38\x0e\x00\x1c\x1c\x00\x0e\x38\x00\x06\x70\x00\x02\x60\x00'\ b'\x00\x40\x00\x00\x00\x00\x0b\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x60'\ b'\x00\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\x60\x00'\ b'\x00\x60\x00\x00\x00\x00\x00\x00\x00\x10\x00\xfe\x7f\x00\xfe\x7f'\ b'\x00\x0e\x00\x00\x7e\x00\x00\xf0\x03\x00\x80\x0f\x00\x80\x0f\x00'\ b'\xf0\x03\x00\x7e\x00\x00\x0e\x00\x00\xfe\x7f\x00\xfe\x7f\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\xfe\x7f\x00'\ b'\xfe\x7f\x00\x1e\x00\x00\x78\x00\x00\xe0\x01\x00\x80\x07\x00\x00'\ b'\x1e\x00\x00\x78\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x0f\x00\xe0\x07\x00\xf8\x1f\x00\x1c'\ b'\x38\x00\x0c\x30\x00\x06\x60\x00\x06\x60\x00\x06\x60\x00\x06\x60'\ b'\x00\x06\x60\x00\x0c\x30\x00\x1c\x38\x00\xf8\x1f\x00\xe0\x07\x00'\ b'\x00\x00\x00\x00\x00\x00\x0c\x00\xfe\x7f\x00\xfe\x7f\x00\x86\x01'\ b'\x00\x86\x01\x00\x86\x01\x00\x86\x01\x00\xce\x01\x00\xfc\x00\x00'\ b'\x78\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\xe0\x07'\ b'\x00\xf8\x1f\x00\x1c\x38\x00\x0c\x30\x00\x06\x60\x00\x06\x60\x00'\ b'\x06\x60\x00\x06\x60\x00\x06\xe0\x01\x0c\xb0\x01\x1c\x38\x01\xf8'\ b'\x1f\x00\xe0\x07\x00\x00\x00\x00\x00\x00\x00\x0d\x00\xfe\x7f\x00'\ b'\xfe\x7f\x00\x86\x01\x00\x86\x01\x00\x86\x01\x00\x86\x01\x00\xce'\ b'\x07\x00\xfc\x1e\x00\x78\x7c\x00\x00\x70\x00\x00\x40\x00\x00\x00'\ b'\x00\x00\x00\x00\x0c\x00\x78\x30\x00\xfc\x60\x00\xce\x60\x00\xc6'\ b'\x60\x00\x86\x61\x00\x86\x61\x00\x86\x61\x00\x86\x73\x00\x0c\x3f'\ b'\x00\x00\x1e\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x06\x00\x00\x06'\ b'\x00\x00\x06\x00\x00\x06\x00\x00\x06\x00\x00\xfe\x7f\x00\xfe\x7f'\ b'\x00\x06\x00\x00\x06\x00\x00\x06\x00\x00\x06\x00\x00\x06\x00\x00'\ b'\x0e\x00\xfe\x0f\x00\xfe\x3f\x00\x00\x30\x00\x00\x60\x00\x00\x60'\ b'\x00\x00\x60\x00\x00\x60\x00\x00\x30\x00\xfe\x3f\x00\xfe\x0f\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0d\x00\x02\x00'\ b'\x00\x1e\x00\x00\x7c\x00\x00\xf0\x03\x00\x80\x1f\x00\x00\x7c\x00'\ b'\x00\x70\x00\x00\x7c\x00\x80\x1f\x00\xf0\x03\x00\x7c\x00\x00\x1e'\ b'\x00\x00\x02\x00\x00\x14\x00\x06\x00\x00\x7e\x00\x00\xf8\x07\x00'\ b'\x80\x7f\x00\x00\x78\x00\x00\x7e\x00\xe0\x1f\x00\xfe\x01\x00\x1e'\ b'\x00\x00\x1e\x00\x00\xfe\x01\x00\xe0\x1f\x00\x00\x7e\x00\x00\x78'\ b'\x00\x80\x7f\x00\xf8\x07\x00\x7e\x00\x00\x06\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x0e\x00\x00\x40\x00\x02\x60\x00\x06\x78\x00\x1e\x1c'\ b'\x00\x78\x0f\x00\xf0\x07\x00\xc0\x03\x00\xf0\x0f\x00\x38\x1e\x00'\ b'\x1e\x78\x00\x06\x60\x00\x02\x40\x00\x00\x00\x00\x00\x00\x00\x0c'\ b'\x00\x02\x00\x00\x06\x00\x00\x1e\x00\x00\x38\x00\x00\xf0\x00\x00'\ b'\xc0\x7f\x00\xc0\x7f\x00\xf0\x00\x00\x38\x00\x00\x1e\x00\x00\x06'\ b'\x00\x00\x02\x00\x00\x0d\x00\x06\x60\x00\x06\x70\x00\x06\x7c\x00'\ b'\x06\x6e\x00\x06\x67\x00\xc6\x63\x00\xe6\x60\x00\x76\x60\x00\x3e'\ b'\x60\x00\x0e\x60\x00\x06\x60\x00\x00\x00\x00\x00\x00\x00\x07\x00'\ b'\xfe\xff\x03\xfe\xff\x03\x06\x00\x03\x06\x00\x03\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x06\x00\x06\x00\x00\x7e\x00\x00\xf8\x07\x00'\ b'\x80\x7f\x00\x00\xf8\x01\x00\x80\x01\x07\x00\x06\x00\x03\x06\x00'\ b'\x03\xfe\xff\x03\xfe\xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x10\x00\x00\x00\x00\x20\x00\x00\x10\x00\x00\x18\x00\x00\x0c\x00'\ b'\x00\x06\x00\x00\x06\x00\x00\x0c\x00\x00\x18\x00\x00\x10\x00\x00'\ b'\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x0a\x00\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00\x80\x01'\ b'\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00'\ b'\x80\x01\x0a\x00\x01\x00\x00\x03\x00\x00\x0e\x00\x00\x08\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x0b\x00\x00\x3c\x00\xc0\x7e\x00\x60\x63\x00\x60\x63\x00'\ b'\x60\x63\x00\x60\x63\x00\x60\x33\x00\xc0\x7f\x00\x80\x7f\x00\x00'\ b'\x00\x00\x00\x00\x00\x0b\x00\xfe\x7f\x00\xfe\x7f\x00\xc0\x30\x00'\ b'\x60\x60\x00\x60\x60\x00\x60\x60\x00\xe0\x70\x00\xc0\x3f\x00\x80'\ b'\x1f\x00\x00\x00\x00\x00\x00\x00\x09\x00\x00\x0f\x00\xc0\x3f\x00'\ b'\xc0\x30\x00\x60\x60\x00\x60\x60\x00\x60\x60\x00\x60\x60\x00\xc0'\ b'\x30\x00\x00\x00\x00\x0b\x00\x80\x1f\x00\xc0\x3f\x00\xe0\x70\x00'\ b'\x60\x60\x00\x60\x60\x00\x60\x60\x00\xc0\x30\x00\xfe\x7f\x00\xfe'\ b'\x7f\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x0f\x00\xc0\x3f\x00'\ b'\xc0\x36\x00\x60\x66\x00\x60\x66\x00\x60\x66\x00\x60\x66\x00\xe0'\ b'\x66\x00\xc0\x67\x00\x80\x37\x00\x00\x00\x00\x07\x00\x60\x00\x00'\ b'\x60\x00\x00\xfc\x7f\x00\xfe\x7f\x00\x66\x00\x00\x66\x00\x00\x66'\ b'\x00\x00\x0b\x00\x80\x1f\x00\xc0\x3f\x03\xe0\x70\x06\x60\x60\x06'\ b'\x60\x60\x06\x60\x60\x06\xc0\x30\x07\xe0\xff\x03\xe0\xff\x00\x00'\ b'\x00\x00\x00\x00\x00\x0c\x00\xfe\x7f\x00\xfe\x7f\x00\xc0\x00\x00'\ b'\x60\x00\x00\x60\x00\x00\x60\x00\x00\xe0\x00\x00\xc0\x7f\x00\x80'\ b'\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\xe6\x7f\x00'\ b'\xe6\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00'\ b'\x06\x00\x00\x06\xe6\xff\x07\xe6\xff\x03\x00\x00\x00\x0b\x00\xfe'\ b'\x7f\x00\xfe\x7f\x00\x00\x06\x00\x00\x0f\x00\x80\x19\x00\xc0\x30'\ b'\x00\x60\x60\x00\x20\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x05\x00\xfe\x7f\x00\xfe\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x11\x00\xe0\x7f\x00\xe0\x7f\x00\xc0\x00\x00\x60\x00\x00\x60'\ b'\x00\x00\x60\x00\x00\xe0\x7f\x00\x80\x7f\x00\xc0\x00\x00\x60\x00'\ b'\x00\x60\x00\x00\x60\x00\x00\xe0\x7f\x00\x80\x7f\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x0c\x00\xe0\x7f\x00\xe0\x7f\x00\xc0\x00'\ b'\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\xe0\x00\x00\xc0\x7f\x00'\ b'\x80\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x0f'\ b'\x00\xc0\x3f\x00\xc0\x30\x00\x60\x60\x00\x60\x60\x00\x60\x60\x00'\ b'\x60\x60\x00\xc0\x30\x00\xc0\x3f\x00\x00\x0f\x00\x00\x00\x00\x0b'\ b'\x00\xe0\xff\x07\xe0\xff\x07\xc0\x30\x00\x60\x60\x00\x60\x60\x00'\ b'\x60\x60\x00\xe0\x70\x00\xc0\x3f\x00\x80\x1f\x00\x00\x00\x00\x00'\ b'\x00\x00\x0b\x00\x80\x1f\x00\xc0\x3f\x00\xe0\x70\x00\x60\x60\x00'\ b'\x60\x60\x00\x60\x60\x00\xc0\x30\x00\xe0\xff\x07\xe0\xff\x07\x00'\ b'\x00\x00\x00\x00\x00\x08\x00\xe0\x7f\x00\xe0\x7f\x00\xc0\x00\x00'\ b'\x60\x00\x00\x60\x00\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x09'\ b'\x00\xc0\x31\x00\xc0\x63\x00\x60\x63\x00\x60\x63\x00\x60\x66\x00'\ b'\x60\x66\x00\x60\x3e\x00\xc0\x3c\x00\x00\x00\x00\x08\x00\x60\x00'\ b'\x00\xfc\x3f\x00\xfc\x7f\x00\x60\x60\x00\x60\x60\x00\x60\x60\x00'\ b'\x60\x60\x00\x00\x00\x00\x0c\x00\xe0\x1f\x00\xe0\x3f\x00\x00\x70'\ b'\x00\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\x30\x00\xe0\x7f\x00'\ b'\xe0\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x20\x00'\ b'\x00\xe0\x01\x00\xc0\x0f\x00\x00\x3e\x00\x00\x70\x00\x00\x70\x00'\ b'\x00\x3e\x00\xc0\x0f\x00\xe0\x01\x00\x20\x00\x00\x00\x00\x00\x11'\ b'\x00\xe0\x00\x00\xe0\x0f\x00\x00\x7f\x00\x00\x70\x00\x00\x7c\x00'\ b'\x80\x0f\x00\xe0\x01\x00\xe0\x01\x00\x80\x0f\x00\x00\x7c\x00\x00'\ b'\x70\x00\x00\x7f\x00\xe0\x0f\x00\xe0\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x0b\x00\x20\x40\x00\x60\x60\x00\xe0\x79\x00\x80'\ b'\x1f\x00\x00\x06\x00\x00\x06\x00\x80\x1f\x00\xe0\x79\x00\x60\x60'\ b'\x00\x20\x40\x00\x00\x00\x00\x0c\x00\x00\x00\x00\x60\x00\x00\xe0'\ b'\x01\x06\x80\x07\x06\x00\x9e\x07\x00\xf8\x03\x00\xf8\x00\x00\x1e'\ b'\x00\x80\x07\x00\xe0\x01\x00\x60\x00\x00\x00\x00\x00\x0b\x00\x60'\ b'\x60\x00\x60\x70\x00\x60\x7c\x00\x60\x7e\x00\x60\x67\x00\xe0\x63'\ b'\x00\xe0\x60\x00\x60\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x0c\x00\x00\x03\x00\x00\x03\x00\x00\x07\x00\xfc\xff\x03\xfe\xfc'\ b'\x07\x06\x00\x06\x06\x00\x06\x06\x00\x06\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x06\x00\xfe\xff\x0f\xfe\xff\x0f\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x06\x00\x06\x06'\ b'\x00\x06\x06\x00\x06\xfe\xfc\x07\xfc\xff\x03\x00\x07\x00\x00\x03'\ b'\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x10\x00\x00\x03\x00\x80\x01\x00\x80\x01\x00\x80\x01\x00\x80\x01'\ b'\x00\x80\x01\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00'\ b'\x00\x03\x00\x80\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00' _index =\ b'\x00\x00\x20\x00\x34\x00\x4e\x00\x68\x00\x9a\x00\xc0\x00\xf8\x00'\ b'\x24\x01\x32\x01\x49\x01\x60\x01\x80\x01\xb2\x01\xc6\x01\xdd\x01'\ b'\xf1\x01\x05\x02\x2b\x02\x51\x02\x77\x02\x9d\x02\xc3\x02\xe9\x02'\ b'\x0f\x03\x35\x03\x5b\x03\x81\x03\x95\x03\xa9\x03\xdb\x03\x0d\x04'\ b'\x3f\x04\x5f\x04\x9a\x04\xc3\x04\xec\x04\x15\x05\x44\x05\x6a\x05'\ b'\x8d\x05\xbc\x05\xe8\x05\xfc\x05\x10\x06\x36\x06\x59\x06\x8b\x06'\ b'\xb7\x06\xe6\x06\x0c\x07\x3b\x07\x64\x07\x8a\x07\xb0\x07\xdc\x07'\ b'\x05\x08\x43\x08\x6f\x08\x95\x08\xbe\x08\xd5\x08\xe9\x08\x00\x09'\ b'\x32\x09\x52\x09\x72\x09\x95\x09\xb8\x09\xd5\x09\xf8\x09\x1b\x0a'\ b'\x32\x0a\x55\x0a\x7b\x0a\x8c\x0a\x9d\x0a\xc0\x0a\xd1\x0a\x06\x0b'\ b'\x2c\x0b\x4f\x0b\x72\x0b\x95\x0b\xaf\x0b\xcc\x0b\xe6\x0b\x0c\x0c'\ b'\x2f\x0c\x64\x0c\x87\x0c\xad\x0c\xd0\x0c\xf6\x0c\x0a\x0d\x30\x0d'\ b'\x62\x0d' _mvfont = memoryview(_font) def _chr_addr(ordch): offset = 2 * (ordch - 32) return int.from_bytes(_index[offset:offset + 2], 'little') def get_width(s): width = 0 for ch in s: ordch = ord(ch) ordch = ordch + 1 if ordch >= 32 and ordch <= 126 else 32 offset = _chr_addr(ordch) width += int.from_bytes(_font[offset:offset + 2], 'little') return width def get_ch(ch): ordch = ord(ch) ordch = ordch + 1 if ordch >= 32 and ordch <= 126 else 32 offset = _chr_addr(ordch) width = int.from_bytes(_font[offset:offset + 2], 'little') next_offs = _chr_addr(ordch +1) return _mvfont[offset + 2:next_offs], width
DEFAULT_MAPPING = { "login": "login", "password": "password", "account": "account", } MODULE_KEY = "click_creds.classes.ClickCreds"
def filter_comments(source): buffer = [] comment_depth = 0 for ch in source: if ch == "[": comment_depth += 1 elif ch == "]": assert comment_depth > 0 comment_depth -= 1 else: if comment_depth == 0: buffer.append(ch) return "".join(buffer) def tokenize(source: str): "it just works, dude" word_buffer = [] tokens = [] def add_word(): nonlocal word_buffer if word_buffer: tokens.append("".join(word_buffer)) word_buffer = [] for ch in source: if ch in "'()": add_word() tokens.append(ch) elif ch in " \n": add_word() else: word_buffer.append(ch) add_word() return tokens def is_word(tokens): return tokens[-1] not in "'()" def is_quote(tokens): return tokens[-1] == "'" def is_list(tokens): return tokens[-1] == "(" def is_list_end(tokens): return tokens[-1] == ")" def read(tokens): """ LL(1) recursive descent parser. Uses reverse token order for efficiency (pop() vs pop(0)) """ if not tokens: return if is_word(tokens): return ("word", tokens.pop()) elif is_quote(tokens): tokens.pop() v = read(tokens) assert v is not None return ("quote", v) elif is_list(tokens): tokens.pop() values = [] while not is_list_end(tokens): v = read(tokens) assert v is not None # close your parens, dude values.append(v) tokens.pop() return ("list", values) assert not is_list_end(tokens) # don’t close before opening, dude # wait, what happened, dude ? raise SyntaxError("check your facts, dude") def read_all(tokens): tokens = tokens[::-1] values = [] while (v := read(tokens)) is not None: values.append(v) return values def parse(source: str): return read_all(tokenize(filter_comments(source)))
if __name__ == "__main__": im = 256 ih = 256 print("P3\n",im," ",ih,"\n255\n") for j in range(ih, 0, -1): for i in range(im): r = i / (im-1) g = j / (ih -1) b = 0.25 ir = int(255.999 * r) ig = int(255.999 * g) ib = int(255.999 * b) print(ir, " ", ig, " ", ib)
def maxRepeating(str): l = len(str) count = 0 res = str[0] for i in range(l): cur_count = 1 for j in range(i + 1, l): if (str[i] != str[j]): break cur_count += 1 # Update result if required if cur_count > count : count = cur_count res = str[i] return res lst = [] # number of elemetns as input N = int(input()) # iterating till the range for i in range(0, N): ele = int(input()) lst.append(ele) # adding the element ltos=' '.join([str(elem) for elem in lst]) print(maxRepeating(ltos))
dot3StatsTable = u'.1.3.6.1.2.1.10.7.2.1' dot3StatsAlignmentErrors = dot3StatsTable + u'.2' dot3StatsFCSErrors = dot3StatsTable + u'.3' dot3StatsFrameTooLongs = dot3StatsTable + u'.13' dots3stats_table_oids = [dot3StatsFCSErrors, dot3StatsAlignmentErrors, dot3StatsFrameTooLongs]
x1 = 1 y1 = 0 x2 = 0 y2 = -2 m1 = (y2 / x1) print(f'X-intercept = {x1, x2} and Y-intercept = {y1, y2}\nSlope = {m1}') # 8
""" 题目:输入一棵二叉树的根节点 判断该树是不是平衡二叉树 如果某二叉树中任一节点的左右子树的深度相差不超过1 则它就是一棵平衡二叉树 思路:基于coding_interview_55.py脚本内函数 遍历节点 求出任意节点的左右子树的深度 判断其深度之差不超过1 这样算法复杂度为O(n^2) 存在重复遍历 """ class Solution(object): def IsBalancedBinaryTree(self, root): if root is None: return True leftDepth = self.TreeDepth(root.left) rightDepth = self.TreeDepth(root.right) if abs(leftDepth - rightDepth) <= 1: return self.IsBalancedBinaryTree(root.left) and self.IsBalancedBinaryTree(root.right) def TreeDepth(self, root): if root is None: return 0 return max(root.left, root.right) + 1
#!/usr/bin/env python 3 # -*- coding: utf-8 -*- # 20 вариант # Дано предложение. Определить, сколько в нем одинаковых соседних букв. if __name__ == '__main__': a = input("Введите предложение: ") b = '' count = 1 for i in range(len(a)): if a[i] == b: count += 1 else: b = a[i] print(f"Соседских букв: {count}")
# ~/dev/py/fieldz/littleBigTest.py """ This has been hacked down from bigTest.py by eliminating field types that we can't handle yet. """ LITTLE_BIG_PROTO_SPEC = """ protocol org.xlattice.fieldz.test.littleBigProto message bigTestMsg: # required fields, unnumbered vBoolReqField vbool vEnumReqField venum vuInt32ReqField vuint32 vuInt64ReqField vuint64 vsInt32ReqField vsint32 vsInt64ReqField vsint64 #vuInt32ReqField vuint32 # MAYBE NEVER #vuInt64ReqField vuint64 # --ditto-- fsInt32ReqField fsint32 fuInt32ReqField fuint32 fFloatReqField ffloat fsInt64ReqField fsint64 fuInt64ReqField fuint64 fDoubleReqField fdouble lStringReqField lstring lBytesReqField lbytes #lMsgReqField lmsg # NOT YET fBytes16ReqField fbytes16 fBytes20ReqField fbytes20 fBytes32ReqField fbytes32 # Can't handle ANY optional (?), star (*), and plus (+) types. """
"""p2 server constants""" # Matches full Request Path, starting with leading slash TAG_SERVE_MATCH_PATH = 'serve.p2.io/match/path' # Matches relative Request Path, without leading slash TAG_SERVE_MATCH_PATH_RELATIVE = 'serve.p2.io/match/path/relative' # Matches request Hostname TAG_SERVE_MATCH_HOST = 'serve.p2.io/match/host' # Match any Header mentioned here # https://docs.djangoproject.com/en/2.2/ref/request-response/#django.http.HttpRequest.META # e.g. serve.p2.io/match/meta/HTTP_USER_AGENT TAG_SERVE_MATCH_META = 'serve.p2.io/match/meta/'
# سم الله الرحمن الرحيم def add_numbers(a, b): return a + b print(add_numbers(1,2)) print(add_numbers(3,4)) print(add_numbers(6,7))
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on: 2021/07/10 12:48 @Author: Merc2 '''
# -*- coding: utf-8 -*- """Classes for AWS accounts.""" # import boto3 # from botocore.exceptions import ClientError class OrgAccount: """Manage AWS Accounts from AWS Organizations.""" def __init__(self, SESSION): """Create an OrgAccount object.""" self.session = SESSION self.org = self.session.client('organizations') def get_accounts(self): """Get child accounts for current profile.""" accounts = [] response = self.org.list_accounts() for account in response['Accounts']: accounts = accounts + [{'AccountId': account['Id'], 'AccountName': account['Name']}] while not (response.get('NextToken',None) is None): response = self.org.list_accounts(NextToken=response['NextToken']) for account in response['Accounts']: accounts = accounts + [{'AccountId': account['Id'], 'AccountName': account['Name']}] return accounts
class Xbpm(Device): x = Cpt(EpicsSignalRO, 'Pos:X-I') y = Cpt(EpicsSignalRO, 'Pos:Y-I') a = Cpt(EpicsSignalRO, 'Ampl:ACurrAvg-I') b = Cpt(EpicsSignalRO, 'Ampl:BCurrAvg-I') c = Cpt(EpicsSignalRO, 'Ampl:CCurrAvg-I') d = Cpt(EpicsSignalRO, 'Ampl:DCurrAvg-I') total = Cpt(EpicsSignalRO, 'Ampl:CurrTotal-I') class Best(Device): x_mean = Cpt(EpicsSignal, 'PosX_Mean') x_std = Cpt(EpicsSignal, 'PosX_Std') y_mean = Cpt(EpicsSignal, 'PosY_Mean') y_std = Cpt(EpicsSignal, 'PosY_Std') int_mean = Cpt(EpicsSignal, 'Int_Mean') int_std = Cpt(EpicsSignal, 'Int_Std') xbpm2 = Xbpm('SR:C17-BI{XBPM:2}', name='xbpm2') #best = Best('XF:16IDB-CT{Best}:BPM0:', name='best')
# # PySNMP MIB module V2H124-24-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/V2H124-24-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:33:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint") dot1dStpPortEntry, BridgeId, Timeout, dot1dStpPort = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dStpPortEntry", "BridgeId", "Timeout", "dot1dStpPort") EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") PortList, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "PortList") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") iso, TimeTicks, Integer32, MibIdentifier, IpAddress, ModuleIdentity, enterprises, Bits, Gauge32, Counter32, Unsigned32, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "TimeTicks", "Integer32", "MibIdentifier", "IpAddress", "ModuleIdentity", "enterprises", "Bits", "Gauge32", "Counter32", "Unsigned32", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "NotificationType") DisplayString, TextualConvention, TruthValue, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TruthValue", "RowStatus") v2h124_24MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 52, 4, 12, 30)).setLabel("v2h124-24MIB") v2h124_24MIB.setRevisions(('2004-01-21 20:31', '2003-12-12 17:04', '2003-07-25 19:59', '2003-07-18 21:42', '2003-12-06 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: v2h124_24MIB.setRevisionsDescriptions(('v2h124-24MIB and v2h124-24 were both defined as the same OID, removed v2h124-24 from the definition of v2h124-24MIB.', 'Changed ctronExp(12) to ctronV2H(12), ctronExp is defined as cabletron.mibs.2', 'Comments highlighting changes would go here.', 'Relocation to current branch and additional corrections.', 'Initial version of this MIB.',)) if mibBuilder.loadTexts: v2h124_24MIB.setLastUpdated('200401212031Z') if mibBuilder.loadTexts: v2h124_24MIB.setOrganization('Enterasys Networks, Inc') if mibBuilder.loadTexts: v2h124_24MIB.setContactInfo('Postal: Enterasys Networks 50 Minuteman Rd. Andover, MA 01810-1008 USA Phone: +1 978 684 1000 E-mail: [email protected] WWW: http://www.enterasys.com') if mibBuilder.loadTexts: v2h124_24MIB.setDescription('The MIB module for V2H124-24.') v2h124_24MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1)).setLabel("v2h124-24MIBObjects") v2h124_24Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 2)).setLabel("v2h124-24Notifications") v2h124_24Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 3)).setLabel("v2h124-24Conformance") switchMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1)) portMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2)) trunkMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3)) lacpMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 4)) staMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5)) restartMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 7)) mirrorMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8)) igmpSnoopMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9)) ipMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10)) bcastStormMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11)) vlanMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12)) priorityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13)) trapDestMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14)) qosMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16)) securityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17)) sysLogMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 19)) lineMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20)) sysTimeMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23)) fileMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24)) class ValidStatus(TextualConvention, Integer32): description = 'A simple status value for the object to create and destroy a table entry. This is a simplified variant of RowStatus as it supports only two values. Setting it to valid(1) creates an entry. Setting it to invalid(2) destroys an entry.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("valid", 1), ("invalid", 2)) switchManagementVlan = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readwrite") if mibBuilder.loadTexts: switchManagementVlan.setStatus('current') if mibBuilder.loadTexts: switchManagementVlan.setDescription('The VLAN on which management is done.') v2h124switchNumber = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124switchNumber.setStatus('current') if mibBuilder.loadTexts: v2h124switchNumber.setDescription('The total number of switches present on this system.') v2h124switchInfoTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3), ) if mibBuilder.loadTexts: v2h124switchInfoTable.setStatus('current') if mibBuilder.loadTexts: v2h124switchInfoTable.setDescription('Table of descriptive and status information about the switch units in this system.') v2h124switchInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1), ).setIndexNames((0, "V2H124-24-MIB", "v2h124swUnitIndex")) if mibBuilder.loadTexts: v2h124switchInfoEntry.setStatus('current') if mibBuilder.loadTexts: v2h124switchInfoEntry.setDescription('Table providing descriptions and status information for switch units.') v2h124swUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: v2h124swUnitIndex.setStatus('current') if mibBuilder.loadTexts: v2h124swUnitIndex.setDescription('This object identifies the switch within the system for which this entry contains information. This value can never be greater than switchNumber.') v2h124swHardwareVer = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swHardwareVer.setStatus('current') if mibBuilder.loadTexts: v2h124swHardwareVer.setDescription('Hardware version of the main board.') v2h124swMicrocodeVer = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swMicrocodeVer.setStatus('current') if mibBuilder.loadTexts: v2h124swMicrocodeVer.setDescription('Microcode version of the main board.') v2h124swLoaderVer = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swLoaderVer.setStatus('current') if mibBuilder.loadTexts: v2h124swLoaderVer.setDescription('Loader version of the main board.') v2h124swBootRomVer = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swBootRomVer.setStatus('current') if mibBuilder.loadTexts: v2h124swBootRomVer.setDescription('Boot ROM code version of the main board.') v2h124swOpCodeVer = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swOpCodeVer.setStatus('current') if mibBuilder.loadTexts: v2h124swOpCodeVer.setDescription('Operation code version of the main board.') v2h124swPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swPortNumber.setStatus('current') if mibBuilder.loadTexts: v2h124swPortNumber.setDescription('The number of ports of this switch.') v2h124swPowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("internalPower", 1), ("redundantPower", 2), ("internalAndRedundantPower", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swPowerStatus.setStatus('current') if mibBuilder.loadTexts: v2h124swPowerStatus.setDescription('Indicates the switch using internalPower(1), redundantPower(2) or both(3)') v2h124swRoleInSystem = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("master", 1), ("backupMaster", 2), ("slave", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swRoleInSystem.setStatus('current') if mibBuilder.loadTexts: v2h124swRoleInSystem.setDescription('Indicates the switch is master(1), backupMaster(2) or slave(3) in this system.') v2h124swSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swSerialNumber.setStatus('current') if mibBuilder.loadTexts: v2h124swSerialNumber.setDescription('Serial number of the switch.') v2h124swExpansionSlot1 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("notPresent", 1), ("other", 2), ("hundredBaseFxScMmf", 3), ("hundredBaseFxScSmf", 4), ("hundredBaseFxMtrjMmf", 5), ("thousandBaseSxScMmf", 6), ("thousandBaseSxMtrjMmf", 7), ("thousandBaseXGbic", 8), ("thousandBaseLxScSmf", 9), ("thousandBaseT", 10), ("stackingModule", 11), ("thousandBaseSfp", 12), ("tenHundredBaseT4port", 13), ("tenHundredBaseFxMtrj4port", 14), ("comboStackingSfp", 15), ("tenHundredBaseT", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swExpansionSlot1.setStatus('current') if mibBuilder.loadTexts: v2h124swExpansionSlot1.setDescription('Type of expansion module in this switch slot 1.') v2h124swExpansionSlot2 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("notPresent", 1), ("other", 2), ("hundredBaseFxScMmf", 3), ("hundredBaseFxScSmf", 4), ("hundredBaseFxMtrjMmf", 5), ("thousandBaseSxScMmf", 6), ("thousandBaseSxMtrjMmf", 7), ("thousandBaseXGbic", 8), ("thousandBaseLxScSmf", 9), ("thousandBaseT", 10), ("stackingModule", 11), ("thousandBaseSfp", 12), ("tenHundredBaseT4port", 13), ("tenHundredBaseFxMtrj4port", 14), ("comboStackingSfp", 15), ("tenHundredBaseT", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swExpansionSlot2.setStatus('current') if mibBuilder.loadTexts: v2h124swExpansionSlot2.setDescription('Type of expansion module in this switch slot 2.') v2h124swServiceTag = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 3, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: v2h124swServiceTag.setStatus('current') if mibBuilder.loadTexts: v2h124swServiceTag.setDescription('Service tag serial-number of the switch.') switchOperState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("ok", 3), ("noncritical", 4), ("critical", 5), ("nonrecoverable", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: switchOperState.setStatus('current') if mibBuilder.loadTexts: switchOperState.setDescription('Global operation state of the switch.') switchProductId = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5)) swProdName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: swProdName.setStatus('current') if mibBuilder.loadTexts: swProdName.setDescription('The product name of this switch.') swProdManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: swProdManufacturer.setStatus('current') if mibBuilder.loadTexts: swProdManufacturer.setDescription('The product manufacturer of this switch.') swProdDescription = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: swProdDescription.setStatus('current') if mibBuilder.loadTexts: swProdDescription.setDescription('The product description of this switch.') swProdVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: swProdVersion.setStatus('current') if mibBuilder.loadTexts: swProdVersion.setDescription('The runtime code version of this switch.') swProdUrl = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: swProdUrl.setStatus('current') if mibBuilder.loadTexts: swProdUrl.setDescription('The URL of this switch, which we can connect through a web browser.') swIdentifier = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: swIdentifier.setStatus('current') if mibBuilder.loadTexts: swIdentifier.setDescription('A unique identifier of which switch in the chassis is currently being looked at.') swChassisServiceTag = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 5, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: swChassisServiceTag.setStatus('current') if mibBuilder.loadTexts: swChassisServiceTag.setDescription('The service tag of the chassis this switch resides in.') switchIndivPowerTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 6), ) if mibBuilder.loadTexts: switchIndivPowerTable.setStatus('current') if mibBuilder.loadTexts: switchIndivPowerTable.setDescription('Table about statuses of individual powers.') switchIndivPowerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 6, 1), ).setIndexNames((0, "V2H124-24-MIB", "swIndivPowerUnitIndex"), (0, "V2H124-24-MIB", "swIndivPowerIndex")) if mibBuilder.loadTexts: switchIndivPowerEntry.setStatus('current') if mibBuilder.loadTexts: switchIndivPowerEntry.setDescription('Table about statuses of individual powers.') swIndivPowerUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 6, 1, 1), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: swIndivPowerUnitIndex.setStatus('current') if mibBuilder.loadTexts: swIndivPowerUnitIndex.setDescription('This is defined as v2h124swUnitIndex.') swIndivPowerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("internalPower", 1), ("externalPower", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: swIndivPowerIndex.setStatus('current') if mibBuilder.loadTexts: swIndivPowerIndex.setDescription('1 means internal power. 2 means external power.') swIndivPowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notPresent", 1), ("green", 2), ("red", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: swIndivPowerStatus.setStatus('current') if mibBuilder.loadTexts: swIndivPowerStatus.setDescription('notPresent(1) means not present. green(2) means up. red(3) means down.') portTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1), ) if mibBuilder.loadTexts: portTable.setStatus('current') if mibBuilder.loadTexts: portTable.setDescription('Table of descriptive and status information describing the configuration of each switch port. This table also contains information about each trunk.') portEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "portIndex")) if mibBuilder.loadTexts: portEntry.setStatus('current') if mibBuilder.loadTexts: portEntry.setDescription('An entry in the table, describing the configuration of one switch port or trunk.') portIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: portIndex.setStatus('current') if mibBuilder.loadTexts: portIndex.setDescription('The port and the trunk (including trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') portName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portName.setStatus('current') if mibBuilder.loadTexts: portName.setDescription('The name of the port or trunk. This is the same as ifAlias in the IF-MIB (RFC2863 or later).') portType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("other", 1), ("hundredBaseTX", 2), ("hundredBaseFX", 3), ("thousandBaseSX", 4), ("thousandBaseLX", 5), ("thousandBaseT", 6), ("thousandBaseGBIC", 7), ("thousandBaseSfp", 8), ("hundredBaseFxScSingleMode", 9), ("hundredBaseFxScMultiMode", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: portType.setStatus('current') if mibBuilder.loadTexts: portType.setDescription('Indicates the port type of the configuration of the switch') portSpeedDpxCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("reserved", 1), ("halfDuplex10", 2), ("fullDuplex10", 3), ("halfDuplex100", 4), ("fullDuplex100", 5), ("halfDuplex1000", 6), ("fullDuplex1000", 7))).clone('halfDuplex10')).setMaxAccess("readwrite") if mibBuilder.loadTexts: portSpeedDpxCfg.setStatus('current') if mibBuilder.loadTexts: portSpeedDpxCfg.setDescription('Configures the speed and duplex mode for a port or trunk, according to: halfDuplex10(2) - 10Mbps and half duplex mode fullDuplex10(3) - 10Mbps and full duplex mode halfDuplex100(4) - 100Mbps and half duplex mode fullDuplex100(5) - 100Mbps and full duplex mode halfDuplex1000(6) - 1000Mbps and half duplex mode fullDuplex1000(7) - 1000Mbps and full duplex mode hundredBaseTX port can be set as halfDuplex10(2) fullDuplex10(3) halfDuplex100(4) fullDuplex100(5) hundredBaseFX port can be set as halfDuplex100(4) fullDuplex100(5) thousandBaseSX port can be set as halfDuplex1000(6) fullDuplex1000(7) The actual operating speed and duplex of the port is given by portSpeedDpxStatus.') portFlowCtrlCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("backPressure", 3), ("dot3xFlowControl", 4))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: portFlowCtrlCfg.setStatus('current') if mibBuilder.loadTexts: portFlowCtrlCfg.setDescription('(1) Flow control mechanism is enabled. If the port type is hundredBaseTX or thousandBaseSX: When the port is operating in halfDuplex mode, the port uses backPressure flow control mechanism. When the port is operating in fullDuplex mode, the port uses IEEE 802.3x flow control mechanism. If the port type is hundredBaseFX: When the port is operating in halfDuplex mode, the port uses backPressure flow control mechanism. When the port is operating in fullDuplex mode, Flow control mechanism will not function. (2) Flow control mechanism is disabled. (3) Flow control mechanism is backPressure. when the port is in fullDuplex mode.This flow control mechanism will not function. (4) Flow control mechanism is IEEE 802.3x flow control. when the port is in halfDuplex mode.This flow control mechanism will not function. hundredBaseTX and thousandBaseSX port can be set as: enabled(1), disabled(2), backPressure(3), dot3xFlowControl(4). hundredBaseFX port can be set as: enabled(1), disabled(2), backPressure(3). The actual flow control mechanism is used given by portFlowCtrlStatus.') portCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 6), Bits().clone(namedValues=NamedValues(("portCap10half", 0), ("portCap10full", 1), ("portCap100half", 2), ("portCap100full", 3), ("portCap1000half", 4), ("portCap1000full", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("portCapSym", 14), ("portCapFlowCtrl", 15)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portCapabilities.setStatus('current') if mibBuilder.loadTexts: portCapabilities.setDescription('Port or trunk capabilities.') portAutonegotiation = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 7), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: portAutonegotiation.setStatus('current') if mibBuilder.loadTexts: portAutonegotiation.setDescription('Whether auto-negotiation is enabled.') portSpeedDpxStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("error", 1), ("halfDuplex10", 2), ("fullDuplex10", 3), ("halfDuplex100", 4), ("fullDuplex100", 5), ("halfDuplex1000", 6), ("fullDuplex1000", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: portSpeedDpxStatus.setStatus('current') if mibBuilder.loadTexts: portSpeedDpxStatus.setDescription('The operating speed and duplex mode of the switched port or trunk. If the entry represents a trunk, the speed is that of its individual members unless the member ports have been inconsistently configured in which case the value is error(1).') portFlowCtrlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("error", 1), ("backPressure", 2), ("dot3xFlowControl", 3), ("none", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: portFlowCtrlStatus.setStatus('current') if mibBuilder.loadTexts: portFlowCtrlStatus.setDescription('(2) BackPressure flow control machanism is used. (3) IEEE 802.3 flow control machanism is used. (4) Flow control mechanism is disabled. If the entry represents a trunk and the member ports have been inconsistently configured then this value is error(1).') portTrunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: portTrunkIndex.setStatus('current') if mibBuilder.loadTexts: portTrunkIndex.setDescription('The trunk to which this port belongs. A value of 0 means that this port does not belong to any trunk. A value greater than zero means that this port belongs to trunk at trunkIndex, defined by the corresponding trunkPorts.') trunkMaxId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trunkMaxId.setStatus('current') if mibBuilder.loadTexts: trunkMaxId.setDescription('The maximum number for a trunk identifier.') trunkValidNumber = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trunkValidNumber.setStatus('current') if mibBuilder.loadTexts: trunkValidNumber.setDescription('The number of valid trunks.') trunkTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3), ) if mibBuilder.loadTexts: trunkTable.setStatus('current') if mibBuilder.loadTexts: trunkTable.setDescription('Table describing the configuration and status of each trunk.') trunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3, 1), ).setIndexNames((0, "V2H124-24-MIB", "trunkIndex")) if mibBuilder.loadTexts: trunkEntry.setStatus('current') if mibBuilder.loadTexts: trunkEntry.setDescription('An entry describing the configuration and status of a particular trunk.') trunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: trunkIndex.setStatus('current') if mibBuilder.loadTexts: trunkIndex.setDescription('Identifies the trunk within the switch that is described by the table entry.') trunkPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3, 1, 2), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trunkPorts.setStatus('current') if mibBuilder.loadTexts: trunkPorts.setDescription('The complete set of ports currently associated with this trunk.') trunkCreation = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("lacp", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trunkCreation.setStatus('current') if mibBuilder.loadTexts: trunkCreation.setDescription('A value of static(1) means a statically configured trunk. A value of lacp(2) means an LACP-configured trunk.') trunkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 3, 3, 1, 4), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trunkStatus.setStatus('current') if mibBuilder.loadTexts: trunkStatus.setDescription('Writing this to valid(1) creates an entry. Writing this to invalid(2) destroys an entry. A trunk created by LACP cannot be manually destroyed or (re)configured.') lacpPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 4, 1), ) if mibBuilder.loadTexts: lacpPortTable.setStatus('current') if mibBuilder.loadTexts: lacpPortTable.setDescription('Table for LACP port configuration.') lacpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 4, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "lacpPortIndex")) if mibBuilder.loadTexts: lacpPortEntry.setStatus('current') if mibBuilder.loadTexts: lacpPortEntry.setDescription('Entry for LACP port configuration. While an entry may exist for a particular port, the port may not support LACP and an attempt to enable LACP may result in failure.') lacpPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 4, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: lacpPortIndex.setStatus('current') if mibBuilder.loadTexts: lacpPortIndex.setDescription('The port interface of the lacpPortTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') lacpPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 4, 1, 1, 2), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lacpPortStatus.setStatus('current') if mibBuilder.loadTexts: lacpPortStatus.setDescription('Whether 802.3ad LACP is enabled.') staSystemStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 1), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: staSystemStatus.setStatus('current') if mibBuilder.loadTexts: staSystemStatus.setDescription('Global spanning tree status. (1) Spanning tree protocol is enabled. (2) Spanning tree protocol is disabled.') staPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2), ) if mibBuilder.loadTexts: staPortTable.setStatus('current') if mibBuilder.loadTexts: staPortTable.setDescription('The table manages port settings for Spanning Tree Protocol 802.1d, or 802.1w depending on the value specified by staProtocolType.') staPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1), ) dot1dStpPortEntry.registerAugmentions(("V2H124-24-MIB", "staPortEntry")) staPortEntry.setIndexNames(*dot1dStpPortEntry.getIndexNames()) if mibBuilder.loadTexts: staPortEntry.setStatus('current') if mibBuilder.loadTexts: staPortEntry.setDescription('The conceptual entry of staPortTable.') staPortFastForward = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 2), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPortFastForward.setStatus('current') if mibBuilder.loadTexts: staPortFastForward.setDescription('Whether fast forwarding is enabled.') staPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 3), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPortProtocolMigration.setReference('IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26') if mibBuilder.loadTexts: staPortProtocolMigration.setStatus('current') if mibBuilder.loadTexts: staPortProtocolMigration.setDescription('When operating in RSTP (version 2) mode, setting this object to TRUE(1) object forces the port to transmit RSTP BPDUs. Any other operation on this object has no effect and it always returns FALSE(2) when read.') staPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPortAdminEdgePort.setReference('IEEE 802.1t clause 14.8.2, 18.3.3') if mibBuilder.loadTexts: staPortAdminEdgePort.setStatus('current') if mibBuilder.loadTexts: staPortAdminEdgePort.setDescription('The administrative value of the Edge Port parameter. A value of TRUE(1) indicates that this port should be assumed to be an edge-port and a value of FALSE(2) indicates that this port should be assumed to be a non-edge-port.') staPortOperEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: staPortOperEdgePort.setReference('IEEE 802.1t clause 14.8.2, 18.3.4') if mibBuilder.loadTexts: staPortOperEdgePort.setStatus('current') if mibBuilder.loadTexts: staPortOperEdgePort.setDescription('The operational value of the Edge Port parameter. The object is initialized to the value of staPortAdminEdgePort and is set FALSE when a BPDU is received.') staPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("forceTrue", 0), ("forceFalse", 1), ("auto", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPortAdminPointToPoint.setReference('IEEE 802.1w clause 6.4.3, 6.5, 14.8.2') if mibBuilder.loadTexts: staPortAdminPointToPoint.setStatus('current') if mibBuilder.loadTexts: staPortAdminPointToPoint.setDescription('The administrative point-to-point status of the LAN segment attached to this port. A value of forceTrue(0) indicates that this port should always be treated as if it is connected to a point-to-point link. A value of forceFalse(1) indicates that this port should be treated as having a shared media connection. A value of auto(2) indicates that this port is considered to have a point-to-point link if it is an Aggregator and all of its members can be aggregated, or if the MAC entity is configured for full duplex operation, either through auto-negotiation or by explicit configuration.') staPortOperPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: staPortOperPointToPoint.setReference('IEEE 802.1w clause 6.4.3, 6.5, 14.8.2') if mibBuilder.loadTexts: staPortOperPointToPoint.setStatus('current') if mibBuilder.loadTexts: staPortOperPointToPoint.setDescription('The operational point-to-point status of the LAN segment attached to this port. It indicates whether a port is considered to have a point-to-point connection or not. The value is determined by explicit configuration or by auto-detection, as described in the staPortAdminPointToPoint object.') staPortLongPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPortLongPathCost.setStatus('current') if mibBuilder.loadTexts: staPortLongPathCost.setDescription('The contribution of this port to the path cost (as a 32 bit value) of paths towards the spanning tree root which include this port. This object is used to configure the spanning tree port path cost as a 32 bit value when the staPathCostMethod is long(2). If the staPathCostMethod is short(1), this MIB object is not instantiated.') staProtocolType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("stp", 1), ("rstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: staProtocolType.setReference('IEEE 802.1w clause 14.8.1, 17.12, 17.16.1') if mibBuilder.loadTexts: staProtocolType.setStatus('current') if mibBuilder.loadTexts: staProtocolType.setDescription("The version of Spanning Tree Protocol the bridge is currently running. The value 'stp(1)' indicates the Spanning Tree Protocol is as specified in IEEE 802.1D,'rstp(2)' indicates the Rapid Spanning Tree Protocol is as specified in IEEE 802.1w New values may be defined in the future as new or updated versions of the protocol become available.") staTxHoldCount = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: staTxHoldCount.setReference('IEEE 802.1w clause 17.16.6') if mibBuilder.loadTexts: staTxHoldCount.setStatus('current') if mibBuilder.loadTexts: staTxHoldCount.setDescription('The minimum interval between the transmission of consecutive RSTP/MSTP BPDUs in seconds.') staPathCostMethod = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("short", 1), ("long", 2))).clone('short')).setMaxAccess("readwrite") if mibBuilder.loadTexts: staPathCostMethod.setStatus('current') if mibBuilder.loadTexts: staPathCostMethod.setDescription("Indicates the type of spanning tree path cost mode configured on the switch. This mode applies to all instances of the Spanning tree protocol running on the switch. When the value of this MIB object is changed, the path cost of all ports will be reassigned to the default path cost values based on the new spanning tree path cost mode and the ports' speed. When the value of this MIB object is set to long(2), the staPortLongPathCost MIB object must be used to retrieve/ configure the spanning tree port path cost as a 32 bit value. The set operation on dot1dStpPortPathCost in the BRIDGE-MIB will be rejected. When retrieving the value of dot1dStpPortPathCost, the maximum value of 65535 will be returned if the value of staPortLongPathCost for the same instance exceeds 65535. When the value of this MIB object is set to short(1), the dot1dStpPortPathCost in the BRIDGE-MIB must be used.") xstMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6)) xstInstanceCfgTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4), ) if mibBuilder.loadTexts: xstInstanceCfgTable.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgTable.setDescription('This table is used to configure Rapid Spanning Tree. Only the first row of the table is used by RST. In the future this table may be used to support other spanning tree protocols.') xstInstanceCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1), ).setIndexNames((0, "V2H124-24-MIB", "xstInstanceCfgIndex")) if mibBuilder.loadTexts: xstInstanceCfgEntry.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgEntry.setDescription('A conceptual row containing the properties of the RST instance.') xstInstanceCfgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))) if mibBuilder.loadTexts: xstInstanceCfgIndex.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgIndex.setDescription('The index for an entry in the xstInstanceCfgTable table. For RST only the first row in the table is used.') xstInstanceCfgPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: xstInstanceCfgPriority.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgPriority.setDescription('The priority of a specific spanning tree instance. The value assigned should be in the range 0-61440 in steps of 4096.') xstInstanceCfgTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgTimeSinceTopologyChange.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgTimeSinceTopologyChange.setDescription('The time (in hundredths of second) since the last topology change detected by the bridge entity in RST.') xstInstanceCfgTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgTopChanges.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgTopChanges.setDescription('The total number of topology changes detected by this bridge in RST since the management entity was last reset or initialized.') xstInstanceCfgDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 5), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgDesignatedRoot.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgDesignatedRoot.setDescription('The bridge identifier of the root of the spanning tree as determined by the Rapid Spanning Tree Protocol (802.1w) executed by this node. This value is used as the Root Identifier parameter in all Configuration Bridge PDUs originated by this node.') xstInstanceCfgRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgRootCost.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgRootCost.setDescription('The cost of the path to the root as seen from this bridge of the RST.') xstInstanceCfgRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgRootPort.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgRootPort.setDescription('The number of the port which offers the lowest cost path from this bridge to the root bridge of the RST .') xstInstanceCfgMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 8), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgMaxAge.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgMaxAge.setDescription('The maximum age of Rapid Spanning Tree Protocol information learned from the network on any port before it is discarded, in units of hundredths of a second. This is the actual value that this bridge is currently using.') xstInstanceCfgHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 9), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgHelloTime.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgHelloTime.setDescription('The amount of time between the transmission of Configuration bridge PDUs by this node on any port when it is the root of the spanning tree or trying to become so, in units of hundredths of a second. This is the actual value that this bridge is currently using in RST.') xstInstanceCfgHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 10), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgHoldTime.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgHoldTime.setDescription('This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node, in units of hundredths of a second.') xstInstanceCfgForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 11), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgForwardDelay.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgForwardDelay.setDescription('For the RST protocol, this time value, measured in units of hundredths of a second, controls how fast a port changes its spanning state when moving towards the Forwarding state. The value determines how long the port stays in each of the Listening and Learning states, which precede the Forwarding state. This value is also used, when a topology change has been detected and is underway, to age all dynamic entries in the Forwarding Database. This value is the current value being used by the bridge. xstInstanceCfgBridgeForwardDelay defines the value that this bridge and all others would start using if/when this bridge were to become the root.') xstInstanceCfgBridgeMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 12), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgBridgeMaxAge.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgBridgeMaxAge.setDescription('For RST protocol, the time (in hundredths of second) that all bridges use for MaxAge when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of xstInstanceCfgBridgeHelloTime. The granularity of this timer is specified by 802.1D-1990 to be 1 second.') xstInstanceCfgBridgeHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 13), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgBridgeHelloTime.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgBridgeHelloTime.setDescription('For the RST protocol, the time (in hundredths of second) that all bridges use for HelloTime when this bridge is acting as the root. The granularity of this timer is specified by 802.1D-1990 to be 1 second.') xstInstanceCfgBridgeForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 14), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgBridgeForwardDelay.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgBridgeForwardDelay.setDescription('For the RST protocol, the time (in hundredths of second) that all bridges use for ForwardDelay when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of xstInstanceCfgBridgeMaxAge. The granularity of this timer is specified by 802.1D-1990 to be 1 second.') xstInstanceCfgTxHoldCount = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgTxHoldCount.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgTxHoldCount.setDescription('For the RST protocol, the value used by the Port Transmit state machine to limit the maximum transmission rate.') xstInstanceCfgPathCostMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("short", 1), ("long", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstanceCfgPathCostMethod.setStatus('current') if mibBuilder.loadTexts: xstInstanceCfgPathCostMethod.setDescription("For RST protocol, this indicates the type of spanning tree path cost mode used by the switch. The mode applies to all instances of the Spanning Tree protocol running on the switch. When the value of this MIB object is changed, the path cost of all ports will be reassigned to the default path cost values based on the new spanning tree path cost mode and the ports' speed. When the value of this MIB object is set to long(2), the xstInstancePortPathCost MIB object must be used in order to retrieve/configure the spanning tree port path cost as a 32 bit value. The set operation on dot1dStpPortPathCost in the BRIDGE-MIB will be rejected. While retrieving the value of dot1dStpPortPathCost, the maximum value of 65535 will be returned if the value of xstInstancePortPathCost for the same instance exceeds 65535. When the value of this MIB object is set to short(1), the dot1dStpPortPathCost in the BRIDGE-MIB must be used.") xstInstancePortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5), ) if mibBuilder.loadTexts: xstInstancePortTable.setStatus('current') if mibBuilder.loadTexts: xstInstancePortTable.setDescription('The extension table for dot1dStpPortEntry to provide additional Spanning Tree information and configuration.') xstInstancePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1), ).setIndexNames((0, "V2H124-24-MIB", "xstInstanceCfgIndex"), (0, "BRIDGE-MIB", "dot1dStpPort")) if mibBuilder.loadTexts: xstInstancePortEntry.setStatus('current') if mibBuilder.loadTexts: xstInstancePortEntry.setDescription('The conceptual row for xstInstancePortTable.') xstInstancePortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 240))).setMaxAccess("readwrite") if mibBuilder.loadTexts: xstInstancePortPriority.setStatus('current') if mibBuilder.loadTexts: xstInstancePortPriority.setDescription('Defines the priority used for this port in the Spanning Tree Algorithm. If the path cost for all ports on a switch is the same, the port with the highest priority (i.e., lowest value) will be configured as an active link in the Spanning Tree. This makes a port with higher priority less likely to be blocked if the Spanning Tree Algorithm is detecting network loops. Where more than one port is assigned the highest priority, the port with lowest numeric identifier will be enabled.') xstInstancePortState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortState.setStatus('current') if mibBuilder.loadTexts: xstInstancePortState.setDescription("The port's current state as defined by application of the Spanning Tree Protocol. This state controls what action a port takes on reception of a frame: discarding(1) Port receives configuration messages, but does not forward packets. learning(2) Port has transmitted configuration messages for an interval set by the Forward Delay parameter without receiving contradictory information. Port address table is cleared, and the port begins learning addresses. forwarding(3) Port forwards packets, and continues learning addresses. For ports which are disabled (see xstInstancePortEnable), this object will have a value of discarding(1).") xstInstancePortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 5), EnabledStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortEnable.setStatus('current') if mibBuilder.loadTexts: xstInstancePortEnable.setDescription('The enabled/disabled status of the port.') xstInstancePortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: xstInstancePortPathCost.setStatus('current') if mibBuilder.loadTexts: xstInstancePortPathCost.setDescription('The pathcost of the RST in the range 1 to 200000000. This parameter is used to determine the best path between devices. Therefore, lower values should be assigned to ports attached to faster media, and higher values assigned to ports with slower media. (Path cost takes precedence over port priority).') xstInstancePortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 7), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortDesignatedRoot.setStatus('current') if mibBuilder.loadTexts: xstInstancePortDesignatedRoot.setDescription('The unique Bridge Identifier of the Bridge recorded as the Root in the Configuration BPDUs transmitted by the Designated Bridge for the segment to which the port is attached.') xstInstancePortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortDesignatedCost.setStatus('current') if mibBuilder.loadTexts: xstInstancePortDesignatedCost.setDescription('The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs.') xstInstancePortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 9), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortDesignatedBridge.setStatus('current') if mibBuilder.loadTexts: xstInstancePortDesignatedBridge.setDescription("The Bridge Identifier of the bridge which this port considers to be the Designated Bridge for this port's segment.") xstInstancePortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortDesignatedPort.setStatus('current') if mibBuilder.loadTexts: xstInstancePortDesignatedPort.setDescription("The Port Identifier of the port on the Designated Bridge for this port's segment.") xstInstancePortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortForwardTransitions.setStatus('current') if mibBuilder.loadTexts: xstInstancePortForwardTransitions.setDescription('The number of times this port has transitioned from the Learning state to the Forwarding state.') xstInstancePortPortRole = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 5, 6, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("disabled", 1), ("root", 2), ("designated", 3), ("alternate", 4), ("backup", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xstInstancePortPortRole.setStatus('current') if mibBuilder.loadTexts: xstInstancePortPortRole.setDescription('The role of the port in the RST protocol: (1) The port has no role within the spanning tree (2) The port is part of the active topology connecting the bridge to the root bridge (i.e., root port) (3) The port is connecting a LAN through the bridge to the root bridge (i.e., designated port) (4) The port may provide connectivity if other bridges, bridge ports, or LANs fail or are removed. (5) The port provides backup if other bridges, bridge ports, or LANs fail or are removed.') restartOpCodeFile = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 7, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: restartOpCodeFile.setStatus('current') if mibBuilder.loadTexts: restartOpCodeFile.setDescription('Name of op-code file for start-up.') restartConfigFile = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 7, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: restartConfigFile.setStatus('current') if mibBuilder.loadTexts: restartConfigFile.setDescription('Name of configuration file for start-up.') restartControl = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("running", 1), ("warmBoot", 2), ("coldBoot", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: restartControl.setStatus('current') if mibBuilder.loadTexts: restartControl.setDescription("Setting this object to warmBoot(2) causes the device to reinitializing itself such that neither the agent configuration nor the protocol entity implementation is altered. Setting this object to coldBoot(3) causes the device to reinitializing itself such that the agent's configuration or the protocol entity implementation may be altered. When the device is running normally, this variable has a value of running(1).") mirrorTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1), ) if mibBuilder.loadTexts: mirrorTable.setStatus('current') if mibBuilder.loadTexts: mirrorTable.setDescription('Table for port mirroring, enabling a port to be mirrored to/from another port. Not all ports cannot be mirrored and limitations may apply as to which ports can be used as either source or destination ports.') mirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "mirrorDestinationPort"), (0, "V2H124-24-MIB", "mirrorSourcePort")) if mibBuilder.loadTexts: mirrorEntry.setStatus('current') if mibBuilder.loadTexts: mirrorEntry.setDescription('The conceptual row of mirrorTable.') mirrorDestinationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: mirrorDestinationPort.setStatus('current') if mibBuilder.loadTexts: mirrorDestinationPort.setDescription('The destination port interface for mirrored packets. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') mirrorSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: mirrorSourcePort.setStatus('current') if mibBuilder.loadTexts: mirrorSourcePort.setDescription('The source port interface for mirrored packets. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') mirrorType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("rx", 1), ("tx", 2), ("both", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mirrorType.setStatus('current') if mibBuilder.loadTexts: mirrorType.setDescription('If this value is rx(1), receive packets will be mirrored. If this value is tx(2), transmit packets will be mirrored. If this value is both(3), both receive and transmit packets will be mirrored.') mirrorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 8, 1, 1, 4), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mirrorStatus.setStatus('current') if mibBuilder.loadTexts: mirrorStatus.setDescription('Setting this to valid(1) creates an entry. Setting this to invalid(2) destroys an entry.') igmpSnoopStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 1), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopStatus.setDescription('Parameter to enable or disable IGMP snooping on the device. When enabled, the device will examine IGMP packets and set up filters for IGMP ports. ') igmpSnoopQuerier = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 2), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopQuerier.setStatus('current') if mibBuilder.loadTexts: igmpSnoopQuerier.setDescription('Enables (disables) whether the switch acts as an IGMP Querier.') igmpSnoopQueryCount = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 10)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopQueryCount.setStatus('current') if mibBuilder.loadTexts: igmpSnoopQueryCount.setDescription('The query count from a querier, during which a response is expected from an endstation. If a querier has sent a number of counts defined by igmpSnoopQueryCount, but an endstation has not responded, a countdown timer is started using the time defined by igmpSnoopQueryMaxResponseTime. If the countdown finishes, and the endstation still has not responded, then that endstation is deemed to have left the multicast group.') igmpSnoopQueryInterval = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 125)).clone(125)).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopQueryInterval.setStatus('current') if mibBuilder.loadTexts: igmpSnoopQueryInterval.setDescription('The interval (in seconds) between IGMP host-query messages sent by the switch.') igmpSnoopQueryMaxResponseTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 25)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopQueryMaxResponseTime.setStatus('current') if mibBuilder.loadTexts: igmpSnoopQueryMaxResponseTime.setDescription('The time after a query, during which a response is expected from an endstation. If a querier has sent a number of queries defined by igmpSnoopQueryCount, but an endstation has not responded, a countdown timer is started using an initial value set by igmpSnoopQueryMaxResponseTime. If the countdown finishes, and the endstation still has not responded, then that the endstation is deemed to have left the multicast group.') igmpSnoopRouterPortExpireTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(300, 500)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopRouterPortExpireTime.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterPortExpireTime.setDescription('Sets the time (in seconds) the switch waits after the previous querier has stopped querying before the router port (which received Query packets from previous querier) expires.') igmpSnoopVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopVersion.setStatus('current') if mibBuilder.loadTexts: igmpSnoopVersion.setDescription('IGMP Version snooped') igmpSnoopRouterCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 8), ) if mibBuilder.loadTexts: igmpSnoopRouterCurrentTable.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterCurrentTable.setDescription('Table for current router ports.') igmpSnoopRouterCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 8, 1), ).setIndexNames((0, "V2H124-24-MIB", "igmpSnoopRouterCurrentVlanIndex")) if mibBuilder.loadTexts: igmpSnoopRouterCurrentEntry.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterCurrentEntry.setDescription('Entry for current router ports.') igmpSnoopRouterCurrentVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 8, 1, 1), Unsigned32()) if mibBuilder.loadTexts: igmpSnoopRouterCurrentVlanIndex.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterCurrentVlanIndex.setDescription('The interface identified by a particular value of this index is the same interface as identified by the same value of dot1qVlanIndex in the Q-BRIDGE-MIB. The entry will only appear here after a configure to igmpSnoopRouterStaticTable.') igmpSnoopRouterCurrentPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 8, 1, 2), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpSnoopRouterCurrentPorts.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterCurrentPorts.setDescription('The set of ports which are current router ports, including static router ports. Please refer to igmpSnoopRouterStaticTable.') igmpSnoopRouterCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 8, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpSnoopRouterCurrentStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterCurrentStatus.setDescription('The set of ports which are static router ports.') igmpSnoopRouterStaticTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 9), ) if mibBuilder.loadTexts: igmpSnoopRouterStaticTable.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterStaticTable.setDescription('Table for static router ports.') igmpSnoopRouterStaticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 9, 1), ).setIndexNames((0, "V2H124-24-MIB", "igmpSnoopRouterStaticVlanIndex")) if mibBuilder.loadTexts: igmpSnoopRouterStaticEntry.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterStaticEntry.setDescription('Entry for static router ports.') igmpSnoopRouterStaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 9, 1, 1), Unsigned32()) if mibBuilder.loadTexts: igmpSnoopRouterStaticVlanIndex.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterStaticVlanIndex.setDescription('The interface identified by a particular value of this index is the same interface as identified by the same value of dot1qVlanIndex in the Q-BRIDGE-MIB. The entry will only appear here after a configure to igmpSnoopRouterStaticTable.') igmpSnoopRouterStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 9, 1, 2), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpSnoopRouterStaticPorts.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterStaticPorts.setDescription('The set of ports which are static router ports.') igmpSnoopRouterStaticStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 9, 1, 3), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpSnoopRouterStaticStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopRouterStaticStatus.setDescription('Setting this to valid(1) creates an entry. Setting this to invalid(2) destroys an entry.') igmpSnoopMulticastCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10), ) if mibBuilder.loadTexts: igmpSnoopMulticastCurrentTable.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentTable.setDescription('Table for current multicast addresses.') igmpSnoopMulticastCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10, 1), ).setIndexNames((0, "V2H124-24-MIB", "igmpSnoopMulticastCurrentVlanIndex"), (0, "V2H124-24-MIB", "igmpSnoopMulticastCurrentIpAddress")) if mibBuilder.loadTexts: igmpSnoopMulticastCurrentEntry.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentEntry.setDescription('Entry for current multicast addresses.') igmpSnoopMulticastCurrentVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10, 1, 1), Unsigned32()) if mibBuilder.loadTexts: igmpSnoopMulticastCurrentVlanIndex.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentVlanIndex.setDescription('The interface identified by a particular value of this index is the same interface as identified by the same value of dot1qVlanIndex in the Q-BRIDGE-MIB. The entry will only appear here after a configure to igmpSnoopMulticastStaticTable.') igmpSnoopMulticastCurrentIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10, 1, 2), IpAddress()) if mibBuilder.loadTexts: igmpSnoopMulticastCurrentIpAddress.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentIpAddress.setDescription('IP address of multicast group.') igmpSnoopMulticastCurrentPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpSnoopMulticastCurrentPorts.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentPorts.setDescription('The set of ports which are members of a multicast group, including static members. Please refer to igmpSnoopMulticastStaticTable.') igmpSnoopMulticastCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 10, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpSnoopMulticastCurrentStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastCurrentStatus.setDescription('The set of ports which are static members.') igmpSnoopMulticastStaticTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11), ) if mibBuilder.loadTexts: igmpSnoopMulticastStaticTable.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticTable.setDescription('Table for static multicast addresses.') igmpSnoopMulticastStaticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11, 1), ).setIndexNames((0, "V2H124-24-MIB", "igmpSnoopMulticastStaticVlanIndex"), (0, "V2H124-24-MIB", "igmpSnoopMulticastStaticIpAddress")) if mibBuilder.loadTexts: igmpSnoopMulticastStaticEntry.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticEntry.setDescription('Entry for static multicast addresses.') igmpSnoopMulticastStaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11, 1, 1), Unsigned32()) if mibBuilder.loadTexts: igmpSnoopMulticastStaticVlanIndex.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticVlanIndex.setDescription('The interface identified by a particular value of this index is the same interface as identified by the same value of dot1qVlanIndex in the Q-BRIDGE-MIB. The entry will only appear here after a configure to igmpSnoopMulticastStaticTable.') igmpSnoopMulticastStaticIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11, 1, 2), IpAddress()) if mibBuilder.loadTexts: igmpSnoopMulticastStaticIpAddress.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticIpAddress.setDescription('IP address of multicast group.') igmpSnoopMulticastStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11, 1, 3), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpSnoopMulticastStaticPorts.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticPorts.setDescription('The set of ports which are members.') igmpSnoopMulticastStaticStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 9, 11, 1, 4), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpSnoopMulticastStaticStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopMulticastStaticStatus.setDescription('Setting this to valid(1) creates an entry. Setting this to invalid(2) destroys an entry.') netConfigTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1), ) if mibBuilder.loadTexts: netConfigTable.setStatus('current') if mibBuilder.loadTexts: netConfigTable.setDescription('A table of netConfigEntries.') netConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "netConfigIfIndex"), (0, "V2H124-24-MIB", "netConfigIPAddress"), (0, "V2H124-24-MIB", "netConfigSubnetMask")) if mibBuilder.loadTexts: netConfigEntry.setStatus('current') if mibBuilder.loadTexts: netConfigEntry.setDescription('A set of configuration parameters for a particular network interface on this device. If the device has no network interface, this table is empty. The index is composed of the ifIndex assigned to the corresponding interface.') netConfigIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: netConfigIfIndex.setStatus('current') if mibBuilder.loadTexts: netConfigIfIndex.setDescription('The VLAN interface being used by this table entry. Only the VLAN interfaces which have an IP configured will appear in the table.') netConfigIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 2), IpAddress()) if mibBuilder.loadTexts: netConfigIPAddress.setStatus('current') if mibBuilder.loadTexts: netConfigIPAddress.setDescription('The IP address of this Net interface. The default value for this object is 0.0.0.0. If either the netConfigIPAddress or netConfigSubnetMask are 0.0.0.0, then when the device boots, it may use BOOTP to try to figure out what these values should be. If BOOTP fails, before the device can talk on the network, this value must be configured (e.g., through a terminal attached to the device).') netConfigSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 3), IpAddress()) if mibBuilder.loadTexts: netConfigSubnetMask.setStatus('current') if mibBuilder.loadTexts: netConfigSubnetMask.setDescription('The subnet mask of this Net interface. The default value for this object is 0.0.0.0. If either the netConfigIPAddress or netConfigSubnetMask are 0.0.0.0, then when the device boots, it may use BOOTP to try to figure out what these values should be. If BOOTP fails, before the device can talk on the network, this value must be configured (e.g., through a terminal attached to the device).') netConfigPrimaryInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: netConfigPrimaryInterface.setStatus('current') if mibBuilder.loadTexts: netConfigPrimaryInterface.setDescription('Whether this is a primary interface.') netConfigUnnumbered = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unnumbered", 1), ("notUnnumbered", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: netConfigUnnumbered.setStatus('current') if mibBuilder.loadTexts: netConfigUnnumbered.setDescription('Whether this is an unnumbered interface.') netConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: netConfigStatus.setStatus('current') if mibBuilder.loadTexts: netConfigStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") netDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netDefaultGateway.setStatus('current') if mibBuilder.loadTexts: netDefaultGateway.setDescription('The IP Address of the default gateway. If this value is undefined or unknown, it shall have the value 0.0.0.0.') ipHttpState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 3), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipHttpState.setStatus('current') if mibBuilder.loadTexts: ipHttpState.setDescription('Whether HTTP is enabled.') ipHttpPort = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipHttpPort.setStatus('current') if mibBuilder.loadTexts: ipHttpPort.setDescription('The port number for HTTP.') ipDhcpRestart = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("restart", 1), ("noRestart", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipDhcpRestart.setStatus('current') if mibBuilder.loadTexts: ipDhcpRestart.setDescription('When set to restart(1) the DHCP server will restart. When read, this value always returns noRestart(2).') ipHttpsState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 6), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipHttpsState.setStatus('current') if mibBuilder.loadTexts: ipHttpsState.setDescription('Whether HTTPS is enabled.') ipHttpsPort = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 10, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipHttpsPort.setStatus('current') if mibBuilder.loadTexts: ipHttpsPort.setDescription('The port number for HTTPS.') bcastStormTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1), ) if mibBuilder.loadTexts: bcastStormTable.setStatus('current') if mibBuilder.loadTexts: bcastStormTable.setDescription('Table to manage the control of broadcast storms for ports.') bcastStormEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "bcastStormIfIndex")) if mibBuilder.loadTexts: bcastStormEntry.setStatus('current') if mibBuilder.loadTexts: bcastStormEntry.setDescription('The conceptual row of bcastStormTable.') bcastStormIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: bcastStormIfIndex.setStatus('current') if mibBuilder.loadTexts: bcastStormIfIndex.setDescription('The port and the trunk (including trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') bcastStormStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 2), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bcastStormStatus.setStatus('current') if mibBuilder.loadTexts: bcastStormStatus.setDescription('Whether broadcast storm protection is enabled.') bcastStormSampleType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("pkt-rate", 1), ("octet-rate", 2), ("percent", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bcastStormSampleType.setStatus('current') if mibBuilder.loadTexts: bcastStormSampleType.setDescription('Sample type. If this is pkt-rate(1), then bcastStormPktRate is used to specify the broadcast storm threshold. If this is octet-rate(2), then bcastStormOctetRate determines the broadcast storm threshold. If this is percent(3), then bcastStormPercent determines the threshold.') bcastStormPktRate = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bcastStormPktRate.setStatus('current') if mibBuilder.loadTexts: bcastStormPktRate.setDescription('Broadcast storm threshold as packets per second. If this entry is for a trunk, this is the value for each member port.') bcastStormOctetRate = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bcastStormOctetRate.setStatus('current') if mibBuilder.loadTexts: bcastStormOctetRate.setDescription('Broadcast storm threshold as octets per second. If this entry is for a trunk, this is the value for each member port.') bcastStormPercent = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 11, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bcastStormPercent.setStatus('current') if mibBuilder.loadTexts: bcastStormPercent.setDescription('Broadcast storm threshold as percentage of bandwidth.') vlanTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 1), ) if mibBuilder.loadTexts: vlanTable.setStatus('current') if mibBuilder.loadTexts: vlanTable.setDescription('Table for VLAN configuration.') vlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "vlanIndex")) if mibBuilder.loadTexts: vlanEntry.setStatus('current') if mibBuilder.loadTexts: vlanEntry.setDescription('Entry for VLAN configuration.') vlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: vlanIndex.setStatus('current') if mibBuilder.loadTexts: vlanIndex.setDescription('Based on dot1qVlanIndex in the Q-BRIDGE-MIB. This table has only one entry - the entry for the VLAN of the management interface.') vlanAddressMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("user", 1), ("bootp", 2), ("dhcp", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanAddressMethod.setStatus('current') if mibBuilder.loadTexts: vlanAddressMethod.setDescription('Method to get the IP address.') vlanPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 2), ) if mibBuilder.loadTexts: vlanPortTable.setStatus('current') if mibBuilder.loadTexts: vlanPortTable.setDescription('Table for port configuration in VLAN.') vlanPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 2, 1), ).setIndexNames((0, "V2H124-24-MIB", "vlanPortIndex")) if mibBuilder.loadTexts: vlanPortEntry.setStatus('current') if mibBuilder.loadTexts: vlanPortEntry.setDescription('Entry for port configuration in VLAN.') vlanPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 2, 1, 1), Integer32()) if mibBuilder.loadTexts: vlanPortIndex.setStatus('current') if mibBuilder.loadTexts: vlanPortIndex.setDescription('The port and the trunk (excluding trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of dot1qPvid in the Q-BRIDGE-MIB.') vlanPortMode = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 12, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hybrid", 1), ("dot1qTrunk", 2), ("access", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanPortMode.setStatus('current') if mibBuilder.loadTexts: vlanPortMode.setDescription('This variable sets the 802.1Q VLAN mode. Setting it to hybrid(1) sets a hybrid link. Setting it to dot1qTrunk(2) sets a trunk link. Setting it to access(3) sets an access link.') prioIpPrecDscpStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("precedence", 2), ("dscp", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpPrecDscpStatus.setStatus('current') if mibBuilder.loadTexts: prioIpPrecDscpStatus.setDescription('Selects whether no frame priority mapping, IP ToS precedence mapping or DSCP mapping is performed.') prioIpPrecTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 2), ) if mibBuilder.loadTexts: prioIpPrecTable.setStatus('current') if mibBuilder.loadTexts: prioIpPrecTable.setDescription('Table for IP precedence priority mapping.') prioIpPrecEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 2, 1), ).setIndexNames((0, "V2H124-24-MIB", "prioIpPrecPort"), (0, "V2H124-24-MIB", "prioIpPrecValue")) if mibBuilder.loadTexts: prioIpPrecEntry.setStatus('current') if mibBuilder.loadTexts: prioIpPrecEntry.setDescription('Entry for IP precedence priority mapping.') prioIpPrecPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 2, 1, 2), Integer32()) if mibBuilder.loadTexts: prioIpPrecPort.setStatus('current') if mibBuilder.loadTexts: prioIpPrecPort.setDescription('The port and the trunk (excluding trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') prioIpPrecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: prioIpPrecValue.setStatus('current') if mibBuilder.loadTexts: prioIpPrecValue.setDescription('Value of IP ToS Precedence as specified in the packet header.') prioIpPrecCos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpPrecCos.setReference('P-BRIDGE-MIB.dot1dPriority.dot1dTrafficClassTable.') if mibBuilder.loadTexts: prioIpPrecCos.setStatus('current') if mibBuilder.loadTexts: prioIpPrecCos.setDescription('Class of Service (CoS) as defined by dot1dTrafficClassPriority in the P-BRIDGE-MIB. The IP ToS precedence value in the same table row will be mapped to this CoS. This CoS is then further mapped to the hardware queue according to dot1dTrafficClassTable.') prioIpPrecRestoreDefault = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpPrecRestoreDefault.setStatus('current') if mibBuilder.loadTexts: prioIpPrecRestoreDefault.setDescription('Enables the IP Precedence settings of a port to be restored to their default values. To reset the settings of a port, assign prioIpPrecRestoreDefault to the value of ifIndex defined by the ifIndex in the IF-MIB. For example, If 1 is written to it, then the IP priorities of port 1 will be restored to default. When read, this object always returns 0.') prioIpDscpTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 4), ) if mibBuilder.loadTexts: prioIpDscpTable.setStatus('current') if mibBuilder.loadTexts: prioIpDscpTable.setDescription('Table for IP DSCP priority mapping.') prioIpDscpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 4, 1), ).setIndexNames((0, "V2H124-24-MIB", "prioIpDscpPort"), (0, "V2H124-24-MIB", "prioIpDscpValue")) if mibBuilder.loadTexts: prioIpDscpEntry.setStatus('current') if mibBuilder.loadTexts: prioIpDscpEntry.setDescription('Entry for IP DSCP priority mapping.') prioIpDscpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 4, 1, 1), Integer32()) if mibBuilder.loadTexts: prioIpDscpPort.setStatus('current') if mibBuilder.loadTexts: prioIpDscpPort.setDescription('The port and the trunk (excluding trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') prioIpDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))) if mibBuilder.loadTexts: prioIpDscpValue.setStatus('current') if mibBuilder.loadTexts: prioIpDscpValue.setDescription('Value of IP DSCP as specified in the packet header.') prioIpDscpCos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpDscpCos.setReference('P-BRIDGE-MIB.dot1dPriority.dot1dTrafficClassTable.') if mibBuilder.loadTexts: prioIpDscpCos.setStatus('current') if mibBuilder.loadTexts: prioIpDscpCos.setDescription('Class of Service as defined by dot1dTrafficClassPriority in the P-BRIDGE-MIB. The prioIpDscpValue value in the same table row will be mapped to this Class of Service (COS). This CoS is then further mapped to the hardware queue according to dot1dTrafficClassTable.') prioIpDscpRestoreDefault = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpDscpRestoreDefault.setStatus('current') if mibBuilder.loadTexts: prioIpDscpRestoreDefault.setDescription('Enables the IP DSCP settings of a port to be reset to their defaults. To reset the IP DSCP settings of a port, assign the value of the relevant ifIndex defined by the ifIndex in the IF-MIB. For example, assigning the value 1 will result in the IP DSCP settings of port 1 being restored to their default. When read, this object always returns 0.') prioIpPortEnableStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 6), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioIpPortEnableStatus.setStatus('current') if mibBuilder.loadTexts: prioIpPortEnableStatus.setDescription('Whether IP Port priority look-up is enabled.') prioIpPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7), ) if mibBuilder.loadTexts: prioIpPortTable.setStatus('current') if mibBuilder.loadTexts: prioIpPortTable.setDescription('Table for IP port priority mapping.') prioIpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7, 1), ).setIndexNames((0, "V2H124-24-MIB", "prioIpPortPhysPort"), (0, "V2H124-24-MIB", "prioIpPortValue")) if mibBuilder.loadTexts: prioIpPortEntry.setStatus('current') if mibBuilder.loadTexts: prioIpPortEntry.setDescription('Entry for IP port priority mapping.') prioIpPortPhysPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7, 1, 1), Integer32()) if mibBuilder.loadTexts: prioIpPortPhysPort.setStatus('current') if mibBuilder.loadTexts: prioIpPortPhysPort.setDescription('The port and the trunk (excluding trunk member) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') prioIpPortValue = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: prioIpPortValue.setStatus('current') if mibBuilder.loadTexts: prioIpPortValue.setDescription('IP port for this value.') prioIpPortCos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prioIpPortCos.setStatus('current') if mibBuilder.loadTexts: prioIpPortCos.setDescription('Class of service for this entry.') prioIpPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 7, 1, 4), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: prioIpPortStatus.setStatus('current') if mibBuilder.loadTexts: prioIpPortStatus.setDescription('Writing this to valid(1) creates an entry. Writing this to invalid(2) destroys an entry.') prioCopy = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 8)) prioCopyIpPrec = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 8, 1), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioCopyIpPrec.setStatus('current') if mibBuilder.loadTexts: prioCopyIpPrec.setDescription('Action to copy IP Precedence settings from a source port to many destination ports. The first four octets represent an integer for the source port, in high-to-low (big-endian) order. Starting from the 5th octet is destination port list in a form described by PortList in the Q-BRIDGE-MIB. Writing this object will perform copy. Reading this object will always get a zero-length octet string.') prioCopyIpDscp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 8, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioCopyIpDscp.setStatus('current') if mibBuilder.loadTexts: prioCopyIpDscp.setDescription('Action to copy IP DSCP settings from a source port to many destination ports. The first four octets represent an integer for the source port, in high-to-low (big-endian) order. Starting from the 5th octet is destination port list in a form described by PortList in the Q-BRIDGE-MIB. Writing this object will perform copy. Reading this object will always get a zero-length octet string.') prioCopyIpPort = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 8, 3), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioCopyIpPort.setStatus('current') if mibBuilder.loadTexts: prioCopyIpPort.setDescription('Action to copy IP Port settings from a source port to many destination ports. The first four octets represent an integer for the source port, in high-to-low (big-endian) order. Starting from the 5th octet is destination port list in a form described by PortList in the Q-BRIDGE-MIB. Writing this object will perform copy. Reading this object will always get a zero-length octet string.') prioWrrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 9), ) if mibBuilder.loadTexts: prioWrrTable.setStatus('current') if mibBuilder.loadTexts: prioWrrTable.setDescription('Table for weighted round robin (WRR).') prioWrrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 9, 1), ).setIndexNames((0, "V2H124-24-MIB", "prioWrrTrafficClass")) if mibBuilder.loadTexts: prioWrrEntry.setStatus('current') if mibBuilder.loadTexts: prioWrrEntry.setDescription('Entry for weighted round robin (WRR).') prioWrrTrafficClass = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: prioWrrTrafficClass.setReference('MIB.IETF|Q-BRIDGE-MIB.dot1dTrafficClass.') if mibBuilder.loadTexts: prioWrrTrafficClass.setStatus('current') if mibBuilder.loadTexts: prioWrrTrafficClass.setDescription('Traffic class for this entry, as defined in dot1dTrafficClass in the P-BRIDGE-MIB. The actual maximum depends on the hardware, and is equal to dot1dPortNumTrafficClasses-1.') prioWrrWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 13, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prioWrrWeight.setStatus('current') if mibBuilder.loadTexts: prioWrrWeight.setDescription('Weight for this entry.') trapDestTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1), ) if mibBuilder.loadTexts: trapDestTable.setReference('RMON2-MIB, mib2(1).rmon(16).probeConfig(19).trapDestTable(13).') if mibBuilder.loadTexts: trapDestTable.setStatus('current') if mibBuilder.loadTexts: trapDestTable.setDescription('A list of trap destination entries.') trapDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "trapDestAddress")) if mibBuilder.loadTexts: trapDestEntry.setStatus('current') if mibBuilder.loadTexts: trapDestEntry.setDescription('A destination entry describes the destination IP address, the community string and SNMP version to use when sending a trap.') trapDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1, 1, 1), IpAddress()) if mibBuilder.loadTexts: trapDestAddress.setStatus('current') if mibBuilder.loadTexts: trapDestAddress.setDescription('The address to send traps.') trapDestCommunity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestCommunity.setStatus('current') if mibBuilder.loadTexts: trapDestCommunity.setDescription('A community to which this destination address belongs.') trapDestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1, 1, 3), ValidStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestStatus.setStatus('current') if mibBuilder.loadTexts: trapDestStatus.setDescription('Setting this to valid(1) creates an entry. Setting this to invalid(2) destroys an entry.') trapDestVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("version1", 1), ("version2", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestVersion.setStatus('current') if mibBuilder.loadTexts: trapDestVersion.setDescription('Determines the version of the Trap that is to be sent to the trap Receiver. If the value is 1, then a SNMP version 1 trap will be sent and if the value is 2, a SNMP version 2 trap is sent.') rateLimitMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1)) rateLimitStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 1), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rateLimitStatus.setStatus('current') if mibBuilder.loadTexts: rateLimitStatus.setDescription('Whether rate limit is enabled.') rateLimitPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2), ) if mibBuilder.loadTexts: rateLimitPortTable.setStatus('current') if mibBuilder.loadTexts: rateLimitPortTable.setDescription('Table for rate limit of each port.') rateLimitPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1), ).setIndexNames((0, "V2H124-24-MIB", "rlPortIndex")) if mibBuilder.loadTexts: rateLimitPortEntry.setStatus('current') if mibBuilder.loadTexts: rateLimitPortEntry.setDescription('Entry for rate limit of each port.') rlPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1, 1), Integer32()) if mibBuilder.loadTexts: rlPortIndex.setStatus('current') if mibBuilder.loadTexts: rlPortIndex.setDescription('The port and the trunk (including trunk member) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') rlPortInputLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlPortInputLimit.setStatus('current') if mibBuilder.loadTexts: rlPortInputLimit.setDescription('Value of the input rate limit. Its unit is megabits per second. For a 100 Mb/s port, the range is 1 to 100. For a 1000 Mb/s port, the range is 1 to 1000.') rlPortOutputLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlPortOutputLimit.setStatus('current') if mibBuilder.loadTexts: rlPortOutputLimit.setDescription('Value of the output rate limit. Its unit is megabits per second. For a 100 Mb/s port, the range is 1 to 100. For a 1000 Mb/s port, the range is 1 to 1000.') rlPortInputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1, 6), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlPortInputStatus.setStatus('current') if mibBuilder.loadTexts: rlPortInputStatus.setDescription('Whether input rate limit is enabled for this port.') rlPortOutputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 1, 2, 1, 7), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlPortOutputStatus.setStatus('current') if mibBuilder.loadTexts: rlPortOutputStatus.setDescription('Whether output rate limit is enabled for this port.') markerMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2)) markerTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1), ) if mibBuilder.loadTexts: markerTable.setStatus('current') if mibBuilder.loadTexts: markerTable.setDescription('The marker table.') markerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "markerIfIndex"), (0, "V2H124-24-MIB", "markerAclName")) if mibBuilder.loadTexts: markerEntry.setStatus('current') if mibBuilder.loadTexts: markerEntry.setDescription('Entry for marker table.') markerIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: markerIfIndex.setStatus('current') if mibBuilder.loadTexts: markerIfIndex.setDescription('The interface index of the marker table. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') markerAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: markerAclName.setStatus('current') if mibBuilder.loadTexts: markerAclName.setDescription('The name of an ACL. Within a feature the name is unique used to identifies the list to which the entry belongs in the device.') markerActionBitList = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 3), Bits().clone(namedValues=NamedValues(("dscp", 0), ("precedence", 1), ("priority", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: markerActionBitList.setStatus('current') if mibBuilder.loadTexts: markerActionBitList.setDescription('The marker action bit list, in right to left order. for example: 0x3(11 in binary) means dscp(0) and precedence(1) 0x4(100 in binary) means priority(2)') markerDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: markerDscp.setStatus('current') if mibBuilder.loadTexts: markerDscp.setDescription('The Dscp value of the marker entry.') markerPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: markerPrecedence.setStatus('current') if mibBuilder.loadTexts: markerPrecedence.setDescription('The precedence value of the marker entry.') markerPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: markerPriority.setStatus('current') if mibBuilder.loadTexts: markerPriority.setDescription('The priority value of the marker entry.') markerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 2, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: markerStatus.setStatus('current') if mibBuilder.loadTexts: markerStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") cosMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3)) prioAclToCosMappingTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1), ) if mibBuilder.loadTexts: prioAclToCosMappingTable.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingTable.setDescription('Table for Acl to Cos Mapping.') prioAclToCosMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "prioAclToCosMappingIfIndex"), (0, "V2H124-24-MIB", "prioAclToCosMappingAclName")) if mibBuilder.loadTexts: prioAclToCosMappingEntry.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingEntry.setDescription('Entry for Acl to Cos Mapping.') prioAclToCosMappingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: prioAclToCosMappingIfIndex.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingIfIndex.setDescription('The port interface of the prioAclToCosMappingEntry. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') prioAclToCosMappingAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: prioAclToCosMappingAclName.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingAclName.setDescription('The name of an IP ACL. Within a feature the name is unique used to identifies the list to which the entry belongs in the device.') prioAclToCosMappingCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prioAclToCosMappingCosValue.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingCosValue.setDescription('Cos value of the prioAclToCosMappingTable.') prioAclToCosMappingStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 16, 3, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: prioAclToCosMappingStatus.setStatus('current') if mibBuilder.loadTexts: prioAclToCosMappingStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") portSecurityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2)) radiusMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4)) tacacsMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 5)) sshMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6)) aclMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7)) portSecPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1), ) if mibBuilder.loadTexts: portSecPortTable.setStatus('current') if mibBuilder.loadTexts: portSecPortTable.setDescription('The Port Security(MAC binding) Table') portSecPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "portSecPortIndex")) if mibBuilder.loadTexts: portSecPortEntry.setStatus('current') if mibBuilder.loadTexts: portSecPortEntry.setDescription('The entry of portSecPortTable') portSecPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: portSecPortIndex.setStatus('current') if mibBuilder.loadTexts: portSecPortIndex.setDescription('The port and the trunk (excluding trunk members) interface of the portTable. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex in the IF-MIB.') portSecPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1, 1, 2), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: portSecPortStatus.setStatus('current') if mibBuilder.loadTexts: portSecPortStatus.setDescription('Set enabled(1) to enable port security and set disabled(2) to disable port security.') portSecAction = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("trap", 2), ("shutdown", 3), ("trapAndShutdown", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portSecAction.setStatus('current') if mibBuilder.loadTexts: portSecAction.setDescription('The corresponding actions that will take place when a port is under intruded, when this variable is set to none(1), no action will perform, when this variable is set to trap(2), a swPortSecurityTrap trap will send, when this variable is set to shutdown(3), the port will shutdown, when this variable is set to trapAndShutdown(4), a swPortSecurityTrap will send and the port will shutdown.') portSecMaxMacCount = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portSecMaxMacCount.setStatus('current') if mibBuilder.loadTexts: portSecMaxMacCount.setDescription('The maximun number of MAC addresses that will be learned and locked. When we change the value of this variable, if the portSecPortStatus is enabled, we will discard all secure MAC and begin to learn again, until the number of MAC has reached this value, and only the secure MAC addresses can enter this port. If the portSecPortStatus is disabled, we will begin to learn the MAC, and auto enabled the portSecPortStatus when the MAC has reached this value.') radiusServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusServerAddress.setStatus('current') if mibBuilder.loadTexts: radiusServerAddress.setDescription('IP address of RADIUS server.') radiusServerPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusServerPortNumber.setStatus('current') if mibBuilder.loadTexts: radiusServerPortNumber.setDescription('IP port number of RADIUS server.') radiusServerKey = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusServerKey.setStatus('current') if mibBuilder.loadTexts: radiusServerKey.setDescription('Key for RADIUS. This variable can only be set. When this variable is read, it always returns a zero-length string.') radiusServerRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusServerRetransmit.setStatus('current') if mibBuilder.loadTexts: radiusServerRetransmit.setDescription('Maximum number of retransmissions for RADIUS.') radiusServerTimeout = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 4, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusServerTimeout.setStatus('current') if mibBuilder.loadTexts: radiusServerTimeout.setDescription('Timeout for RADIUS.') tacacsServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 5, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tacacsServerAddress.setStatus('current') if mibBuilder.loadTexts: tacacsServerAddress.setDescription('IP address of TACACS server.') tacacsServerPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tacacsServerPortNumber.setStatus('current') if mibBuilder.loadTexts: tacacsServerPortNumber.setDescription('IP port number of TACACS server.') tacacsServerKey = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tacacsServerKey.setStatus('current') if mibBuilder.loadTexts: tacacsServerKey.setDescription('The encryption key used to authenticate logon access for the client using TACAS. Do not use blank spaces in the string. This variable can only be set. When this variable is read, it always returns a zero-length string.') sshServerStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 1), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshServerStatus.setStatus('current') if mibBuilder.loadTexts: sshServerStatus.setDescription('The status of Secure Shell Server, set this value to 1 to enable SSH server, set this value to 2 to disable the SSH server.') sshServerMajorVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sshServerMajorVersion.setStatus('current') if mibBuilder.loadTexts: sshServerMajorVersion.setDescription('The major version of the SSH Server.') sshServerMinorVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sshServerMinorVersion.setStatus('current') if mibBuilder.loadTexts: sshServerMinorVersion.setDescription('The minor version of the SSH Server.') sshTimeout = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 120))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshTimeout.setStatus('current') if mibBuilder.loadTexts: sshTimeout.setDescription('The time interval that the router waits for the SSH client to respond. The range is 1-120.') sshAuthRetries = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshAuthRetries.setStatus('current') if mibBuilder.loadTexts: sshAuthRetries.setDescription('The number of attempts after which the interface is reset. The range is 1-5.') sshConnInfoTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6), ) if mibBuilder.loadTexts: sshConnInfoTable.setStatus('current') if mibBuilder.loadTexts: sshConnInfoTable.setDescription('The table for Secure Shell Connection.') sshConnInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1), ).setIndexNames((0, "V2H124-24-MIB", "sshConnID")) if mibBuilder.loadTexts: sshConnInfoEntry.setStatus('current') if mibBuilder.loadTexts: sshConnInfoEntry.setDescription('The conceptual row for sshConnInfoTable.') sshConnID = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 1), Integer32()) if mibBuilder.loadTexts: sshConnID.setStatus('current') if mibBuilder.loadTexts: sshConnID.setDescription('The connection ID of the Secure Shell Connection.') sshConnMajorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sshConnMajorVersion.setStatus('current') if mibBuilder.loadTexts: sshConnMajorVersion.setDescription('The SSH major version.') sshConnMinorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sshConnMinorVersion.setStatus('current') if mibBuilder.loadTexts: sshConnMinorVersion.setDescription('The SSH minor version.') sshConnStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("negotiationStart", 1), ("authenticationStart", 2), ("sessionStart", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sshConnStatus.setStatus('current') if mibBuilder.loadTexts: sshConnStatus.setDescription('The SSH connection State. negotiationStart(1) mean the SSH is in its negotiation start state, authenticationStart(2) mean the SSH is in authentication start state, sessionStart(3) mean the SSH is in session start State.') sshConnEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("des", 2), ("tribeDes", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sshConnEncryptionType.setStatus('current') if mibBuilder.loadTexts: sshConnEncryptionType.setDescription('The encryption type of the SSH. none(1) mean no encryption , des(2) mean using DES encryption, tribeDes mean using 3DES encryption.') sshConnUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 6), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sshConnUserName.setStatus('current') if mibBuilder.loadTexts: sshConnUserName.setDescription('The user name of the connection.') sshDisconnect = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 6, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noDisconnect", 1), ("disconnect", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshDisconnect.setStatus('current') if mibBuilder.loadTexts: sshDisconnect.setDescription('Set the variable to disconnect to disconnect the connection, when read, this variable always return noDisconnect(1).') aclIpAceTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1), ) if mibBuilder.loadTexts: aclIpAceTable.setStatus('current') if mibBuilder.loadTexts: aclIpAceTable.setDescription('The conceptual table of all of aclIpAceEntry ') aclIpAceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclIpAceName"), (0, "V2H124-24-MIB", "aclIpAceIndex")) if mibBuilder.loadTexts: aclIpAceEntry.setStatus('current') if mibBuilder.loadTexts: aclIpAceEntry.setDescription('The conceptual row for aclIpAceTable.') aclIpAceName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: aclIpAceName.setStatus('current') if mibBuilder.loadTexts: aclIpAceName.setDescription('The name of an ACL. Within a feature the name is unique used to identifies the list to which the entry belongs in the device') aclIpAceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))) if mibBuilder.loadTexts: aclIpAceIndex.setStatus('current') if mibBuilder.loadTexts: aclIpAceIndex.setDescription('The unique index of an ACE within an ACL ') aclIpAcePrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclIpAcePrecedence.setStatus('current') if mibBuilder.loadTexts: aclIpAcePrecedence.setDescription('Specifies the IP precedence value') aclIpAceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("permit", 1), ("deny", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceAction.setStatus('current') if mibBuilder.loadTexts: aclIpAceAction.setDescription(' the aclIpAceAction of aces which have the same aclIpAceName must be the same') aclIpAceSourceIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 5), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceSourceIpAddr.setStatus('current') if mibBuilder.loadTexts: aclIpAceSourceIpAddr.setDescription("The specified source IP address. The packet's source address is AND-ed with the value of aclIpAceSourceIpAddrBitmask and then compared against the value of this object.") aclIpAceSourceIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 6), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceSourceIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIpAceSourceIpAddrBitmask.setDescription('The specified source IP address mask ') aclIpAceDestIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 7), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceDestIpAddr.setStatus('current') if mibBuilder.loadTexts: aclIpAceDestIpAddr.setDescription("The specified destination IP address. The packet's destination address is AND-ed with the value of aclIpAceDestIpAddrBitmask and then compared against the value of this object") aclIpAceDestIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 8), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceDestIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIpAceDestIpAddrBitmask.setDescription('The specified destination IP address mask') aclIpAceProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceProtocol.setStatus('current') if mibBuilder.loadTexts: aclIpAceProtocol.setDescription("The protocol number field in the IP header used to indicate the higher layer protocol as specified in RFC 1700. A value value of 0 matches every IP packet. the object=256, means 'any' For example : 0 is IP, 1 is ICMP, 2 is IGMP, 4 is IP in IP encapsulation, 6 is TCP, 9 is IGRP, 17 is UDP, 47 is GRE, 50 is ESP, 51 is AH, 88 is IGRP, 89 is OSPF, 94 is KA9Q/NOS compatible IP over IP, 103 is PIMv2, 108 is PCP. ") aclIpAcePrec = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAcePrec.setStatus('current') if mibBuilder.loadTexts: aclIpAcePrec.setDescription('') aclIpAceTos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceTos.setStatus('current') if mibBuilder.loadTexts: aclIpAceTos.setDescription('') aclIpAceDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceDscp.setStatus('current') if mibBuilder.loadTexts: aclIpAceDscp.setDescription('') aclIpAceSourcePortOp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOperator", 1), ("equal", 2), ("range", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceSourcePortOp.setStatus('current') if mibBuilder.loadTexts: aclIpAceSourcePortOp.setDescription('') aclIpAceMinSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceMinSourcePort.setStatus('current') if mibBuilder.loadTexts: aclIpAceMinSourcePort.setDescription('') aclIpAceMaxSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceMaxSourcePort.setStatus('current') if mibBuilder.loadTexts: aclIpAceMaxSourcePort.setDescription('') aclIpAceSourcePortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceSourcePortBitmask.setStatus('current') if mibBuilder.loadTexts: aclIpAceSourcePortBitmask.setDescription('') aclIpAceDestPortOp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOperator", 1), ("equal", 2), ("range", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceDestPortOp.setStatus('current') if mibBuilder.loadTexts: aclIpAceDestPortOp.setDescription('') aclIpAceMinDestPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceMinDestPort.setStatus('current') if mibBuilder.loadTexts: aclIpAceMinDestPort.setDescription('') aclIpAceMaxDestPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceMaxDestPort.setStatus('current') if mibBuilder.loadTexts: aclIpAceMaxDestPort.setDescription('') aclIpAceDestPortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceDestPortBitmask.setStatus('current') if mibBuilder.loadTexts: aclIpAceDestPortBitmask.setDescription('') aclIpAceControlCode = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceControlCode.setStatus('current') if mibBuilder.loadTexts: aclIpAceControlCode.setDescription(" Indicates how a the control flags of TCP packet's to be compared to be compared. aceIpControlCode is AND-ed with aceIpControlCodeBitmask") aclIpAceControlCodeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceControlCodeBitmask.setStatus('current') if mibBuilder.loadTexts: aclIpAceControlCodeBitmask.setDescription("Indicates how a the control flags of TCP packet's to be compared to be compared. it can be used to check multiple flags of the FIN, SYN, RST, PSH, ACK, URG by sum of FIN=1, SYN=2, RST=4, PSH=8, ACK=16, URG=32 ") aclIpAceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 1, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIpAceStatus.setStatus('current') if mibBuilder.loadTexts: aclIpAceStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") aclMacAceTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2), ) if mibBuilder.loadTexts: aclMacAceTable.setStatus('current') if mibBuilder.loadTexts: aclMacAceTable.setDescription('The conceptual table of all of aclMacAceEntry ') aclMacAceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclMacAceName"), (0, "V2H124-24-MIB", "aclMacAceIndex")) if mibBuilder.loadTexts: aclMacAceEntry.setStatus('current') if mibBuilder.loadTexts: aclMacAceEntry.setDescription('The conceptual row for aclMacAceTable. ') aclMacAceName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: aclMacAceName.setStatus('current') if mibBuilder.loadTexts: aclMacAceName.setDescription('The name of an ACL. Within a feature the name is unique used to identifies the list to which the entry belongs in the device') aclMacAceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))) if mibBuilder.loadTexts: aclMacAceIndex.setStatus('current') if mibBuilder.loadTexts: aclMacAceIndex.setDescription('The unique index of an ACE within an ACL') aclMacAcePrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclMacAcePrecedence.setStatus('current') if mibBuilder.loadTexts: aclMacAcePrecedence.setDescription('Specifies the IP precedence value') aclMacAceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("permit", 1), ("deny", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceAction.setStatus('current') if mibBuilder.loadTexts: aclMacAceAction.setDescription('the aclMacAceAction of aces which have the same aclMacAceName must be the same') aclMacAcePktformat = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("any", 1), ("untagged-Eth2", 2), ("untagged802Dot3", 3), ("tagggedEth2", 4), ("tagged802Dot3", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAcePktformat.setStatus('current') if mibBuilder.loadTexts: aclMacAcePktformat.setDescription('used to check the packet format of the packets') aclMacAceSourceMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceSourceMacAddr.setStatus('current') if mibBuilder.loadTexts: aclMacAceSourceMacAddr.setDescription("Indicates the 48 bits destination MAC address. The specified source mac of the packet The packet's source mac address is AND-ed with the value of aceMacSourceMacAddrBitmask and then compared against the value of this object.") aclMacAceSourceMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceSourceMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclMacAceSourceMacAddrBitmask.setDescription('The specified source mac address mask.') aclMacAceDestMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceDestMacAddr.setStatus('current') if mibBuilder.loadTexts: aclMacAceDestMacAddr.setDescription("Indicates the 48 bits destination MAC address. The specified destination mac of the packet The packet's destination mac address is AND-ed with the value of aceMacDestMacAddrBitmask and then compared against the value of this object.") aclMacAceDestMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceDestMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclMacAceDestMacAddrBitmask.setDescription('The specified destination mac address mask.') aclMacAceVidOp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOperator", 1), ("equal", 2), ("range", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceVidOp.setStatus('current') if mibBuilder.loadTexts: aclMacAceVidOp.setDescription('') aclMacAceMinVid = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceMinVid.setStatus('current') if mibBuilder.loadTexts: aclMacAceMinVid.setDescription('') aclMacAceVidBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceVidBitmask.setStatus('current') if mibBuilder.loadTexts: aclMacAceVidBitmask.setDescription('') aclMacAceMaxVid = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceMaxVid.setStatus('current') if mibBuilder.loadTexts: aclMacAceMaxVid.setDescription('') aclMacAceEtherTypeOp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOperator", 1), ("equal", 2), ("range", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceEtherTypeOp.setStatus('current') if mibBuilder.loadTexts: aclMacAceEtherTypeOp.setDescription('') aclMacAceEtherTypeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceEtherTypeBitmask.setStatus('current') if mibBuilder.loadTexts: aclMacAceEtherTypeBitmask.setDescription('') aclMacAceMinEtherType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1536, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceMinEtherType.setStatus('current') if mibBuilder.loadTexts: aclMacAceMinEtherType.setDescription('') aclMacAceMaxEtherType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1536, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceMaxEtherType.setStatus('current') if mibBuilder.loadTexts: aclMacAceMaxEtherType.setDescription('') aclMacAceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 2, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclMacAceStatus.setStatus('current') if mibBuilder.loadTexts: aclMacAceStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") aclAclGroupTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3), ) if mibBuilder.loadTexts: aclAclGroupTable.setStatus('current') if mibBuilder.loadTexts: aclAclGroupTable.setDescription(' the conceptual table of aclAclGroupEntry ') aclAclGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclAclGroupIfIndex")) if mibBuilder.loadTexts: aclAclGroupEntry.setStatus('current') if mibBuilder.loadTexts: aclAclGroupEntry.setDescription('The conceptual row for aclAclGroupTable.') aclAclGroupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: aclAclGroupIfIndex.setStatus('current') if mibBuilder.loadTexts: aclAclGroupIfIndex.setDescription('the interface number specified the ACL bining to.') aclAclGroupIngressIpAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aclAclGroupIngressIpAcl.setStatus('current') if mibBuilder.loadTexts: aclAclGroupIngressIpAcl.setDescription('specified the ingress ip acl(standard or extended) binding to the interface.') aclAclGroupEgressIpAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aclAclGroupEgressIpAcl.setStatus('current') if mibBuilder.loadTexts: aclAclGroupEgressIpAcl.setDescription('specified the egress ip acl(standard or extended) binding to the interface.') aclAclGroupIngressMacAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aclAclGroupIngressMacAcl.setStatus('current') if mibBuilder.loadTexts: aclAclGroupIngressMacAcl.setDescription('specified the ingress mac acl binding to the interface.') aclAclGroupEgressMacAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aclAclGroupEgressMacAcl.setStatus('current') if mibBuilder.loadTexts: aclAclGroupEgressMacAcl.setDescription('specified the egress mac acl binding to the interface.') aclIngressIpMaskTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4), ) if mibBuilder.loadTexts: aclIngressIpMaskTable.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskTable.setDescription(' the conceptual table of aclIngressIpMaskEntry ') aclIngressIpMaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclIngressIpMaskIndex")) if mibBuilder.loadTexts: aclIngressIpMaskEntry.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskEntry.setDescription('The conceptual row for aclIngressIpMaskTable.') aclIngressIpMaskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))) if mibBuilder.loadTexts: aclIngressIpMaskIndex.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskIndex.setDescription('') aclIngressIpMaskPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclIngressIpMaskPrecedence.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskPrecedence.setDescription('') aclIngressIpMaskIsEnableTos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 3), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskIsEnableTos.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskIsEnableTos.setDescription('') aclIngressIpMaskIsEnableDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 4), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskIsEnableDscp.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskIsEnableDscp.setDescription('') aclIngressIpMaskIsEnablePrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 5), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskIsEnablePrecedence.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskIsEnablePrecedence.setDescription('') aclIngressIpMaskIsEnableProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 6), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskIsEnableProtocol.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskIsEnableProtocol.setDescription('') aclIngressIpMaskSourceIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskSourceIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskSourceIpAddrBitmask.setDescription('') aclIngressIpMaskDestIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskDestIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskDestIpAddrBitmask.setDescription('') aclIngressIpMaskSourcePortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskSourcePortBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskSourcePortBitmask.setDescription('') aclIngressIpMaskDestPortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskDestPortBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskDestPortBitmask.setDescription('') aclIngressIpMaskControlCodeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskControlCodeBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskControlCodeBitmask.setDescription('') aclIngressIpMaskStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 4, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressIpMaskStatus.setStatus('current') if mibBuilder.loadTexts: aclIngressIpMaskStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") aclEgressIpMaskTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5), ) if mibBuilder.loadTexts: aclEgressIpMaskTable.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskTable.setDescription(' the conceptual table of aclEgressIpMaskEntry ') aclEgressIpMaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclEgressIpMaskIndex")) if mibBuilder.loadTexts: aclEgressIpMaskEntry.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskEntry.setDescription('The conceptual row for aclEgressIpMaskTable.') aclEgressIpMaskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))) if mibBuilder.loadTexts: aclEgressIpMaskIndex.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskIndex.setDescription('') aclEgressIpMaskPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclEgressIpMaskPrecedence.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskPrecedence.setDescription('') aclEgressIpMaskIsEnableTos = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 3), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskIsEnableTos.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskIsEnableTos.setDescription('') aclEgressIpMaskIsEnableDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 4), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskIsEnableDscp.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskIsEnableDscp.setDescription('') aclEgressIpMaskIsEnablePrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 5), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskIsEnablePrecedence.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskIsEnablePrecedence.setDescription('') aclEgressIpMaskIsEnableProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 6), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskIsEnableProtocol.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskIsEnableProtocol.setDescription('') aclEgressIpMaskSourceIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskSourceIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskSourceIpAddrBitmask.setDescription('') aclEgressIpMaskDestIpAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskDestIpAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskDestIpAddrBitmask.setDescription('') aclEgressIpMaskSourcePortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskSourcePortBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskSourcePortBitmask.setDescription('') aclEgressIpMaskDestPortBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskDestPortBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskDestPortBitmask.setDescription('') aclEgressIpMaskControlCodeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskControlCodeBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskControlCodeBitmask.setDescription('') aclEgressIpMaskStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 5, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressIpMaskStatus.setStatus('current') if mibBuilder.loadTexts: aclEgressIpMaskStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") aclIngressMacMaskTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6), ) if mibBuilder.loadTexts: aclIngressMacMaskTable.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskTable.setDescription(' the conceptual table of aclIngressMacMaskEntry ') aclIngressMacMaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclIngressMacMaskIndex")) if mibBuilder.loadTexts: aclIngressMacMaskEntry.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskEntry.setDescription('The conceptual row for aclIngressMacMaskTable.') aclIngressMacMaskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))) if mibBuilder.loadTexts: aclIngressMacMaskIndex.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskIndex.setDescription('') aclIngressMacMaskPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclIngressMacMaskPrecedence.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskPrecedence.setDescription('') aclIngressMacMaskSourceMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskSourceMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskSourceMacAddrBitmask.setDescription('') aclIngressMacMaskDestMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskDestMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskDestMacAddrBitmask.setDescription('') aclIngressMacMaskVidBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskVidBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskVidBitmask.setDescription('') aclIngressMacMaskEtherTypeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskEtherTypeBitmask.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskEtherTypeBitmask.setDescription('') aclIngressMacMaskIsEnablePktformat = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 7), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskIsEnablePktformat.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskIsEnablePktformat.setDescription('') aclIngressMacMaskStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 6, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclIngressMacMaskStatus.setStatus('current') if mibBuilder.loadTexts: aclIngressMacMaskStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") aclEgressMacMaskTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7), ) if mibBuilder.loadTexts: aclEgressMacMaskTable.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskTable.setDescription(' the conceptual table of aclEgressMacMaskEntry ') aclEgressMacMaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1), ).setIndexNames((0, "V2H124-24-MIB", "aclEgressMacMaskIndex")) if mibBuilder.loadTexts: aclEgressMacMaskEntry.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskEntry.setDescription('The conceptual row for aclEgressMacMaskTable.') aclEgressMacMaskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))) if mibBuilder.loadTexts: aclEgressMacMaskIndex.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskIndex.setDescription('') aclEgressMacMaskPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: aclEgressMacMaskPrecedence.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskPrecedence.setDescription('') aclEgressMacMaskSourceMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskSourceMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskSourceMacAddrBitmask.setDescription('') aclEgressMacMaskDestMacAddrBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskDestMacAddrBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskDestMacAddrBitmask.setDescription('') aclEgressMacMaskVidBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskVidBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskVidBitmask.setDescription('') aclEgressMacMaskEtherTypeBitmask = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskEtherTypeBitmask.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskEtherTypeBitmask.setDescription('') aclEgressMacMaskIsEnablePktformat = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 7), EnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskIsEnablePktformat.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskIsEnablePktformat.setDescription('') aclEgressMacMaskStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 17, 7, 7, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aclEgressMacMaskStatus.setStatus('current') if mibBuilder.loadTexts: aclEgressMacMaskStatus.setDescription("The status of this conceptual row entry. This object isused to manage the creation and deletion of conceptual rows. The status column has six defined values: - `active', which indicates that the conceptual row is available for use by the managed device; - `notInService', which indicates that the conceptual row exists in the agent, but is unavailable for use by the managed device (see NOTE below); - `notReady', which indicates that the conceptual row exists in the agent, but is missing information necessary in order to be available for use by the managed device; - `createAndGo', which is supplied by a management station wishing to create a new instance of a conceptual row and to have its status automatically set to active, making it available for use by the managed device; - `createAndWait', which is supplied by a management station wishing to create a new instance of a conceptual row (but not make it available for use by the managed device); and, - `destroy', which is supplied by a management station wishing to delete all of the instances associated with an existing conceptual row. Whereas five of the six values (all except `notReady') may be specified in a management protocol set operation, only three values will be returned in response to a management protocol retrieval operation: `notReady', `notInService' or `active'. That is, when queried, an existing conceptual row has only three states: it is either available for use by the managed device (the status column has value `active'); it is not available for use by the managed device, though the agent has sufficient information to make it so (the status column has value `notInService'); or, it is not available for use by the managed device, and an attempt to make it so would fail because the agent has insufficient information (the state column has value `notReady'). For detail description of this object, please ref to SNMPv2-TC MIB.") sysLogStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 19, 1), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysLogStatus.setStatus('current') if mibBuilder.loadTexts: sysLogStatus.setDescription('Whether the system log is enabled.') sysLogHistoryFlashLevel = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 19, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysLogHistoryFlashLevel.setStatus('current') if mibBuilder.loadTexts: sysLogHistoryFlashLevel.setDescription('Severity level for logging to flash.') sysLogHistoryRamLevel = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 19, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysLogHistoryRamLevel.setStatus('current') if mibBuilder.loadTexts: sysLogHistoryRamLevel.setDescription('Severity level for logging to RAM.') consoleMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1)) telnetMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 2)) consoleDataBits = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("databits7", 1), ("databits8", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleDataBits.setStatus('current') if mibBuilder.loadTexts: consoleDataBits.setDescription('Number of data bits.') consoleParity = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("partyNone", 1), ("partyEven", 2), ("partyOdd", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleParity.setStatus('current') if mibBuilder.loadTexts: consoleParity.setDescription('Define the generation of a parity bit.') consoleBaudRate = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("baudRate9600", 1), ("baudRate19200", 2), ("baudRate38400", 3), ("baudRate57600", 4), ("baudRate115200", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleBaudRate.setStatus('current') if mibBuilder.loadTexts: consoleBaudRate.setDescription('Baud rate. Valid values are 115200, 57600, 38400, 19200, and 9600.') consoleStopBits = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("stopbits1", 1), ("stopbits2", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleStopBits.setStatus('current') if mibBuilder.loadTexts: consoleStopBits.setDescription('The stop Bits of the console, valid value is stopbits1(1) or stopbits2(2)') consoleExecTimeout = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleExecTimeout.setStatus('current') if mibBuilder.loadTexts: consoleExecTimeout.setDescription('In serial console, use the consoleExecTimeout variable to set the interval that the EXEC command interpreter waits until user input is detected, set the value to 0 to disable it.') consolePasswordThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 120))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consolePasswordThreshold.setStatus('current') if mibBuilder.loadTexts: consolePasswordThreshold.setDescription('The number of failed console logon attempts that may be made before the system will not accept a further attempt for the time specified by consoleSilentTime. A value of 0 disables the functionality.') consoleSilentTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: consoleSilentTime.setStatus('current') if mibBuilder.loadTexts: consoleSilentTime.setDescription('The length of time that the management console is inaccessible for after the number of failed logon attempts has reached consolePasswordThreshold. A value of 0 disables the functionality.') telnetExecTimeout = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetExecTimeout.setStatus('current') if mibBuilder.loadTexts: telnetExecTimeout.setDescription('Specifies the interval that the system waits for user input before terminating the current telnet session.') telnetPasswordThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 20, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 120))).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetPasswordThreshold.setStatus('current') if mibBuilder.loadTexts: telnetPasswordThreshold.setDescription('The number of failed telnet logon attempts that may be made before the system will not accept a further attempt to logon with telnet.') sntpMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1)) sntpStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 1), EnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpStatus.setStatus('current') if mibBuilder.loadTexts: sntpStatus.setDescription('Set enabled(1) to enable the SNTP, set disabled(2) to disable the SNTP.') sntpServiceMode = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unicast", 1), ("broadcast", 2), ("anycast", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpServiceMode.setStatus('current') if mibBuilder.loadTexts: sntpServiceMode.setDescription('Service mode.') sntpPollInterval = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 16384))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpPollInterval.setStatus('current') if mibBuilder.loadTexts: sntpPollInterval.setDescription('Polling interval.') sntpServerTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 4), ) if mibBuilder.loadTexts: sntpServerTable.setStatus('current') if mibBuilder.loadTexts: sntpServerTable.setDescription('Table for SNTP servers') sntpServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 4, 1), ).setIndexNames((0, "V2H124-24-MIB", "sntpServerIndex")) if mibBuilder.loadTexts: sntpServerEntry.setStatus('current') if mibBuilder.loadTexts: sntpServerEntry.setDescription('Entry for SNTP servers.') sntpServerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))) if mibBuilder.loadTexts: sntpServerIndex.setStatus('current') if mibBuilder.loadTexts: sntpServerIndex.setDescription('The index of a server. This table has fixed size.') sntpServerIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 1, 4, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpServerIpAddress.setStatus('current') if mibBuilder.loadTexts: sntpServerIpAddress.setDescription('The IP address of a server. Valid IP addresses must occupy contiguous indexes. All IP addresses after the last valid index is 0.') sysCurrentTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysCurrentTime.setStatus('current') if mibBuilder.loadTexts: sysCurrentTime.setDescription("It is a text string in the following form, based on Unix: 'Mmm _d hh:mm:ss yyyy'. 'Mmm' is the first three letters of the English name of the month. '_d' is the day of month. A single-digit day is preceded by the space. 'hh:mm:ss' is a 24-hour representations of hours, minutes, and seconds. A single-digit hour is preceded by a zero. 'yyyy' is the four-digit year. An example is: 'Jan 1 02:03:04 2002'.") sysTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysTimeZone.setStatus('current') if mibBuilder.loadTexts: sysTimeZone.setDescription("It is a text string in the following form: '[s]hh:mm'. '[s]' is a plus-or-minus sign. For UTC, this is omitted. For a positive offset, this is '+'. For a negative offset, this is '-'. 'hh:mm' in the hour and minute offset from UTC. A single-digit hour is preceded by a zero.") sysTimeZoneName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 23, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysTimeZoneName.setStatus('current') if mibBuilder.loadTexts: sysTimeZoneName.setDescription('The name of the time zone.') fileCopyMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1)) fileCopySrcOperType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("file", 1), ("runningCfg", 2), ("startUpCfg", 3), ("tftp", 4), ("unit", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopySrcOperType.setStatus('current') if mibBuilder.loadTexts: fileCopySrcOperType.setDescription("The Copy Operation in which we want to perform to the fileCopyDestOperType, this operation is similar to the CLI command 'copy fileCopySrcOperType fileCopyDestOperType'. file(1) means we want to perform the 'copy file fileCopyDestType' operation, runningCfg(2) means we want to perform the 'copy running-config fileCopyDestOperType' operation, startUpCfg(3) means we want to perform the 'copy startup-config fileCopyDestOperType' operation, tftp(4) means we want to perform the 'copy tftp fileCopyDestOperType' operation, unit(5) is only available in stacking system, in which we can copy files from one unit to another unit and it means we want to perform the 'copy unit fileCopyDestOperType' operation. The possible permutations is as follow: (1)copy file file (2)copy file runningCfg (3) copy file startUpCfg (4)copy file tftp (5) copy file unit(for stacking system only) (6)copy runningCfg file (7)copy runningCfg startUpCfg (8)copy runningCfg tftp (9)copy startupCfg file (10)copy startupCfg runningCfg (11)copy startupCfg tftp (12)copy tftp file (13)copy tftp runningCfg (14)copy tftp startUpCfg (15)copy unit file.") fileCopySrcFileName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopySrcFileName.setStatus('current') if mibBuilder.loadTexts: fileCopySrcFileName.setDescription('The source file name for fileCopyMgt when a copy operation is next requested via this MIB. This value is set to the zero length string when no file name has been specified. Note: if the fileCopySrcOperType is runningCfg(2) or startUpCfg(3), this variable can be ignored.') fileCopyDestOperType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("file", 1), ("runningCfg", 2), ("startUpCfg", 3), ("tftp", 4), ("unit", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyDestOperType.setStatus('current') if mibBuilder.loadTexts: fileCopyDestOperType.setDescription("The Copy Operation in which we want to perform from the fileCopySrcOperType, this operation is similar to the CLI command 'copy fileCopySrcOperType fileCopyDestOperType'. file(1) means we want to perform the 'copy fileCopySrcType file ' operation, runningCfg(2) means we want to perform the 'copy fileCopySrcOperType running-config ' operation, startUpCfg(3) means we want to perform the 'copy fileCopySrcOperType startup-config ' operation, tftp(4) means we want to perform the 'copy fileCopySrcOperType tftp' operation, unit(5) is only available in stacking system, in which we can copy files from one unit to another unit and it means we want to perform the 'copy fileCopySrcOperType unit' operation. The possible permutations is as follow: (1)copy file file (2)copy file runningCfg (3) copy file startUpCfg (4)copy file tftp (5) copy file unit(for stacking system only) (6)copy runningCfg file (7)copy runningCfg startUpCfg (8)copy runningCfg tftp (9)copy startupCfg file (10)copy startupCfg runningCfg (11)copy startupCfg tftp (12)copy tftp file (13)copy tftp runningCfg (14)copy tftp startUpCfg (15)copy unit file.") fileCopyDestFileName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyDestFileName.setStatus('current') if mibBuilder.loadTexts: fileCopyDestFileName.setDescription('The destination file name for fileCopyMgt when a copy operation is next requested via this MIB. This value is set to the zero length string when no file name has been specified. Note: if the fileCopyDestOperType is runningCfg(2) or startupCfg(3), this variable can be ignored.') fileCopyFileType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("opcode", 1), ("config", 2), ("bootRom", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyFileType.setStatus('current') if mibBuilder.loadTexts: fileCopyFileType.setDescription('Type of file to copy in fileCopyMgt. If the fileCopySrcOperType or fileCopyDestOperType is either runningCfg(2) or startupCfg(3), this variable can be ignored. If the fileCopySrcOperType or fileCopyDestOperType is unit(5), this variable cannot be set to bootRom(3).') fileCopyTftpServer = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 6), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyTftpServer.setStatus('current') if mibBuilder.loadTexts: fileCopyTftpServer.setDescription("The IP address of the TFTP server for transfer when a download is next requested via this MIB. This value is set to '0.0.0.0' when no IP address has been specified. If neither fileCopySrcOperType nor fileCopyDestOperType is tftp(4), this variable can be ignored.") fileCopyUnitId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyUnitId.setStatus('current') if mibBuilder.loadTexts: fileCopyUnitId.setDescription("Specify the unit of the switch for stackable device when performing the 'copy unit file' or 'copy file unit' action, If neither fileCopySrcOperType nor fileCopyDestOperType is unit(5), this variable can be ignored.") fileCopyAction = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notCopying", 1), ("copy", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyAction.setStatus('current') if mibBuilder.loadTexts: fileCopyAction.setDescription('Setting this object to copy(2) to begin the copy Operation.') fileCopyStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31))).clone(namedValues=NamedValues(("fileCopyTftpUndefError", 1), ("fileCopyTftpFileNotFound", 2), ("fileCopyTftpAccessViolation", 3), ("fileCopyTftpDiskFull", 4), ("fileCopyTftpIllegalOperation", 5), ("fileCopyTftpUnkownTransferId", 6), ("fileCopyTftpFileExisted", 7), ("fileCopyTftpNoSuchUser", 8), ("fileCopyTftpTimeout", 9), ("fileCopyTftpSendError", 10), ("fileCopyTftpReceiverError", 11), ("fileCopyTftpSocketOpenError", 12), ("fileCopyTftpSocketBindError", 13), ("fileCopyTftpUserCancel", 14), ("fileCopyTftpCompleted", 15), ("fileCopyParaError", 16), ("fileCopyBusy", 17), ("fileCopyUnknown", 18), ("fileCopyReadFileError", 19), ("fileCopySetStartupError", 20), ("fileCopyFileSizeExceed", 21), ("fileCopyMagicWordError", 22), ("fileCopyImageTypeError", 23), ("fileCopyHeaderChecksumError", 24), ("fileCopyImageChecksumError", 25), ("fileCopyWriteFlashFinish", 26), ("fileCopyWriteFlashError", 27), ("fileCopyWriteFlashProgramming", 28), ("fileCopyError", 29), ("fileCopySuccess", 30), ("fileCopyCompleted", 31)))).setMaxAccess("readonly") if mibBuilder.loadTexts: fileCopyStatus.setStatus('current') if mibBuilder.loadTexts: fileCopyStatus.setDescription('The status of the last copy procedure, if any. This object will have a value of downloadStatusUnknown(2) if no copy operation has been performed.') fileCopyTftpErrMsg = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: fileCopyTftpErrMsg.setStatus('current') if mibBuilder.loadTexts: fileCopyTftpErrMsg.setDescription('The tftp error message, this value is meaningful only when the fileCopyStatus is fileCopyTftpUndefError(1).') fileCopyTftpServerHostName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileCopyTftpServerHostName.setStatus('current') if mibBuilder.loadTexts: fileCopyTftpServerHostName.setDescription("The IP address or DNS of the TFTP server for transfer when a download is next requested via this MIB. This value is set to '0.0.0.0' when no IP address has been specified. If neither fileCopySrcOperType nor fileCopyDestOperType is tftp(4), this variable can be ignored.") fileInfoMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2)) fileInfoTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1), ) if mibBuilder.loadTexts: fileInfoTable.setStatus('current') if mibBuilder.loadTexts: fileInfoTable.setDescription('This table contain the information of the file system, we can also perform the delete, set startup file operation.') fileInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1), ).setIndexNames((0, "V2H124-24-MIB", "fileInfoUnitID"), (1, "V2H124-24-MIB", "fileInfoFileName")) if mibBuilder.loadTexts: fileInfoEntry.setStatus('current') if mibBuilder.loadTexts: fileInfoEntry.setDescription('A conceptually row for fileInfoTable.') fileInfoUnitID = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 1), Integer32()) if mibBuilder.loadTexts: fileInfoUnitID.setStatus('current') if mibBuilder.loadTexts: fileInfoUnitID.setDescription('The unit of the switch in a stacking system, in a non-stacking system, it value is always 1.') fileInfoFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))) if mibBuilder.loadTexts: fileInfoFileName.setStatus('current') if mibBuilder.loadTexts: fileInfoFileName.setDescription('The file Name of the file System in the device.') fileInfoFileType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("diag", 1), ("runtime", 2), ("syslog", 3), ("cmdlog", 4), ("config", 5), ("postlog", 6), ("private", 7), ("certificate", 8), ("webarchive", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: fileInfoFileType.setStatus('current') if mibBuilder.loadTexts: fileInfoFileType.setDescription('The file type of the file System in the device.') fileInfoIsStartUp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileInfoIsStartUp.setStatus('current') if mibBuilder.loadTexts: fileInfoIsStartUp.setDescription('This flag indicate whether this file is a startup file, Setting this object to truth(1) to indicate this is a startup file, setting this object to false(2) is a invalid operation.') fileInfoFileSize = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fileInfoFileSize.setStatus('current') if mibBuilder.loadTexts: fileInfoFileSize.setDescription('The sizes( in bytes) of the file.') fileInfoCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: fileInfoCreationTime.setStatus('current') if mibBuilder.loadTexts: fileInfoCreationTime.setDescription('The creation time of the file.') fileInfoDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 1, 24, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noDelete", 1), ("delete", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fileInfoDelete.setStatus('current') if mibBuilder.loadTexts: fileInfoDelete.setDescription('Writing this object to delete(2) to delete a file, when read, this always return noDelete(1).') v2h124_24Traps = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 2, 1)).setLabel("v2h124-24Traps") v2h124_24TrapsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 2, 1, 0)).setLabel("v2h124-24TrapsPrefix") swPowerStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 12, 30, 2, 1, 0, 1)).setObjects(("V2H124-24-MIB", "swIndivPowerUnitIndex"), ("V2H124-24-MIB", "swIndivPowerIndex"), ("V2H124-24-MIB", "swIndivPowerStatus")) if mibBuilder.loadTexts: swPowerStatusChangeTrap.setStatus('current') if mibBuilder.loadTexts: swPowerStatusChangeTrap.setDescription('This trap is sent when the power state changes.') mibBuilder.exportSymbols("V2H124-24-MIB", ipHttpState=ipHttpState, staTxHoldCount=staTxHoldCount, portSpeedDpxCfg=portSpeedDpxCfg, igmpSnoopRouterCurrentVlanIndex=igmpSnoopRouterCurrentVlanIndex, markerStatus=markerStatus, staPortEntry=staPortEntry, ipHttpPort=ipHttpPort, xstInstanceCfgPriority=xstInstanceCfgPriority, xstInstanceCfgIndex=xstInstanceCfgIndex, ipHttpsState=ipHttpsState, bcastStormStatus=bcastStormStatus, xstInstancePortEntry=xstInstancePortEntry, mirrorSourcePort=mirrorSourcePort, igmpSnoopMulticastCurrentIpAddress=igmpSnoopMulticastCurrentIpAddress, prioIpPrecCos=prioIpPrecCos, swIndivPowerStatus=swIndivPowerStatus, swIndivPowerUnitIndex=swIndivPowerUnitIndex, netConfigSubnetMask=netConfigSubnetMask, aclIpAceTable=aclIpAceTable, v2h124swPowerStatus=v2h124swPowerStatus, aclIpAceSourcePortOp=aclIpAceSourcePortOp, prioCopyIpDscp=prioCopyIpDscp, ipDhcpRestart=ipDhcpRestart, sntpPollInterval=sntpPollInterval, sshServerMajorVersion=sshServerMajorVersion, xstInstanceCfgPathCostMethod=xstInstanceCfgPathCostMethod, trapDestCommunity=trapDestCommunity, aclEgressIpMaskEntry=aclEgressIpMaskEntry, aclMacAceName=aclMacAceName, sshConnMinorVersion=sshConnMinorVersion, prioCopyIpPrec=prioCopyIpPrec, aclAclGroupTable=aclAclGroupTable, sysCurrentTime=sysCurrentTime, sntpMgt=sntpMgt, prioIpPortStatus=prioIpPortStatus, sntpServiceMode=sntpServiceMode, staSystemStatus=staSystemStatus, igmpSnoopMulticastCurrentStatus=igmpSnoopMulticastCurrentStatus, aclEgressIpMaskIsEnablePrecedence=aclEgressIpMaskIsEnablePrecedence, fileInfoCreationTime=fileInfoCreationTime, swProdDescription=swProdDescription, aclIngressMacMaskEtherTypeBitmask=aclIngressMacMaskEtherTypeBitmask, rlPortIndex=rlPortIndex, mirrorTable=mirrorTable, staProtocolType=staProtocolType, prioIpPortValue=prioIpPortValue, xstInstanceCfgDesignatedRoot=xstInstanceCfgDesignatedRoot, fileCopyDestOperType=fileCopyDestOperType, xstInstanceCfgTxHoldCount=xstInstanceCfgTxHoldCount, bcastStormEntry=bcastStormEntry, trapDestMgt=trapDestMgt, aclIngressMacMaskVidBitmask=aclIngressMacMaskVidBitmask, portTrunkIndex=portTrunkIndex, trapDestEntry=trapDestEntry, aclIngressIpMaskSourcePortBitmask=aclIngressIpMaskSourcePortBitmask, fileCopyUnitId=fileCopyUnitId, aclMacAcePrecedence=aclMacAcePrecedence, vlanPortTable=vlanPortTable, portSecurityMgt=portSecurityMgt, rlPortOutputLimit=rlPortOutputLimit, telnetPasswordThreshold=telnetPasswordThreshold, prioIpPrecEntry=prioIpPrecEntry, xstInstanceCfgMaxAge=xstInstanceCfgMaxAge, prioWrrTrafficClass=prioWrrTrafficClass, fileCopyAction=fileCopyAction, lacpPortTable=lacpPortTable, igmpSnoopRouterCurrentTable=igmpSnoopRouterCurrentTable, rlPortInputLimit=rlPortInputLimit, prioIpDscpRestoreDefault=prioIpDscpRestoreDefault, prioAclToCosMappingCosValue=prioAclToCosMappingCosValue, prioIpDscpTable=prioIpDscpTable, xstInstanceCfgHoldTime=xstInstanceCfgHoldTime, fileCopyTftpServerHostName=fileCopyTftpServerHostName, v2h124swPortNumber=v2h124swPortNumber, igmpSnoopRouterCurrentEntry=igmpSnoopRouterCurrentEntry, xstInstancePortPortRole=xstInstancePortPortRole, v2h124swUnitIndex=v2h124swUnitIndex, portSpeedDpxStatus=portSpeedDpxStatus, aclEgressMacMaskPrecedence=aclEgressMacMaskPrecedence, staPortFastForward=staPortFastForward, prioAclToCosMappingEntry=prioAclToCosMappingEntry, portEntry=portEntry, prioIpPrecValue=prioIpPrecValue, xstInstancePortEnable=xstInstancePortEnable, xstMgt=xstMgt, aclEgressMacMaskDestMacAddrBitmask=aclEgressMacMaskDestMacAddrBitmask, xstInstanceCfgRootCost=xstInstanceCfgRootCost, aclMacAceStatus=aclMacAceStatus, trunkValidNumber=trunkValidNumber, sysLogHistoryFlashLevel=sysLogHistoryFlashLevel, fileCopyMgt=fileCopyMgt, aclEgressMacMaskSourceMacAddrBitmask=aclEgressMacMaskSourceMacAddrBitmask, prioIpPrecDscpStatus=prioIpPrecDscpStatus, xstInstanceCfgHelloTime=xstInstanceCfgHelloTime, aclMacAceMinVid=aclMacAceMinVid, markerTable=markerTable, sshServerMinorVersion=sshServerMinorVersion, radiusServerRetransmit=radiusServerRetransmit, aclEgressIpMaskIsEnableProtocol=aclEgressIpMaskIsEnableProtocol, sntpServerTable=sntpServerTable, staPortOperEdgePort=staPortOperEdgePort, consoleBaudRate=consoleBaudRate, aclMacAceDestMacAddrBitmask=aclMacAceDestMacAddrBitmask, igmpSnoopRouterCurrentStatus=igmpSnoopRouterCurrentStatus, rateLimitMgt=rateLimitMgt, sysTimeZoneName=sysTimeZoneName, trunkStatus=trunkStatus, fileInfoMgt=fileInfoMgt, v2h124_24TrapsPrefix=v2h124_24TrapsPrefix, mirrorStatus=mirrorStatus, aclMacAceDestMacAddr=aclMacAceDestMacAddr, prioIpDscpValue=prioIpDscpValue, aclIpAceName=aclIpAceName, prioAclToCosMappingStatus=prioAclToCosMappingStatus, v2h124swBootRomVer=v2h124swBootRomVer, fileInfoFileType=fileInfoFileType, consoleStopBits=consoleStopBits, sshConnInfoTable=sshConnInfoTable, rateLimitPortTable=rateLimitPortTable, xstInstancePortPriority=xstInstancePortPriority, v2h124swRoleInSystem=v2h124swRoleInSystem, portSecPortStatus=portSecPortStatus, qosMgt=qosMgt, PYSNMP_MODULE_ID=v2h124_24MIB, igmpSnoopMulticastStaticIpAddress=igmpSnoopMulticastStaticIpAddress, igmpSnoopRouterPortExpireTime=igmpSnoopRouterPortExpireTime, fileInfoTable=fileInfoTable, aclIngressIpMaskDestPortBitmask=aclIngressIpMaskDestPortBitmask, igmpSnoopRouterStaticTable=igmpSnoopRouterStaticTable, xstInstancePortDesignatedBridge=xstInstancePortDesignatedBridge, aclEgressMacMaskVidBitmask=aclEgressMacMaskVidBitmask, aclEgressIpMaskDestIpAddrBitmask=aclEgressIpMaskDestIpAddrBitmask, markerIfIndex=markerIfIndex, markerPrecedence=markerPrecedence, prioWrrEntry=prioWrrEntry, igmpSnoopMulticastCurrentPorts=igmpSnoopMulticastCurrentPorts, fileCopyFileType=fileCopyFileType, radiusServerTimeout=radiusServerTimeout, prioCopy=prioCopy, aclIpAceIndex=aclIpAceIndex, fileCopySrcFileName=fileCopySrcFileName, aclEgressMacMaskIndex=aclEgressMacMaskIndex, switchIndivPowerTable=switchIndivPowerTable, igmpSnoopMulticastStaticStatus=igmpSnoopMulticastStaticStatus, vlanPortMode=vlanPortMode, vlanIndex=vlanIndex, sshConnID=sshConnID, prioIpDscpPort=prioIpDscpPort, aclAclGroupEntry=aclAclGroupEntry, markerAclName=markerAclName, aclIngressIpMaskIsEnableDscp=aclIngressIpMaskIsEnableDscp, mirrorMgt=mirrorMgt, sntpStatus=sntpStatus, sshConnInfoEntry=sshConnInfoEntry, switchIndivPowerEntry=switchIndivPowerEntry, xstInstanceCfgTopChanges=xstInstanceCfgTopChanges, xstInstancePortPathCost=xstInstancePortPathCost, xstInstancePortDesignatedRoot=xstInstancePortDesignatedRoot, v2h124swExpansionSlot1=v2h124swExpansionSlot1, aclIngressMacMaskSourceMacAddrBitmask=aclIngressMacMaskSourceMacAddrBitmask, xstInstanceCfgBridgeHelloTime=xstInstanceCfgBridgeHelloTime, aclMacAceMinEtherType=aclMacAceMinEtherType, xstInstanceCfgBridgeMaxAge=xstInstanceCfgBridgeMaxAge, fileInfoDelete=fileInfoDelete, aclIpAcePrecedence=aclIpAcePrecedence, sntpServerIpAddress=sntpServerIpAddress, v2h124_24MIBObjects=v2h124_24MIBObjects, aclIngressIpMaskIsEnablePrecedence=aclIngressIpMaskIsEnablePrecedence, aclEgressMacMaskIsEnablePktformat=aclEgressMacMaskIsEnablePktformat, lacpMgt=lacpMgt, aclMacAceTable=aclMacAceTable, igmpSnoopQueryInterval=igmpSnoopQueryInterval, aclIpAceMaxDestPort=aclIpAceMaxDestPort, staMgt=staMgt, aclEgressIpMaskIndex=aclEgressIpMaskIndex, aclIpAceProtocol=aclIpAceProtocol, aclEgressIpMaskIsEnableDscp=aclEgressIpMaskIsEnableDscp, sysLogMgt=sysLogMgt, radiusServerAddress=radiusServerAddress, staPathCostMethod=staPathCostMethod, trapDestAddress=trapDestAddress, radiusServerPortNumber=radiusServerPortNumber, v2h124switchInfoEntry=v2h124switchInfoEntry, swPowerStatusChangeTrap=swPowerStatusChangeTrap, xstInstanceCfgForwardDelay=xstInstanceCfgForwardDelay, fileInfoIsStartUp=fileInfoIsStartUp, sshAuthRetries=sshAuthRetries, markerMgt=markerMgt, tacacsServerKey=tacacsServerKey, v2h124swServiceTag=v2h124swServiceTag, trunkMgt=trunkMgt, netConfigTable=netConfigTable, aclIpAceDestIpAddr=aclIpAceDestIpAddr, igmpSnoopRouterStaticVlanIndex=igmpSnoopRouterStaticVlanIndex, aclAclGroupIngressMacAcl=aclAclGroupIngressMacAcl, aclMacAceEtherTypeOp=aclMacAceEtherTypeOp, telnetMgt=telnetMgt, prioIpPrecTable=prioIpPrecTable, prioWrrWeight=prioWrrWeight, priorityMgt=priorityMgt, aclIngressMacMaskIsEnablePktformat=aclIngressMacMaskIsEnablePktformat, aclIngressIpMaskControlCodeBitmask=aclIngressIpMaskControlCodeBitmask, aclIngressIpMaskStatus=aclIngressIpMaskStatus, aclIngressIpMaskDestIpAddrBitmask=aclIngressIpMaskDestIpAddrBitmask, vlanAddressMethod=vlanAddressMethod, staPortAdminPointToPoint=staPortAdminPointToPoint, prioIpPortTable=prioIpPortTable, prioIpPortPhysPort=prioIpPortPhysPort, aclMgt=aclMgt, netConfigIfIndex=netConfigIfIndex, v2h124swLoaderVer=v2h124swLoaderVer, prioAclToCosMappingIfIndex=prioAclToCosMappingIfIndex, sysTimeMgt=sysTimeMgt, sshTimeout=sshTimeout, aclIngressMacMaskTable=aclIngressMacMaskTable, bcastStormPercent=bcastStormPercent, lacpPortEntry=lacpPortEntry, sntpServerIndex=sntpServerIndex, consolePasswordThreshold=consolePasswordThreshold, aclAclGroupIfIndex=aclAclGroupIfIndex, igmpSnoopMulticastStaticEntry=igmpSnoopMulticastStaticEntry, igmpSnoopMulticastStaticVlanIndex=igmpSnoopMulticastStaticVlanIndex, prioIpPrecRestoreDefault=prioIpPrecRestoreDefault, sysTimeZone=sysTimeZone, trapDestVersion=trapDestVersion, netConfigEntry=netConfigEntry, aclEgressIpMaskSourceIpAddrBitmask=aclEgressIpMaskSourceIpAddrBitmask, netConfigPrimaryInterface=netConfigPrimaryInterface, v2h124swMicrocodeVer=v2h124swMicrocodeVer, vlanMgt=vlanMgt, bcastStormMgt=bcastStormMgt, aclAclGroupIngressIpAcl=aclAclGroupIngressIpAcl, xstInstanceCfgRootPort=xstInstanceCfgRootPort, aclEgressMacMaskTable=aclEgressMacMaskTable, aclIngressMacMaskStatus=aclIngressMacMaskStatus, portName=portName, aclIpAceControlCodeBitmask=aclIpAceControlCodeBitmask, aclEgressIpMaskDestPortBitmask=aclEgressIpMaskDestPortBitmask, tacacsMgt=tacacsMgt, sshDisconnect=sshDisconnect, aclEgressMacMaskEntry=aclEgressMacMaskEntry, ipHttpsPort=ipHttpsPort, aclIngressIpMaskEntry=aclIngressIpMaskEntry, markerPriority=markerPriority, lineMgt=lineMgt, rlPortOutputStatus=rlPortOutputStatus, portSecPortIndex=portSecPortIndex, aclMacAceVidOp=aclMacAceVidOp, igmpSnoopRouterStaticEntry=igmpSnoopRouterStaticEntry, prioIpPortEnableStatus=prioIpPortEnableStatus, xstInstanceCfgTable=xstInstanceCfgTable, sshConnUserName=sshConnUserName, cosMgt=cosMgt, aclAclGroupEgressIpAcl=aclAclGroupEgressIpAcl) mibBuilder.exportSymbols("V2H124-24-MIB", sshServerStatus=sshServerStatus, aclIngressMacMaskIndex=aclIngressMacMaskIndex, aclIngressIpMaskIsEnableProtocol=aclIngressIpMaskIsEnableProtocol, trapDestStatus=trapDestStatus, lacpPortIndex=lacpPortIndex, aclMacAceVidBitmask=aclMacAceVidBitmask, igmpSnoopMulticastCurrentTable=igmpSnoopMulticastCurrentTable, consoleSilentTime=consoleSilentTime, consoleDataBits=consoleDataBits, portFlowCtrlCfg=portFlowCtrlCfg, aclIngressMacMaskPrecedence=aclIngressMacMaskPrecedence, igmpSnoopRouterStaticStatus=igmpSnoopRouterStaticStatus, xstInstancePortState=xstInstancePortState, markerEntry=markerEntry, prioIpDscpEntry=prioIpDscpEntry, aclMacAcePktformat=aclMacAcePktformat, prioIpDscpCos=prioIpDscpCos, restartOpCodeFile=restartOpCodeFile, prioCopyIpPort=prioCopyIpPort, aclIpAceStatus=aclIpAceStatus, fileCopyTftpErrMsg=fileCopyTftpErrMsg, portCapabilities=portCapabilities, aclIpAceTos=aclIpAceTos, aclIpAceDscp=aclIpAceDscp, aclIpAceDestIpAddrBitmask=aclIpAceDestIpAddrBitmask, v2h124_24Notifications=v2h124_24Notifications, portSecPortEntry=portSecPortEntry, trunkCreation=trunkCreation, prioIpPrecPort=prioIpPrecPort, markerDscp=markerDscp, aclMacAceMaxEtherType=aclMacAceMaxEtherType, sntpServerEntry=sntpServerEntry, staPortOperPointToPoint=staPortOperPointToPoint, tacacsServerAddress=tacacsServerAddress, aclIpAcePrec=aclIpAcePrec, fileInfoFileName=fileInfoFileName, rlPortInputStatus=rlPortInputStatus, restartMgt=restartMgt, xstInstancePortTable=xstInstancePortTable, telnetExecTimeout=telnetExecTimeout, consoleExecTimeout=consoleExecTimeout, aclMacAceSourceMacAddrBitmask=aclMacAceSourceMacAddrBitmask, ValidStatus=ValidStatus, fileInfoEntry=fileInfoEntry, aclEgressIpMaskTable=aclEgressIpMaskTable, vlanPortEntry=vlanPortEntry, netDefaultGateway=netDefaultGateway, aclIpAceSourcePortBitmask=aclIpAceSourcePortBitmask, aclMacAceMaxVid=aclMacAceMaxVid, swChassisServiceTag=swChassisServiceTag, prioIpPortEntry=prioIpPortEntry, sshConnEncryptionType=sshConnEncryptionType, aclIngressMacMaskEntry=aclIngressMacMaskEntry, aclIpAceMaxSourcePort=aclIpAceMaxSourcePort, fileCopyDestFileName=fileCopyDestFileName, aclIpAceDestPortOp=aclIpAceDestPortOp, aclIpAceSourceIpAddr=aclIpAceSourceIpAddr, igmpSnoopMulticastStaticPorts=igmpSnoopMulticastStaticPorts, swProdName=swProdName, aclIpAceEntry=aclIpAceEntry, v2h124switchNumber=v2h124switchNumber, fileInfoUnitID=fileInfoUnitID, swProdManufacturer=swProdManufacturer, aclIpAceSourceIpAddrBitmask=aclIpAceSourceIpAddrBitmask, swIdentifier=swIdentifier, fileCopyStatus=fileCopyStatus, portSecMaxMacCount=portSecMaxMacCount, igmpSnoopRouterCurrentPorts=igmpSnoopRouterCurrentPorts, prioAclToCosMappingTable=prioAclToCosMappingTable, switchProductId=switchProductId, netConfigStatus=netConfigStatus, portType=portType, igmpSnoopQuerier=igmpSnoopQuerier, sshMgt=sshMgt, v2h124_24Conformance=v2h124_24Conformance, fileMgt=fileMgt, xstInstancePortDesignatedCost=xstInstancePortDesignatedCost, xstInstanceCfgEntry=xstInstanceCfgEntry, vlanPortIndex=vlanPortIndex, portMgt=portMgt, aclIngressMacMaskDestMacAddrBitmask=aclIngressMacMaskDestMacAddrBitmask, aclIngressIpMaskPrecedence=aclIngressIpMaskPrecedence, v2h124swExpansionSlot2=v2h124swExpansionSlot2, trunkPorts=trunkPorts, aclIpAceDestPortBitmask=aclIpAceDestPortBitmask, igmpSnoopMulticastCurrentEntry=igmpSnoopMulticastCurrentEntry, trunkEntry=trunkEntry, rateLimitPortEntry=rateLimitPortEntry, igmpSnoopMulticastStaticTable=igmpSnoopMulticastStaticTable, fileCopySrcOperType=fileCopySrcOperType, radiusMgt=radiusMgt, swProdVersion=swProdVersion, rateLimitStatus=rateLimitStatus, consoleParity=consoleParity, switchMgt=switchMgt, radiusServerKey=radiusServerKey, staPortTable=staPortTable, netConfigUnnumbered=netConfigUnnumbered, sshConnMajorVersion=sshConnMajorVersion, aclIngressIpMaskIsEnableTos=aclIngressIpMaskIsEnableTos, aclEgressIpMaskPrecedence=aclEgressIpMaskPrecedence, swProdUrl=swProdUrl, aclEgressMacMaskEtherTypeBitmask=aclEgressMacMaskEtherTypeBitmask, prioWrrTable=prioWrrTable, v2h124_24MIB=v2h124_24MIB, aclIngressIpMaskSourceIpAddrBitmask=aclIngressIpMaskSourceIpAddrBitmask, v2h124switchInfoTable=v2h124switchInfoTable, xstInstancePortForwardTransitions=xstInstancePortForwardTransitions, v2h124swHardwareVer=v2h124swHardwareVer, aclIpAceMinSourcePort=aclIpAceMinSourcePort, restartConfigFile=restartConfigFile, aclEgressIpMaskStatus=aclEgressIpMaskStatus, aclIpAceMinDestPort=aclIpAceMinDestPort, switchOperState=switchOperState, markerActionBitList=markerActionBitList, igmpSnoopQueryMaxResponseTime=igmpSnoopQueryMaxResponseTime, igmpSnoopQueryCount=igmpSnoopQueryCount, bcastStormSampleType=bcastStormSampleType, v2h124swOpCodeVer=v2h124swOpCodeVer, aclMacAceEntry=aclMacAceEntry, lacpPortStatus=lacpPortStatus, bcastStormPktRate=bcastStormPktRate, prioIpPortCos=prioIpPortCos, aclIngressIpMaskIndex=aclIngressIpMaskIndex, aclEgressIpMaskSourcePortBitmask=aclEgressIpMaskSourcePortBitmask, xstInstanceCfgBridgeForwardDelay=xstInstanceCfgBridgeForwardDelay, sshConnStatus=sshConnStatus, portSecPortTable=portSecPortTable, aclMacAceIndex=aclMacAceIndex, portFlowCtrlStatus=portFlowCtrlStatus, mirrorDestinationPort=mirrorDestinationPort, staPortProtocolMigration=staPortProtocolMigration, igmpSnoopVersion=igmpSnoopVersion, igmpSnoopStatus=igmpSnoopStatus, aclMacAceSourceMacAddr=aclMacAceSourceMacAddr, bcastStormIfIndex=bcastStormIfIndex, aclIpAceControlCode=aclIpAceControlCode, restartControl=restartControl, portIndex=portIndex, switchManagementVlan=switchManagementVlan, aclIpAceAction=aclIpAceAction, xstInstancePortDesignatedPort=xstInstancePortDesignatedPort, netConfigIPAddress=netConfigIPAddress, prioAclToCosMappingAclName=prioAclToCosMappingAclName, aclEgressIpMaskControlCodeBitmask=aclEgressIpMaskControlCodeBitmask, aclEgressMacMaskStatus=aclEgressMacMaskStatus, ipMgt=ipMgt, aclMacAceEtherTypeBitmask=aclMacAceEtherTypeBitmask, sysLogStatus=sysLogStatus, vlanEntry=vlanEntry, aclMacAceAction=aclMacAceAction, igmpSnoopMgt=igmpSnoopMgt, portAutonegotiation=portAutonegotiation, consoleMgt=consoleMgt, bcastStormTable=bcastStormTable, securityMgt=securityMgt, portTable=portTable, sysLogHistoryRamLevel=sysLogHistoryRamLevel, igmpSnoopRouterStaticPorts=igmpSnoopRouterStaticPorts, portSecAction=portSecAction, fileCopyTftpServer=fileCopyTftpServer, staPortAdminEdgePort=staPortAdminEdgePort, aclIngressIpMaskTable=aclIngressIpMaskTable, fileInfoFileSize=fileInfoFileSize, v2h124_24Traps=v2h124_24Traps, v2h124swSerialNumber=v2h124swSerialNumber, mirrorEntry=mirrorEntry, aclAclGroupEgressMacAcl=aclAclGroupEgressMacAcl, trapDestTable=trapDestTable, staPortLongPathCost=staPortLongPathCost, mirrorType=mirrorType, aclEgressIpMaskIsEnableTos=aclEgressIpMaskIsEnableTos, trunkIndex=trunkIndex, igmpSnoopMulticastCurrentVlanIndex=igmpSnoopMulticastCurrentVlanIndex, bcastStormOctetRate=bcastStormOctetRate, xstInstanceCfgTimeSinceTopologyChange=xstInstanceCfgTimeSinceTopologyChange, swIndivPowerIndex=swIndivPowerIndex, vlanTable=vlanTable, trunkMaxId=trunkMaxId, trunkTable=trunkTable, tacacsServerPortNumber=tacacsServerPortNumber)
def func(): a = (input("enter a letter : ")) if a.isalpha(): print("alphabet") else: print("NO") func()
class Solution(object): def maxProduct(self, words): """ :type words: List[str] :rtype: int """ bitmap = [0] * len(words) mask = 0x01 ans = 0 for i in xrange(0, len(words)): word = words[i] for c in word: bitmap[i] |= (mask << (ord(c) - ord('a'))) for i in xrange(0, len(words)): for j in xrange(0, i): if bitmap[i] & bitmap[j] == 0: ans = max(ans, len(words[i]) * len(words[j])) return ans
class Solution: def getWinner(self, arr: List[int], k: int) -> int: nums = deque(arr) win_count = 0 winner = nums[0] while True: a = nums.popleft() b = nums.popleft() if a > b: if winner == a: win_count += 1 nums.append(b) nums.appendleft(a) else: winner = a win_count = 1 nums.append(b) nums.appendleft(a) else: if winner == b: win_count += 1 nums.append(a) nums.appendleft(b) else: winner = b win_count = 1 nums.append(a) nums.appendleft(b) if win_count == k: return winner if win_count == len(arr)-1: return winner
class Solution: def fb(self, A): d3 = A % 3 == 0 d5 = A % 5 == 0 if d3 and d5: return "FizzBuzz" elif d3: return "Fizz" elif d5: return "Buzz" else: return str(A) # @param A : integer # @return a list of strings def fizzBuzz(self, A): return [self.fb(i) for i in range(1, A+1)]
l=[0]*10 for i in range(len(l)): l[i]=i*2 print(0 in l) print(1 in l) print(2 in l) print(3 in l) print(4 in l)
#import os #import glob #modules = glob.glob(os.path.dirname(__file__)+"/*.py") #__all__ = [ os.path.basename(f)[:-3] for f in modules] __user_users_tablename__ = 'users' __user_users_head__ = 'admin' __user_online_tablename__ = 'online' __user_online_head__ = 'online' __user_admingroup_tablename__ = 'admingroup' __user_admingroup_head__ = 'admingroup'
# https://adventofcode.com/2020/day/13 infile = open('input.txt', 'r') earliest_time_to_depart = int(infile.readline()) buses = [] for bus in infile.readline().rstrip().split(','): if bus != 'x': buses.append(int(bus)) buses.sort() infile.close() earliest_bus = -1 minimum_wait_time = max(buses) for bus in buses: latest_bus_departure = int(earliest_time_to_depart / bus) * bus next_bus_departure = latest_bus_departure + bus wait_time = next_bus_departure - earliest_time_to_depart if wait_time < minimum_wait_time: minimum_wait_time = wait_time earliest_bus = bus print(earliest_bus * minimum_wait_time)
class Caja: def __init__(self, base, altura, profundidad): self.base = base self.altura = altura self.profundidad = profundidad def calcularVolumen(self): """Se realiza el cálculo del Volumen""" return self.base * self.altura * self.profundidad base = 5 altura = 3 profundidad = 6 volumen = Caja(base, altura, profundidad) print("Volumen:",volumen.calcularVolumen(),"Metros cubicos")
# pcinput # input functions that check for type # Pieter Spronck # These functions are rather ugly as they print error messages if something is wrong. # However, they are meant for a course, which means they are used by students who # are unaware (until the end of the course) of exceptions and things like that. # This function asks for a floating-point number. You may use it for the exercises. # The parameter is a prompt that is displayed when the number is asked. # The function uses an exception to check whether the input is actually # a floating-point number. We will discuss exceptions in the future, just use the # function as is for now. # To use the function, write something like: # myNumber = rsdpu.getFloat( "Give me a number> " ) # This will then ask the user of the program for a floating-point number, and will store # whatever the user entered in myNumber. It will also make sure that actually # a floating-point number or an integer is entered; if the user enters anything else, # an error message is displayed and the user has to enter something else. def getFloat( prompt ): while True: try: num = float( input( prompt ) ) except ValueError: print( "That is not a number -- please try again" ) continue return num # Similar for getting integers. def getInteger( prompt ): while True: try: num = int( input( prompt ) ) except ValueError: print( "That is not an integer -- please try again" ) continue return num # And for strings (leading and trailing spaces are removed) def getString( prompt ): line = input( prompt ) return line.strip() # And for getting one upper-case letter def getLetter( prompt ): while True: line = input( prompt ) line = line.strip() line = line.upper() if len( line ) != 1: print( "Please enter exactly one character" ) continue if line < 'A' or line > 'Z': print( "Please enter a letter from the alphabet" ) continue return line
class Chord(object): def __init__(self): self.tones = [] def add_tone(self, tone): self.tones.append(tone)
n = int(input()) print('+', end='') for i in range(n-2): print(' -', end='') print(' +') for k in range(n-2): print('|', end='') for row in range(n-2): print(' -', end='') print(' |') print('+', end='') for j in range(n-2): print(' -', end='') print(' +')
#堆排序 """ 二叉堆的定义,堆顶元素即二叉堆的根节点一定是最大或最小元值, 输出堆顶元素后,再将剩余元素调整为二叉堆,继而再次输出堆顶元素 """ def HeapAdjustDown(lst,start,end): #temp保存当前节点 temp = lst[start] #2*start+1是序号为start的节点左子节点的编号 child = 2*start + 1 while child <= end: #找到堆中的叶子节点左右节点中最大的那个 if child+1 <= end and lst[child+1] > lst[child]: child += 1 #当前的节点符合最大堆的定义,则不用调整,跳出循环 if lst[child] <= temp: break lst[start],lst[child] = lst[child],lst[start] start = child def HeapSort(lst): #将数组建成最大的堆 #第一个非叶子节点的位置lem(lst)//2-1 for child in range(len(lst)//2-1,-1,-1): HeapAdjustDown(lst,child,len(lst)-1) for child in range(len(lst)-1,0,-1): lst[0],lst[child] = lst[child],lst[0] #将lst[0,,,i-1]重新调整为最大值 HeapAdjustDown(lst,0,child-1) if __name__ == '__main__': lst1 = [5,9,20,38,4,6,80,57,25,10,16,8] print(lst1) HeapSort(lst1) print(lst1)
d = int(input("Enter the decimal number:")) m = d r,t = 0,[] while(d>0): r = d % 8 t.append(chr(r+48)) d = d//8 t = t[::-1] print("The octal of the decimal number",m,"is",end = " ") for i in range(0,len(t)): print(t[i],end='')
# Authors: Alexandre Gramfort <[email protected]> # Matti Hamalainen <[email protected]> # # License: BSD (3-clause) class Bunch(dict): """ Container object for datasets: dictionnary-like object that exposes its keys as attributes. """ def __init__(self, **kwargs): dict.__init__(self, kwargs) self.__dict__ = self FIFF = Bunch() # # Blocks # FIFF.FIFFB_MEAS = 100 FIFF.FIFFB_MEAS_INFO = 101 FIFF.FIFFB_RAW_DATA = 102 FIFF.FIFFB_PROCESSED_DATA = 103 FIFF.FIFFB_CONTINUOUS_DATA = 112 FIFF.FIFFB_EVOKED = 104 FIFF.FIFFB_ASPECT = 105 FIFF.FIFFB_SUBJECT = 106 FIFF.FIFFB_ISOTRAK = 107 FIFF.FIFFB_HPI_MEAS = 108 FIFF.FIFFB_HPI_RESULT = 109 FIFF.FIFFB_DACQ_PARS = 117 FIFF.FIFFB_REF = 118 FIFF.FIFFB_SMSH_RAW_DATA = 119 FIFF.FIFFB_SMSH_ASPECT = 120 FIFF.FIFFB_PROJ = 313 FIFF.FIFFB_PROJ_ITEM = 314 FIFF.FIFFB_MRI = 200 FIFF.FIFFB_MRI_SET = 201 FIFF.FIFFB_MRI_SLICE = 202 FIFF.FIFFB_PROCESSING_HISTORY = 900 FIFF.FIFFB_SSS_INFO = 502 FIFF.FIFFB_SSS_CAL_ADJUST = 503 FIFF.FIFFB_SSS_ST_INFO = 504 FIFF.FIFFB_SSS_BASES = 505 # # Of general interest # FIFF.FIFF_FILE_ID = 100 FIFF.FIFF_DIR_POINTER = 101 FIFF.FIFF_BLOCK_ID = 103 FIFF.FIFF_BLOCK_START = 104 FIFF.FIFF_BLOCK_END = 105 FIFF.FIFF_FREE_LIST = 106 FIFF.FIFF_FREE_BLOCK = 107 FIFF.FIFF_NOP = 108 FIFF.FIFF_PARENT_FILE_ID = 109 FIFF.FIFF_PARENT_BLOCK_ID = 110 # # Megacq saves the parameters in these tags # FIFF.FIFF_DACQ_PARS = 150 FIFF.FIFF_DACQ_STIM = 151 FIFF.FIFF_SFREQ = 201 FIFF.FIFF_NCHAN = 200 FIFF.FIFF_DATA_PACK = 202 FIFF.FIFF_CH_INFO = 203 FIFF.FIFF_MEAS_DATE = 204 FIFF.FIFF_SUBJECT = 205 FIFF.FIFF_COMMENT = 206 FIFF.FIFF_NAVE = 207 FIFF.FIFF_DIG_POINT = 213 FIFF.FIFF_LOWPASS = 219 FIFF.FIFF_COORD_TRANS = 222 FIFF.FIFF_HIGHPASS = 223 FIFF.FIFF_NAME = 233 FIFF.FIFF_DESCRIPTION = FIFF.FIFF_COMMENT # # Pointers # FIFF.FIFFV_NEXT_SEQ = 0 FIFF.FIFFV_NEXT_NONE = -1 # # Channel types # FIFF.FIFFV_MEG_CH = 1 FIFF.FIFFV_REF_MEG_CH = 301 FIFF.FIFFV_EEG_CH = 2 FIFF.FIFFV_MCG_CH = 201 FIFF.FIFFV_STIM_CH = 3 FIFF.FIFFV_EOG_CH = 202 FIFF.FIFFV_EMG_CH = 302 FIFF.FIFFV_ECG_CH = 402 FIFF.FIFFV_MISC_CH = 502 FIFF.FIFFV_RESP_CH = 602 # Respiration monitoring # # Quaternion channels for head position monitoring # FIFF.FIFFV_QUAT_0 = 700 # Quaternion param q0 obsolete for unit quaternion FIFF.FIFFV_QUAT_1 = 701 # Quaternion param q1 rotation FIFF.FIFFV_QUAT_2 = 702 # Quaternion param q2 rotation FIFF.FIFFV_QUAT_3 = 703 # Quaternion param q3 rotation FIFF.FIFFV_QUAT_4 = 704 # Quaternion param q4 translation FIFF.FIFFV_QUAT_5 = 705 # Quaternion param q5 translation FIFF.FIFFV_QUAT_6 = 706 # Quaternion param q6 translation FIFF.FIFFV_HPI_G = 707 # Goodness-of-fit in continuous hpi FIFF.FIFFV_HPI_ERR = 708 # Estimation error in continuous hpi FIFF.FIFFV_HPI_MOV = 709 # Estimated head movement speed in continuous hpi # # Coordinate frames # FIFF.FIFFV_COORD_UNKNOWN = 0 FIFF.FIFFV_COORD_DEVICE = 1 FIFF.FIFFV_COORD_ISOTRAK = 2 FIFF.FIFFV_COORD_HPI = 3 FIFF.FIFFV_COORD_HEAD = 4 FIFF.FIFFV_COORD_MRI = 5 FIFF.FIFFV_COORD_MRI_SLICE = 6 FIFF.FIFFV_COORD_MRI_DISPLAY = 7 FIFF.FIFFV_COORD_DICOM_DEVICE = 8 FIFF.FIFFV_COORD_IMAGING_DEVICE = 9 # # Needed for raw and evoked-response data # FIFF.FIFF_FIRST_SAMPLE = 208 FIFF.FIFF_LAST_SAMPLE = 209 FIFF.FIFF_ASPECT_KIND = 210 FIFF.FIFF_DATA_BUFFER = 300 # Buffer containing measurement data FIFF.FIFF_DATA_SKIP = 301 # Data skip in buffers FIFF.FIFF_EPOCH = 302 # Buffer containing one epoch and channel FIFF.FIFF_DATA_SKIP_SAMP = 303 # Data skip in samples # # Different aspects of data # FIFF.FIFFV_ASPECT_AVERAGE = 100 # Normal average of epochs FIFF.FIFFV_ASPECT_STD_ERR = 101 # Std. error of mean FIFF.FIFFV_ASPECT_SINGLE = 102 # Single epoch cut out from the continuous data FIFF.FIFFV_ASPECT_SUBAVERAGE = 103 FIFF.FIFFV_ASPECT_ALTAVERAGE = 104 # Alternating subaverage FIFF.FIFFV_ASPECT_SAMPLE = 105 # A sample cut out by graph FIFF.FIFFV_ASPECT_POWER_DENSITY = 106 # Power density spectrum FIFF.FIFFV_ASPECT_DIPOLE_WAVE = 200 # Dipole amplitude curve # # BEM surface IDs # FIFF.FIFFV_BEM_SURF_ID_UNKNOWN = -1 FIFF.FIFFV_BEM_SURF_ID_BRAIN = 1 FIFF.FIFFV_BEM_SURF_ID_SKULL = 3 FIFF.FIFFV_BEM_SURF_ID_HEAD = 4 # # More of those defined in MNE # FIFF.FIFFV_MNE_SURF_UNKNOWN = -1 FIFF.FIFFV_MNE_SURF_LEFT_HEMI = 101 FIFF.FIFFV_MNE_SURF_RIGHT_HEMI = 102 # # These relate to the Isotrak data # FIFF.FIFFV_POINT_CARDINAL = 1 FIFF.FIFFV_POINT_HPI = 2 FIFF.FIFFV_POINT_EEG = 3 FIFF.FIFFV_POINT_ECG = FIFF.FIFFV_POINT_EEG FIFF.FIFFV_POINT_EXTRA = 4 FIFF.FIFFV_POINT_LPA = 1 FIFF.FIFFV_POINT_NASION = 2 FIFF.FIFFV_POINT_RPA = 3 # # SSP # FIFF.FIFF_PROJ_ITEM_KIND = 3411 FIFF.FIFF_PROJ_ITEM_TIME = 3412 FIFF.FIFF_PROJ_ITEM_NVEC = 3414 FIFF.FIFF_PROJ_ITEM_VECTORS = 3415 FIFF.FIFF_PROJ_ITEM_CH_NAME_LIST = 3417 # # MRIs # FIFF.FIFF_MRI_SOURCE_PATH = 1101 FIFF.FIFF_MRI_SOURCE_FORMAT = 2002 FIFF.FIFF_MRI_PIXEL_ENCODING = 2003 FIFF.FIFF_MRI_PIXEL_DATA_OFFSET = 2004 FIFF.FIFF_MRI_PIXEL_SCALE = 2005 FIFF.FIFF_MRI_PIXEL_DATA = 2006 FIFF.FIFF_MRI_WIDTH = 2010 FIFF.FIFF_MRI_WIDTH_M = 2011 FIFF.FIFF_MRI_HEIGHT = 2012 FIFF.FIFF_MRI_HEIGHT_M = 2013 # FIFF.FIFFV_MRI_PIXEL_BYTE = 1 FIFF.FIFFV_MRI_PIXEL_WORD = 2 FIFF.FIFFV_MRI_PIXEL_SWAP_WORD = 3 FIFF.FIFFV_MRI_PIXEL_FLOAT = 4 # # These are the MNE fiff definitions # FIFF.FIFFB_MNE = 350 FIFF.FIFFB_MNE_SOURCE_SPACE = 351 FIFF.FIFFB_MNE_FORWARD_SOLUTION = 352 FIFF.FIFFB_MNE_PARENT_MRI_FILE = 353 FIFF.FIFFB_MNE_PARENT_MEAS_FILE = 354 FIFF.FIFFB_MNE_COV = 355 FIFF.FIFFB_MNE_INVERSE_SOLUTION = 356 FIFF.FIFFB_MNE_NAMED_MATRIX = 357 FIFF.FIFFB_MNE_ENV = 358 FIFF.FIFFB_MNE_BAD_CHANNELS = 359 FIFF.FIFFB_MNE_VERTEX_MAP = 360 FIFF.FIFFB_MNE_EVENTS = 361 FIFF.FIFFB_MNE_MORPH_MAP = 362 # # CTF compensation data # FIFF.FIFFB_MNE_CTF_COMP = 370 FIFF.FIFFB_MNE_CTF_COMP_DATA = 371 # # Fiff tags associated with MNE computations (3500...) # # # 3500... Bookkeeping # FIFF.FIFF_MNE_ROW_NAMES = 3502 FIFF.FIFF_MNE_COL_NAMES = 3503 FIFF.FIFF_MNE_NROW = 3504 FIFF.FIFF_MNE_NCOL = 3505 FIFF.FIFF_MNE_COORD_FRAME = 3506 # Coordinate frame employed. Defaults: # FIFFB_MNE_SOURCE_SPACE FIFFV_COORD_MRI # FIFFB_MNE_FORWARD_SOLUTION FIFFV_COORD_HEAD # FIFFB_MNE_INVERSE_SOLUTION FIFFV_COORD_HEAD FIFF.FIFF_MNE_CH_NAME_LIST = 3507 FIFF.FIFF_MNE_FILE_NAME = 3508 # This removes the collision with fiff_file.h (used to be 3501) # # 3510... 3590... Source space or surface # FIFF.FIFF_MNE_SOURCE_SPACE_POINTS = 3510 # The vertices FIFF.FIFF_MNE_SOURCE_SPACE_NORMALS = 3511 # The vertex normals FIFF.FIFF_MNE_SOURCE_SPACE_NPOINTS = 3512 # How many vertices FIFF.FIFF_MNE_SOURCE_SPACE_SELECTION = 3513 # Which are selected to the source space FIFF.FIFF_MNE_SOURCE_SPACE_NUSE = 3514 # How many are in use FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST = 3515 # Nearest source space vertex for all vertices FIFF.FIFF_MNE_SOURCE_SPACE_NEAREST_DIST = 3516 # Distance to the Nearest source space vertex for all vertices FIFF.FIFF_MNE_SOURCE_SPACE_ID = 3517 # Identifier FIFF.FIFF_MNE_SOURCE_SPACE_TYPE = 3518 # Surface or volume FIFF.FIFF_MNE_SOURCE_SPACE_NTRI = 3590 # Number of triangles FIFF.FIFF_MNE_SOURCE_SPACE_TRIANGLES = 3591 # The triangulation FIFF.FIFF_MNE_SOURCE_SPACE_NUSE_TRI = 3592 # Number of triangles corresponding to the number of vertices in use FIFF.FIFF_MNE_SOURCE_SPACE_USE_TRIANGLES = 3593 # The triangulation of the used vertices in the source space # # 3520... Forward solution # FIFF.FIFF_MNE_FORWARD_SOLUTION = 3520 FIFF.FIFF_MNE_SOURCE_ORIENTATION = 3521 # Fixed or free FIFF.FIFF_MNE_INCLUDED_METHODS = 3522 FIFF.FIFF_MNE_FORWARD_SOLUTION_GRAD = 3523 # # 3530... Covariance matrix # FIFF.FIFF_MNE_COV_KIND = 3530 # What kind of a covariance matrix FIFF.FIFF_MNE_COV_DIM = 3531 # Matrix dimension FIFF.FIFF_MNE_COV = 3532 # Full matrix in packed representation (lower triangle) FIFF.FIFF_MNE_COV_DIAG = 3533 # Diagonal matrix FIFF.FIFF_MNE_COV_EIGENVALUES = 3534 # Eigenvalues and eigenvectors of the above FIFF.FIFF_MNE_COV_EIGENVECTORS = 3535 FIFF.FIFF_MNE_COV_NFREE = 3536 # Number of degrees of freedom # # 3540... Inverse operator # # We store the inverse operator as the eigenleads, eigenfields, # and weights # FIFF.FIFF_MNE_INVERSE_LEADS = 3540 # The eigenleads FIFF.FIFF_MNE_INVERSE_LEADS_WEIGHTED = 3546 # The eigenleads (already weighted with R^0.5) FIFF.FIFF_MNE_INVERSE_FIELDS = 3541 # The eigenfields FIFF.FIFF_MNE_INVERSE_SING = 3542 # The singular values FIFF.FIFF_MNE_PRIORS_USED = 3543 # Which kind of priors have been used for the source covariance matrix FIFF.FIFF_MNE_INVERSE_FULL = 3544 # Inverse operator as one matrix # This matrix includes the whitening operator as well # The regularization is applied FIFF.FIFF_MNE_INVERSE_SOURCE_ORIENTATIONS = 3545 # Contains the orientation of one source per row # The source orientations must be expressed in the coordinate system # given by FIFF_MNE_COORD_FRAME # # 3550... Saved environment info # FIFF.FIFF_MNE_ENV_WORKING_DIR = 3550 # Working directory where the file was created FIFF.FIFF_MNE_ENV_COMMAND_LINE = 3551 # The command used to create the file # # 3560... Miscellaneous # FIFF.FIFF_MNE_PROJ_ITEM_ACTIVE = 3560 # Is this projection item active? FIFF.FIFF_MNE_EVENT_LIST = 3561 # An event list (for STI 014) FIFF.FIFF_MNE_HEMI = 3562 # Hemisphere association for general purposes # # 3570... Morphing maps # FIFF.FIFF_MNE_MORPH_MAP = 3570 # Mapping of closest vertices on the sphere FIFF.FIFF_MNE_MORPH_MAP_FROM = 3571 # Which subject is this map from FIFF.FIFF_MNE_MORPH_MAP_TO = 3572 # Which subject is this map to # # 3580... CTF compensation data # FIFF.FIFF_MNE_CTF_COMP_KIND = 3580 # What kind of compensation FIFF.FIFF_MNE_CTF_COMP_DATA = 3581 # The compensation data itself FIFF.FIFF_MNE_CTF_COMP_CALIBRATED = 3582 # Are the coefficients calibrated? # # Fiff values associated with MNE computations # FIFF.FIFFV_MNE_FIXED_ORI = 1 FIFF.FIFFV_MNE_FREE_ORI = 2 FIFF.FIFFV_MNE_MEG = 1 FIFF.FIFFV_MNE_EEG = 2 FIFF.FIFFV_MNE_MEG_EEG = 3 FIFF.FIFFV_MNE_UNKNOWN_COV = 0 FIFF.FIFFV_MNE_SENSOR_COV = 1 FIFF.FIFFV_MNE_NOISE_COV = 1 # This is what it should have been called FIFF.FIFFV_MNE_SOURCE_COV = 2 FIFF.FIFFV_MNE_FMRI_PRIOR_COV = 3 FIFF.FIFFV_MNE_SIGNAL_COV = 4 # This will be potentially employed in beamformers FIFF.FIFFV_MNE_DEPTH_PRIOR_COV = 5 # The depth weighting prior FIFF.FIFFV_MNE_ORIENT_PRIOR_COV = 6 # The orientation prior # # Source space types (values of FIFF_MNE_SOURCE_SPACE_TYPE) # FIFF.FIFFV_MNE_SPACE_UNKNOWN = -1 FIFF.FIFFV_MNE_SPACE_SURFACE = 1 FIFF.FIFFV_MNE_SPACE_VOLUME = 2 FIFF.FIFFV_MNE_SPACE_DISCRETE = 3 # # Covariance matrix channel classification # FIFF.FIFFV_MNE_COV_CH_UNKNOWN = -1 # No idea FIFF.FIFFV_MNE_COV_CH_MEG_MAG = 0 # Axial gradiometer or magnetometer [T] FIFF.FIFFV_MNE_COV_CH_MEG_GRAD = 1 # Planar gradiometer [T/m] FIFF.FIFFV_MNE_COV_CH_EEG = 2 # EEG [V] # # Projection item kinds # FIFF.FIFFV_PROJ_ITEM_NONE = 0 FIFF.FIFFV_PROJ_ITEM_FIELD = 1 FIFF.FIFFV_PROJ_ITEM_DIP_FIX = 2 FIFF.FIFFV_PROJ_ITEM_DIP_ROT = 3 FIFF.FIFFV_PROJ_ITEM_HOMOG_GRAD = 4 FIFF.FIFFV_PROJ_ITEM_HOMOG_FIELD = 5 FIFF.FIFFV_MNE_PROJ_ITEM_EEG_AVREF = 10 # # Additional coordinate frames # FIFF.FIFFV_MNE_COORD_TUFTS_EEG = 300 # For Tufts EEG data FIFF.FIFFV_MNE_COORD_CTF_DEVICE = 1001 # CTF device coordinates FIFF.FIFFV_MNE_COORD_CTF_HEAD = 1004 # CTF head coordinates FIFF.FIFFV_MNE_COORD_MRI_VOXEL = 2001 # The MRI voxel coordinates FIFF.FIFFV_MNE_COORD_RAS = 2002 # Surface RAS coordinates with non-zero origin FIFF.FIFFV_MNE_COORD_MNI_TAL = 2003 # MNI Talairach coordinates FIFF.FIFFV_MNE_COORD_FS_TAL_GTZ = 2004 # FreeSurfer Talairach coordinates (MNI z > 0) FIFF.FIFFV_MNE_COORD_FS_TAL_LTZ = 2005 # FreeSurfer Talairach coordinates (MNI z < 0) FIFF.FIFFV_MNE_COORD_FS_TAL = 2006 # FreeSurfer Talairach coordinates # # CTF coil and channel types # FIFF.FIFFV_REF_MEG_CH = 301 # # Data types # FIFF.FIFFT_VOID = 0 FIFF.FIFFT_BYTE = 1 FIFF.FIFFT_SHORT = 2 FIFF.FIFFT_INT = 3 FIFF.FIFFT_FLOAT = 4 FIFF.FIFFT_DOUBLE = 5 FIFF.FIFFT_JULIAN = 6 FIFF.FIFFT_USHORT = 7 FIFF.FIFFT_UINT = 8 FIFF.FIFFT_ULONG = 9 FIFF.FIFFT_STRING = 10 FIFF.FIFFT_LONG = 11 FIFF.FIFFT_DAU_PACK13 = 13 FIFF.FIFFT_DAU_PACK14 = 14 FIFF.FIFFT_DAU_PACK16 = 16 FIFF.FIFFT_COMPLEX_FLOAT = 20 FIFF.FIFFT_COMPLEX_DOUBLE = 21 FIFF.FIFFT_OLD_PACK = 23 FIFF.FIFFT_CH_INFO_STRUCT = 30 FIFF.FIFFT_ID_STRUCT = 31 FIFF.FIFFT_DIR_ENTRY_STRUCT = 32 FIFF.FIFFT_DIG_POINT_STRUCT = 33 FIFF.FIFFT_CH_POS_STRUCT = 34 FIFF.FIFFT_COORD_TRANS_STRUCT = 35 FIFF.FIFFT_DIG_STRING_STRUCT = 36 FIFF.FIFFT_STREAM_SEGMENT_STRUCT = 37 # # Units of measurement # FIFF.FIFF_UNIT_NONE = -1 # # SI base units # FIFF.FIFF_UNIT_M = 1 FIFF.FIFF_UNIT_KG = 2 FIFF.FIFF_UNIT_SEC = 3 FIFF.FIFF_UNIT_A = 4 FIFF.FIFF_UNIT_K = 5 FIFF.FIFF_UNIT_MOL = 6 # # SI Supplementary units # FIFF.FIFF_UNIT_RAD = 7 FIFF.FIFF_UNIT_SR = 8 # # SI base candela # FIFF.FIFF_UNIT_CD = 9 # # SI derived units # FIFF.FIFF_UNIT_HZ = 101 FIFF.FIFF_UNIT_N = 102 FIFF.FIFF_UNIT_PA = 103 FIFF.FIFF_UNIT_J = 104 FIFF.FIFF_UNIT_W = 105 FIFF.FIFF_UNIT_C = 106 FIFF.FIFF_UNIT_V = 107 FIFF.FIFF_UNIT_F = 108 FIFF.FIFF_UNIT_OHM = 109 FIFF.FIFF_UNIT_MHO = 110 FIFF.FIFF_UNIT_WB = 111 FIFF.FIFF_UNIT_T = 112 FIFF.FIFF_UNIT_H = 113 FIFF.FIFF_UNIT_CEL = 114 FIFF.FIFF_UNIT_LM = 115 FIFF.FIFF_UNIT_LX = 116 # # Others we need # FIFF.FIFF_UNIT_T_M = 201 # T/m FIFF.FIFF_UNIT_AM = 202 # Am FIFF.FIFF_UNIT_AM_M2 = 203 # Am/m^2 FIFF.FIFF_UNIT_AM_M3 = 204 # Am/m^3 # # Multipliers # FIFF.FIFF_UNITM_E = 18 FIFF.FIFF_UNITM_PET = 15 FIFF.FIFF_UNITM_T = 12 FIFF.FIFF_UNITM_MEG = 6 FIFF.FIFF_UNITM_K = 3 FIFF.FIFF_UNITM_H = 2 FIFF.FIFF_UNITM_DA = 1 FIFF.FIFF_UNITM_NONE = 0 FIFF.FIFF_UNITM_D = -1 FIFF.FIFF_UNITM_C = -2 FIFF.FIFF_UNITM_M = -3 FIFF.FIFF_UNITM_MU = -6 FIFF.FIFF_UNITM_N = -9 FIFF.FIFF_UNITM_P = -12 FIFF.FIFF_UNITM_F = -15 FIFF.FIFF_UNITM_A = -18
class Ship(): def __init__(self, name, ship_head, ship_size): self.ship_head = ship_head self.name = name self.size = ship_size self.generate_position() #pensar numa nova nomenclatura def generate_position(self): self.position = [] ship_column = self.ship_head[1] ship_row = self.ship_head[0] for pera in range(self.size): ship_next_row = int(self.ship_head[0]) + pera ship_body = str(ship_next_row) + ship_column self.position.append(ship_body)
def lambda_handler(event, context): message = 'Hello {} {}! Keep being awesome!'.format(event['first_name'], event['last_name']) #print to CloudWatch logs print(message) return { 'message' : message }
# Copyright 2019 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Tests for `swift_library.private_deps`.""" load( "@build_bazel_rules_swift//test/rules:provider_test.bzl", "make_provider_test_rule", ) # Force private deps support to be enabled at analysis time, regardless of # whether the active toolchain actually supports it. private_deps_provider_test = make_provider_test_rule( config_settings = { "//command_line_option:features": ["swift.supports_private_deps"], }, ) def private_deps_test_suite(): """Test suite for propagation behavior of `swift_library.private_deps`.""" name = "private_deps" # Each of the two leaf libraries should propagate their own modules. private_deps_provider_test( name = "{}_private_swift_swiftmodules".format(name), expected_files = [ "test_fixtures_private_deps_private_swift.swiftmodule", ], field = "transitive_swiftmodules", provider = "SwiftInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:private_swift", ) private_deps_provider_test( name = "{}_public_swift_swiftmodules".format(name), expected_files = [ "test_fixtures_private_deps_public_swift.swiftmodule", ], field = "transitive_swiftmodules", provider = "SwiftInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:public_swift", ) # The client module should propagate its own module and the one from `deps`, # but not the one from `private_deps`. private_deps_provider_test( name = "{}_client_swift_deps_swiftmodules".format(name), expected_files = [ "test_fixtures_private_deps_client_swift_deps.swiftmodule", "test_fixtures_private_deps_public_swift.swiftmodule", "-test_fixtures_private_deps_private_swift.swiftmodule", ], field = "transitive_swiftmodules", provider = "SwiftInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:client_swift_deps", ) # With private deps that are C++ libraries, we shouldn't propagate the # compilation context of the private deps. That means the public deps' # headers will be repropagated by Swift library, but not the private ones. private_deps_provider_test( name = "{}_client_cc_deps_headers".format(name), expected_files = [ "/test/fixtures/private_deps/public.h", "-/test/fixtures/private_deps/private.h", # Some C++ toolchains implicitly propagate standard library headers, # so we can't look for an exact match here. "*", ], field = "compilation_context.headers", provider = "CcInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:client_cc_deps", ) # Likewise, we shouldn't repropagate the C++ private deps' module maps. private_deps_provider_test( name = "{}_client_cc_deps_modulemaps".format(name), expected_files = [ "/test/fixtures/private_deps/public_cc.modulemaps/module.modulemap", "-/test/fixtures/private_deps/private_cc.modulemaps/module.modulemap", ], field = "transitive_modulemaps", provider = "SwiftInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:client_cc_deps", ) # Make sure we don't also lose linking information when handling C++ private # deps. All libraries should be propagated, even if their compilation # contexts aren't. private_deps_provider_test( name = "{}_client_cc_deps_libraries".format(name), expected_files = [ "/test/fixtures/private_deps/libprivate_cc.a", "/test/fixtures/private_deps/libpublic_cc.a", # There may be other libraries here, like implicit toolchain # dependencies, which we need to ignore. "*", ], field = "linking_context.libraries_to_link.static_library!", provider = "CcInfo", tags = [name], target_under_test = "@build_bazel_rules_swift//test/fixtures/private_deps:client_cc_deps", ) native.test_suite( name = name, tags = [name], )
"""Example of creating new training data from a larger data set""" # Data (Daily stock prices in $) price = [[9.9, 9.8, 9.8, 9.4, 9.5, 9.7], [9.5, 9.4, 9.4, 9.3, 9.2, 9.1], [8.4, 7.9, 7.9, 8.1, 8.0, 8.0], [7.1, 5.9, 4.8, 4.8, 4.7, 3.9]] # One-liner sample = [line[::2] for line in price] # Result print(sample)
# python 3.7.4 """ I used an iterative approach. List comprehension would create a very long lists. This approach tend to have less iteration when you hit a prime factor because the initial number will be divided at every hit. In the worst case we have n iteration in prime_factors function because we have inserted a prime number. In a medium case we have a m/2 <= n <= m iteration where m is the max prime factor. """ def prime_factors(n: int) -> []: factors = [1] d = 2 # first number count = 0 # to save how many iterations are necessary while d <= n: count += 1 if n % d == 0: factors.append(d) # found a new prime, save it n = n / d else: if d % 2 == 0: d += 1 # if even add 1 to become odd else: d += 2 # if odd continue add 2 to skip the even numbers print(f"Count = {count}") return factors def main(): n = 0 try: n = int(input("Insert an integer number:")) except ValueError as error: print(f"{n} is not an integer number!") exit(1) # get the list primes = prime_factors(n) print(f"You have inserted {n}") print(f"Prime factors of {n}:{primes}") # print(f"Max prime factor of {n} : {max(primes)}") # we have primes in ascending order so we can optimize print(f"Max prime factor of {n} : {primes[-1]}") pass main()
''' Questão 2: Faça um programa que contenha uma tupla com 20 valores, e retorne no console: quantos e quais desses valores são strings, quantos e quais desses valores são inteiros, quantos e quais desses valores são reais, e por final todos que não se encaixaram nos parâmetros anteriores, todos com suas respectivas posições na tupla. Exemplo: tupla=("eita", 2.3, 4, "555", 555, 2.334, 2, -324, [1,2,3,4,5], (4,2), "teste123", 3.33, 23.1, 43215, "password", ["oi professor", 231], 13, -342.4, "lula2022", 0) /// # Strings------------------------------------- # Quantidade: 5 # Posição: 0 // Valor: eita # Posição: 3 // Valor: 555 # Posição: 10 // Valor: teste123 # Posição: 14 // Valor: password # Posição: 18 // Valor: lula2022 # Inteiros------------------------------------ # Quantidade: 7 # Posição: 2 // Valor: 4 # Posição: 4 // Valor: 555 # Posição: 6 // Valor: 2 # Posição: 7 // Valor: -324 # Posição: 13 // Valor: 43215 # Posição: 16 // Valor: 13 # Posição: 19 // Valor: 0 # Reais--------------------------------------- # Quantidade: 5 # Posição: 1 // Valor: 2.3 # Posição: 5 // Valor: 2.334 # Posição: 11 // Valor: 3.33 # Posição: 12 // Valor: 23.1 # Posição: 17 // Valor: -342.4 # Valores não categorizados------------------- # Quantidade: 3 # Posição: 8 // Valor: [1, 2, 3, 4, 5] # Posição: 9 // Valor: (4, 2) # Posição: 15 // Valor: ['oi professor', 231] /// Obs: É permitida a utilização de dicionários/listas. ''' #Algoritmos Computacionais e Estruturas de Dados #6a Lista de Exercícios #Prof.: Laercio Brito #Dia: 13/11/2021 #Turma 2BINFO #Alunos: #Dora Tezulino Santos #Guilherme de Almeida Torrão #Mauro Campos Pahoor #Victor Kauã Martins Nunes #Victor Pinheiro Palmeira #Questão 2 tupla=("eita", 2.3, 4, "555", 555, 2.334, 2, -324, [1,2,3,4,5], (4,2), "teste123", 3.33, 23.1, 43215, "password", ["oi professor", 231], 13, -342.4, "lula2022", 0) strings=0 inteiros=0 reais=0 sobra=0 itensStr={} itensInt={} itensReal={} itensSobra={} for i in range(len(tupla)): linha=[] if(type(tupla[i])==str): strings+=1 itensStr.update({i:tupla[i]}) elif(type(tupla[i])==int): inteiros+=1 itensInt.update({i:tupla[i]}) elif(type(tupla[i])==float): reais+=1 itensReal.update({i:tupla[i]}) else: sobra+=1 itensSobra.update({i:tupla[i]}) print(f"# Strings-------------------------------------\n# Quantidade: {strings}") for itens in itensStr.items(): print(f"# Posição: {itens[0]} // Valor: {itens[1]}") print(f"\n# Inteiros------------------------------------\n# Quantidade: {inteiros}") for itens in itensInt.items(): print(f"# Posição: {itens[0]} // Valor: {itens[1]}") print(f"\n# Reais---------------------------------------\n# Quantidade: {reais}") for itens in itensReal.items(): print(f"# Posição: {itens[0]} // Valor: {itens[1]}") print(f"\n# Valores não categorizados-------------------\n# Quantidade: {sobra}") for itens in itensSobra.items(): print(f"# Posição: {itens[0]} // Valor: {itens[1]}")
#imported from https://bitbucket.org/pypy/benchmarks/src/846fa56a282b0e8716309f891553e0af542d8800/own/fannkuch.py?at=default # the export line is in fannkuch.pythran #runas fannkuch(9);fannkuch2(9) #bench fannkuch(9) def fannkuch(n): count = range(1, n+1) max_flips = 0 m = n-1 r = n check = 0 perm1 = range(n) perm = range(n) while 1: if check < 30: #print "".join(str(i+1) for i in perm1) check += 1 while r != 1: count[r-1] = r r -= 1 if perm1[0] != 0 and perm1[m] != m: perm = perm1[:] flips_count = 0 k = perm[0] while k: perm[:k+1] = perm[k::-1] flips_count += 1 k = perm[0] if flips_count > max_flips: max_flips = flips_count while r != n: perm1.insert(r, perm1.pop(0)) count[r] -= 1 if count[r] > 0: break r += 1 else: return max_flips def fannkuch2(n): fannkuch(n)
# -*- coding: utf-8 -*- """ lantz.errors ~~~~~~~~~~~~ Implements base classes for instrumentation related exceptions. They are useful to mix with specific exceptions from libraries or modules and therefore allowing code to catch them via lantz excepts without breaking specific ones. :copyright: 2012 by The Lantz Authors :license: BSD, see LICENSE for more details. """ class InvalidCommand(Exception): pass class LantzTimeoutError(Exception): pass class InstrumentError(Exception): pass
# Copyright 2020-2021 The MathWorks, Inc. # Configure MATLAB_DESKTOP_PROXY to extend for Jupyter config = { # Link the documentation url here. This will show up on the website UI # where users can create issue's or make enhancement requests "doc_url": "https://github.com/mathworks/jupyter-matlab-proxy", # Use a single word for extension_name # It will be used as a flag when launching the integration using the matlab_desktop_proxy's executable # Example: matlab-desktop-proxy-app --config Jupyter "extension_name": "Jupyter", # This value can be used in various places on the website UI. "extension_name_short_description": "Jupyter", }
# Ex1 def naturalSum(min, max): __min = min __max = max __value = 0 for x in range(__min, __max + 1): if x%7 == 0 or x%9 == 0: __value += x return __value print("natural sum to 20: " + str(naturalSum(0,20))) print("natural sum to 10000: " + str(naturalSum(0,10000)))
print(2) for i in range(3, 101): found = False for j in range(2, i // 2 + 1): if i % j == 0: found = True break if not found: print(i)
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ #end_pymotw_header print('Importing example package')
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 def transform(logdata): if 'errorCode' in logdata or 'errorMessage' in logdata: logdata['event']['outcome'] = 'failure' else: logdata['event']['outcome'] = 'success' try: name = logdata['user']['name'] if ':' in name: logdata['user']['name'] = name.split(':')[-1].split('/')[-1] except KeyError: pass return logdata
"""This file defines the unified tensor framework interface required by DGL. The principles of this interface: * There should be as few interfaces as possible. * The interface is used by DGL system so it is more important to have clean definition rather than convenient usage. * Default arguments should be avoided. * Keyword or positional arguments should be avoided. * Argument type should be easier to understand. It is recommended the frameworks implement all the interfaces. However, it is also OK to skip some. The generated backend module has an ``is_enabled`` function that returns whether the interface is supported by the framework or not. """ ############################################################################### # Tensor, data type and context interfaces def data_type_dict(): """Returns a dictionary from data type string to the data type. The dictionary should include at least: float16 float32 float64 uint8 int8 int16 int32 int64 bool This function will be called only *once* during the initialization fo the backend module. The returned dictionary will become the attributes of the backend module. Examples -------- >>> import torch as th >>> def data_type_dict(): >>> return { 'float16' : th.float16, 'float32' : th.float32, ... } After the module is initialized. >>> import backend as F >>> F.float16 # this will point to torch.float16 Returns ------- dict of str to data type The data type dict. """ pass def cpu(): """Return a context object for CPU device.""" pass def tensor(data, dtype=None): """Create a tensor given the data and data type. If the input is already a tensor and has the same dtype, directly return. Scalar input is converted to a array of one element instead of a 0-dim tensor to avoid certain issues with some backends. Parameters ---------- data : int, iterable, Tensor The interface should at least support list and numpy array. The data is copied to a newly-allocated tensor. dtype : data type, optional It should be one of the values in the data type dict. If is none, the type should be inferred from data. Returns ------- Tensor A framework-specific tensor. """ pass def as_scalar(data): """Returns a scalar whose value is copied from this array. Parameters ---------- data : Tensor The input data Returns ------- scalar The scalar value in the tensor. """ pass def get_preferred_sparse_format(): """Get the preferred sparse matrix format supported by the backend. Different backends have their preferred backend. This info is useful when constructing a sparse matrix. Returns ------- string the name of the preferred sparse matrix format. """ pass def sparse_matrix(data, index, shape, force_format=False): """Create a sparse matrix. NOTE: Please make sure that the data and index tensors are not copied. This is critical to the performance. Parameters ---------- data : Tensor Data tensor. It should be of shape (nnz,). index : tuple This is used to support different sparse formats. For COO format: index=('coo', coord), where coord is of shape (2, nnz). coord[0,:] should be the row index and coord[1,:] should be the column index. For CSR format: index=('csr', indices, indptr), where indices is of shape (nnz,) and indptr is of shape (nrows+1,). See ``scipy.sparse.csr_matrix`` for more documents on what each array means. shape : tuple of int The shape. force_format : bool If true, the returned sparse matrix must be stored in the same format as the given index. Returns ------- SparseMatrix The framework-specific sparse matrix. It can be stored in any format unless force_format is True. Tensor The data convert index due to sparse format change. None if no conversion is needed. """ pass def sparse_matrix_indices(spmat): """Return the indices of the given sparse matrix. Parameters ---------- spmat : SparseMatrix The framework-specific sparse matrix. Returns ------- index : tuple This is used to support different sparse formats. For COO format: index=('coo', coord), where coord is of shape (2, nnz). coord[0,:] should be the row index and coord[1,:] should be the column index. For CSR format: index=('csr', indices, indptr), where indices is of shape (nnz,) and indptr is of shape (nrows+1,). See ``scipy.sparse.csr_matrix`` for more documents on what each array means. """ pass def is_tensor(obj): """Returns true if the given object is a framework-specific tensor.""" pass def shape(input): """Return the shape of the tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- tuple of int The tensor shape. """ pass def dtype(input): """Return the data type of the tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- data type It should be one of the values in the data type dict. """ pass def ndim(input): """Return the number of dimensions of the tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- int The number of dimensions """ pass def context(input): """Return the context/device of the input tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- Context object A framework-specific context object. """ pass def device_type(ctx): """Return a str representing device type. Parameters ---------- ctx : Device context object. Device context. Returns ------- str """ pass def device_id(ctx): """Return device index. For CPU, the index does not matter. For GPU, the index means which GPU device on the machine. Parameters ---------- ctx : Device context object. Device context. Returns ------- int The device index. """ pass def to_backend_ctx(dglctx): """Convert a DGL context object to a backend context. Parameters ---------- dglctx : dgl.ndarray.DGLContext DGL context object. See _ffi.runtime_types for definition. Returns ------- ctx : framework-specific context object. """ pass def astype(input, ty): """Convert the input tensor to the given data type. Parameters ---------- input : Tensor The input tensor. ty : data type It should be one of the values in the data type dict. Returns ------- Tensor A framework-specific tensor. """ pass def asnumpy(input): """Convert the input tensor to numpy array. The data is copied. Parameters ---------- input : Tensor The input tensor. Returns ------- numpy.ndarray Numpy array. """ pass def copy_to(input, ctx, **kwargs): """Copy the given tensor to the context. Parameters ---------- input : Tensor The input tensor ctx : A framework-specific context object. Returns ------- Tensor The tensor on the given context. """ pass ############################################################################### # Tensor functions on feature data # -------------------------------- # These functions are performance critical, so it's better to have efficient # implementation in each framework. def sum(input, dim, keepdims=False): """Reduce sum the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. keepdims : bool Whether to keep the summed dimension. Returns ------- Tensor A framework-specific tensor. """ pass def reduce_sum(input): """Returns the sum of all elements in the input tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor A framework-specific tensor with shape (1,) """ pass def mean(input, dim): """Reduce average the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. Returns ------- Tensor A framework-specific tensor. """ pass def reduce_mean(input): """Returns the average of all elements in the input tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor A framework-specific tensor with shape (1,) """ pass def max(input, dim): """Reduce max the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. Returns ------- Tensor A framework-specific tensor. """ pass def reduce_max(input): """Returns the max of all elements in the input tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor A framework-specific tensor with shape (1,) """ pass def min(input, dim): """Reduce min the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. Returns ------- Tensor A framework-specific tensor. """ pass def reduce_min(input): """Returns the min of all elements in the input tensor. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor A framework-specific tensor with shape (1,) """ pass def argsort(input, dim, descending): """Return the indices that would sort the input along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The dim to sort along. descending : bool Controls the sorting order (False: ascending, True: descending) Returns ------- Tensor A framework-specific tensor. """ def topk(input, k, dim, descending=True): """Return the k largest elements of the given input tensor along the given dimension. If descending is False then the k smallest elements are returned. Parameters ---------- input : Tensor The input tensor. k : int The number of elements. dim : int The dim to sort along. descending : bool Controls whether to return largest/smallest elements. """ pass def argtopk(input, k, dim, descending=True): """Return the indices of the k largest elements of the given input tensor along the given dimension. If descending is False then the k smallest elements are returned. Parameters ---------- input : Tensor The input tensor. k : int The number of elements. dim : int The dimension to sort along. descending : bool Controls whether to return largest/smallest elements. """ pass def exp(input): """Returns a new tensor with the exponential of the elements of the input tensor `input`. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor The output tensor. """ pass def sqrt(input): """Returns a new tensor with the square root of the elements of the input tensor `input`. Parameters ---------- input : Tensor The input tensor. Returns ------- Tensor The output tensor. """ pass def softmax(input, dim=-1): """Apply the softmax function on given dimension. Parameters ---------- input : Tensor The input tensor. dim : int The dimension along which to compute softmax. Returns ------- Tensor The output tensor. """ pass def cat(seq, dim): """Concat the sequence of tensors in the given dimension. Parameters ---------- seq : list of Tensor The tensor sequence. dim : int The concat dim. Returns ------- Tensor A framework-specific tensor. """ pass def stack(seq, dim): """Stack the sequence of tensors along the given dimension. Parameters ---------- seq : list of Tensor The tensor sequence. dim : int The concat dim. Returns ------- Tensor A framework-specific tensor. """ pass def split(input, sizes_or_sections, dim): """Split the input tensor into chunks. If ``sizes_or_sections`` is an integer, then the tensor will be splitted into equal pieces. If ``sizes_or_sections`` is a list, then the tensor will be splitted into segments. Parameters ---------- input : Tensor Tensor to split. sizes_or_sections : int, list[int] Split sizes or sections. dim : int The dimension to split on. Returns ------- list of Tensor The splitted tensors. """ pass def repeat(input, repeats, dim): """Repeats elements of an array. Parameters ---------- input : Tensor Input data array repeats : int, Tensor The number of repetitions for each element dim : int The dim along which to repeat values. Returns ------- Tensor The obtained tensor. """ pass def gather_row(data, row_index): """Slice out the data given the row index. Parameters ---------- data : Tensor The data tensor row_index : Tensor A 1-D integer tensor containing which rows to be sliced out. Returns ------- Tensor The sliced data. The first dimension should equal to ``len(row_index)``. """ pass def slice_axis(data, axis, begin, end): """Slice along a given axis. Returns an array slice along a given axis starting from :attr:`begin` index to :attr:`end` index. Parameters ---------- data : Tensor The data tensor. axis : int The axis along to slice the tensor. begin : int Indicates the begin index. end : int Indicates the end index. Returns: -------- Tensor The sliced tensor. """ pass def take(data, indices, dim): """Takes elements from an input array along the given dim. Parameters ---------- data : Tensor The data tensor. indices : Tensor The indices tensor. dim : Tensor The dimension to gather along. """ pass def narrow_row(x, start, stop): """Narrow down the tensor along the first dimension. Parameters ---------- x : Tensor The input tensor. start : int The start index (inclusive). stop : int The stop index (exclusive). Returns ------- Tensor The narrowed tensor Notes ----- The returned tensor could be a view of the original tensor. """ pass def scatter_row(data, row_index, value): """Write the value into the data tensor using the row index. This is an out-place write so it can work with autograd. Parameters ---------- data : Tensor The data tensor to be updated. row_index : Tensor A 1-D integer tensor containing which rows to be updated. value : Tensor The new value. Returns ------- Tensor The new data. """ pass def index_add_inplace(data, row_idx, value): """Add the values into the data tensor using the row index inplace. If two row indices are the same, the corresponding values are sum up before adding to the data tensor. Examples -------- >>> import torch as th >>> arr = th.zeros((10)) >>> F. index_add_inplace(arr, th.tensor([0, 1, 1]), th.tensor([1.0, 1.0, 1.0])) >>> arr tensor([1., 2., 0., 0., 0., 0., 0., 0., 0., 0.]) Parameters ---------- data : Tensor The data tensor to be updated. row_index : Tensor A 1-D integer tensor containing which rows to be updated. value : Tensor The new value. """ pass def scatter_row_inplace(data, row_index, value): """Write the value into the data tensor using the row index inplace. This is an inplace write so it will break the autograd. Parameters ---------- data : Tensor The data tensor to be updated. row_index : Tensor A 1-D integer tensor containing which rows to be updated. value : Tensor The new value. """ pass def squeeze(input, dim): """Remove the given dimension of size 1. Parameters ---------- input : Tensor The input tensor. dim : int The dimension to be squeezed. Returns ------- Tensor The result tensor. """ pass def unsqueeze(input, dim): """Add the given dimension of size 1. Parameters ---------- input : Tensor The input tensor. dim : int The dimension to be unsqueezed. Returns ------- Tensor The result tensor. """ pass def reshape(input, shape): """Reshape the tensor. Parameters ---------- input : Tensor The input tensor. shape : tuple of int The new shape. Returns ------- Tensor The reshaped tensor. """ pass def swapaxes(input, axis1, axis2): """Interchange the two given axes of a tensor. Parameters ---------- input : Tensor The input tensor. axis1, axis2 : int The two axes. Returns ------- Tensor The transposed tensor. """ pass def zeros(shape, dtype, ctx): """Create a zero tensor. Parameters ---------- shape : tuple of int The tensor shape. dtype : data type It should be one of the values in the data type dict. ctx : context The device of the result tensor. Returns ------- Tensor The zero tensor. """ pass def zeros_like(input): """Create a zero tensor with the same shape, dtype and context of the given tensor. Parameters ---------- input : Tensor The input Returns ------- Tensor The result """ pass def ones(shape, dtype, ctx): """Create a one tensor. Parameters ---------- shape : tuple of int The tensor shape. dtype : data type It should be one of the values in the data type dict. ctx : context The device of the result tensor. Returns ------- Tensor The one tensor. """ pass def uniform(shape, dtype, ctx, low, high): """Crear a tensor with random value in an uniform distribution between low (inclusive) and high (exclusive). Parameters ---------- shape : tuple of int The tensor shape. dtype : data type It should be one of the values in the data type dict. ctx : context The device of the result tensor. Returns ------- Tensor The random tensor. """ pass def pad_packed_tensor(input, lengths, value, l_min=None): r"""Pads a packed batch of variable length tensors with given value. Parameters ---------- input : Tensor The input tensor with shape :math:`(N, *)` lengths : list or tensor The array of tensor lengths (of the first dimension) :math:`L`. It should satisfy :math:`\sum_{i=1}^{B}L_i = N`, where :math:`B` is the length of :math:`L`. value : float The value to fill in the tensor. l_min : int or None, defaults to None. The minimum length each tensor need to be padded to, if set to None, then there is no minimum length requirement. Returns ------- Tensor The obtained tensor with shape :math:`(B, \max(\max_i(L_i), l_{min}), *)` """ pass def pack_padded_tensor(input, lengths): r"""Packs a tensor containing padded sequence of variable length. Parameters ---------- input : Tensor The input tensor with shape :math:`(B, L, *)`, where :math:`B` is the batch size and :math:`L` is the maximum length of the batch. lengths : list or tensor The array of tensor lengths (of the first dimension) :math:`L`. :math:`\max_i(L_i)` should equal :math:`L`. Returns ------- Tensor The obtained tensor with shape :math:`(N, *)` where :math:`N = \sum_{i=1}^{B}L_i` """ pass def boolean_mask(input, mask): """Selects elements in x according to the given mask from the first dimension. Parameters ---------- input : Tensor The input tensor mask : Boolean Tensor The mask Returns ------- Tensor The result """ pass def equal(x, y): """Compares whether the elements are equal. Parameters ---------- x, y : Tensor The two tensors Returns ------- Boolean or integer tensor The result, with the same shape as input. """ pass def logical_not(input): """Perform a logical not operation. Equivalent to np.logical_not Parameters ---------- input : Tensor The input Returns ------- Tensor The result """ pass def logical_and(input1, input2): pass def clone(input): """Return a clone of the input tensor. Parameters ---------- input : Tensor Input tensor. Returns ------- Tensor A clone tensor. """ pass def clamp(data, min_val, max_val): """Clamp all elements in :attr:`input` into the range [min_val, max_val] and return a resulting tensor. Parameters ---------- data : Tensor Input tensor min_val : Scalar Min value. max_val : Scalar Max value. Returns ------- Tensor The result. """ pass ############################################################################### # Tensor functions used *only* on index tensor # ---------------- # These operators are light-weighted, so it is acceptable to fallback to # numpy operators if currently missing in the framework. Ideally in the future, # DGL should contain all the operations on index, so this set of operators # should be gradually removed. def unique(input): """Returns the unique scalar elements in a tensor. Parameters ---------- input : Tensor Must be a 1-D tensor. Returns ------- Tensor A 1-D tensor containing unique elements. """ pass def full_1d(length, fill_value, dtype, ctx): """Create a 1D tensor full of the fill_value. Parameters ---------- shape : int The length of the vector. fill_value : int The filled value. dtype : data type It should be one of the values in the data type dict. ctx : context The device of the result tensor. Returns ------- Tensor A result 1D tensor """ pass def nonzero_1d(input): """Return the nonzero index of the given 1D input. Parameters ---------- input : Tensor Must be a 1D tensor. Returns ------- Tensor A 1D integer tensor containing the nonzero indices. """ pass def sort_1d(input): """Sort a 1D tensor (in ascending order) and also return the original index. Parameters ---------- input : Tensor The tensor to be sorted. Returns ------- Tensor Sorted tensor. Tensor Index tensor of the elements in the original input. """ pass def arange(start, stop, dtype): """Create a 1D range int64 tensor. Parameters ---------- start : int The range start. stop : int The range stop. dtype: str The dtype of result tensor Returns ------- Tensor The result tensor. """ pass def rand_shuffle(arr): """Random shuffle the data in the first dimension of the array. The shuffled data is stored in a new array. Parameters ---------- arr : Tensor The data tensor Returns ------- Tensor The result tensor """ pass def zerocopy_to_dlpack(input): """Create a dlpack tensor that shares the input memory. Parameters ---------- input : Tensor The input tensor Returns ------- dlpack capsule A dlpack capsule that can be used by other framework. """ pass def zerocopy_from_dlpack(dlpack_tensor): """Create a tensor that shares the dlpack_tensor. Parameters ---------- dlpack_tensor : dlpack capsule The dlpack tensor. Returns ------- Tensor A framework-specific tensor. """ pass def zerocopy_to_numpy(input): """Create a numpy ndarray that shares the input memory. Parameters ---------- input : Tensor The input tensor Returns ------- numpy.ndarray A numpy ndarray. """ pass def zerocopy_from_numpy(np_array): """Create a tensor that shares the numpy array. Parameters ---------- np_array : numpy.ndarray The numpy ndarray. Returns ------- Tensor A framework-specific tensor. """ pass def zerocopy_to_dgl_ndarray(input): """Zerocopy a framework-specific Tensor to dgl.ndarray.NDArray Parameters ---------- input : Tensor Returns ------- dgl.ndarray.NDArray """ pass def zerocopy_to_dgl_ndarray_for_write(input): """Zerocopy a framework-specific Tensor to dgl.ndarray.NDArray that is ready for write (required in MXNet). Parameters ---------- input : Tensor Returns ------- dgl.ndarray.NDArray """ pass def zerocopy_from_dgl_ndarray(input): """Zerocopy a dgl.ndarray.NDArray to framework-specific Tensor Parameters ---------- input : dgl.ndarray.NDArray Returns ------- Tensor """ pass ############################################################################### # Custom Operators for graph level computations. # Note: These operators are supposed to be implemented using DGL-provided # kernels (see kernel.py), and plug into tensor framework using custom op # extensions. def binary_reduce(reducer, binary_op, graph, lhs, rhs, lhs_data, rhs_data, out_size, lhs_map, rhs_map, out_map): """Perform binary operation between given data and reduce based on graph structure. Parameters ---------- reducer : str Type of reduction: 'sum', 'max', 'min', 'mean', 'prod', 'none' (no reduction) binary_op : str Binary operation to perform, can be 'add', 'mul', 'sub', 'div' graph : GraphIndex The graph lhs : int The lhs target (src, dst, edge) rhs : int The rhs target (src, dst, edge) lhs_data : Tensor The lhs data rhs_data : Tensor The rhs data out_size : int Size of first dimension of output data lhs_map : tuple Two lhs id mapping arrays, one for forward pass, the other for backward rhs_map : tuple Two rhs id mapping arrays, one for forward pass, the other for backward out_map : tuple Two out id mapping arrays, one for forward pass, the other for backward Returns ------- Tensor The result. """ pass def copy_reduce(reducer, graph, target, in_data, out_size, in_map, out_map): """Copy target data and perform reduce based on graph structure. Parameters ---------- reducer : str Type of reduction: be 'sum', 'max', 'min', 'mean', 'prod', 'none' (no reduction) graph : GraphIndex The graph target : int The input target (src, dst, edge) in_data : Tensor The input data out_size : int Size of first dimension of output data in_map : tuple Two input id mapping arrays, one for forward, the other for backward out_map : tuple Two output id mapping arrays, one for forward, the other for backward Returns ------- Tensor The result. """ pass def gspmm(gidx, op, reduce_op, lhs_data, rhs_data): r""" Generalized Sparse Matrix Multiplication interface. It fuses two steps into one kernel. (1) Computes messages by :attr:`op` source node and edge features. (2) Aggregate the messages by :attr:`reduce_op` as the features on destination nodes. .. math:: x_v = \psi_{(u, v, e)\in \mathcal{G}}(\rho(x_u, x_e)) where :math:`x_v` is the returned feature on destination nodes, and :math`x_u`, :math:`x_e` refers to :attr:`u`, :attr:`e` respectively. :math:`\rho` means binary operator :attr:`op` and :math:`\psi` means reduce operator :attr:`reduce_op`, :math:`\mathcal{G}` is the graph we apply gspmm on: :attr:`g`. Note that this function does not handle gradients. Parameters ---------- gidx : HeteroGraphIndex The input graph. op : str The binary op's name, could be ``add``, ``sub``, ``mul``, ``div``, ``copy_lhs``, ``copy_rhs``. reduce_op : str Reduce operator, could be ``sum``, ``max``, ``min``. lhs_data : tensor or None The left operand, could be None if it's not required by the op. rhs_data : tensor or None The right operand, could be None if it's not required by the op. Returns ------- tensor The result tensor. """ pass def gsddmm(gidx, op, lhs_data, rhs_data, lhs_target='u', rhs_target='v'): r""" Generalized Sampled-Dense-Dense Matrix Multiplication interface. It computes edge features by :attr:`op` lhs features and rhs features. .. math:: x_{e} = \phi(x_{lhs}, x_{rhs}), \forall (u,e,v)\in \mathcal{G} where :math:`x_{e}` is the returned feature on edges and :math:`x_u`, :math:`x_v` refers to :attr:`u`, :attr:`v` respectively. :math:`\phi` is the binary operator :attr:`op`, and :math:`\mathcal{G}` is the graph we apply gsddmm on: :attr:`g`. $lhs$ and $rhs$ are one of $u,v,e$'s. Parameters ---------- gidx : HeteroGraphIndex The input graph. op : str Binary operator, could be ``add``, ``sub``, ``mul``, ``div``, ``dot``, ``copy_lhs``, ``copy_rhs``. lhs_data : tensor or None The left operand, could be None if it's not required by op. rhs_data : tensor or None The right operand, could be None if it's not required by op. lhs_target: str Choice of `u`(source), `e`(edge) or `v`(destination) for left operand. rhs_target: str Choice of `u`(source), `e`(edge) or `v`(destination) for right operand. Returns ------- tensor The result tensor. """ pass def edge_softmax(gidx, logits, eids, norm_by): r"""Compute edge softmax. For a node :math:`i`, edge softmax is an operation of computing .. math:: a_{ij} = \frac{\exp(z_{ij})}{\sum_{j\in\mathcal{N}(i)}\exp(z_{ij})} where :math:`z_{ij}` is a signal of edge :math:`j\rightarrow i`, also called logits in the context of softmax. :math:`\mathcal{N}(i)` is the set of nodes that have an edge to :math:`i`. By default edge softmax is normalized by destination nodes(i.e. :math:`ij` are incoming edges of `i` in the formula above). We also support edge softmax normalized by source nodes(i.e. :math:`ij` are outgoing edges of `i` in the formula). The previous case correspond to softmax in GAT and Transformer, and the later case correspond to softmax in Capsule network. Parameters ---------- gidx : HeteroGraphIndex The graph to perfor edge softmax on. logits : torch.Tensor The input edge feature eids : torch.Tensor or ALL, optional Edges on which to apply edge softmax. If ALL, apply edge softmax on all edges in the graph. Default: ALL. norm_by : str, could be `src` or `dst` Normalized by source nodes or destination nodes. Default: `dst`. Returns ------- Tensor Softmax value """ ############################################################################### # Other interfaces # ---------------- # These are not related to tensors. Some of them are temporary workarounds that # should be included in DGL in the future. def sync(): """Synchronize computation. In DL frameworks such as MXNet and TensorFlow, the computation in operators are done asynchronously. This is to synchronize computation and makes sure that all computation is complete after this function call. """ pass def attach_grad(tensor): """ Attach gradients to the input tensor """ pass def backward(x, head_gradient=None): """Invoke backward computation with an optional head gradient. """ pass def grad(x): """Fetches the gradient from the tensor after backward computation. """ pass def is_no_grad(x): """ Test if the input tensor has gradient """ pass def is_recording(): """ Test if the execution is recording gradients. """ pass class record_grad(object): """Context manager that records the gradients""" def __init__(self): pass def __enter__(self): pass def __exit__(self, exc_type, exc_value, exc_traceback): pass class no_grad(object): """Context manager that explicitly disables gradient computation""" def __init__(self): pass def __enter__(self): pass def __exit__(self, exc_type, exc_value, exc_traceback): pass
class CustomBaseException(Exception): errcode = 1000 errmsg = 'Server Unkown Error.' def __init__(self, errmsg=None, errcode=None, **kw): if errmsg: self.errmsg = errmsg if errcode is not None: self.errcode = errcode self.kw = kw def __str__(self): return '%d: %s' % (self.errcode, self.errmsg) def __repr__(self): return '<%s \'%s\'>' % (self.__class__.__name__, self) class FormValidationError(CustomBaseException): errcode = 2001 errmsg = '表单验证错误' def __init__(self, form, errmsg=None, show_first_err=True): if not errmsg and show_first_err: name, errors = next(iter(form.errors.items())) errmsg = f'{getattr(form, name).label.text}: {errors[0]}' super(FormValidationError, self).__init__(errmsg) self.errors = form.errors class ParameterError(CustomBaseException): errcode = -1 errmsg = '参数错误' class TokenExpireErr(CustomBaseException): errcode = -2 errmsg = '生成token失败'
def singleton(class_): instances = {} def getinstance(*args, **kwargs): if class_ not in instances: instances[class_] = class_(*args, **kwargs) return instances[class_] return getinstance @singleton class BotWrapper: def __init__(self): self.bot = None def set_bot(self, bot): self.bot = bot
""" Color Definitions ===== Copyright (c) 2015 Andrés Rodríguez and KivyMD contributors - KivyMD library up to version 0.1.2 Copyright (c) 2019 Ivanov Yuri and KivyMD contributors - KivyMD library version 0.1.3 and higher For suggestions and questions: <[email protected]> This file is distributed under the terms of the same license, as the Kivy framework. `Material Design spec, The color system <https://material.io/design/color/the-color-system.html>`_ """ colors = { 'Red': { '50': 'FFEBEE', '100': 'FFCDD2', '200': 'EF9A9A', '300': 'E57373', '400': 'EF5350', '500': 'F44336', '600': 'E53935', '700': 'D32F2F', '800': 'C62828', '900': 'B71C1C', 'A100': 'FF8A80', 'A200': 'FF5252', 'A400': 'FF1744', 'A700': 'D50000' }, 'Pink': { '50': 'FCE4EC', '100': 'F8BBD0', '200': 'F48FB1', '300': 'F06292', '400': 'EC407A', '500': 'E91E63', '600': 'D81B60', '700': 'C2185B', '800': 'AD1457', '900': '880E4F', 'A100': 'FF80AB', 'A200': 'FF4081', 'A400': 'F50057', 'A700': 'C51162' }, 'Purple': { '50': 'F3E5F5', '100': 'E1BEE7', '200': 'CE93D8', '300': 'BA68C8', '400': 'AB47BC', '500': '9C27B0', '600': '8E24AA', '700': '7B1FA2', '800': '6A1B9A', '900': '4A148C', 'A100': 'EA80FC', 'A200': 'E040FB', 'A400': 'D500F9FF' }, 'DeepPurple': { '50': 'EDE7F6', '100': 'D1C4E9', '200': 'B39DDB', '300': '9575CD', '400': '7E57C2', '500': '673AB7', '600': '5E35B1', '700': '512DA8', '800': '4527A0', '900': '311B92', 'A100': 'B388FF', 'A200': '7C4DFF', 'A400': '651FFF', 'A700': '6200EA' }, 'Indigo': { '50': 'E8EAF6', '100': 'C5CAE9', '200': '9FA8DA', '300': '7986CB', '400': '5C6BC0', '500': '3F51B5', '600': '3949AB', '700': '303F9F', '800': '283593', '900': '1A237E', 'A100': '8C9EFF', 'A200': '536DFE', 'A400': '3D5AFE', 'A700': '304FFE' }, 'Blue': { '50': 'E3F2FD', '100': 'BBDEFB', '200': '90CAF9', '300': '64B5F6', '400': '42A5F5', '500': '2196F3', '600': '1E88E5', '700': '1976D2', '800': '1565C0', '900': '0D47A1', 'A100': '82B1FF', 'A200': '448AFF', 'A400': '2979FF', 'A700': '2962FF' }, 'LightBlue': { '50': 'E1F5FE', '100': 'B3E5FC', '200': '81D4FA', '300': '4FC3F7', '400': '29B6F6', '500': '03A9F4', '600': '039BE5', '700': '0288D1', '800': '0277BD', '900': '01579B', 'A100': '80D8FF', 'A200': '40C4FF', 'A400': '00B0FF', 'A700': '0091EA' }, 'Cyan': { '50': 'E0F7FA', '100': 'B2EBF2', '200': '80DEEA', '300': '4DD0E1', '400': '26C6DA', '500': '00BCD4', '600': '00ACC1', '700': '0097A7', '800': '00838F', '900': '006064', 'A100': '84FFFF', 'A200': '18FFFF', 'A400': '00E5FF', 'A700': '00B8D4'}, 'Teal': { '50': 'E0F2F1', '100': 'B2DFDB', '200': '80CBC4', '300': '4DB6AC', '400': '26A69A', '500': '009688', '600': '00897B', '700': '00796B', '800': '00695C', '900': '004D40', 'A100': 'A7FFEB', 'A200': '64FFDA', 'A400': '1DE9B6', 'A700': '00BFA5' }, 'Green': { '50': 'E8F5E9', '100': 'C8E6C9', '200': 'A5D6A7', '300': '81C784', '400': '66BB6A', '500': '4CAF50', '600': '43A047', '700': '388E3C', '800': '2E7D32', '900': '1B5E20', 'A100': 'B9F6CA', 'A200': '69F0AE', 'A400': '00E676', 'A700': '00C853' }, 'LightGreen': { '50': 'F1F8E9', '100': 'DCEDC8', '200': 'C5E1A5', '300': 'AED581', '400': '9CCC65', '500': '8BC34A', '600': '7CB342', '700': '689F38', '800': '558B2F', '900': '33691E', 'A100': 'CCFF90', 'A200': 'B2FF59', 'A400': '76FF03', 'A700': '64DD17' }, 'Lime': { '50': 'F9FBE7', '100': 'F0F4C3', '200': 'E6EE9C', '300': 'DCE775', '400': 'D4E157', '500': 'CDDC39', '600': 'C0CA33', '700': 'AFB42B', '800': '9E9D24', '900': '827717', 'A100': 'F4FF81', 'A200': 'EEFF41', 'A400': 'C6FF00', 'A700': 'AEEA00' }, 'Yellow': { '50': 'FFFDE7', '100': 'FFF9C4', '200': 'FFF59D', '300': 'FFF176', '400': 'FFEE58', '500': 'FFEB3B', '600': 'FDD835', '700': 'FBC02D', '800': 'F9A825', '900': 'F57F17', 'A100': 'FFFF8D', 'A200': 'FFFF00', 'A400': 'FFEA00', 'A700': 'FFD600' }, 'Amber': { '50': 'FFF8E1', '100': 'FFECB3', '200': 'FFE082', '300': 'FFD54F', '400': 'FFCA28', '500': 'FFC107', '600': 'FFB300', '700': 'FFA000', '800': 'FF8F00', '900': 'FF6F00', 'A100': 'FFE57F', 'A200': 'FFD740', 'A400': 'FFC400', 'A700': 'FFAB00' }, 'Orange': { '50': 'FFF3E0', '100': 'FFE0B2', '200': 'FFCC80', '300': 'FFB74D', '400': 'FFA726', '500': 'FF9800', '600': 'FB8C00', '700': 'F57C00', '800': 'EF6C00', '900': 'E65100', 'A100': 'FFD180', 'A200': 'FFAB40', 'A400': 'FF9100', 'A700': 'FF6D00' }, 'DeepOrange': { '50': 'FBE9E7', '100': 'FFCCBC', '200': 'FFAB91', '300': 'FF8A65', '400': 'FF7043', '500': 'FF5722', '600': 'F4511E', '700': 'E64A19', '800': 'D84315', '900': 'BF360C', 'A100': 'FF9E80', 'A200': 'FF6E40', 'A400': 'FF3D00', 'A700': 'DD2C00' }, 'Brown': { '50': 'EFEBE9', '100': 'D7CCC8', '200': 'BCAAA4', '300': 'A1887F', '400': '8D6E63', '500': '795548', '600': '6D4C41', '700': '5D4037', '800': '4E342E', '900': '3E2723', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Gray': { '50': 'FAFAFA', '100': 'F5F5F5', '200': 'EEEEEE', '300': 'E0E0E0', '400': 'BDBDBD', '500': '9E9E9E', '600': '757575', '700': '616161', '800': '424242', '900': '212121', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'BlueGray': { '50': 'ECEFF1', '100': 'CFD8DC', '200': 'B0BEC5', '300': '90A4AE', '400': '78909C', '500': '607D8B', '600': '546E7A', '700': '455A64', '800': '37474F', '900': '263238', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Light': { 'StatusBar': 'E0E0E0', 'AppBar': 'F5F5F5', 'Background': 'FAFAFA', 'CardsDialogs': 'FFFFFF', 'FlatButtonDown': 'cccccc' }, 'Dark': { 'StatusBar': '000000', 'AppBar': '212121', 'Background': '303030', 'CardsDialogs': '424242', 'FlatButtonDown': '999999' } } palette = ['Red', 'Pink', 'Purple', 'DeepPurple', 'Indigo', 'Blue', 'LightBlue', 'Cyan', 'Teal', 'Green', 'LightGreen', 'Lime', 'Yellow', 'Amber', 'Orange', 'DeepOrange', 'Brown', 'Gray', 'BlueGray'] hue = ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700'] light_colors = { 'Red': ['50', '100', '200', '300', 'A100'], 'Pink': ['50', '100', '200', 'A100'], 'Purple': ['50', '100', '200', 'A100'], 'DeepPurple': ['50', '100', '200', 'A100'], 'Indigo': ['50', '100', '200', 'A100'], 'Blue': ['50', '100', '200', '300', '400', 'A100'], 'LightBlue': ['50', '100', '200', '300', '400', '500', 'A100', 'A200', 'A400'], 'Cyan': ['50', '100', '200', '300', '400', '500', '600', 'A100', 'A200', 'A400', 'A700'], 'Teal': ['50', '100', '200', '300', '400', 'A100', 'A200', 'A400', 'A700'], 'Green': ['50', '100', '200', '300', '400', '500', 'A100', 'A200', 'A400', 'A700'], 'LightGreen': ['50', '100', '200', '300', '400', '500', '600', 'A100', 'A200', 'A400', 'A700'], 'Lime': ['50', '100', '200', '300', '400', '500', '600', '700', '800', 'A100', 'A200', 'A400', 'A700'], 'Yellow': ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700'], 'Amber': ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700'], 'Orange': ['50', '100', '200', '300', '400', '500', '600', '700', 'A100', 'A200', 'A400', 'A700'], 'DeepOrange': ['50', '100', '200', '300', '400', 'A100', 'A200'], 'Brown': ['50', '100', '200'], 'Gray': ['51', '100', '200', '300', '400', '500'], 'BlueGray': ['50', '100', '200', '300'], 'Dark': [], 'Light': ['White', 'MainBackground', 'DialogBackground'] } """ # How to generate text_colors dict: text_colors = {} for p in palette: text_colors[p] = {} for h in hue: if h in light_colors[p]: text_colors[p][h] = '000000' else: text_colors[p][h] = 'FFFFFF' """ text_colors = { 'Red': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Pink': { '50': '000000', '100': '000000', '200': '000000', '300': 'FFFFFF', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Purple': { '50': '000000', '100': '000000', '200': '000000', '300': 'FFFFFF', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'DeepPurple': { '50': '000000', '100': '000000', '200': '000000', '300': 'FFFFFF', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Indigo': { '50': '000000', '100': '000000', '200': '000000', '300': 'FFFFFF', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Blue': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'LightBlue': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': 'FFFFFF' }, 'Cyan': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Teal': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Green': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'LightGreen': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Lime': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': '000000', '800': '000000', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Yellow': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': '000000', '800': '000000', '900': '000000', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Amber': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': '000000', '800': '000000', '900': '000000', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'Orange': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': '000000', '700': '000000', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': '000000', 'A700': '000000' }, 'DeepOrange': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': '000000', 'A200': '000000', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Brown': { '50': '000000', '100': '000000', '200': '000000', '300': 'FFFFFF', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': 'FFFFFF', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'Gray': { '50': 'FFFFFF', '100': '000000', '200': '000000', '300': '000000', '400': '000000', '500': '000000', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': 'FFFFFF', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' }, 'BlueGray': { '50': '000000', '100': '000000', '200': '000000', '300': '000000', '400': 'FFFFFF', '500': 'FFFFFF', '600': 'FFFFFF', '700': 'FFFFFF', '800': 'FFFFFF', '900': 'FFFFFF', 'A100': 'FFFFFF', 'A200': 'FFFFFF', 'A400': 'FFFFFF', 'A700': 'FFFFFF' } } theme_colors = ['Primary', 'Secondary', 'Background', 'Surface', 'Error', 'On_Primary', 'On_Secondary', 'On_Background', 'On_Surface', 'On_Error']
#! /usr/bin/python # -*- coding: iso-8859-15 -*- for n in (1, 6): c = n ** 2 print(n,c)
class RandomMock: """Callable object returning given sequence of "random" numbers. Can be substituted instead of random.random() function to test the behavior of algorithm in case random generator returns some specific sequence of values. I.e. to make these tests deterministic. See randfunc= parameter in methods that use random(). """ def __init__(self, values): self.values = values self.iter = iter(values) def __call__(self, *args, **kwargs): return next(self.iter) class SampleMock: """Callable object returning a sequence of "random" objects from a list, defined by a given RandomMock object or by given sequence of numbers. Can be substituted instead of random.sample() function to test the behavior of algorithm in case random generator returns some specific sequence of values. I.e. to make these tests deterministic. See samplefunc= parameter in methods that use sample(). """ def __init__(self, *args): if len(args) == 1 and isinstance(args[0], RandomMock): self.random_stream = args[0] else: self.random_stream = RandomMock(args[0]) def __call__(self, *args, **kwargs): assert args is not None and len(args) == 2 lst = list(args[0]) sample_size = int(args[1]) population_size = len(lst) result = [] already_used = set() for i in range(sample_size): rnd = self.random_stream() elem_id = rnd % population_size while elem_id in already_used: rnd = self.random_stream() elem_id = rnd % population_size result.append(lst[elem_id]) already_used.add(elem_id) return result
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param head: The head of linked list. @return: You should return the head of the sorted linked list, using constant space complexity. """ def sortList(self, head): # write your code here pass
# dp class Solution: def numSquares(self, n: int) -> int: dp = [float("inf")] * (n + 1) dp[0] = 0 for i in range(1, n + 1): j = 1 while j * j <= i: dp[i] = min(dp[i], dp[i - j * j] + 1) j += 1 return dp[n]
# --- # jupyter: # jupytext: # cell_markers: region,endregion # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- 1+2+3 # region active="" # This is a raw cell # endregion # This is a markdown cell
""" :Author(s) Ryan Forster: This file contains constants from Tables 2 and 4 from "Understanding M-values" By Erik C. Baker, P.E. Used for the calculation of gradient factors """ # m naught values for haldane are all 2.0 HALDANE_M_NAUGHT = 2.0 ''' Haldane M value constant ''' ZHL16A_N_DELTA = [1.9082, 1.7928, 1.5352, 1.3847, 1.2780, 1.2306, 1.1857, 1.1504, 1.1223, 1.0999, 1.0844, 1.0731, 1.0635, 1.0552, 1.0478, 1.0414, 1.0359] ''' ZH-L16A nitrogen delta slope values in order [1, 1b, 2, ... 16] ''' ZHL16A_N_M_NAUGHT = [32.4, 29.6, 25.4, 22.5, 20.3, 19.0, 17.8, 16.8, 15.9, 15.2, 14.6, 14.2, 13.9, 13.5, 13.2, 12.9, 12.7] ''' ZH-L16A nitogen surfacing m-value in order [1, 1b, 2, ... 16] ''' ZHL16B_N_DELTA = [1.9082, 1.7928, 1.5352, 1.3847, 1.2780, 1.2306, 1.1857, 1.1504, 1.1223, 1.0999, 1.0844, 1.0731, 1.0635, 1.0552, 1.0478, 1.0414, 1.0359] ''' ZH-L16B nitrogen delta slope values in order [1, 1b, 2, ... 16] ''' ZHL16B_HE_DELTA = [2.3557, 2.0964, 1.7400, 1.5321, 1.3845, 1.3189, 1.2568, 1.2079, 1.1692, 1.1419, 1.1232, 1.1115, 1.1022, 1.0963, 1.0904, 1.0850, 1.0791] ''' ZH-L16B helium delta slope values in order [1, 1b, 2, ... 16] ''' ZHL16B_N_M_NAUGHT = [32.4, 29.6, 25.4, 22.5, 20.3, 19.0, 17.5, 16.5, 15.7, 15.2, 14.6, 14.2, 13.9, 13.4, 13.2, 12.9, 12.7] ''' ZH-L16B nitogen surfacing m-value in order [1, 1b, 2, ... 16] ''' ZHL16B_HE_M_NAUGHT = [41.0, 37.2, 31.2, 27.2, 24.3, 22.4, 20.8, 19.4, 18.2, 17.4, 16.8, 16.4, 16.2, 16.1, 16.1, 16.0, 15.9] ''' ZH-L16B helium surfacing m-value in order [1, 1b, 2, ... 16] ''' ZHL16C_N_DELTA = [1.9082, 1.7928, 1.5352, 1.3847, 1.2780, 1.2306, 1.1857, 1.1504, 1.1223, 1.0999, 1.0844, 1.0731, 1.0635, 1.0552, 1.0478, 1.0414, 1.0359] ''' ZH-L16C nitrogen delta slope values in order [1, 1b, 2, ... 16] ''' ZHL16C_N_M_NAUGHT = [32.4, 29.6, 25.4, 22.5, 20.3, 18.5, 16.9, 15.9, 15.2, 14.7, 14.3, 14.0, 13.7, 13.4, 13.1, 12.9, 12.7] ''' ZH-L16C nitogen surfacing m-value in order [1, 1b, 2, ... 16] ''' WORKMAN_N_DELTA = [1.8, 1.6, 1.5, 1.4, 1.3, 1.2, 1.15, 1.1, 1.1] ''' Workman nitrogen delta slope values in order [1, 2, ...] ''' WORKMAN_N_M_NAUGHT = [31.7, 26.8, 21.9, 17.0, 16.4, 15.8, 15.5, 15.5, 15.2] ''' Workman nitrogen surfacing m-value in order [1, 2, ...] ''' DSAT_N_M_NAUGHT = [30.42, 25.37, 20.54, 18.34, 17.11, 15.79, 15.11, 14.69] ''' DSAT nitrogen surfacing m-value in order [1, 2, ...] '''
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def tree2str(self, t: TreeNode) -> str: if not t: return '' left = '({})'.format(self.tree2str(t.left)) if t.left or t.right else '' right = '({})'.format(self.tree2str(t.right)) if t.right else '' return '{}{}{}'.format(t.val, left, right)
_constant_id = 0 def _create_constant_id(): global _constant_id _constant_id += 1 return f'<Game Constant (id={_constant_id})' text_relative_margin_size = _create_constant_id() margin_relative_text_spawn = _create_constant_id() mutable_text_size = _create_constant_id() default_font_path = 'nsr.ttf'
#!/usr/bin/env python # coding: utf-8 # In[1]: def contnum(n): # initializing starting number num = 1 # outer loop to handle number of rows for i in range(0, n): # inner loop to handle number of columns # values changing acc. to outer loop for j in range(0, i+1): # printing number print(num, end=" ") # incrementing number at each column num = num + 1 # ending line after each row print("\r") n = 5 # sending 5 as argument # calling Function contnum(n) # In[ ]:
numero = int(input('Digite um nimero:')) tb1 = numero*1 tb2 = numero*2 tb3 = numero*3 tb4 = numero*4 tb5 = numero*5 tb6 = numero*6 tb7 = numero*7 tb8 = numero*8 tb9 = numero*9 tb10 = numero*10 print('-'*12) print('a taboada de {} é, \n {} \n {} \n {} \n {} \n {}'.format(numero, tb1, tb2, tb3, tb4, tb5)) print(' {} \n {} \n {} \n {} \n {}'.format(tb6, tb7, tb8, tb9, tb10)) print('-'*12)
class PlayerInfo: def __init__(self, manager): self.window = manager.window self.game = manager.game self.manager = manager self._bottom_index = 0 self._top_index = 0 self.bottom_num_pages = 3 self.top_num_pages = 2 def __call__(self): self.setup_ui() self.refresh_page() @property def bottom_index(self): return self._bottom_index @bottom_index.setter def bottom_index(self, value): if value < 0: self._bottom_index = self.bottom_num_pages - 1 elif value > self.bottom_num_pages - 1: self._bottom_index = 0 else: self._bottom_index = value @property def top_index(self): return self._top_index @top_index.setter def top_index(self, value): if value < 0: self._top_index = self.top_num_pages - 1 elif value > self.top_num_pages - 1: self._top_index = 0 else: self._top_index = value def setup_ui(self): self.window.print(self.game.player.name, (50, 1)) self.window.print(self.game.player.job.name.capitalize(), (49, 2)) self.window.print(f"Level - {self.game.player.level}", (67, 2)) self.window.print(f'XP {self.game.player.experience}/{self.game.player.xp_to_next_level}', (49, 3)) self.window.print(f'Health {self.game.player.health}/{self.game.player.max_health}', (49, 4)) self.window.print(f'Mana {self.game.player.mana}/{self.game.player.max_mana}', (49, 5)) def setup_equipmnt(self): self.window.print(' EQUIPMNT ', (57, 7)) i = 0 for slot_name, slot_item in self.game.player.inventory.equipped.as_dict.items(): if not isinstance(slot_item, list): self.window.print(f'{slot_name.upper()} : {slot_item.capitalize()}', (49, 8 + i)) else: self.window.print(f'{slot_name.upper()} : ' f'{", ".join([s.capitalize() for s in slot_item])}', (49, 8 + i)) i += 1 def setup_commands(self): self.window.print(' COMMANDS ', (57, 7)) pass def clear_page(self): self.window.print(' ' * 10, (57, 14)) self.window.print(' ' * 10, (57, 7)) for i in range(8): self.window.print(' ' * 29, (48, 15 + i)) for i in range(6): self.window.print(' ' * 29, (48, 8 + i)) def setup_stats(self): self.window.print('STATS', (59, 14)) i = 0 for key, value in self.game.player.stats.as_dict.items(): self.window.print(f'{key.upper()} - {value}', (49, 15 + i)) i += 1 def setup_saving_throws(self): self.window.print('SAV.THROWS', (57, 14)) i = 0 for key, value in self.game.player.job.saving_throws.as_dict.items(): self.window.print(f'{key.upper()} - {value}', (49, 15 + i)) i += 1 def setup_money(self): self.window.print(' MONEY ', (57, 14)) i = 0 for key, value in self.game.player.inventory.money.coins.items(): self.window.print(f'{key.upper()} : {value}', (49, 15 + i)) i += 1 self.window.print(f'GEMS : {self.game.player.inventory.money.gems_value} GC', (49, 15 + i)) self.window.print(f'JEWELS : {self.game.player.inventory.money.jewels_value} GC', (49, 16 + i)) self.window.print(f'TOTAL : {self.game.player.inventory.money.value:02} GC', (49, 17 + i)) def on_bottom_page_left(self, event): self.bottom_index -= 1 self.refresh_page() def on_bottom_page_right(self, event): self.bottom_index += 1 self.refresh_page() def on_top_page_left(self, event): self.top_index -= 1 self.refresh_page() def on_top_page_right(self, event): self.top_index += 1 self.refresh_page() def refresh_page(self): self.clear_page() [self.setup_stats, self.setup_saving_throws, self.setup_money][self.bottom_index]() [self.setup_equipmnt, self.setup_commands][self.top_index]() self.window.button('<', (56, 14), self.on_bottom_page_left) self.window.button('<', (56, 7), self.on_top_page_left) self.window.button('>', (67, 14), self.on_bottom_page_right) self.window.button('>', (67, 7), self.on_top_page_right)
""" .. module:: tr064.version :synopsis: tr-064 version .. moduleauthor:: Benjamin Füldner <[email protected]> """ __version__ = '0.1.1'
""" Doc string """ def asdf(): pass