directives for Tools/scripts/fixcid.py
diff --git a/Misc/RENAME b/Misc/RENAME
new file mode 100644
index 0000000..32d304d
--- /dev/null
+++ b/Misc/RENAME
@@ -0,0 +1,398 @@
+struct methodlist PyMethodDef
+struct methodchain PyMethodChain
+
+True Py_True
+False Py_False
+None Py_None
+
+ANY PyUnivPtr
+methodlist PyMethodDef
+methodchain PyMethodChain
+
+Accesstype PyAccess_Type
+is_accessobject PyAccess_Check
+newaccessobject PyAccess_FromValue
+getaccessvalue PyAccess_AsValue
+setaccessvalue PyAccess_SetValue
+setaccessowner PyAccess_SetOwner
+cloneaccessobject PyAccess_Clone
+hasaccessvalue PyAccess_HasValue
+Anynumbertype PyAnyNumber_Type
+Anysequencetype PyAnySequence_Type
+Anymappingtype PyAnyMapping_Type
+
+FalseObject _Py_ZeroStruct
+NoObject _Py_NoneStruct
+TrueObject _Py_TrueStruct
+debugging Py_DebugFlag
+gram _PyParser_Grammar
+sys_profile _PySys_ProfileFunc
+sys_trace _PySys_TraceFunc
+sys_checkinterval _PySys_CheckInterval
+threads_started _PyThread_Started
+tok_name _PyParser_TokenNames
+verbose Py_VerboseFlag
+suppress_print Py_SuppressPrintingFlag
+AccessError PyExc_AccessError
+AttributeError PyExc_AttributeError
+ConflictError PyExc_ConflictError
+EOFError PyExc_EOFError
+IOError PyExc_IOError
+ImportError PyExc_ImportError
+IndexError PyExc_IndexError
+KeyError PyExc_KeyError
+MemoryError PyExc_MemoryError
+NameError PyExc_NameError
+OverflowError PyExc_OverflowError
+RuntimeError PyExc_RuntimeError
+SyntaxError PyExc_SyntaxError
+SystemError PyExc_SystemError
+TypeError PyExc_TypeError
+ValueError PyExc_ValueError
+ZeroDivisionError PyExc_ZeroDivisionError
+KeyboardInterrupt PyExc_KeyboardInterrupt
+SystemExit PyExc_SystemExit
+Floattype PyFloat_Type
+Complextype PyComplex_Type
+Inttype PyInt_Type
+Longtype PyLong_Type
+Notype PyNothing_Type
+Stringtype PyString_Type
+Typetype PyType_Type
+Listtype PyList_Type
+Dicttype PyDict_Type
+Mappingtype PyDict_Type
+Tupletype PyTuple_Type
+Filetype PyFile_Type
+Classtype PyClass_Type
+Functype PyFunction_Type
+Instancemethodtype PyMethod_Type
+Instancetype PyInstance_Type
+Methodtype PyCFunction_Type
+Moduletype PyModule_Type
+Codetype PyCode_Type
+Frametype PyFrame_Type
+Rangetype PyRange_Type
+floatobject PyFloatObject
+complexobject PyComplexObject
+intobject PyIntObject
+longobject PyLongObject
+noobject PyNothingObject
+object PyObject
+stringobject PyStringObject
+typeobject PyTypeObject
+listobject PyListObject
+dictobject PyDictObject
+tupleobject PyTupleObject
+fileobject PyFileObject
+classobject PyClassObject
+codeobject PyCodeObject
+frameobject PyFrameObject
+funcobject PyFunctionObject
+instancemethodobject PyMethodObject
+instanceobject PyInstanceObject
+methodobject PyCFunctionObject
+moduleobject PyModuleObject
+number_methods PyNumberMethods
+sequence_methods PySequenceMethods
+mapping_methods PyMappingMethods
+OB_HEAD PyObject_HEAD
+OB_VARHEAD PyObject_VAR_HEAD
+OB_HEAD_INIT PyObject_HEAD_INIT
+NEWOBJ PyObject_NEW
+NEWVAROBJ PyObject_NEW_VAR
+PROTO Py_PROTO
+FPROTO Py_FPROTO
+NEW PyMem_NEW
+RESIZE PyMem_RESIZE
+DEL PyMem_DEL
+XDEL PyMem_XDEL
+BGN_SAVE Py_BEGIN_ALLOW_THREADS
+RET_SAVE Py_BLOCK_THREADS
+RES_SAVE Py_UNBLOCK_THREADS
+END_SAVE Py_END_ALLOW_THREADS
+callable PyCallable_Check
+is_floatobject PyFloat_Check
+is_complexobject PyComplex_Check
+is_intobject PyInt_Check
+is_longobject PyLong_Check
+is_stringobject PyString_Check
+is_typeobject PyType_Check
+is_listobject PyList_Check
+is_dictobject PyDict_Check
+is_mappingobject PyDict_Check
+is_tupleobject PyTuple_Check
+is_fileobject PyFile_Check
+is_classobject PyClass_Check
+is_codeobject PyCode_Check
+is_frameobject PyFrame_Check
+is_funcobject PyFunction_Check
+is_instancemethodobject PyMethod_Check
+is_instanceobject PyInstance_Check
+is_methodobject PyCFunction_Check
+is_moduleobject PyModule_Check
+INCREF Py_INCREF
+DECREF Py_DECREF
+XINCREF Py_XINCREF
+XDECREF Py_XDECREF
+NEWREF _Py_NewReference
+DELREF _Py_Dealloc
+UNREF _Py_ForgetReference
+cmpobject PyObject_Compare
+getattr PyObject_GetAttrString
+getattro PyObject_GetAttr
+hasattr PyObject_HasAttrString
+hasattro PyObject_HasAttr
+hashobject PyObject_Hash
+newobject _PyObject_New
+newvarobject _PyObject_NewVar
+printobject PyObject_Print
+reprobject PyObject_Repr
+strobject PyObject_Str
+setattr PyObject_SetAttrString
+setattro PyObject_SetAttr
+testbool PyObject_IsTrue
+PRINT_RAW Py_PRINT_RAW
+float_buf_repr PyFloat_AsString
+getfloatvalue PyFloat_AsDouble
+GETFLOATVALUE PyFloat_AS_DOUBLE
+newfloatobject PyFloat_FromDouble
+newcomplexobject PyComplex_FromCComplex
+getintvalue PyInt_AsLong
+GETINTVALUE PyInt_AS_LONG
+getmaxint PyInt_GetMax
+newintobject PyInt_FromLong
+alloclongobject _PyLong_New
+dgetlongvalue PyLong_AsDouble
+dnewlongobject PyLong_FromDouble
+getlongvalue PyLong_AsLong
+long_escan PyLong_FromString
+newlongobject PyLong_FromLong
+formatstring PyString_Format
+getstringsize PyString_Size
+getstringvalue PyString_AsString
+GETSTRINGVALUE PyString_AS_STRING
+joinstring PyString_Concat
+joinstring_decref PyString_ConcatAndDel
+newsizedstringobject PyString_FromStringAndSize
+newstringobject PyString_FromString
+resizestring _PyString_Resize
+addlistitem PyList_Append
+getlistitem PyList_GetItem
+GETLISTITEM PyList_GET_ITEM
+getlistsize PyList_Size
+getlistslice PyList_GetSlice
+inslistitem PyList_Insert
+newlistobject PyList_New
+setlistitem PyList_SetItem
+setlistslice PyList_SetSlice
+sortlist PyList_Sort
+reverselist PyList_Reverse
+listtuple PyList_AsTuple
+dictinsert PyDict_SetItemString
+dictlookup PyDict_GetItemString
+dictremove PyDict_DelItemString
+getmappingitems PyDict_Items
+getdictitems PyDict_Items
+getmappingkeys PyDict_Keys
+getdictkeys PyDict_Keys
+getmappingvalues PyDict_Values
+getdictvalues PyDict_Values
+getmappingsize PyDict_Size
+getdictsize PyDict_Size
+mappingclear PyDict_Clear
+mappinggetnext PyDict_Next
+mappinginsert PyDict_SetItem
+dict2insert PyDict_SetItem
+mappinglookup PyDict_GetItem
+dict2lookup PyDict_GetItem
+mappingremove PyDict_DelItem
+dict2remove PyDict_DelItem
+newmappingobject PyDict_New
+newdictobject PyDict_New
+gettupleitem PyTuple_GetItem
+GETTUPLEITEM PyTuple_GET_ITEM
+SETTUPLEITEM PyTuple_SET_ITEM
+gettuplesize PyTuple_Size
+gettupleslice PyTuple_GetSlice
+newtupleobject PyTuple_New
+settupleitem PyTuple_SetItem
+resizetuple _PyTuple_Resize
+filegetline PyFile_GetLine
+getfilefile PyFile_AsFile
+getfilename PyFile_Name
+setfilebufsize PyFile_SetBufSize
+newfileobject PyFile_FromString
+newopenfileobject PyFile_FromFile
+softspace PyFile_SoftSpace
+writeobject PyFile_WriteObject
+writestring PyFile_WriteString
+instancemethodgetclass PyMethod_Class
+instancemethodgetfunc PyMethod_Function
+instancemethodgetself PyMethod_Self
+issubclass PyClass_IsSubclass
+newclassobject PyClass_New
+newinstancemethodobject PyMethod_New
+newinstanceobject PyInstance_New
+instancebinop PyInstance_DoBinOp
+block PyTryBlock
+extend_stack PyFrame_ExtendStack
+newframeobject PyFrame_New
+pop_block PyFrame_BlockPop
+setup_block PyFrame_BlockSetup
+fast_2_locals PyFrame_FastToLocals
+locals_2_fast PyFrame_LocalsToFast
+getfunccode PyFunction_GetCode
+getfuncglobals PyFunction_GetGlobals
+getfuncargstuff PyFunction_GetArgStuff
+setfuncargstuff PyFunction_SetArgStuff
+mystrtol PyOS_strtol
+mystrtoul PyOS_strtoul
+newfuncobject PyFunction_New
+newrangeobject PyRange_New
+method PyCFunction
+findmethod Py_FindMethod
+findmethodinchain Py_FindMethodInChain
+getmethod PyCFunction_GetFunction
+getself PyCFunction_GetSelf
+getflags PyCFunction_GetFlags
+newmethodobject PyCFunction_New
+getmoduledict PyModule_GetDict
+getmodulename PyModule_GetName
+newmoduleobject PyModule_New
+addaccelerators PyGrammar_AddAccelerators
+finddfa PyGrammar_FindDFA
+labelrepr PyGrammar_LabelRepr
+listtree PyNode_ListTree
+addchild PyNode_AddChild
+freetree PyNode_Free
+newtree PyNode_New
+addtoken PyParser_AddToken
+delparser PyParser_Delete
+newparser PyParser_New
+parsefile PyParser_ParseFile
+parsestring PyParser_ParseString
+tok_1char PyToken_OneChar
+tok_2char PyToken_TwoChars
+tok_free PyTokenizer_Free
+tok_get PyTokenizer_Get
+tok_setupf PyTokenizer_FromFile
+tok_setups PyTokenizer_FromString
+compile PyNode_Compile
+newcodeobject PyCode_New
+call_object PyEval_CallObject
+eval_code PyEval_EvalCode
+flushline Py_FlushLine
+getbuiltins PyEval_GetBuiltins
+getglobals PyEval_GetGlobals
+getlocals PyEval_GetLocals
+getowner PyEval_GetOwner
+getframe PyEval_GetFrame
+getrestricted PyEval_GetRestricted
+init_save_thread PyEval_InitThreads
+printtraceback PyErr_PrintTraceBack
+restore_thread PyEval_RestoreThread
+save_thread PyEval_SaveThread
+tb_fetch PyTraceBack_Fetch
+tb_here PyTraceBack_Here
+tb_print PyTraceBack_Print
+tb_store PyTraceBack_Store
+add_module PyImport_AddModule
+doneimport PyImport_Cleanup
+get_modules PyImport_GetModuleDict
+get_pyc_magic PyImport_GetMagicNumber
+exec_code_module PyImport_ExecCodeModule
+import_module PyImport_ImportModule
+init_frozen PyImport_ImportFrozenModule
+initimport PyImport_Init
+reload_module PyImport_ReloadModule
+frozen_modules PyImport_FrozenModules
+coerce PyNumber_Coerce
+getbuiltin PyBuiltin_GetObject
+initbuiltin PyBuiltin_Init
+getbuiltindict PyBuiltin_GetDict
+getbuiltinmod PyBuiltin_GetModule
+initmarshal PyMarshal_Init
+initmodule Py_InitModule
+initmodule4 Py_InitModule4
+rd_long PyMarshal_ReadLongFromFile
+rd_short PyMarshal_ReadShortFromFile
+rd_object PyMarshal_ReadObjectFromFile
+rds_object PyMarshal_ReadObjectFromString
+wr_long PyMarshal_WriteLongToFile
+wr_short PyMarshal_WriteShortToFile
+wr_object PyMarshal_WriteObjectToFile
+initsys PySys_Init
+setpythonargv PySys_SetArgv
+setpythonpath PySys_SetPath
+sysget PySys_GetObject
+sysgetfile PySys_GetFile
+sysset PySys_SetObject
+compile_string Py_CompileString
+fatal Py_FatalError
+goaway Py_Exit
+cleanup Py_Cleanup
+initall Py_Initialize
+print_error PyErr_Print
+parse_file PyParser_SimpleParseFile
+parse_string PyParser_SimpleParseString
+run PyRun_AnyFile
+run_script PyRun_SimpleFile
+run_command PyRun_SimpleString
+run_file PyRun_File
+run_string PyRun_String
+run_tty_1 PyRun_InteractiveOne
+run_tty_loop PyRun_InteractiveLoop
+getmember PyMember_Get
+setmember PyMember_Set
+mkvalue Py_BuildValue
+vmkvalue Py_VaBuildValue
+getargs PyArg_Parse
+vgetargs PyArgs_VaParse
+newgetargs PyArg_ParseTuple
+getichararg PyArg_GetChar
+getidoublearray PyArg_GetDoubleArray
+getifloatarg PyArg_GetFloat
+getifloatarray PyArg_GetFloatArray
+getnoarg PyArg_NoArgs
+getilongarg PyArg_GetLong
+getilongarray PyArg_GetLongArray
+getilongarraysize PyArg_GetLongArraySize
+getiobjectarg PyArg_GetObject
+getishortarg PyArg_GetShort
+getishortarray PyArg_GetShortArray
+getishortarraysize PyArg_GetShortArraySize
+getistringarg PyArg_GetString
+err_badarg PyErr_BadArgument
+err_badcall PyErr_BadInternalCall
+err_input PyErr_Input
+err_nomem PyErr_NoMemory
+err_errno PyErr_SetFromErrno
+err_set PyErr_SetNone
+err_setstr PyErr_SetString
+err_setval PyErr_SetObject
+err_occurred PyErr_Occurred
+err_fetch PyErr_Fetch
+err_restore PyErr_Restore
+err_clear PyErr_Clear
+fgets_intr PyOS_InterruptableGetString
+initintr PyOS_InitInterrupts
+intrcheck PyOS_InterruptOccurred
+getmtime PyOS_GetLastModificationTime
+my_readline PyOS_Readline
+realmain Py_Main
+ref_total _Py_RefTotal
+sigcheck PyErr_CheckSignals
+
+getcompiler Py_GetCompiler
+getcopyright Py_GetCopyright
+getplatform Py_GetPlatform
+getversion Py_GetVersion
+getpythonpath Py_GetPath
+getprogramname Py_GetProgramName
+getargcargv Py_GetArgcArgv
+
+askyesno _Py_AskYesNo
+import_filetab _PyImport_Filetab
+import_maxsuffixsize _PyImport_MaxSuffixSize
+load_dynamic_module _PyImport_LoadDynamicModule