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
7f580970
Kaydet (Commit)
7f580970
authored
Eki 13, 2017
tarafından
Berker Peksag
Kaydeden (comit)
GitHub
Eki 13, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-28647: Update -u documentation after bpo-30404 (GH-3961)
üst
b22273ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
14 deletions
+9
-14
sys.rst
Doc/library/sys.rst
+3
-3
cmdline.rst
Doc/using/cmdline.rst
+2
-1
python.man
Misc/python.man
+2
-7
main.c
Modules/main.c
+2
-3
No files found.
Doc/library/sys.rst
Dosyayı görüntüle @
7f580970
...
@@ -1275,9 +1275,9 @@ always available.
...
@@ -1275,9 +1275,9 @@ always available.
Under all platforms though, you can override this value by setting the
Under all platforms though, you can override this value by setting the
:envvar:`PYTHONIOENCODING` environment variable before starting Python.
:envvar:`PYTHONIOENCODING` environment variable before starting Python.
* When interactive,
standard streams are line-buffered. Otherwise, they
* When interactive,
``stdout`` and ``stderr`` streams are line-buffered.
are block-buffered like regular text files. You can override this
Otherwise, they are block-buffered like regular text files. You can
value with the :option:`-u` command-line option.
override this
value with the :option:`-u` command-line option.
.. note::
.. note::
...
...
Doc/using/cmdline.rst
Dosyayı görüntüle @
7f580970
...
@@ -303,7 +303,8 @@ Miscellaneous options
...
@@ -303,7 +303,8 @@ Miscellaneous options
.. cmdoption:: -u
.. cmdoption:: -u
Force the stdout and stderr streams to be unbuffered.
Force the stdout and stderr streams to be unbuffered. This option has no
effect on the stdin stream.
See also :envvar:`PYTHONUNBUFFERED`.
See also :envvar:`PYTHONUNBUFFERED`.
...
...
Misc/python.man
Dosyayı görüntüle @
7f580970
...
@@ -178,13 +178,8 @@ that it entails. Also disable these manipulations if
...
@@ -178,13 +178,8 @@ that it entails. Also disable these manipulations if
is explicitly imported later.
is explicitly imported later.
.TP
.TP
.B \-u
.B \-u
Force the binary I/O layers of stdout and stderr to be unbuffered.
Force the stdout and stderr streams to be unbuffered.
stdin is always buffered.
This option has no effect on the stdin stream.
The text I/O layer will still be line-buffered.
.\" Note that there is internal buffering in readlines() and
.\" file-object iterators ("for line in sys.stdin") which is not
.\" influenced by this option. To work around this, you will want to use
.\" "sys.stdin.readline()" inside a "while 1:" loop.
.TP
.TP
.B \-v
.B \-v
Print a message each time a module is initialized, showing the place
Print a message each time a module is initialized, showing the place
...
...
Modules/main.c
Dosyayı görüntüle @
7f580970
...
@@ -71,9 +71,8 @@ static const char usage_2[] = "\
...
@@ -71,9 +71,8 @@ static const char usage_2[] = "\
-S : don't imply 'import site' on initialization
\n
\
-S : don't imply 'import site' on initialization
\n
\
"
;
"
;
static
const
char
usage_3
[]
=
"\
static
const
char
usage_3
[]
=
"\
-u : unbuffered binary stdout and stderr, stdin always buffered;
\n
\
-u : force the stdout and stderr streams to be unbuffered;
\n
\
also PYTHONUNBUFFERED=x
\n
\
this option has no effect on stdin; also PYTHONUNBUFFERED=x
\n
\
see man page for details on internal buffering relating to '-u'
\n
\
-v : verbose (trace import statements); also PYTHONVERBOSE=x
\n
\
-v : verbose (trace import statements); also PYTHONVERBOSE=x
\n
\
can be supplied multiple times to increase verbosity
\n
\
can be supplied multiple times to increase verbosity
\n
\
-V : print the Python version number and exit (also --version)
\n
\
-V : print the Python version number and exit (also --version)
\n
\
...
...
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