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
d17aba71
Kaydet (Commit)
d17aba71
authored
Ara 24, 2013
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sys.getallocatedblocks + regrtest -R, make coverage-report, SO macro goes away.
üst
061efb17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
3.4.rst
Doc/whatsnew/3.4.rst
+25
-1
No files found.
Doc/whatsnew/3.4.rst
Dosyayı görüntüle @
d17aba71
...
@@ -878,6 +878,17 @@ plain tuple. (Contributed by Claudiu Popa in :issue:`18901`.)
...
@@ -878,6 +878,17 @@ plain tuple. (Contributed by Claudiu Popa in :issue:`18901`.)
:meth:`sunau.open` now supports the context manager protocol (:issue:`18878`).
:meth:`sunau.open` now supports the context manager protocol (:issue:`18878`).
sys
---
New function :func:`sys.getallocatedblocks` returns the current number of
blocks allocated by the interpreter (in CPython with the default
``--with-pymalloc`` setting, this is allocations made through the
:c:func:`PyObject_Malloc` API). This can be useful for tracking memory leaks,
especially if automated via a test suite. (Contributed by Antoine Pitrou
in :issue:`13390`.)
traceback
traceback
---------
---------
...
@@ -1055,6 +1066,17 @@ Other improvements
...
@@ -1055,6 +1066,17 @@ Other improvements
script at the windows command prompt by just typing its name without the
script at the windows command prompt by just typing its name without the
``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)
``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)
* A new ``make`` target `coverage-report
<http://docs.python.org/devguide/coverage.html#measuring-coverage-of-c-code-with-gcov-and-lcov>`_
will build python, run the test suite, and generate an HTML coverage report
for the C codebase using ``gcov`` and `lcov
<http://ltp.sourceforge.net/coverage/lcov.php>`_.
* The ``-R`` option to the :ref:`python regression test suite <regrtest>` now
also checks for memory allocation leaks, using
:func:`sys.getallocatedblocks()`. (Contributed by Antoine Pitrou in
:issue:`13390`).
Optimizations
Optimizations
=============
=============
...
@@ -1141,13 +1163,15 @@ Removed
...
@@ -1141,13 +1163,15 @@ Removed
removed (see the `devguide <http://docs.python.org/devguide>`_
removed (see the `devguide <http://docs.python.org/devguide>`_
for what to use instead).
for what to use instead).
* OS/2 support code has been removed from the source tree and build tools
* OS/2 support code has been removed from the source tree and build tools
(:issue:`16135`).
(:issue:`16135`).
* Windows 2000 support code has been removed from the source tree and build
* Windows 2000 support code has been removed from the source tree and build
tools (changeset e52df05b496a).
tools (changeset e52df05b496a).
* The ``SO`` makefile macro is removed (it was replaced by the
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
Porting to Python 3.4
Porting to Python 3.4
=====================
=====================
...
...
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