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
a8041ae5
Kaydet (Commit)
a8041ae5
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
96d2654f
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 @
a8041ae5
...
@@ -37,6 +37,9 @@ Core and Builtins
...
@@ -37,6 +37,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
25203
:
Failed
readline
.
set_completer_delims
()
no
longer
left
the
module
in
inconsistent
state
.
-
Issue
#
19143
:
platform
module
now
reads
Windows
version
from
kernel32
.
dll
to
-
Issue
#
19143
:
platform
module
now
reads
Windows
version
from
kernel32
.
dll
to
avoid
compatibility
shims
.
avoid
compatibility
shims
.
...
...
Modules/readline.c
Dosyayı görüntüle @
a8041ae5
...
@@ -355,10 +355,11 @@ set_completer_delims(PyObject *self, PyObject *args)
...
@@ -355,10 +355,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