Exporting a method with a different name than its declaration
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
まず、HostAccess.Export アノテーションと、issue で説明されている Java から Python へのメソッドエクスポート経路を調べます。エクスポートされたメソッドにエイリアスを付けられるかどうかを判断し、その後 Python から動作を確認します。Java メソッド bar を宣言を変更せずに barMethod として呼び出せれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Let's say I have a Java class:
class Foo {
public void bar() {
System.out.println("bar");
}
}
I want to access that bar method in python but with a different name. I swear a while ago I could do:
@HostAccess.Export(name = "barMethod")
public void bar() {
System.out.println("bar");
}
But now the name field doesn't exist?
So then in Python it would be called with barMethod instead of bar.
- 主要言語
- Python
- スター
- 1.6k
- フォーク
- 155
- 平均マージ
- 7時間 45分
- マージ済み PR(30日)
- 47
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oracle/graalpython のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
oracle/graalpython#1105 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
oracle/graalpython#1102 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
oracle/graalpython#1169 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
oracle/graalpython#1133 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
oracle/graalpython#1112 ·
oracle/graalpython の issue をすべて見る
似ている issue
-
bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·
-
ai-generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/production-stack#1105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100