TOC

Python 源码学习 09: set

我都有点怀疑我这个学习计划是否是正确的。

同样的废话,就懒得说了,只说有价值的信息。

  1. 疑问:代码中的 clinic 相关文件不知道是做什么用的。
  2. set 和 frozenset 的定义在一起。不是这次看代码,我简直忘了还有 frozenset 这个类型的存在。

汇总了一下,所有的类型:

  1. PyAsyncGen_Type
  2. PyBaseObject_Type
  3. PyBlake2_BLAKE2bType
  4. PyBlake2_BLAKE2sType
  5. PyBool_Type
  6. PyBufferedIOBase_Type
  7. PyBufferedRandom_Type
  8. PyBufferedReader_Type
  9. PyBufferedRWPair_Type
  10. PyBufferedWriter_Type
  11. PyByteArrayIter_Type
  12. PyByteArray_Type
  13. PyBytesIO_Type
  14. PyBytesIter_Type
  15. PyBytes_Type
  16. PyCallIter_Type
  17. PyCapsule_Type
  18. PyCArg_Type
  19. PyCArray_Type
  20. PyCArrayType_Type
  21. PyCData_Type
  22. PyCell_Type
  23. PyCField_Type
  24. PyCFuncPtr_Type
  25. PyCFuncPtrType_Type
  26. PyCFunction_Type
  27. PyClassMethodDescr_Type
  28. PyClassMethod_Type
  29. PyCMethod_Type
  30. PyCode_Type
  31. PyComplex_Type
  32. PyContextTokenMissing_Type
  33. PyContextToken_Type
  34. PyContext_Type
  35. PyContextVar_Type
  36. PyCoro_Type
  37. PyCPointer_Type
  38. PyCPointerType_Type
  39. PyCSimpleType_Type
  40. PyCStgDict_Type
  41. PyCStructType_Type
  42. PyCThunk_Type
  43. PyCursesWindow_Type
  44. PyCursesWindow_Type;
  45. PyDictItems_Type
  46. PyDictIterItem_Type
  47. PyDictIterKey_Type
  48. PyDictIterValue_Type
  49. PyDictKeys_Type
  50. PyDictProxy_Type
  51. PyDictRevIterItem_Type
  52. PyDictRevIterKey_Type
  53. PyDictRevIterValue_Type
  54. PyDict_Type
  55. PyDictValues_Type
  56. PyEllipsis_Type
  57. PyEnum_Type
  58. PyFileIO_Type
  59. PyFileIO_Type;
  60. PyFilter_Type
  61. PyFloat_Type
  62. PyFrame_Type
  63. PyFrozenSet_Type
  64. PyFunction_Type
  65. Py_GenericAliasType
  66. PyGen_Type
  67. PyGetSetDescr_Type
  68. PyHKEY_Type
  69. PyIncrementalNewlineDecoder_Type
  70. PyInstanceMethod_Type
  71. PyIOBase_Type
  72. PyListIter_Type
  73. PyListRevIter_Type
  74. PyList_Type
  75. PyLongRangeIter_Type
  76. PyLong_Type
  77. PyMap_Type
  78. PyMemberDescr_Type
  79. PyMemoryView_Type
  80. PyMethodDescr_Type
  81. PyMethod_Type
  82. PyModuleDef_Type
  83. PyModule_Type
  84. PyODictItems_Type
  85. PyODictIter_Type
  86. PyODictKeys_Type
  87. PyODict_Type
  88. PyODictValues_Type
  89. PyPickleBuffer_Type
  90. PyProperty_Type
  91. PyRangeIter_Type
  92. PyRange_Type
  93. PyRawIOBase_Type
  94. PyReversed_Type
  95. PySeqIter_Type
  96. PySetIter_Type
  97. PySet_Type
  98. PySlice_Type
  99. PyStaticMethod_Type
  100. PyStdPrinter_Type
  101. PySTEntry_Type
  102. PyStringIO_Type
  103. PyST_Type
  104. PySuper_Type
  105. PyTextIOBase_Type
  106. PyTextIOWrapper_Type
  107. PyTraceBack_Type
  108. PyTupleIter_Type
  109. PyTuple_Type
  110. PyType_Type
  111. PyUnicodeIter_Type
  112. PyUnicode_Type
  113. PyWindowsConsoleIO_Type
  114. PyWindowsConsoleIO_Type;
  115. PyWrapperDescr_Type
  116. PyZip_Type