| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fd.o #23831: make sure to ref types passed to PyModule_AddObject | Simon McVittie | 2010-12-02 | 1 | -0/+1 |
| | | | | | | | | This avoids these static types wrongly being deallocated. Python implements static types as having one initial reference, which is never meant to be released, but if you get your refcounting wrong they'll be "deallocated" (causing a crash) during Py_Finalize. | ||||
| * | Use Py_CLEAR for greater robustness | Simon McVittie | 2010-12-02 | 1 | -2/+2 |
| | | |||||
| * | Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵ | Simon McVittie | 2007-09-27 | 1 | -15/+18 |
| | | | | | removing all references to the LGPL as a result | ||||
| * | Actually commit the numerous copyright-statement changes. | Simon McVittie | 2007-02-07 | 1 | -8/+8 |
| | | |||||
| * | Fix memory leak where Struct, _LongBase, _StrBase, String leaked their ↵ | Simon McVittie | 2007-02-07 | 1 | -44/+31 |
| | | | | | | | | | | | | | | | __dict__ on deallocation. * Use a fixed-size struct for String (unicode objects are in fact fixed-size) and store its variant_level that way. * Don't store Struct, _LongBase, _StrBase variant_level and Struct signature in a __dict__, but instead have a global dict mapping object IDs to variant levels, and a global dict mapping Struct IDs to signatures. This is a bit strange, but easier than correctly freeing the __dict__ (which is stored at the end of a variable-length struct, so somewhat hard to get at). * With this change, allocating objects in a loop no longer leaks memory, and neither does the test case supplied by Luka Renko. | ||||
| * | Close a couple of reference leaks in String (there's another somewhere, but ↵ | Simon McVittie | 2007-02-05 | 1 | -8/+22 |
| | | | | | I can't find it) | ||||
| * | dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵ | Simon McVittie | 2007-01-25 | 1 | -2/+0 |
| | | | | | lines in license statement | ||||
| * | bytes.c, string.c: Don't mention get_object_by_unique_name in docstrings, it ↵ | Simon McVittie | 2007-01-16 | 1 | -1/+1 |
| | | | | | no longer exists | ||||
| * | Improve docstrings for String and UTF8String explaining how to get ↵ | Simon McVittie | 2007-01-09 | 1 | -0/+26 |
| | | | | | UTF8String from the API. | ||||
| * | Improve various type docstrings | Simon McVittie | 2006-12-21 | 1 | -10/+15 |
| | | |||||
| * | Separate out remaining types (abstract, bytes, containers, int, float, ↵ | Simon McVittie | 2006-12-11 | 1 | -0/+347 |
| signature, string) into separate translation units | |||||
