Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error With Adding Handler #4803

Open
Labels
🔌 bugpr description: bug
@kadir5131

Description

@kadir5131

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

\Python312\Lib\site-packages\telegram\ext_application.py", line 1259, in process_update
for handlers in self.handlers.values():
^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: dictionary changed size during iteration

I want the buttons in that menu to be active when navigating between menus in Telegram, but sometimes ı encounter this problem when I try to add or delete handlers for the buttons.

Describe the solution you'd like

We need to be able to add or remove handlers while the code is running, this is a big deficiency.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔌 bugpr description: bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp