Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Visibility of user defined attributes in numpy ndarray subclasses

Aperta
#1,754 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@heejaechang ci sta già lavorando.

Dal 4/12/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

needs repro

Hello everyone,

I'm not 100% sure if this is the correct address to make this request but the issue/request I have is as follows:
When subclassing numpy arrays to add attributes/properties on top of the numpy array, all of the properties get packed into the __internals__ special variable. While all values are gathered and correctly displayed, it is quite inconvenient to have them be bunched into the __internals__ variable.

I included the two example images to show the problem:

Where the attribute is located:
Image

vs. where you probably want to see the attribute:
Image

Lingua principale
Python
Stelle
2.5k
Fork
202
Merge medio
1g 9h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/debugpy

Tutte le issue di microsoft/debugpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.