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
11384393
Kaydet (Commit)
11384393
authored
Eyl 27, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
üst
87d0066f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
NEWS
Misc/NEWS
+3
-0
readline.c
Modules/readline.c
+5
-4
No files found.
Misc/NEWS
Dosyayı görüntüle @
11384393
...
@@ -81,6 +81,9 @@ Core and Builtins
...
@@ -81,6 +81,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
- Prevent overflow in _Unpickler_Read.
- Prevent overflow in _Unpickler_Read.
- Issue #25047: The XML encoding declaration written by Element Tree now
- Issue #25047: The XML encoding declaration written by Element Tree now
...
...
Modules/readline.c
Dosyayı görüntüle @
11384393
...
@@ -427,10 +427,11 @@ set_completer_delims(PyObject *self, PyObject *args)
...
@@ -427,10 +427,11 @@ set_completer_delims(PyObject *self, PyObject *args)
/* Keep a reference to the allocated memory in the module state in case
/* Keep a reference to the allocated memory in the module state in case
some other module modifies rl_completer_word_break_characters
some other module modifies rl_completer_word_break_characters
(see issue #17289). */
(see issue #17289). */
free
(
completer_word_break_characters
);
break_chars
=
strdup
(
break_chars
);
completer_word_break_characters
=
strdup
(
break_chars
);
if
(
break_chars
)
{
if
(
completer_word_break_characters
)
{
free
(
completer_word_break_characters
);
rl_completer_word_break_characters
=
completer_word_break_characters
;
completer_word_break_characters
=
break_chars
;
rl_completer_word_break_characters
=
break_chars
;
Py_RETURN_NONE
;
Py_RETURN_NONE
;
}
}
else
else
...
...
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