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
b2bba739
Kaydet (Commit)
b2bba739
authored
Kas 09, 2006
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #838546: Make terminal become controlling in pty.fork().
Will backport to 2.5.
üst
394ae90d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
pty.py
Lib/pty.py
+4
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/pty.py
Dosyayı görüntüle @
b2bba739
...
...
@@ -118,6 +118,10 @@ def fork():
if
(
slave_fd
>
STDERR_FILENO
):
os
.
close
(
slave_fd
)
# Explicitly open the tty to make it become a controlling tty.
tmp_fd
=
os
.
open
(
os
.
ttyname
(
STDOUT_FILENO
),
os
.
O_RDWR
)
os
.
close
(
tmp_fd
)
# Parent and child process.
return
pid
,
master_fd
...
...
Misc/NEWS
Dosyayı görüntüle @
b2bba739
...
...
@@ -96,6 +96,8 @@ Core and builtins
Library
-------
- Patch #838546: Make terminal become controlling in pty.fork()
- Patch #1351744: Add askyesnocancel helper for tkMessageBox.
- Patch #1060577: Extract list of RPM files from spec file in
...
...
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