Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

docs: `__array_namespace_info__` erroneously under an `info` namespace?

Open
#1,012 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

Maintenance

https://data-apis.org/array-api/latest/API_specification/generated/array_api.info.__array_namespace_info__.html

Why is this under array_api.info rather than array_api? One must include that in order to intersphinx:

Image

But that is quite misleading:

>>> xp.__array_namespace_info__
<function __array_namespace_info__ at 0x108777060>

>>> xp.info.__array_namespace_info__
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    xp.info.__array_namespace_info__
    ^^^^^^^
  File "/Users/lucascolley/Library/Caches/rattler/cache/cached-envs-v0/python-b99d679870876da1/lib/python3.14/site-packages/array_api_strict/__init__.py", line 362, in __getattr__
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
AttributeError: module 'array_api_strict' has no attribute 'info'. Did you mean: 'finfo'?
Dominant language
Python
Stars
281
Forks
52
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from data-apis/array-api

All issues in data-apis/array-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.