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
eebcb5f7
Kaydet (Commit)
eebcb5f7
authored
Ock 12, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
üst
ef2bd67e
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 @
eebcb5f7
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
import
os
import
os
import
types
import
types
import
pipes
import
sys
import
sys
import
codecs
import
codecs
import
tempfile
import
tempfile
...
@@ -503,7 +504,7 @@ class IOBinding:
...
@@ -503,7 +504,7 @@ class IOBinding:
else
:
#no printing for this platform
else
:
#no printing for this platform
printPlatform
=
False
printPlatform
=
False
if
printPlatform
:
#we can try to print for this platform
if
printPlatform
:
#we can try to print for this platform
command
=
command
%
filename
command
=
command
%
pipes
.
quote
(
filename
)
pipe
=
os
.
popen
(
command
,
"r"
)
pipe
=
os
.
popen
(
command
,
"r"
)
# things can get ugly on NT if there is no printer available.
# things can get ugly on NT if there is no printer available.
output
=
pipe
.
read
()
.
strip
()
output
=
pipe
.
read
()
.
strip
()
...
...
Misc/NEWS
Dosyayı görüntüle @
eebcb5f7
...
@@ -186,6 +186,9 @@ Core and Builtins
...
@@ -186,6 +186,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
16829
:
IDLE
printing
no
longer
fails
if
there
are
spaces
or
other
special
characters
in
the
file
path
.
-
Issue
#
13899
:
\
A
,
\
Z
,
and
\
B
now
correctly
match
the
A
,
Z
,
and
B
literals
-
Issue
#
13899
:
\
A
,
\
Z
,
and
\
B
now
correctly
match
the
A
,
Z
,
and
B
literals
when
used
inside
character
classes
(
e
.
g
.
'[\A]'
).
Patch
by
Matthew
Barnett
.
when
used
inside
character
classes
(
e
.
g
.
'[\A]'
).
Patch
by
Matthew
Barnett
.
...
...
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