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
137b572d
Kaydet (Commit)
137b572d
authored
Eyl 18, 2013
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add versionchanged for #14984, remove extra blank from string.
üst
4189b67a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
netrc.rst
Doc/library/netrc.rst
+2
-0
netrc.py
Lib/netrc.py
+1
-1
No files found.
Doc/library/netrc.rst
Dosyayı görüntüle @
137b572d
...
...
@@ -28,6 +28,8 @@ the Unix :program:`ftp` program and other FTP clients.
This implements security behavior equivalent to that of ftp and other
programs that use :file:`.netrc`.
.. versionchanged:: 2.6.9 Added the POSIX permissions check.
.. exception:: NetrcParseError
...
...
Lib/netrc.py
Dosyayı görüntüle @
137b572d
...
...
@@ -88,7 +88,7 @@ class netrc:
try
:
user
=
pwd
.
getpwuid
(
os
.
getuid
())[
0
]
except
KeyError
:
user
=
'uid
%
s
'
%
os
.
getuid
()
user
=
'uid
%
s'
%
os
.
getuid
()
raise
NetrcParseError
(
(
"~/.netrc file owner (
%
s) does not match"
" current user (
%
s)"
)
%
(
fowner
,
user
),
...
...
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