STINNER Victor <vstin...@python.org> added the comment:

I used the following shell command to search remaining static types:
---
grep -E 'static PyTypeObject [a-zA-Z_0-9]+ *(;|= *{|) *$' $(find -name "*.c")
---

I found 86 static types in 17 files:

* PC/_msi.c:

  * msidb_Type
  * msiview_Type
  * record_Type
  * summary_Type

* Modules/_ctypes/_ctypes.c:

  * DictRemover_Type
  * PyComError_Type
  * PyDec_Type
  * Simple_Type
  * StructParam_Type
  * Struct_Type
  * UnionType_Type
  * Union_Type

* Modules/_decimal/_decimal.c:

  * PyDecContextManager_Type
  * PyDecContext_Type
  * PyDecSignalDict_Type

* Modules/xxmodule.c:

  * Null_Type
  * Str_Type
  * Xxo_Type

* Modules/_testbuffer.c:

  * NDArray_Type
  * StaticArray_Type

* Modules/itertoolsmodule.c (multiphase init):

  * _grouper_type
  * accumulate_type
  * combinations_type
  * compress_type
  * count_type
  * cwr_type
  * cycle_type
  * dropwhile_type
  * filterfalse_type
  * groupby_type
  * pairwise_type
  * permutations_type
  * starmap_type
  * takewhile_type
  * tee_type
  * teedataobject_type

* Modules/_xxsubinterpretersmodule.c:

  * ChannelIDtype

* Modules/_datetimemodule.c:

  * PyDateTime_DateTimeType
  * PyDateTime_DateType
  * PyDateTime_DeltaType
  * PyDateTime_IsoCalendarDateType
  * PyDateTime_TZInfoType
  * PyDateTime_TimeType
  * PyDateTime_TimeZoneType

* Modules/_testcapimodule.c:

  * ContainerNoGC_type
  * GenericAlias_Type
  * Generic_Type
  * MethClass_Type
  * MethInstance_Type
  * MethStatic_Type
  * MethodDescriptor2_Type
  * MethodDescriptorBase_Type
  * MethodDescriptorDerived_Type
  * MethodDescriptorNopGet_Type
  * MyList_Type
  * PyRecursingInfinitelyError_Type
  * _HashInheritanceTester_Type
  * awaitType
  * ipowType
  * matmulType
  * test_structmembersType

* Modules/_zoneinfo.c:

  * PyZoneInfo_ZoneInfoType

* Modules/ossaudiodev.c:

  * OSSAudioType
  * OSSMixerType

* Modules/socketmodule.c:

  * sock_type

* Modules/xxsubtype.c:

  * spamdict_type
  * spamlist_type

* Modules/_collectionsmodule.c:

  * defdict_type
  * deque_type
  * dequeiter_type
  * dequereviter_type
  * tuplegetter_type

* Modules/_elementtree.c:

  * ElementIter_Type
  * Element_Type
  * TreeBuilder_Type
  * XMLParser_Type

* Modules/_pickle.c:

  * Pdata_Type
  * PicklerMemoProxyType
  * Pickler_Type
  * UnpicklerMemoProxyType
  * Unpickler_Type

* Modules/_asynciomodule.c:

  * FutureIterType
  * FutureType
  * PyRunningLoopHolder_Type
  * TaskStepMethWrapper_Type
  * TaskType

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40077>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to