Bug 57092 - в idle3 не работает автодополнение
Summary: в idle3 не работает автодополнение
Status: CLOSED FIXED
Alias: None
Product: Branch p10
Classification: Unclassified
Component: python3-tools (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Grigory Ustinov
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-02 13:41 MSK by Vadim Zelenin
Modified: 2026-02-27 19:21 MSK (History)
2 users (show)

See Also:


Attachments
autocomplete_w.py.diff (602 bytes, patch)
2025-12-02 13:41 MSK, Vadim Zelenin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Zelenin 2025-12-02 13:41:17 MSK
Created attachment 20234 [details]
autocomplete_w.py.diff

Если в idle (idle3) набрать фрагмент выражения (например, '1'. ) и нажать Ctrl+Пробел то должно появиться окно с возможностью выбора дополнения (в данном случае - с методами строки). В idle3 из python3-tools-3.9.20-alt1.x86_64 этого не происходит.

Желаемое поведение можно вернуть изменив /usr/lib64/python3.9/idlelib/autocomplete_w.py, diff приложил.
Comment 1 Vadim Zelenin 2025-12-02 14:53:24 MSK
аналогичная задача в bugs.python.org: https://bugs.python.org/issue45193
Comment 2 Ищенко Максим Валентинович 2025-12-04 16:59:48 MSK
Подскажите Образ на котором воспроизводится
и Версию Python
Comment 3 Vadim Zelenin 2025-12-04 18:24:35 MSK
(Ответ для Ищенко Максим Валентинович на комментарий #2)
> Подскажите Образ на котором воспроизводится
> и Версию Python

в /etc/altlinux-release: ALT p10 starter kit (Hypericum)

python 3.9: python3-3.9.20-alt1.x86_64
idle3: python3-tools-3.9.20-alt1.x86_64
Comment 4 Ищенко Максим Валентинович 2025-12-08 12:26:44 MSK
Ошибка воспроизведена в p10. Проверялось на Sisyphus, ошибка не воспроизведена.
Comment 5 Vadim Zelenin 2025-12-08 15:01:28 MSK
вот ещё почитать - https://github.com/python/cpython/issues/89356
«It's too late for 3.9, right?»
«Yes. This was apparently fixed for 3.10 and 3.11 and left open for 3.9. But never got enough info to decide anything. Closing.»
Comment 6 Grigory Ustinov 2026-02-27 19:21:10 MSK
#100 python3 3.9.20-alt0.c10f2.3 -> 3.9.25-alt1
 Thu Jan 22 2026 Grigory Ustinov <grenka@altlinux> 3.9.25-alt1
 - Updated to upstream version 3.9.25 (Fixes: CVE-2024-12718, CVE-2025-4138).
 - Also (Fixes: CVE-2025-4330, CVE-2025-4435, CVE-2025-4517, CVE-2024-5642).
 - Also (Fixes: CVE-2025-8194, CVE-2024-9287).
 - Security fix (Fixes: CVE-2025-12084, CVE-2025-13836, CVE-2025-13837).
 - Fix idle autocomplete (Closes: #57092).