- 06 Apr, 2003 4 commits
-
-
Raymond Hettinger authored
mwh pointed out that the error message did not make sense if obtained by rearranging the bases.
-
Raymond Hettinger authored
-
Tim Peters authored
take no arguments; cuts generated code size.
-
Tim Peters authored
externally unreachable objects with finalizers, and externally unreachable objects without finalizers reachable from such objects. This allows us to call has_finalizer() at most once per object, and so limit the pain of nasty getattr hooks. This fixes the failing "boom 2" example Jeremy posted (a non-printing variant of which is now part of test_gc), via never triggering the nasty part of its __getattr__ method.
-
- 05 Apr, 2003 4 commits
-
-
Tim Peters authored
to special-case classic classes, or to worry about refcounts; has_finalizer() deleted the current object iff the first entry in the unreachable list has changed. I don't believe it was correct to check for ob_refcnt == 1, either: the dealloc routine would get called by Py_DECREF then, but there's nothing to stop the dealloc routine from ressurecting the object, and then gc would remain at the head of the unreachable list despite that its refcount temporarily fell to 0 (and that would lead to an infinite loop in move_finalizers()). I'm still worried about has_finalizer() resurrecting other objects in the unreachable list: what's to stop them from getting collected?
-
Tim Peters authored
change (it would be another kind of bug if the trash cycle weren't reclaimed).
-
Tim Peters authored
squashed-together conditional operators; makes it much easier to step thru in the debugger, and to set a breakpoint on the only dangerous path.
-
Tim Peters authored
delstr from initgc() into collect(). initgc() isn't called unless the user explicitly imports gc, so can be used only for initialization of user-visible module features; delstr needs to be initialized for proper internal operation, whether or not gc is explicitly imported. Bugfix candidate? I don't know whether the new bug was backported to 2.2 already.
-
- 04 Apr, 2003 4 commits
-
-
Raymond Hettinger authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
move_finalizers() moves every object from unreachable to collectable or finalizers, unless the object is deallocated first.
-
Greg Ward authored
opening it in non-blocking mode. Both Guido and David Hammerton have reported that this fixes their problems with ossaudiodev -- hooray!
-
- 03 Apr, 2003 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Martin v. Löwis authored
-
- 02 Apr, 2003 3 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
an OverflowError instead of a TypeError to be consistent with "%c" % 256. See SF patch #710127.
-
Barry Warsaw authored
-
- 01 Apr, 2003 7 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
the Standard_Suite, but various other suites do expect it (the Finder implements get() without declaring it itself). It is probably another case of OSA magic. Adding them to the global base class.
-
Jack Jansen authored
-
Jack Jansen authored
within a certain context. Give them an _Prop_ prefix, so they don't accidentally obscure an element from another suite (as happened with the Finder). Comparisons I'm not sure about, so I left them as global names. Also got rid of the lists if declarations, they serve no useful purpose.
-
Jack Jansen authored
-
Jack Jansen authored
- Added a --dump option that doesn't generate the module but dumps the pretty-printed aete resource(s) on stdout.
-
- 31 Mar, 2003 12 commits
-
-
Barry Warsaw authored
-
Walter Dörwald authored
-
Walter Dörwald authored
instead of raising a TypeError. (From SF patch #710127) Add tests to verify this is fixed. Add various tests for '%c' % int.
-
Fred Drake authored
- fix some markup nits
-
Walter Dörwald authored
-
Neal Norwitz authored
configure change is necessary to pass "." to makexp_aix so that dynamic modules work setup change gets curses working
-
Jack Jansen authored
-
Jack Jansen authored
interface.
-
Fred Drake authored
version.
-
Jack Jansen authored
you to say something like "talker.count(want=Address_Book.people)" in stead of having to manually create the aetypes.Type(Address_Book.people.want) OSA type.
-
Jack Jansen authored
and initialize the event loop (if not done previously) to work around a bug (IMHO) in MacOSX 10.2.
-
Jack Jansen authored
-
- 30 Mar, 2003 3 commits
-
-
Jack Jansen authored
the primary name.
-
Jack Jansen authored
be sorted after the main name, otherwise filling of properties and elements messes up. Sorting is always more difficult than expected:-)
-
Neal Norwitz authored
Also remove a few unused variables. Built on IRIX 6.5.
-