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
0b2489e9
Kaydet (Commit)
0b2489e9
authored
May 15, 2011
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #6498: fix several misspellings of "SystemExit" as "SystemError".
üst
1161a9ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
veryhigh.rst
Doc/c-api/veryhigh.rst
+6
-5
pythonrun.c
Python/pythonrun.c
+1
-1
No files found.
Doc/c-api/veryhigh.rst
Dosyayı görüntüle @
0b2489e9
...
...
@@ -34,11 +34,12 @@ the same library that the Python runtime is using.
according to the user's locale). It is important to note that the
argument list may be modified (but the contents of the strings
pointed to by the argument list are not). The return value will be
the integer passed to the :func:`sys.exit` function, ``1`` if the
interpreter exits due to an exception, or ``2`` if the parameter
list does not represent a valid Python command line.
```0``` if the interpreter exits normally (ie, without an
exception), ``1`` if the interpreter exits due to an exception, or
``2`` if the parameter list does not represent a valid Python
command line.
Note that if an otherwise unhandled :exc:`SystemE
rror
` is raised, this
Note that if an otherwise unhandled :exc:`SystemE
xit
` is raised, this
function will not return ``1``, but exit the process, as long as
``Py_InspectFlag`` is not set.
...
...
@@ -84,7 +85,7 @@ the same library that the Python runtime is using.
there was an error, there is no way to get the exception information. For the
meaning of *flags*, see below.
Note that if an otherwise unhandled :exc:`SystemE
rror
` is raised, this
Note that if an otherwise unhandled :exc:`SystemE
xit
` is raised, this
function will not return ``-1``, but exit the process, as long as
``Py_InspectFlag`` is not set.
...
...
Python/pythonrun.c
Dosyayı görüntüle @
0b2489e9
...
...
@@ -82,7 +82,7 @@ extern void _PyGILState_Fini(void);
int
Py_DebugFlag
;
/* Needed by parser.c */
int
Py_VerboseFlag
;
/* Needed by import.c */
int
Py_InteractiveFlag
;
/* Needed by Py_FdIsInteractive() below */
int
Py_InspectFlag
;
/* Needed to determine whether to exit at SystemE
rror
*/
int
Py_InspectFlag
;
/* Needed to determine whether to exit at SystemE
xit
*/
int
Py_NoSiteFlag
;
/* Suppress 'import site' */
int
Py_BytesWarningFlag
;
/* Warn on str(bytes) and str(buffer) */
int
Py_DontWriteBytecodeFlag
;
/* Suppress writing bytecode files (*.py[co]) */
...
...
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