Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4a043016
Kaydet (Commit)
4a043016
authored
Eyl 06, 2013
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#18852: Handle readline.__doc__ being None in site.py readline activation.
Patch by Berker Peksag.
üst
f203f2d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
site.py
Lib/site.py
+3
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/site.py
Dosyayı görüntüle @
4a043016
...
...
@@ -388,8 +388,9 @@ def enablerlcompleter():
return
# Reading the initialization (config) file may not be enough to set a
# completion key, so we set one first and then read the file
if
'libedit'
in
getattr
(
readline
,
'__doc__'
,
''
):
# completion key, so we set one first and then read the file.
readline_doc
=
getattr
(
readline
,
'__doc__'
,
''
)
if
readline_doc
is
not
None
and
'libedit'
in
readline_doc
:
readline
.
parse_and_bind
(
'bind ^I rl_complete'
)
else
:
readline
.
parse_and_bind
(
'tab: complete'
)
...
...
Misc/NEWS
Dosyayı görüntüle @
4a043016
...
...
@@ -56,6 +56,9 @@ Core and Builtins
Library
-------
- Issue #18852: Handle case of ``readline.__doc__`` being ``None`` in the new
readline activation code in ``site.py``.
- Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment