A relativelly simple improvements to the current Any-based placeholder annotations would be to replace them with simple unannated function definitions. For the main numpy namespace such enhancements were recently implemented (see below); ideally this can be done as well for all other namespaces before the 1.21 release.
TODO
A relativelly simple improvements to the current
Any-based placeholder annotations would be to replace them with simple unannated function definitions. For the main numpy namespace such enhancements were recently implemented (see below); ideally this can be done as well for all other namespaces before the 1.21 release.TODO
npmain namespace: ENH: Improve the placeholder annotations for the main numpy namespace #18765, ENH: Improve the placeholder annotations for the main numpy namespace (part 2) #18780 and MAINT: Improve the placeholder annotations for the main numpy namespace (part 3) #18799: private namespace; deliberately kept emptynp.corenamespacenp.charnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.ctypeslibnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.emathnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.f2pynamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.fftnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.libnamespace: ENH: Improve the placeholder annotations within sub-modules (part 2) #18853np.linalgnamespace: ENH: Improve the placeholder annotations within sub-modules (part 2) #18853np.manamespace: ENH: Improve the placeholder annotations within sub-modules (part 3) #18909np.matrixlibnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.polynomialnamespace: ENH: Improve the placeholder annotations within sub-modules (part 3) #18909np.randomnamespace: fully annotated prior to this issuenp.recnamespace: ENH: Improve the placeholder annotations within sub-modules #18842np.testingnamespace: ENH: Improve the placeholder annotations within sub-modules #18842 and ENH: Add placeholder annotations for two missingnp.testingobjects #18919np.typingnamespace: fully annotated prior to this issue