Nicholas Gates
Nicholas Gates
e.g. `py.isinstance(foo, *const SomeClass)`
Probably something like: ```zig const Subclass = py.class(struct { pub const __mro__ = &.{ "collections.abc.Sized" }; }); ```
Currently we try to import the class from its containing module, but we fail to navigate a hierarchy of nested classes
Our wish list for the upstream Zig project! See https://github.com/ziglang/zig/wiki/Third-Party-Tracking-Issues-(what-is-important-to-other-people%3F) for similar issues from other projects. ## For Loop Array Construction This would be a really nice shorthand for a...
https://stackoverflow.com/questions/68490194/defining-a-python-enum-in-a-c-extension-am-i-doing-this-right/69281896#69281896
We should instead look for zig-out/bin/*.test.bin files.
Use the same mechanism as mkdocs does for their own docs: * Python hooks https://github.com/squidfunk/mkdocs-material/blob/9888723f86b20224197811fb647bfc4a79ce5a9f/src/.overrides/hooks/shortcodes.py#L36 * Reference from markdown: https://github.com/squidfunk/mkdocs-material/blob/9888723f86b20224197811fb647bfc4a79ce5a9f/docs/plugins/meta.md?plain=1#L128
PyBUF_SIMPLE is a flag used to denote a buffer is a pure 1-dimensional contiguous unsigned u8 array. This is a pretty common use-case, so we should make it close to...
Currently a PyTuple.create only supports converting from a Zig tuple struct. When wrapping/unwrapping, it's the trampoline that decides which type a value should be converted into. In some cases, e.g....