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
34c7f0c0
Kaydet (Commit)
34c7f0c0
authored
Ara 05, 2018
tarafından
William Grzybowski
Kaydeden (comit)
Serhiy Storchaka
Ara 05, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165)
üst
25d38978
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
2018-09-07-10-16-34.bpo-34604.xL7-kG.rst
...S.d/next/Library/2018-09-07-10-16-34.bpo-34604.xL7-kG.rst
+2
-1
grpmodule.c
Modules/grpmodule.c
+1
-1
pwdmodule.c
Modules/pwdmodule.c
+1
-1
No files found.
Misc/NEWS.d/next/Library/2018-09-07-10-16-34.bpo-34604.xL7-kG.rst
Dosyayı görüntüle @
34c7f0c0
Fix possible mojibake in the error message of `pwd.getpwnam` and
`grp.getgrnam`. Patch by William Grzybowski.
`grp.getgrnam` using string representation because of invisible characters
or trailing whitespaces. Patch by William Grzybowski.
Modules/grpmodule.c
Dosyayı görüntüle @
34c7f0c0
...
...
@@ -247,7 +247,7 @@ grp_getgrnam_impl(PyObject *module, PyObject *name)
PyErr_NoMemory
();
}
else
{
PyErr_Format
(
PyExc_KeyError
,
"getgrnam(): name not found: %
S
"
,
name
);
PyErr_Format
(
PyExc_KeyError
,
"getgrnam(): name not found: %
R
"
,
name
);
}
goto
out
;
}
...
...
Modules/pwdmodule.c
Dosyayı görüntüle @
34c7f0c0
...
...
@@ -257,7 +257,7 @@ pwd_getpwnam_impl(PyObject *module, PyObject *name)
}
else
{
PyErr_Format
(
PyExc_KeyError
,
"getpwnam(): name not found: %
S
"
,
name
);
"getpwnam(): name not found: %
R
"
,
name
);
}
goto
out
;
}
...
...
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