| 1 |
# jsonpickle's tags |
| 2 |
"BYTES" |
| 3 |
"py/bytes" |
| 4 |
"B64" |
| 5 |
"py/b64" |
| 6 |
"B85" |
| 7 |
"py/b85" |
| 8 |
"FUNCTION" |
| 9 |
"py/function" |
| 10 |
"ID" |
| 11 |
"py/id" |
| 12 |
"INITARGS" |
| 13 |
"py/initargs" |
| 14 |
"ITERATOR" |
| 15 |
"py/iterator" |
| 16 |
"JSON_KEY" |
| 17 |
"json://" |
| 18 |
"NEWARGS" |
| 19 |
"py/newargs" |
| 20 |
"NEWARGSEX" |
| 21 |
"py/newargsex" |
| 22 |
"NEWOBJ" |
| 23 |
"py/newobj" |
| 24 |
"OBJECT" |
| 25 |
"py/object" |
| 26 |
"PROPERTY" |
| 27 |
"py/property" |
| 28 |
"REDUCE" |
| 29 |
"py/reduce" |
| 30 |
"REF" |
| 31 |
"py/ref" |
| 32 |
"REPR" |
| 33 |
"py/repr" |
| 34 |
"SEQ" |
| 35 |
"py/seq" |
| 36 |
"SET" |
| 37 |
"py/set" |
| 38 |
"STATE" |
| 39 |
"py/state" |
| 40 |
"TUPLE" |
| 41 |
"py/tuple" |
| 42 |
"TYPE" |
| 43 |
"py/type" |
| 44 |
# Some keywords |
| 45 |
"def" |
| 46 |
"class" |
| 47 |
"import" |
| 48 |
"from" |
| 49 |
"as" |
| 50 |
"try" |
| 51 |
"with" |
| 52 |
"except" |
| 53 |
"raise" |
| 54 |
"if" |
| 55 |
"else" |
| 56 |
"elseif" |
| 57 |
"return" |
| 58 |
"assert" |
| 59 |
"print" |
| 60 |
"exit()" |
| 61 |
"quit" |
| 62 |
"self" |
| 63 |
"and" |
| 64 |
"or" |
| 65 |
"not" |
| 66 |
"is" |
| 67 |
"in" |
| 68 |
"isinstance" |
| 69 |
"lambda" |
| 70 |
# Meaningful syntax characters |
| 71 |
"." |
| 72 |
".." |
| 73 |
"..." |
| 74 |
"+" |
| 75 |
"-" |
| 76 |
"%" |
| 77 |
"*" |
| 78 |
"**" |
| 79 |
"/" |
| 80 |
"//" |
| 81 |
"@" |
| 82 |
"^" |
| 83 |
"&" |
| 84 |
"|" |
| 85 |
">>" |
| 86 |
"<<" |
| 87 |
"=" |
| 88 |
"==" |
| 89 |
":=" |
| 90 |
">" |
| 91 |
"<" |
| 92 |
">=" |
| 93 |
"<=" |
| 94 |
"!=" |
| 95 |
":" |
| 96 |
"(" |
| 97 |
")" |
| 98 |
"[" |
| 99 |
"]" |
| 100 |
"{" |
| 101 |
"}" |
| 102 |
"," |
| 103 |
"->" |
| 104 |
# Some types |
| 105 |
"bytearray" |
| 106 |
"str" |
| 107 |
"int" |
| 108 |
"float" |
| 109 |
"complex" |
| 110 |
"True" |
| 111 |
"False" |
| 112 |
"None" |
| 113 |
"inf" |
| 114 |
"-inf" |
| 115 |
"set" |
| 116 |
"frozenset" |
| 117 |
## Some error types |
| 118 |
"NotImplemented" |
| 119 |
"Error" |
| 120 |
"TypeError" |
| 121 |
"ValueError" |
| 122 |
"ZeroDivisionError" |
| 123 |
"UnicodeTranslateError" |
| 124 |
"UnicodeDecodeError" |
| 125 |
"UnicodeEncodeError" |
| 126 |
"UnboundLocalError" |
| 127 |
"UnicodeError" |
| 128 |
"SyntaxError" |
| 129 |
# Some values |
| 130 |
"1" |
| 131 |
"-1" |
| 132 |
# Special method hints |
| 133 |
"__" |
| 134 |
"__name__" |
| 135 |
"__debug__" |
| 136 |
"__init__" |
| 137 |
"__all__" |
| 138 |
"__iter__" |
| 139 |
"__next__" |
| 140 |
"__str__" |
| 141 |
"__radd__" |
| 142 |
"__rsub__" |
| 143 |
"__rrshift__" |
| 144 |
"__repr__()" |
| 145 |
# Some complex syntax fragments |
| 146 |
"os.getenv()" |
| 147 |
"def main():" |
| 148 |
"if __name__ == \"__main__\":" |
| 149 |
"__all__ = [\"value_1\", \"some_value_two\"]" |
| 150 |
"a = \"something\"" |
| 151 |
"if b := some_func():" |
| 152 |
"() -> str:" |
| 153 |
"x not in s" |
| 154 |
"s.index(x[, i[, j]])" |
| 155 |
".replace(" |
| 156 |
"len(some_var)" |
| 157 |
"id(x)" |
| 158 |
"type(y).__rsub__(y, x)" |
| 159 |
"b'.\\xf0\\xf1\\xf2'" |
| 160 |
"f'" |
| 161 |
# Misc |
| 162 |
"pwd" |
| 163 |
"xxsubtype" |
| 164 |
"[exeis[" |
| 165 |
"__phello__.spam" |
| 166 |
"\\001\\000\\000\\000\\000\\000\\000\\000" |
| 167 |
"\\001\\000" |
| 168 |
"::<:::" |
| 169 |
"\\377\\377\\377\\377\\377\\377\\377:" |
| 170 |
"coass" |
| 171 |
"\\377\\377\\377\\377" |
| 172 |
"\\000\\000" |
| 173 |
"\\001\\000\\000\\000" |
| 174 |
"\\377\\377" |
| 175 |
"\\377\\377\\377\\377\\377\\377\\377\\377" |
| 176 |
"\\377\\377\\377\\377\\377\\377\\377\\003" |
| 177 |
"\\011''\\012' \\012YV'\\012'\\012k\\012 '&'\\012\\011''\\012\\011\\011" |
| 178 |
"eretur" |
| 179 |
"\\000\\000\\000\\000\\000\\000\\000;" |
| 180 |
"\\377\\377" |
| 181 |
"'\\\\\\012\\\\\\012\\\\f\\\\\\012ed\\012s\\\\\\012/i/i" |
| 182 |
"\\001\\000\\000\\000" |
| 183 |
"\\377\\377\\377\\377\\377\\377\\377\\001" |
| 184 |
"\\000\\000\\000\\000\\000\\000\\0006" |
| 185 |
"\\377\\377\\377\\377" |
| 186 |
"=\\000\\000\\000\\000\\000\\000\\000" |
| 187 |
"'\\177\\177\\177\\177\\\"''\\"\\\"" |
| 188 |
"\\005\\000\\000\\000\\000\\000\\000\\000" |
| 189 |
"\\377\\377\\377\\377\\377\\377\\377\\377" |
| 190 |
"\\001\\000\\000\\000\\000\\000\\000\\001" |
| 191 |
"\\000\\000\\000\\000" |
| 192 |
"\\377\\377\\377\\377" |
| 193 |
"\\001\\000\\000\\000\\000\\000\\0006" |
| 194 |
"~\\\\\\015e^e^e" |
| 195 |
"\\001\\000\\000\\000\\000\\000\\000\\011" |
| 196 |
"\\000\\000\\000\\000\\000\\000\\000\\000" |
| 197 |
"0,e'se1,*6" |
| 198 |
"iO" |
| 199 |
"\\001\\000\\000\\000" |
| 200 |
"\\000\\000" |
| 201 |
"'\\012\\012&'\\\\\\011 ''\\012\\011" |
| 202 |
"\\000\\000\\000\\000\\000\\000\\0006" |
| 203 |
" g\\012\\011\\037\\012\\035\\012 \\003\\012\\000\\000\\000\\000\\000\\000\\000\\000\\012\\011'\\012\\034\\012 {\\012" |
| 204 |
"\\377\\377\\377\\377\\377\\377\\377\\367" |
| 205 |
"^\\012\\\\\\013\\\\\\012\\\\\\012\\\\\\012\\\\" |
| 206 |
"\\001\\000\\000\\000\\000\\000\\000\\004" |
| 207 |
"c\\\\\\012\\\\\\012\\\\K+c+T+K+n" |
| 208 |
"\\331\\000\\000\\000\\000\\000\\000\\000" |
| 209 |
"\\001\\000\\000\\000\\000\\000\\000\\000" |
| 210 |
"\\031\\000\\000\\000\\000\\000\\000\\000" |
| 211 |
"\\377\\377" |
| 212 |
"::::W::::::+\\\\\\012c+T+2:::::::" |
| 213 |
"\\001\\000\\000\\000\\000\\000\\000\\002" |
| 214 |
"\\000\\000\\000\\000\\000\\000\\000\\000" |
| 215 |
"~\\\\\\015e\\001\\000\\000\\000\\000\\000\\000\\004^e^e^e^e^e^e^e\\000c\\\\\\012\\\\\\012\\\\K+c+T+K+n^e" |
| 216 |
"de" |
| 217 |
"=\\000\\000\\000\\000\\000\\000\\000" |