- Notifications
You must be signed in to change notification settings - Fork5.7k
Labels
Description
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