Notifier restart
まだ誰も着手していません。
評価
調査の方向性
can.notifier.Notifier のライフサイクル、特に停止と構築から始め、次に can.notifier._NotifierRegistry.register が Bus の所有権をどのように追跡しているかを調べます。既存の Notifier を再起動する場合と、同じ設定を使って Notifier を作成する場合を比較します。停止した Notifier を再作成せずに再起動でき、別の関連付けられた Notifier が停止しているというだけの理由で registry が Bus を拒否しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
After I call can.notifier.Notifier.stop not a Notifier object, there is no obvious way how to restart the Notifier.
As far as I see, I need to create a new notifier, which leads to another problem - if a Bus is added to two Notifiers (even if one of them is stopped) then an exception is raised by can.notifier._NotifierRegistry.register.
Describe the solution you'd like
I would like a restart method defined in Notifier class which would work exactly like I just created a new Notifier with the exactly the same settings as the existing one.
Describe alternatives you've considered
can.notifier._NotifierRegistry.registerdoes not raise an exception if another Notifier is stopped
- 主要言語
- Python
- スター
- 1.6k
- フォーク
- 697
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hardbyte/python-can のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
hardbyte/python-can#2103 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
hardbyte/python-can#2077 · コメント 1 件 · リアクション 1 件 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
hardbyte/python-can#1922 · リアクション 1 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
hardbyte/python-can#2102 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
hardbyte/python-can#2092 ·
hardbyte/python-can の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·