Path: blob/main/Include/internal/pycore_global_strings.h
12 views
#ifndef Py_INTERNAL_GLOBAL_STRINGS_H1#define Py_INTERNAL_GLOBAL_STRINGS_H2#ifdef __cplusplus3extern "C" {4#endif56#ifndef Py_BUILD_CORE7# error "this header requires Py_BUILD_CORE define"8#endif910// The data structure & init here are inspired by Tools/build/deepfreeze.py.1112// All field names generated by ASCII_STR() have a common prefix,13// to help avoid collisions with keywords, macros, etc.1415#define STRUCT_FOR_ASCII_STR(LITERAL) \16struct { \17PyASCIIObject _ascii; \18uint8_t _data[sizeof(LITERAL)]; \19}20#define STRUCT_FOR_STR(NAME, LITERAL) \21STRUCT_FOR_ASCII_STR(LITERAL) _py_ ## NAME;22#define STRUCT_FOR_ID(NAME) \23STRUCT_FOR_ASCII_STR(#NAME) _py_ ## NAME;2425// XXX Order by frequency of use?2627/* The following is auto-generated by Tools/build/generate_global_objects.py. */28struct _Py_global_strings {29struct {30STRUCT_FOR_STR(anon_dictcomp, "<dictcomp>")31STRUCT_FOR_STR(anon_genexpr, "<genexpr>")32STRUCT_FOR_STR(anon_lambda, "<lambda>")33STRUCT_FOR_STR(anon_listcomp, "<listcomp>")34STRUCT_FOR_STR(anon_module, "<module>")35STRUCT_FOR_STR(anon_setcomp, "<setcomp>")36STRUCT_FOR_STR(anon_string, "<string>")37STRUCT_FOR_STR(anon_unknown, "<unknown>")38STRUCT_FOR_STR(close_br, "}")39STRUCT_FOR_STR(dbl_close_br, "}}")40STRUCT_FOR_STR(dbl_open_br, "{{")41STRUCT_FOR_STR(dbl_percent, "%%")42STRUCT_FOR_STR(defaults, ".defaults")43STRUCT_FOR_STR(dot, ".")44STRUCT_FOR_STR(dot_locals, ".<locals>")45STRUCT_FOR_STR(empty, "")46STRUCT_FOR_STR(generic_base, ".generic_base")47STRUCT_FOR_STR(json_decoder, "json.decoder")48STRUCT_FOR_STR(kwdefaults, ".kwdefaults")49STRUCT_FOR_STR(list_err, "list index out of range")50STRUCT_FOR_STR(newline, "\n")51STRUCT_FOR_STR(open_br, "{")52STRUCT_FOR_STR(percent, "%")53STRUCT_FOR_STR(type_params, ".type_params")54STRUCT_FOR_STR(utf_8, "utf-8")55} literals;5657struct {58STRUCT_FOR_ID(CANCELLED)59STRUCT_FOR_ID(FINISHED)60STRUCT_FOR_ID(False)61STRUCT_FOR_ID(JSONDecodeError)62STRUCT_FOR_ID(PENDING)63STRUCT_FOR_ID(Py_Repr)64STRUCT_FOR_ID(TextIOWrapper)65STRUCT_FOR_ID(True)66STRUCT_FOR_ID(WarningMessage)67STRUCT_FOR_ID(_)68STRUCT_FOR_ID(_WindowsConsoleIO)69STRUCT_FOR_ID(__IOBase_closed)70STRUCT_FOR_ID(__abc_tpflags__)71STRUCT_FOR_ID(__abs__)72STRUCT_FOR_ID(__abstractmethods__)73STRUCT_FOR_ID(__add__)74STRUCT_FOR_ID(__aenter__)75STRUCT_FOR_ID(__aexit__)76STRUCT_FOR_ID(__aiter__)77STRUCT_FOR_ID(__all__)78STRUCT_FOR_ID(__and__)79STRUCT_FOR_ID(__anext__)80STRUCT_FOR_ID(__annotations__)81STRUCT_FOR_ID(__args__)82STRUCT_FOR_ID(__asyncio_running_event_loop__)83STRUCT_FOR_ID(__await__)84STRUCT_FOR_ID(__bases__)85STRUCT_FOR_ID(__bool__)86STRUCT_FOR_ID(__buffer__)87STRUCT_FOR_ID(__build_class__)88STRUCT_FOR_ID(__builtins__)89STRUCT_FOR_ID(__bytes__)90STRUCT_FOR_ID(__call__)91STRUCT_FOR_ID(__cantrace__)92STRUCT_FOR_ID(__class__)93STRUCT_FOR_ID(__class_getitem__)94STRUCT_FOR_ID(__classcell__)95STRUCT_FOR_ID(__classdict__)96STRUCT_FOR_ID(__classdictcell__)97STRUCT_FOR_ID(__complex__)98STRUCT_FOR_ID(__contains__)99STRUCT_FOR_ID(__copy__)100STRUCT_FOR_ID(__ctypes_from_outparam__)101STRUCT_FOR_ID(__del__)102STRUCT_FOR_ID(__delattr__)103STRUCT_FOR_ID(__delete__)104STRUCT_FOR_ID(__delitem__)105STRUCT_FOR_ID(__dict__)106STRUCT_FOR_ID(__dictoffset__)107STRUCT_FOR_ID(__dir__)108STRUCT_FOR_ID(__divmod__)109STRUCT_FOR_ID(__doc__)110STRUCT_FOR_ID(__enter__)111STRUCT_FOR_ID(__eq__)112STRUCT_FOR_ID(__exit__)113STRUCT_FOR_ID(__file__)114STRUCT_FOR_ID(__float__)115STRUCT_FOR_ID(__floordiv__)116STRUCT_FOR_ID(__format__)117STRUCT_FOR_ID(__fspath__)118STRUCT_FOR_ID(__ge__)119STRUCT_FOR_ID(__get__)120STRUCT_FOR_ID(__getattr__)121STRUCT_FOR_ID(__getattribute__)122STRUCT_FOR_ID(__getinitargs__)123STRUCT_FOR_ID(__getitem__)124STRUCT_FOR_ID(__getnewargs__)125STRUCT_FOR_ID(__getnewargs_ex__)126STRUCT_FOR_ID(__getstate__)127STRUCT_FOR_ID(__gt__)128STRUCT_FOR_ID(__hash__)129STRUCT_FOR_ID(__iadd__)130STRUCT_FOR_ID(__iand__)131STRUCT_FOR_ID(__ifloordiv__)132STRUCT_FOR_ID(__ilshift__)133STRUCT_FOR_ID(__imatmul__)134STRUCT_FOR_ID(__imod__)135STRUCT_FOR_ID(__import__)136STRUCT_FOR_ID(__imul__)137STRUCT_FOR_ID(__index__)138STRUCT_FOR_ID(__init__)139STRUCT_FOR_ID(__init_subclass__)140STRUCT_FOR_ID(__instancecheck__)141STRUCT_FOR_ID(__int__)142STRUCT_FOR_ID(__invert__)143STRUCT_FOR_ID(__ior__)144STRUCT_FOR_ID(__ipow__)145STRUCT_FOR_ID(__irshift__)146STRUCT_FOR_ID(__isabstractmethod__)147STRUCT_FOR_ID(__isub__)148STRUCT_FOR_ID(__iter__)149STRUCT_FOR_ID(__itruediv__)150STRUCT_FOR_ID(__ixor__)151STRUCT_FOR_ID(__le__)152STRUCT_FOR_ID(__len__)153STRUCT_FOR_ID(__length_hint__)154STRUCT_FOR_ID(__lltrace__)155STRUCT_FOR_ID(__loader__)156STRUCT_FOR_ID(__lshift__)157STRUCT_FOR_ID(__lt__)158STRUCT_FOR_ID(__main__)159STRUCT_FOR_ID(__matmul__)160STRUCT_FOR_ID(__missing__)161STRUCT_FOR_ID(__mod__)162STRUCT_FOR_ID(__module__)163STRUCT_FOR_ID(__mro_entries__)164STRUCT_FOR_ID(__mul__)165STRUCT_FOR_ID(__name__)166STRUCT_FOR_ID(__ne__)167STRUCT_FOR_ID(__neg__)168STRUCT_FOR_ID(__new__)169STRUCT_FOR_ID(__newobj__)170STRUCT_FOR_ID(__newobj_ex__)171STRUCT_FOR_ID(__next__)172STRUCT_FOR_ID(__notes__)173STRUCT_FOR_ID(__or__)174STRUCT_FOR_ID(__orig_class__)175STRUCT_FOR_ID(__origin__)176STRUCT_FOR_ID(__package__)177STRUCT_FOR_ID(__parameters__)178STRUCT_FOR_ID(__path__)179STRUCT_FOR_ID(__pos__)180STRUCT_FOR_ID(__pow__)181STRUCT_FOR_ID(__prepare__)182STRUCT_FOR_ID(__qualname__)183STRUCT_FOR_ID(__radd__)184STRUCT_FOR_ID(__rand__)185STRUCT_FOR_ID(__rdivmod__)186STRUCT_FOR_ID(__reduce__)187STRUCT_FOR_ID(__reduce_ex__)188STRUCT_FOR_ID(__release_buffer__)189STRUCT_FOR_ID(__repr__)190STRUCT_FOR_ID(__reversed__)191STRUCT_FOR_ID(__rfloordiv__)192STRUCT_FOR_ID(__rlshift__)193STRUCT_FOR_ID(__rmatmul__)194STRUCT_FOR_ID(__rmod__)195STRUCT_FOR_ID(__rmul__)196STRUCT_FOR_ID(__ror__)197STRUCT_FOR_ID(__round__)198STRUCT_FOR_ID(__rpow__)199STRUCT_FOR_ID(__rrshift__)200STRUCT_FOR_ID(__rshift__)201STRUCT_FOR_ID(__rsub__)202STRUCT_FOR_ID(__rtruediv__)203STRUCT_FOR_ID(__rxor__)204STRUCT_FOR_ID(__set__)205STRUCT_FOR_ID(__set_name__)206STRUCT_FOR_ID(__setattr__)207STRUCT_FOR_ID(__setitem__)208STRUCT_FOR_ID(__setstate__)209STRUCT_FOR_ID(__sizeof__)210STRUCT_FOR_ID(__slotnames__)211STRUCT_FOR_ID(__slots__)212STRUCT_FOR_ID(__spec__)213STRUCT_FOR_ID(__str__)214STRUCT_FOR_ID(__sub__)215STRUCT_FOR_ID(__subclasscheck__)216STRUCT_FOR_ID(__subclasshook__)217STRUCT_FOR_ID(__truediv__)218STRUCT_FOR_ID(__trunc__)219STRUCT_FOR_ID(__type_params__)220STRUCT_FOR_ID(__typing_is_unpacked_typevartuple__)221STRUCT_FOR_ID(__typing_prepare_subst__)222STRUCT_FOR_ID(__typing_subst__)223STRUCT_FOR_ID(__typing_unpacked_tuple_args__)224STRUCT_FOR_ID(__warningregistry__)225STRUCT_FOR_ID(__weaklistoffset__)226STRUCT_FOR_ID(__weakref__)227STRUCT_FOR_ID(__xor__)228STRUCT_FOR_ID(_abc_impl)229STRUCT_FOR_ID(_abstract_)230STRUCT_FOR_ID(_active)231STRUCT_FOR_ID(_annotation)232STRUCT_FOR_ID(_anonymous_)233STRUCT_FOR_ID(_argtypes_)234STRUCT_FOR_ID(_as_parameter_)235STRUCT_FOR_ID(_asyncio_future_blocking)236STRUCT_FOR_ID(_blksize)237STRUCT_FOR_ID(_bootstrap)238STRUCT_FOR_ID(_check_retval_)239STRUCT_FOR_ID(_dealloc_warn)240STRUCT_FOR_ID(_feature_version)241STRUCT_FOR_ID(_fields_)242STRUCT_FOR_ID(_finalizing)243STRUCT_FOR_ID(_find_and_load)244STRUCT_FOR_ID(_fix_up_module)245STRUCT_FOR_ID(_flags_)246STRUCT_FOR_ID(_get_sourcefile)247STRUCT_FOR_ID(_handle_fromlist)248STRUCT_FOR_ID(_initializing)249STRUCT_FOR_ID(_io)250STRUCT_FOR_ID(_is_text_encoding)251STRUCT_FOR_ID(_length_)252STRUCT_FOR_ID(_limbo)253STRUCT_FOR_ID(_lock_unlock_module)254STRUCT_FOR_ID(_loop)255STRUCT_FOR_ID(_needs_com_addref_)256STRUCT_FOR_ID(_pack_)257STRUCT_FOR_ID(_restype_)258STRUCT_FOR_ID(_showwarnmsg)259STRUCT_FOR_ID(_shutdown)260STRUCT_FOR_ID(_slotnames)261STRUCT_FOR_ID(_strptime_datetime)262STRUCT_FOR_ID(_swappedbytes_)263STRUCT_FOR_ID(_type_)264STRUCT_FOR_ID(_uninitialized_submodules)265STRUCT_FOR_ID(_warn_unawaited_coroutine)266STRUCT_FOR_ID(_xoptions)267STRUCT_FOR_ID(a)268STRUCT_FOR_ID(abs_tol)269STRUCT_FOR_ID(access)270STRUCT_FOR_ID(aclose)271STRUCT_FOR_ID(add)272STRUCT_FOR_ID(add_done_callback)273STRUCT_FOR_ID(after_in_child)274STRUCT_FOR_ID(after_in_parent)275STRUCT_FOR_ID(aggregate_class)276STRUCT_FOR_ID(alias)277STRUCT_FOR_ID(append)278STRUCT_FOR_ID(arg)279STRUCT_FOR_ID(argdefs)280STRUCT_FOR_ID(args)281STRUCT_FOR_ID(arguments)282STRUCT_FOR_ID(argv)283STRUCT_FOR_ID(as_integer_ratio)284STRUCT_FOR_ID(asend)285STRUCT_FOR_ID(ast)286STRUCT_FOR_ID(athrow)287STRUCT_FOR_ID(attribute)288STRUCT_FOR_ID(authorizer_callback)289STRUCT_FOR_ID(autocommit)290STRUCT_FOR_ID(b)291STRUCT_FOR_ID(backtick)292STRUCT_FOR_ID(base)293STRUCT_FOR_ID(before)294STRUCT_FOR_ID(big)295STRUCT_FOR_ID(binary_form)296STRUCT_FOR_ID(block)297STRUCT_FOR_ID(bound)298STRUCT_FOR_ID(buffer)299STRUCT_FOR_ID(buffer_callback)300STRUCT_FOR_ID(buffer_size)301STRUCT_FOR_ID(buffering)302STRUCT_FOR_ID(buffers)303STRUCT_FOR_ID(bufsize)304STRUCT_FOR_ID(builtins)305STRUCT_FOR_ID(byteorder)306STRUCT_FOR_ID(bytes)307STRUCT_FOR_ID(bytes_per_sep)308STRUCT_FOR_ID(c)309STRUCT_FOR_ID(c_call)310STRUCT_FOR_ID(c_exception)311STRUCT_FOR_ID(c_return)312STRUCT_FOR_ID(cached_statements)313STRUCT_FOR_ID(cadata)314STRUCT_FOR_ID(cafile)315STRUCT_FOR_ID(call)316STRUCT_FOR_ID(call_exception_handler)317STRUCT_FOR_ID(call_soon)318STRUCT_FOR_ID(cancel)319STRUCT_FOR_ID(capath)320STRUCT_FOR_ID(category)321STRUCT_FOR_ID(cb_type)322STRUCT_FOR_ID(certfile)323STRUCT_FOR_ID(check_same_thread)324STRUCT_FOR_ID(clear)325STRUCT_FOR_ID(close)326STRUCT_FOR_ID(closed)327STRUCT_FOR_ID(closefd)328STRUCT_FOR_ID(closure)329STRUCT_FOR_ID(co_argcount)330STRUCT_FOR_ID(co_cellvars)331STRUCT_FOR_ID(co_code)332STRUCT_FOR_ID(co_consts)333STRUCT_FOR_ID(co_exceptiontable)334STRUCT_FOR_ID(co_filename)335STRUCT_FOR_ID(co_firstlineno)336STRUCT_FOR_ID(co_flags)337STRUCT_FOR_ID(co_freevars)338STRUCT_FOR_ID(co_kwonlyargcount)339STRUCT_FOR_ID(co_linetable)340STRUCT_FOR_ID(co_name)341STRUCT_FOR_ID(co_names)342STRUCT_FOR_ID(co_nlocals)343STRUCT_FOR_ID(co_posonlyargcount)344STRUCT_FOR_ID(co_qualname)345STRUCT_FOR_ID(co_stacksize)346STRUCT_FOR_ID(co_varnames)347STRUCT_FOR_ID(code)348STRUCT_FOR_ID(command)349STRUCT_FOR_ID(comment_factory)350STRUCT_FOR_ID(compile_mode)351STRUCT_FOR_ID(consts)352STRUCT_FOR_ID(context)353STRUCT_FOR_ID(contravariant)354STRUCT_FOR_ID(cookie)355STRUCT_FOR_ID(copy)356STRUCT_FOR_ID(copyreg)357STRUCT_FOR_ID(coro)358STRUCT_FOR_ID(count)359STRUCT_FOR_ID(covariant)360STRUCT_FOR_ID(cwd)361STRUCT_FOR_ID(d)362STRUCT_FOR_ID(data)363STRUCT_FOR_ID(database)364STRUCT_FOR_ID(decode)365STRUCT_FOR_ID(decoder)366STRUCT_FOR_ID(default)367STRUCT_FOR_ID(defaultaction)368STRUCT_FOR_ID(delete)369STRUCT_FOR_ID(depth)370STRUCT_FOR_ID(detect_types)371STRUCT_FOR_ID(deterministic)372STRUCT_FOR_ID(device)373STRUCT_FOR_ID(dict)374STRUCT_FOR_ID(dictcomp)375STRUCT_FOR_ID(difference_update)376STRUCT_FOR_ID(digest)377STRUCT_FOR_ID(digest_size)378STRUCT_FOR_ID(digestmod)379STRUCT_FOR_ID(dir_fd)380STRUCT_FOR_ID(discard)381STRUCT_FOR_ID(dispatch_table)382STRUCT_FOR_ID(displayhook)383STRUCT_FOR_ID(dklen)384STRUCT_FOR_ID(doc)385STRUCT_FOR_ID(dont_inherit)386STRUCT_FOR_ID(dst)387STRUCT_FOR_ID(dst_dir_fd)388STRUCT_FOR_ID(duration)389STRUCT_FOR_ID(e)390STRUCT_FOR_ID(eager_start)391STRUCT_FOR_ID(effective_ids)392STRUCT_FOR_ID(element_factory)393STRUCT_FOR_ID(encode)394STRUCT_FOR_ID(encoding)395STRUCT_FOR_ID(end)396STRUCT_FOR_ID(end_lineno)397STRUCT_FOR_ID(end_offset)398STRUCT_FOR_ID(endpos)399STRUCT_FOR_ID(entrypoint)400STRUCT_FOR_ID(env)401STRUCT_FOR_ID(errors)402STRUCT_FOR_ID(event)403STRUCT_FOR_ID(eventmask)404STRUCT_FOR_ID(exc_type)405STRUCT_FOR_ID(exc_value)406STRUCT_FOR_ID(excepthook)407STRUCT_FOR_ID(exception)408STRUCT_FOR_ID(existing_file_name)409STRUCT_FOR_ID(exp)410STRUCT_FOR_ID(extend)411STRUCT_FOR_ID(extra_tokens)412STRUCT_FOR_ID(facility)413STRUCT_FOR_ID(factory)414STRUCT_FOR_ID(false)415STRUCT_FOR_ID(family)416STRUCT_FOR_ID(fanout)417STRUCT_FOR_ID(fd)418STRUCT_FOR_ID(fd2)419STRUCT_FOR_ID(fdel)420STRUCT_FOR_ID(fget)421STRUCT_FOR_ID(file)422STRUCT_FOR_ID(file_actions)423STRUCT_FOR_ID(filename)424STRUCT_FOR_ID(fileno)425STRUCT_FOR_ID(filepath)426STRUCT_FOR_ID(fillvalue)427STRUCT_FOR_ID(filters)428STRUCT_FOR_ID(final)429STRUCT_FOR_ID(find_class)430STRUCT_FOR_ID(fix_imports)431STRUCT_FOR_ID(flags)432STRUCT_FOR_ID(flush)433STRUCT_FOR_ID(follow_symlinks)434STRUCT_FOR_ID(format)435STRUCT_FOR_ID(frequency)436STRUCT_FOR_ID(from_param)437STRUCT_FOR_ID(fromlist)438STRUCT_FOR_ID(fromtimestamp)439STRUCT_FOR_ID(fromutc)440STRUCT_FOR_ID(fset)441STRUCT_FOR_ID(func)442STRUCT_FOR_ID(future)443STRUCT_FOR_ID(generation)444STRUCT_FOR_ID(genexpr)445STRUCT_FOR_ID(get)446STRUCT_FOR_ID(get_debug)447STRUCT_FOR_ID(get_event_loop)448STRUCT_FOR_ID(get_loop)449STRUCT_FOR_ID(get_source)450STRUCT_FOR_ID(getattr)451STRUCT_FOR_ID(getstate)452STRUCT_FOR_ID(gid)453STRUCT_FOR_ID(globals)454STRUCT_FOR_ID(groupindex)455STRUCT_FOR_ID(groups)456STRUCT_FOR_ID(handle)457STRUCT_FOR_ID(hash_name)458STRUCT_FOR_ID(header)459STRUCT_FOR_ID(headers)460STRUCT_FOR_ID(hi)461STRUCT_FOR_ID(hook)462STRUCT_FOR_ID(id)463STRUCT_FOR_ID(ident)464STRUCT_FOR_ID(ignore)465STRUCT_FOR_ID(imag)466STRUCT_FOR_ID(importlib)467STRUCT_FOR_ID(in_fd)468STRUCT_FOR_ID(incoming)469STRUCT_FOR_ID(indexgroup)470STRUCT_FOR_ID(inf)471STRUCT_FOR_ID(infer_variance)472STRUCT_FOR_ID(inheritable)473STRUCT_FOR_ID(initial)474STRUCT_FOR_ID(initial_bytes)475STRUCT_FOR_ID(initial_value)476STRUCT_FOR_ID(initval)477STRUCT_FOR_ID(inner_size)478STRUCT_FOR_ID(input)479STRUCT_FOR_ID(insert_comments)480STRUCT_FOR_ID(insert_pis)481STRUCT_FOR_ID(instructions)482STRUCT_FOR_ID(intern)483STRUCT_FOR_ID(intersection)484STRUCT_FOR_ID(is_running)485STRUCT_FOR_ID(isatty)486STRUCT_FOR_ID(isinstance)487STRUCT_FOR_ID(isoformat)488STRUCT_FOR_ID(isolation_level)489STRUCT_FOR_ID(istext)490STRUCT_FOR_ID(item)491STRUCT_FOR_ID(items)492STRUCT_FOR_ID(iter)493STRUCT_FOR_ID(iterable)494STRUCT_FOR_ID(iterations)495STRUCT_FOR_ID(join)496STRUCT_FOR_ID(jump)497STRUCT_FOR_ID(keepends)498STRUCT_FOR_ID(key)499STRUCT_FOR_ID(keyfile)500STRUCT_FOR_ID(keys)501STRUCT_FOR_ID(kind)502STRUCT_FOR_ID(kw)503STRUCT_FOR_ID(kw1)504STRUCT_FOR_ID(kw2)505STRUCT_FOR_ID(lambda)506STRUCT_FOR_ID(last)507STRUCT_FOR_ID(last_exc)508STRUCT_FOR_ID(last_node)509STRUCT_FOR_ID(last_traceback)510STRUCT_FOR_ID(last_type)511STRUCT_FOR_ID(last_value)512STRUCT_FOR_ID(latin1)513STRUCT_FOR_ID(leaf_size)514STRUCT_FOR_ID(len)515STRUCT_FOR_ID(length)516STRUCT_FOR_ID(level)517STRUCT_FOR_ID(limit)518STRUCT_FOR_ID(line)519STRUCT_FOR_ID(line_buffering)520STRUCT_FOR_ID(lineno)521STRUCT_FOR_ID(listcomp)522STRUCT_FOR_ID(little)523STRUCT_FOR_ID(lo)524STRUCT_FOR_ID(locale)525STRUCT_FOR_ID(locals)526STRUCT_FOR_ID(logoption)527STRUCT_FOR_ID(loop)528STRUCT_FOR_ID(mapping)529STRUCT_FOR_ID(match)530STRUCT_FOR_ID(max_length)531STRUCT_FOR_ID(maxdigits)532STRUCT_FOR_ID(maxevents)533STRUCT_FOR_ID(maxmem)534STRUCT_FOR_ID(maxsplit)535STRUCT_FOR_ID(maxvalue)536STRUCT_FOR_ID(memLevel)537STRUCT_FOR_ID(memlimit)538STRUCT_FOR_ID(message)539STRUCT_FOR_ID(metaclass)540STRUCT_FOR_ID(metadata)541STRUCT_FOR_ID(method)542STRUCT_FOR_ID(mod)543STRUCT_FOR_ID(mode)544STRUCT_FOR_ID(module)545STRUCT_FOR_ID(module_globals)546STRUCT_FOR_ID(modules)547STRUCT_FOR_ID(mro)548STRUCT_FOR_ID(msg)549STRUCT_FOR_ID(mycmp)550STRUCT_FOR_ID(n)551STRUCT_FOR_ID(n_arg)552STRUCT_FOR_ID(n_fields)553STRUCT_FOR_ID(n_sequence_fields)554STRUCT_FOR_ID(n_unnamed_fields)555STRUCT_FOR_ID(name)556STRUCT_FOR_ID(name_from)557STRUCT_FOR_ID(namespace_separator)558STRUCT_FOR_ID(namespaces)559STRUCT_FOR_ID(narg)560STRUCT_FOR_ID(ndigits)561STRUCT_FOR_ID(new_file_name)562STRUCT_FOR_ID(new_limit)563STRUCT_FOR_ID(newline)564STRUCT_FOR_ID(newlines)565STRUCT_FOR_ID(next)566STRUCT_FOR_ID(nlocals)567STRUCT_FOR_ID(node_depth)568STRUCT_FOR_ID(node_offset)569STRUCT_FOR_ID(ns)570STRUCT_FOR_ID(nstype)571STRUCT_FOR_ID(nt)572STRUCT_FOR_ID(null)573STRUCT_FOR_ID(number)574STRUCT_FOR_ID(obj)575STRUCT_FOR_ID(object)576STRUCT_FOR_ID(offset)577STRUCT_FOR_ID(offset_dst)578STRUCT_FOR_ID(offset_src)579STRUCT_FOR_ID(on_type_read)580STRUCT_FOR_ID(onceregistry)581STRUCT_FOR_ID(only_keys)582STRUCT_FOR_ID(oparg)583STRUCT_FOR_ID(opcode)584STRUCT_FOR_ID(open)585STRUCT_FOR_ID(opener)586STRUCT_FOR_ID(operation)587STRUCT_FOR_ID(optimize)588STRUCT_FOR_ID(options)589STRUCT_FOR_ID(order)590STRUCT_FOR_ID(origin)591STRUCT_FOR_ID(out_fd)592STRUCT_FOR_ID(outgoing)593STRUCT_FOR_ID(overlapped)594STRUCT_FOR_ID(owner)595STRUCT_FOR_ID(p)596STRUCT_FOR_ID(pages)597STRUCT_FOR_ID(parent)598STRUCT_FOR_ID(password)599STRUCT_FOR_ID(path)600STRUCT_FOR_ID(pattern)601STRUCT_FOR_ID(peek)602STRUCT_FOR_ID(persistent_id)603STRUCT_FOR_ID(persistent_load)604STRUCT_FOR_ID(person)605STRUCT_FOR_ID(pi_factory)606STRUCT_FOR_ID(pid)607STRUCT_FOR_ID(policy)608STRUCT_FOR_ID(pos)609STRUCT_FOR_ID(pos1)610STRUCT_FOR_ID(pos2)611STRUCT_FOR_ID(posix)612STRUCT_FOR_ID(print_file_and_line)613STRUCT_FOR_ID(priority)614STRUCT_FOR_ID(progress)615STRUCT_FOR_ID(progress_handler)616STRUCT_FOR_ID(progress_routine)617STRUCT_FOR_ID(proto)618STRUCT_FOR_ID(protocol)619STRUCT_FOR_ID(ps1)620STRUCT_FOR_ID(ps2)621STRUCT_FOR_ID(query)622STRUCT_FOR_ID(quotetabs)623STRUCT_FOR_ID(r)624STRUCT_FOR_ID(raw)625STRUCT_FOR_ID(read)626STRUCT_FOR_ID(read1)627STRUCT_FOR_ID(readable)628STRUCT_FOR_ID(readall)629STRUCT_FOR_ID(readinto)630STRUCT_FOR_ID(readinto1)631STRUCT_FOR_ID(readline)632STRUCT_FOR_ID(readonly)633STRUCT_FOR_ID(real)634STRUCT_FOR_ID(reducer_override)635STRUCT_FOR_ID(registry)636STRUCT_FOR_ID(rel_tol)637STRUCT_FOR_ID(release)638STRUCT_FOR_ID(reload)639STRUCT_FOR_ID(repl)640STRUCT_FOR_ID(replace)641STRUCT_FOR_ID(reserved)642STRUCT_FOR_ID(reset)643STRUCT_FOR_ID(resetids)644STRUCT_FOR_ID(return)645STRUCT_FOR_ID(reverse)646STRUCT_FOR_ID(reversed)647STRUCT_FOR_ID(s)648STRUCT_FOR_ID(salt)649STRUCT_FOR_ID(sched_priority)650STRUCT_FOR_ID(scheduler)651STRUCT_FOR_ID(seek)652STRUCT_FOR_ID(seekable)653STRUCT_FOR_ID(selectors)654STRUCT_FOR_ID(self)655STRUCT_FOR_ID(send)656STRUCT_FOR_ID(sep)657STRUCT_FOR_ID(sequence)658STRUCT_FOR_ID(server_hostname)659STRUCT_FOR_ID(server_side)660STRUCT_FOR_ID(session)661STRUCT_FOR_ID(setcomp)662STRUCT_FOR_ID(setpgroup)663STRUCT_FOR_ID(setsid)664STRUCT_FOR_ID(setsigdef)665STRUCT_FOR_ID(setsigmask)666STRUCT_FOR_ID(setstate)667STRUCT_FOR_ID(shape)668STRUCT_FOR_ID(show_cmd)669STRUCT_FOR_ID(signed)670STRUCT_FOR_ID(size)671STRUCT_FOR_ID(sizehint)672STRUCT_FOR_ID(skip_file_prefixes)673STRUCT_FOR_ID(sleep)674STRUCT_FOR_ID(sock)675STRUCT_FOR_ID(sort)676STRUCT_FOR_ID(sound)677STRUCT_FOR_ID(source)678STRUCT_FOR_ID(source_traceback)679STRUCT_FOR_ID(src)680STRUCT_FOR_ID(src_dir_fd)681STRUCT_FOR_ID(stacklevel)682STRUCT_FOR_ID(start)683STRUCT_FOR_ID(statement)684STRUCT_FOR_ID(status)685STRUCT_FOR_ID(stderr)686STRUCT_FOR_ID(stdin)687STRUCT_FOR_ID(stdout)688STRUCT_FOR_ID(step)689STRUCT_FOR_ID(steps)690STRUCT_FOR_ID(store_name)691STRUCT_FOR_ID(strategy)692STRUCT_FOR_ID(strftime)693STRUCT_FOR_ID(strict)694STRUCT_FOR_ID(strict_mode)695STRUCT_FOR_ID(string)696STRUCT_FOR_ID(sub_key)697STRUCT_FOR_ID(symmetric_difference_update)698STRUCT_FOR_ID(tabsize)699STRUCT_FOR_ID(tag)700STRUCT_FOR_ID(target)701STRUCT_FOR_ID(target_is_directory)702STRUCT_FOR_ID(task)703STRUCT_FOR_ID(tb_frame)704STRUCT_FOR_ID(tb_lasti)705STRUCT_FOR_ID(tb_lineno)706STRUCT_FOR_ID(tb_next)707STRUCT_FOR_ID(tell)708STRUCT_FOR_ID(template)709STRUCT_FOR_ID(term)710STRUCT_FOR_ID(text)711STRUCT_FOR_ID(threading)712STRUCT_FOR_ID(throw)713STRUCT_FOR_ID(timeout)714STRUCT_FOR_ID(times)715STRUCT_FOR_ID(timetuple)716STRUCT_FOR_ID(top)717STRUCT_FOR_ID(trace_callback)718STRUCT_FOR_ID(traceback)719STRUCT_FOR_ID(trailers)720STRUCT_FOR_ID(translate)721STRUCT_FOR_ID(true)722STRUCT_FOR_ID(truncate)723STRUCT_FOR_ID(twice)724STRUCT_FOR_ID(txt)725STRUCT_FOR_ID(type)726STRUCT_FOR_ID(type_params)727STRUCT_FOR_ID(tz)728STRUCT_FOR_ID(tzname)729STRUCT_FOR_ID(uid)730STRUCT_FOR_ID(unlink)731STRUCT_FOR_ID(unraisablehook)732STRUCT_FOR_ID(uri)733STRUCT_FOR_ID(usedforsecurity)734STRUCT_FOR_ID(value)735STRUCT_FOR_ID(values)736STRUCT_FOR_ID(version)737STRUCT_FOR_ID(volume)738STRUCT_FOR_ID(warnings)739STRUCT_FOR_ID(warnoptions)740STRUCT_FOR_ID(wbits)741STRUCT_FOR_ID(week)742STRUCT_FOR_ID(weekday)743STRUCT_FOR_ID(which)744STRUCT_FOR_ID(who)745STRUCT_FOR_ID(withdata)746STRUCT_FOR_ID(writable)747STRUCT_FOR_ID(write)748STRUCT_FOR_ID(write_through)749STRUCT_FOR_ID(x)750STRUCT_FOR_ID(year)751STRUCT_FOR_ID(zdict)752} identifiers;753struct {754PyASCIIObject _ascii;755uint8_t _data[2];756} ascii[128];757struct {758PyCompactUnicodeObject _latin1;759uint8_t _data[2];760} latin1[128];761};762/* End auto-generated code */763764#undef ID765#undef STR766767768#define _Py_ID(NAME) \769(_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))770#define _Py_STR(NAME) \771(_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))772773/* _Py_DECLARE_STR() should precede all uses of _Py_STR() in a function.774775This is true even if the same string has already been declared776elsewhere, even in the same file. Mismatched duplicates are detected777by Tools/scripts/generate-global-objects.py.778779Pairing _Py_DECLARE_STR() with every use of _Py_STR() makes sure the780string keeps working even if the declaration is removed somewhere781else. It also makes it clear what the actual string is at every782place it is being used. */783#define _Py_DECLARE_STR(name, str)784785#ifdef __cplusplus786}787#endif788#endif /* !Py_INTERNAL_GLOBAL_STRINGS_H */789790791