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
b1e66ee6
Kaydet (Commit)
b1e66ee6
authored
Şub 05, 2010
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
you shouldn't use".
üst
bb445a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
cmdline.rst
Doc/using/cmdline.rst
+23
-5
NEWS
Misc/NEWS
+5
-2
No files found.
Doc/using/cmdline.rst
Dosyayı görüntüle @
b1e66ee6
...
...
@@ -285,8 +285,6 @@ Miscellaneous options
See also :envvar:`PYTHONUNBUFFERED`.
.. XXX should the -U option be documented?
.. cmdoption:: -v
Print a message each time a module is initialized, showing the place
...
...
@@ -362,9 +360,6 @@ Miscellaneous options
.. note:: The line numbers in error messages will be off by one.
.. XXX document -X?
.. cmdoption:: -3
Warn about Python 3.x incompatibilities which cannot be fixed trivially by
...
...
@@ -382,7 +377,30 @@ Miscellaneous options
.. versionadded:: 2.6
Options you shouldn't use
~~~~~~~~~~~~~~~~~~~~~~~~~
.. cmdoption:: -J
Reserved for use by Jython_.
.. _Jython: http://jython.org
.. cmdoption:: -U
Turns all string literals into unicodes globally. Do not be tempted to use
this option as it will probably break your world. It also produces
``.pyc`` files with a different magic number than normal. Instead, you can
enable unicode literals on a per-module basis by using::
from __future__ import unicode_literals
at the top of the file. See :mod:`__future__` for details.
.. cmdoption:: -X
Reserved for alternative implementations of Python to use for their own
purposes.
.. _using-on-envvars:
...
...
Misc/NEWS
Dosyayı görüntüle @
b1e66ee6
...
...
@@ -17,8 +17,8 @@ Core and Builtins
library would return a bogus result; on Solaris, it was possible to crash
the interpreter. Patch by Stefan Krah.
- Issue #7853: Normalize exceptions before they are passed to a context
managers
__exit__ method.
- Issue #7853: Normalize exceptions before they are passed to a context
managers
__exit__ method.
- Issue #7385: Fix a crash in `MemoryView_FromObject` when
`PyObject_GetBuffer` fails. Patch by Florent Xicluna.
...
...
@@ -153,6 +153,9 @@ Tools/Demos
Documentation
-------------
- Updating `Using Python` documentation to include description of CPython's
-J, -U and -X options.
- Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
...
...
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