DOC: Release notes for the runtime signature changes #30208
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This covers the following PR's:
ma.core._frommethodfunction signatures #30091ma.core._convert2mafunction signatures #30099ndarraymethod runtime signatures #30114flatitermethod runtime signatures, and better stubs #30124nditerruntime signatures #30126broadcastruntime signatures #30137emptyandzerosruntime signatures, and missingdeviceparameter docs #30140_core.multiarray.*function runtime signatures #30143_core.multiarrayfunction runtime signatures #30147ndarraydunder method runtime signatures and missing docs #30155numpy.random.*class runtime signatures #30164np.dtypeandnp.dtypes.*runtime signatures #30169np.genericmissing method runtime signatures and docs #30193And here's the list of affected classes/methods/functions (although I'm probably forgetting a couple):
np.arangenp.arraynp.asanyarraynp.asarraynp.ascontiguousarraynp.asfortranarraynp.bincountnp.boolnp.broadcastnp.busday_countnp.busday_offsetnp.busdaycalendarnp.bytenp.bytes_np.can_castnp.clongdoublenp.complex64np.concatnp.copytonp.datetime64np.datetime_as_stringnp.datetime_datanp.dotnp.dtypenp.emptynp.empty_likenp.float128np.float16np.float32np.from_dlpacknp.frombuffernp.fromfilenp.fromiternp.frompyfuncsee #30235np.fromstringnp.innernp.int16np.int32np.int64np.is_busdaynp.lexsortnp.longlongnp.may_share_memorynp.min_scalar_typenp.ndarraynp.nditernp.nested_itersnp.object_np.packbitsnp.promote_typesnp.putmasknp.ravel_multi_indexnp.recordnp.result_typenp.shares_memorynp.str_np.timedelta64np.ubytenp.uintnp.uint16np.uint32np.ulonglongnp.unpackbitsnp.unravel_indexnp.vdotnp.voidnp.wherenp.zerosnp.broadcastnp.broadcast.resetnp.flatiter.__array__np.flatiter.copynp.nditernp.nditer.remove_axisnp.ndarraynp.ndarray.__array__np.ndarray.__array_finalize__np.ndarray.__array_function__np.ndarray.__array_namespace__np.ndarray.__array_ufunc__np.ndarray.__array_wrap__np.ndarray.__complex__np.ndarray.__copy__np.ndarray.__dlpack__np.ndarray.__dlpack_device__np.ndarray.__format__np.ndarray.__sizeof__np.ndarray.__reduce_ex__np.ndarray.allnp.ndarray.anynp.ndarray.argmaxnp.ndarray.argminnp.ndarray.argpartitionnp.ndarray.argsortnp.ndarray.astypenp.ndarray.byteswapnp.ndarray.choosenp.ndarray.clipnp.ndarray.compressnp.ndarray.conjnp.ndarray.conjugatenp.ndarray.copynp.ndarray.cumprodnp.ndarray.cumsumnp.ndarray.diagonalnp.ndarray.dotnp.ndarray.dumpnp.ndarray.dumpsnp.ndarray.fillnp.ndarray.flattennp.ndarray.getfieldnp.ndarray.itemnp.ndarray.maxnp.ndarray.meannp.ndarray.minnp.ndarray.nonzeronp.ndarray.partitionnp.ndarray.prodnp.ndarray.putnp.ndarray.ravelnp.ndarray.repeatnp.ndarray.reshapenp.ndarray.resizenp.ndarray.roundnp.ndarray.searchsortednp.ndarray.setfieldnp.ndarray.setflagsnp.ndarray.sortnp.ndarray.squeezenp.ndarray.stdnp.ndarray.sumnp.ndarray.swapaxesnp.ndarray.takenp.ndarray.to_devicenp.ndarray.tobytesnp.ndarray.tofilenp.ndarray.tolistnp.ndarray.tracenp.ndarray.transposenp.ndarray.varnp.ndarray.viewnp.generic.__array_namespace__np.generic.__copy__np.generic.__deepcopy__np.generic.allnp.generic.anynp.generic.argmaxnp.generic.argminnp.generic.argsortnp.generic.astypenp.generic.byteswapnp.generic.choosenp.generic.clipnp.generic.compressnp.generic.conjnp.generic.conjugatenp.generic.copynp.generic.cumprodnp.generic.cumsumnp.generic.diagonalnp.generic.dumpnp.generic.dumpsnp.generic.fillnp.generic.flattennp.generic.getfieldnp.generic.itemnp.generic.maxnp.generic.meannp.generic.minnp.generic.nonzeronp.generic.prodnp.generic.putnp.generic.ravelnp.generic.repeatnp.generic.reshapenp.generic.resizenp.generic.roundnp.generic.searchsortednp.generic.setfieldnp.generic.setflagsnp.generic.sortnp.generic.squeezenp.generic.stdnp.generic.sumnp.generic.swapaxesnp.generic.takenp.generic.to_devicenp.generic.tobytesnp.generic.tofilenp.generic.tolistnp.generic.tostringnp.generic.tracenp.generic.transposenp.generic.varnp.generic.viewnp.void.getfieldnp.void.setfieldnp.ufunc.__call__np.ufunc.accumulatenp.ufunc.atnp.ufunc.outernp.ufunc.reducenp.ufunc.reduceatnp.ufunc.resolve_dtypesnp.dtypes.BoolDTypenp.dtypes.ByteDTypenp.dtypes.BytesDTypenp.dtypes.CLongDoubleDTypenp.dtypes.Complex128DTypenp.dtypes.Complex64DTypenp.dtypes.DateTime64DTypenp.dtypes.Float16DTypenp.dtypes.Float32DTypenp.dtypes.Float64DTypenp.dtypes.Int16DTypenp.dtypes.Int32DTypenp.dtypes.Int64DTypenp.dtypes.LongDoubleDTypenp.dtypes.LongLongDTypenp.dtypes.ObjectDTypenp.dtypes.StrDTypenp.dtypes.StringDTypenp.dtypes.TimeDelta64DTypenp.dtypes.UByteDTypenp.dtypes.UInt16DTypenp.dtypes.UInt32DTypenp.dtypes.UInt64DTypenp.dtypes.ULongLongDTypenp.dtypes.VoidDTypenp.dtype.newbyteordernp.char.compare_chararraysnp.random.BitGeneratornp.random.Generatornp.random.MT19937np.random.PCG64np.random.PCG64DXSMnp.random.Philoxnp.random.RandomStatenp.random.SFC64np.random.SeedSequencenp.random.bit_generator.SeedlessSeedSequencenp.ma.absnp.ma.absolutenp.ma.allnp.ma.anglenp.ma.anomnp.ma.anomaliesnp.ma.anynp.ma.arangenp.ma.arccosnp.ma.arccoshnp.ma.arcsinnp.ma.arcsinhnp.ma.arctannp.ma.arctanhnp.ma.argmaxnp.ma.argminnp.ma.aroundnp.ma.ceilnp.ma.clipnp.ma.compressnp.ma.conjugatenp.ma.copynp.ma.cosnp.ma.coshnp.ma.countnp.ma.cumprodnp.ma.cumsumnp.ma.diagonalnp.ma.emptynp.ma.empty_likenp.ma.expnp.ma.fabsnp.ma.floornp.ma.frombuffernp.ma.fromfunctionnp.ma.harden_masknp.ma.identitynp.ma.idsnp.ma.indicesnp.ma.lognp.ma.log10np.ma.log2np.ma.logical_notnp.ma.meannp.ma.negativenp.ma.nonzeronp.ma.onesnp.ma.ones_likenp.ma.prodnp.ma.productnp.ma.ravelnp.ma.repeatnp.ma.sinnp.ma.sinhnp.ma.soften_masknp.ma.sqrtnp.ma.squeezenp.ma.stdnp.ma.sumnp.ma.swapaxesnp.ma.tannp.ma.tanhnp.ma.tracenp.ma.varnp.ma.zerosnp.ma.zeros_likenp.ma.extras.AxisConcatenator.concatenate