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
bd5e38d4
Kaydet (Commit)
bd5e38d4
authored
Eki 07, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document PEP 277 changes.
üst
bab9559d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
4 deletions
+30
-4
whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+30
-4
No files found.
Doc/whatsnew/whatsnew23.tex
Dosyayı görüntüle @
bd5e38d4
...
...
@@ -306,16 +306,42 @@ characters outside of the usual alphanumerics.
\begin{seealso}
\seepep
{
263
}{
Defining Python Source Code Encodings
}{
Written by
Marc-Andr
\'
e Lemburg and Martin von L
\"
owis; implemented by
Martin von
L
\"
owis.
}
Marc-Andr
\'
e Lemburg and Martin von L
\"
owis; implemented by
SUZUKI
Hisao and Martin von
L
\"
owis.
}
\end{seealso}
%======================================================================
\section
{
PEP 277:
XXX
}
\section
{
PEP 277:
Unicode file name support for Windows NT
}
XXX write this section
On Windows NT, 2000, and XP, the system stores file names as Unicode
strings. Traditionally, Python has represented file names are byte
strings, which is inadequate since it renders some file names
inaccessible.
Python allows now to use arbitrary Unicode strings (within limitations
of the file system) for all functions that expect file names, in
particular
\function
{
open
}
. If a Unicode string is passed to
\function
{
os.listdir
}
, Python returns now a list of Unicode strings.
A new function
\function
{
getcwdu
}
returns the current directory as a
Unicode string.
Byte strings continue to work as file names, the system will
transparently convert them to Unicode using the
\code
{
mbcs
}
encoding.
Other systems allow Unicode strings as file names as well, but convert
them to byte strings before passing them to the system, which may
cause UnicodeErrors. Applications can test whether arbitrary Unicode
strings are supported as file names with
\code
{
os.path.unicode
_
file
_
names
}
.
\begin{seealso}
\seepep
{
277
}{
Unicode file name support for Windows NT
}{
Written by Neil
Hodgson; implemented by Neil Hodgson, Martin von L
\"
owis, and Mark
Hammond.
}
\end{seealso}
%======================================================================
...
...
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