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
9c10d6b8
Kaydet (Commit)
9c10d6b8
authored
Kas 15, 2013
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19504: Used American spelling for 'customize'.
üst
a76157dc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+5
-5
logging.handlers.rst
Doc/library/logging.handlers.rst
+1
-1
logging.rst
Doc/library/logging.rst
+2
-2
__init__.py
Lib/venv/__init__.py
+1
-1
launcher.c
PC/launcher.c
+2
-2
No files found.
Doc/howto/logging-cookbook.rst
Dosyayı görüntüle @
9c10d6b8
...
...
@@ -1098,7 +1098,7 @@ Python 3.2 or later.
.. _custom-logrecord:
Customi
s
ing ``LogRecord``
Customi
z
ing ``LogRecord``
-------------------------
Every logging event is represented by a :class:`LogRecord` instance.
...
...
@@ -1315,7 +1315,7 @@ of the Django documentation.
.. _cookbook-rotator-namer:
Using a rotator and namer to customi
s
e log rotation processing
Using a rotator and namer to customi
z
e log rotation processing
--------------------------------------------------------------
An example of how you can define a namer and rotator is given in the following
...
...
@@ -1696,14 +1696,14 @@ Python used.
.. currentmodule:: logging.config
Customi
s
ing handlers with :func:`dictConfig`
Customi
z
ing handlers with :func:`dictConfig`
--------------------------------------------
There are times when you want to customi
s
e logging handlers in particular ways,
There are times when you want to customi
z
e logging handlers in particular ways,
and if you use :func:`dictConfig` you may be able to do this without
subclassing. As an example, consider that you may want to set the ownership of a
log file. On POSIX, this is easily done using :func:`shutil.chown`, but the file
handlers in the stdlib don't offer built-in support. You can customi
s
e handler
handlers in the stdlib don't offer built-in support. You can customi
z
e handler
creation using a plain function such as::
def owned_file_handler(filename, mode='a', encoding=None, owner=None):
...
...
Doc/library/logging.handlers.rst
Dosyayı görüntüle @
9c10d6b8
...
...
@@ -892,7 +892,7 @@ possible, while any potentially slow operations (such as sending an email via
Enqueues the record on the queue using ``put_nowait()``; you may
want to override this if you want to use blocking behaviour, or a
timeout, or a customi
s
ed queue implementation.
timeout, or a customi
z
ed queue implementation.
...
...
Doc/library/logging.rst
Dosyayı görüntüle @
9c10d6b8
...
...
@@ -845,8 +845,8 @@ functions.
Return
either
the
standard
:
class
:`
Logger
`
class
,
or
the
last
class
passed
to
:
func
:`
setLoggerClass
`.
This
function
may
be
called
from
within
a
new
class
definition
,
to
ensure
that
installing
a
customi
s
ed
:
class
:`
Logger
`
class
will
not
undo
customi
s
ations
already
applied
by
other
code
.
For
example
::
definition
,
to
ensure
that
installing
a
customi
z
ed
:
class
:`
Logger
`
class
will
not
undo
customi
z
ations
already
applied
by
other
code
.
For
example
::
class
MyLogger
(
logging
.
getLoggerClass
()):
#
...
override
behaviour
here
...
...
Lib/venv/__init__.py
Dosyayı görüntüle @
9c10d6b8
...
...
@@ -38,7 +38,7 @@ logger = logging.getLogger(__name__)
class
EnvBuilder
:
"""
This class exists to allow virtual environment creation to be
customi
s
ed. The constructor parameters determine the builder's
customi
z
ed. The constructor parameters determine the builder's
behaviour when called upon to create a virtual environment.
By default, the builder makes the system (global) site-packages dir
...
...
PC/launcher.c
Dosyayı görüntüle @
9c10d6b8
...
...
@@ -807,10 +807,10 @@ parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command,
}
if
(
*
vpp
==
NULL
)
{
/*
* Not found in builtins - look in customi
s
ed commands.
* Not found in builtins - look in customi
z
ed commands.
*
* We can't permanently modify the shebang line in case
* it's not a customi
s
ed command, but we can temporarily
* it's not a customi
z
ed command, but we can temporarily
* stick a NUL after the command while searching for it,
* then put back the char we zapped.
*/
...
...
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