Commit Graph

6 Commits

Author SHA1 Message Date
Eli Schwartz 01368ffb29
simd module: fix regression that broke using only some simd variants
Regression in commit a3d287c553.

When a given kwarg is not specified, we want to not generate it as a
simd variant. Since the default for buildtarget sources is `[]` it
resulted in building a static library with no sources, and a warning
stating that this was buggy and will eventually be removed.

Fix this by teaching buildtarget sources to allow None, and defaulting
to it specifically for the simd module. We can check this and then skip
processing entirely.

Fixes #12438
2023-10-28 21:58:54 -04:00
Tristan Partin 101d783d66 Clean up some of the code in simd.check() 2023-10-09 17:25:05 -04:00
Tristan Partin a5f323b6cf Finish typing the simd module 2023-10-09 17:25:05 -04:00
Tristan Partin a3d287c553 Port simd.check() to typed_pos_args/typed_kwargs 2023-10-09 17:25:05 -04:00
Eli Schwartz 680b5ff819
treewide: add future annotations import 2023-02-01 17:01:30 -05:00
Dylan Baker a78992dd81 interpreter: move handling of module stability to interpreter
Thanks to `ModuleInfo`, all modules are just named `foo.py` instead of
`unstable_foo.py`, which simplifies the import method a bit. This also
allows for accurate FeatureNew/FeatureDeprecated use, as we know when
the module was added and if/when it was stabilized.
2022-08-17 16:25:36 -04:00