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
49199077
Kaydet (Commit)
49199077
authored
Eyl 24, 2015
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix #25208: Improve "Develop with asyncio" doc page.
Patch by Benjamin Hodgson.
üst
0053c477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
asyncio-dev.rst
Doc/library/asyncio-dev.rst
+5
-5
No files found.
Doc/library/asyncio-dev.rst
Dosyayı görüntüle @
49199077
...
...
@@ -14,14 +14,14 @@ This page lists common traps and explains how to avoid them.
Debug mode of asyncio
---------------------
The implementation of :mod:`asyncio`
module has been written for performances
.
To development with asyncio, it's required to enable the debug checks to ease
the development of asynchronous code
.
The implementation of :mod:`asyncio`
has been written for performance
.
In order to ease the development of asynchronous code, you may wish to
enable *debug mode*
.
Setup an application to enable all debug checks
:
To enable all debug checks for an application
:
* Enable the asyncio debug mode globally by setting the environment variable
:envvar:`PYTHONASYNCIODEBUG` to ``1``
:envvar:`PYTHONASYNCIODEBUG` to ``1``
, or by calling :meth:`BaseEventLoop.set_debug`.
* Set the log level of the :ref:`asyncio logger <asyncio-logger>` to
:py:data:`logging.DEBUG`. For example, call
``logging.basicConfig(level=logging.DEBUG)`` at startup.
...
...
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