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
626d92aa
Kaydet (Commit)
626d92aa
authored
Ock 31, 2010
tarafından
Matthias Klose
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
üst
ef490964
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
5 deletions
+42
-5
NEWS
Misc/NEWS
+6
-0
python.man
Misc/python.man
+36
-5
No files found.
Misc/NEWS
Dosyayı görüntüle @
626d92aa
...
@@ -123,6 +123,12 @@ Tools/Demos
...
@@ -123,6 +123,12 @@ Tools/Demos
added to the `Tools/` directory. They were previously living in the
added to the `Tools/` directory. They were previously living in the
sandbox.
sandbox.
Documentation
-------------
- Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
What's New in Python 2.7 alpha 2?
What's New in Python 2.7 alpha 2?
=================================
=================================
...
...
Misc/python.man
Dosyayı görüntüle @
626d92aa
...
@@ -8,6 +8,9 @@ python \- an interpreted, interactive, object-oriented programming language
...
@@ -8,6 +8,9 @@ python \- an interpreted, interactive, object-oriented programming language
.SH SYNOPSIS
.SH SYNOPSIS
.B python
.B python
[
[
.B \-B
]
[
.B \-d
.B \-d
]
]
[
[
...
@@ -23,15 +26,21 @@ python \- an interpreted, interactive, object-oriented programming language
...
@@ -23,15 +26,21 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-m
.B \-m
.I module-name
.I module-name
]
]
[
.B \-O
]
.br
.br
[
[
.B \-O
]
[
.B \-O0
]
[
.B -Q
.B -Q
.I argument
.I argument
]
]
[
[
.B \-s
]
[
.B \-S
.B \-S
]
]
[
[
...
@@ -57,6 +66,9 @@ python \- an interpreted, interactive, object-oriented programming language
...
@@ -57,6 +66,9 @@ python \- an interpreted, interactive, object-oriented programming language
[
[
.B \-3
.B \-3
]
]
[
.B \-?
]
.br
.br
[
[
.B \-c
.B \-c
...
@@ -95,6 +107,11 @@ viewed by running the
...
@@ -95,6 +107,11 @@ viewed by running the
program.
program.
.SH COMMAND LINE OPTIONS
.SH COMMAND LINE OPTIONS
.TP
.TP
.B \-B
Don't write
.I .py[co]
files on import. See also PYTHONDONTWRITEBYTECODE.
.TP
.BI "\-c " command
.BI "\-c " command
Specify the command to execute (see next section).
Specify the command to execute (see next section).
This terminates the option list (following options are passed as
This terminates the option list (following options are passed as
...
@@ -108,7 +125,7 @@ compilation options).
...
@@ -108,7 +125,7 @@ compilation options).
Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
the behavior of the interpreter.
the behavior of the interpreter.
.TP
.TP
.B \-h
.B \-h
", " \-? ", "\-\-help
Prints the usage for the interpreter executable and exits.
Prints the usage for the interpreter executable and exits.
.TP
.TP
.B \-i
.B \-i
...
@@ -131,6 +148,9 @@ compiled (bytecode) files from
...
@@ -131,6 +148,9 @@ compiled (bytecode) files from
.I .pyc
.I .pyc
to \fI.pyo\fP. Given twice, causes docstrings to be discarded.
to \fI.pyo\fP. Given twice, causes docstrings to be discarded.
.TP
.TP
.B \-O0
Discard docstrings in addition to the \fB-O\fP optimizations.
.TP
.BI "\-Q " argument
.BI "\-Q " argument
Division control; see PEP 238. The argument must be one of "old" (the
Division control; see PEP 238. The argument must be one of "old" (the
default, int/int and long/long return an int or long), "new" (new
default, int/int and long/long return an int or long), "new" (new
...
@@ -140,6 +160,9 @@ long/long), or "warnall" (old division semantics with a warning for
...
@@ -140,6 +160,9 @@ long/long), or "warnall" (old division semantics with a warning for
all use of the division operator). For a use of "warnall", see the
all use of the division operator). For a use of "warnall", see the
Tools/scripts/fixdiv.py script.
Tools/scripts/fixdiv.py script.
.TP
.TP
.B \-s
Don't add user site directory to sys.path.
.TP
.B \-S
.B \-S
Disable the import of the module
Disable the import of the module
.I site
.I site
...
@@ -167,7 +190,7 @@ twice, print a message for each file that is checked for when
...
@@ -167,7 +190,7 @@ twice, print a message for each file that is checked for when
searching for a module. Also provides information on module cleanup
searching for a module. Also provides information on module cleanup
at exit.
at exit.
.TP
.TP
.B \-V
.B \-V
", " \-\-version
Prints the Python version number of the executable and exits.
Prints the Python version number of the executable and exits.
.TP
.TP
.BI "\-W " argument
.BI "\-W " argument
...
@@ -370,9 +393,17 @@ specifying \fB\-O\fP multiple times.
...
@@ -370,9 +393,17 @@ specifying \fB\-O\fP multiple times.
If this is set to a non-empty string it is equivalent to specifying
If this is set to a non-empty string it is equivalent to specifying
the \fB\-d\fP option. If set to an integer, it is equivalent to
the \fB\-d\fP option. If set to an integer, it is equivalent to
specifying \fB\-d\fP multiple times.
specifying \fB\-d\fP multiple times.
.IP PYTHONDONTWRITEBYTECODE
If this is set to a non-empty string it is equivalent to specifying
the \fB\-B\fP option (don't try to write
.I .py[co]
files).
.IP PYTHONINSPECT
.IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying
If this is set to a non-empty string it is equivalent to specifying
the \fB\-i\fP option.
the \fB\-i\fP option.
.IP PYTHONNOUSERSITE
If this is set to a non-empty string it is equivalent to specifying
the \fB\-s\fP option (Don't add the user site directory to sys.path).
.IP PYTHONUNBUFFERED
.IP PYTHONUNBUFFERED
If this is set to a non-empty string it is equivalent to specifying
If this is set to a non-empty string it is equivalent to specifying
the \fB\-u\fP option.
the \fB\-u\fP option.
...
...
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