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
69db587f
Kaydet (Commit)
69db587f
authored
Ock 12, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
üst
dbc744ac
74fe9f30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
IOBinding.py
Lib/idlelib/IOBinding.py
+2
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/IOBinding.py
Dosyayı görüntüle @
69db587f
import
os
import
types
import
shlex
import
sys
import
codecs
import
tempfile
...
...
@@ -458,7 +459,7 @@ class IOBinding:
else
:
#no printing for this platform
printPlatform
=
False
if
printPlatform
:
#we can try to print for this platform
command
=
command
%
filename
command
=
command
%
shlex
.
quote
(
filename
)
pipe
=
os
.
popen
(
command
,
"r"
)
# things can get ugly on NT if there is no printer available.
output
=
pipe
.
read
()
.
strip
()
...
...
Misc/NEWS
Dosyayı görüntüle @
69db587f
...
...
@@ -147,6 +147,9 @@ Core and Builtins
Library
-------
-
Issue
#
16829
:
IDLE
printing
no
longer
fails
if
there
are
spaces
or
other
special
characters
in
the
file
path
.
-
Issue
#
16900
:
Issue
a
ResourceWarning
when
an
ssl
socket
is
left
unclosed
.
-
Issue
#
13899
:
\
A
,
\
Z
,
and
\
B
now
correctly
match
the
A
,
Z
,
and
B
literals
...
...
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