Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Visibility of user defined attributes in numpy ndarray subclasses

オープン
#1,754 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@heejaechang がすでに取り組んでいます。

2024年12月4日 から。

評価

この issue はまだ評価されていません。

説明

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

主要言語
Python
スター
2.5k
フォーク
205
平均マージ
1日 5時間
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。