Antoine Pitrou
|
c69c9bc24b
|
Replace an overly optimistic assert() in _PyGC_CollectNoFail with a simple guard.
|
2013-08-15 20:15:15 +02:00 |
|
Antoine Pitrou
|
257cf2fb83
|
In _PyGC_Fini(), lose the reference that was kept to the time module
|
2013-08-06 20:50:48 +02:00 |
|
Antoine Pitrou
|
796564c27b
|
Issue #18112: PEP 442 implementation (safe object finalization).
|
2013-07-30 19:59:21 +02:00 |
|
Victor Stinner
|
5d1866c78a
|
Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitems
is negative
|
2013-07-08 22:17:52 +02:00 |
|
Victor Stinner
|
c1eb26cd2f
|
gcmodule.c: strip trailing spaces
|
2013-07-08 22:15:05 +02:00 |
|
Antoine Pitrou
|
fef34e3186
|
Issue #17937: Try harder to collect cyclic garbage at shutdown.
|
2013-05-19 01:11:58 +02:00 |
|
Antoine Pitrou
|
9396356948
|
Backout c89febab4648 following private feedback by Guido.
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
|
2013-05-14 20:37:52 +02:00 |
|
Antoine Pitrou
|
04e70d19e7
|
Issue #17807: Generators can now be finalized even when they are part of a reference cycle.
|
2013-05-08 18:12:35 +02:00 |
|
Antoine Pitrou
|
070cb3c9be
|
Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable.
(should fix Windows buildbot failures on test_gc)
|
2013-05-08 13:23:25 +02:00 |
|
Antoine Pitrou
|
5f454a07a0
|
Issue #1545463: Global variables caught in reference cycles are now garbage-collected at shutdown.
|
2013-05-06 21:15:57 +02:00 |
|
Antoine Pitrou
|
d4156c1693
|
Issue #16351: New function gc.get_stats() returns per-generation collection statistics.
|
2012-10-30 22:43:19 +01:00 |
|
Antoine Pitrou
|
1cfe7d9a84
|
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.
|
2012-05-28 22:23:42 +02:00 |
|
Antoine Pitrou
|
e1ad3dac3d
|
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.
|
2012-05-28 22:22:34 +02:00 |
|
Kristján Valur Jónsson
|
69c635266e
|
Issue #10576: Add a progress callback to gcmodule
|
2012-04-15 11:41:32 +00:00 |
|
Kristján Valur Jónsson
|
e638513856
|
Remove unused variable from gcmodule.c. The code no longer tests for the
presence of a __del__ attribute on objects, rather it uses the tp_del slot.
|
2012-04-08 13:56:25 +00:00 |
|
Antoine Pitrou
|
093ce9cd8c
|
Issue #6695: Full garbage collection runs now clear the freelist of set objects.
Initial patch by Matthias Troffaes.
|
2011-12-16 11:24:27 +01:00 |
|
Antoine Pitrou
|
9a812cbc89
|
Issue #13389: Full garbage collection passes now clear the freelists for
list and dict objects. They already cleared other freelists in the
interpreter.
|
2011-11-15 00:00:12 +01:00 |
|
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
2011-10-14 10:20:37 +02:00 |
|
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
|
Victor Stinner
|
499dfcf29d
|
Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of
PyOS_snprintf().
|
2011-03-21 13:26:24 +01:00 |
|
Antoine Pitrou
|
23683ef26d
|
Issue #10333: Remove ancient GC API, which has been deprecated since
Python 2.2.
|
2011-01-04 00:00:31 +00:00 |
|
Antoine Pitrou
|
b5d8204f0f
|
Issue #10279: fix test_gc under Win64.
|
2010-11-05 00:05:25 +00:00 |
|
Georg Brandl
|
08be72d0aa
|
Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default,
except when configured --with-pydebug.
Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
|
2010-10-24 15:11:22 +00:00 |
|
Antoine Pitrou
|
2ed94eb520
|
Do not print additional shutdown message when gc.DEBUG_SAVEALL is set
|
2010-09-14 09:48:39 +00:00 |
|
Antoine Pitrou
|
696e03553b
|
Issue #477863: Print a warning at shutdown if gc.garbage is not empty.
|
2010-08-08 22:18:46 +00:00 |
|