- 11 Tem, 2002 21 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
Bump version number.
-
Barry Warsaw yazdı
type with get_type().
-
Jeremy Hylton yazdı
Bug fix candiadte.
-
Andrew M. Kuchling yazdı
Expand the "Other Language Changes" section Rewrite various passages.
-
Andrew M. Kuchling yazdı
-
Tim Peters yazdı
takes much longer to run in the context of the test suite than when run in isolation. That's because it forces a large number of full collections, which take time proportional to the total number of gc'ed objects in the whole system. But since the dangerous implementation trickery that caused this test to fail in 2.0, 2.1 and 2.2 doesn't exist in 2.3 anymore (the trashcan mechanism stopped doing evil things when the possibility for compiling without cyclic gc was taken away), such an expensive test is no longer justified. This checkin leaves the test intact, but fiddles the constants to reduce the runtime by about a factor of 5.
-
Barry Warsaw yazdı
-
Tim Peters yazdı
-
Jeremy Hylton yazdı
Also, simplify some ref counting for other optional arguments.
-
Tim Peters yazdı
immortal object here as a leak. Made the object mortal again at the end.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
debug-build failure when an instance of a new-style class is resurrected by a __del__ method -- we simply never had any code that tried this. This is already fixed in 2.3 CVS. In 2.2.1, it blows up via Fatal Python error: GC object already in linked list I'll fix it in 2.2.1 CVS next.
-
Tim Peters yazdı
helper macros to something saner, and used them appropriately in other files too, to reduce #ifdef blocks. classobject.c, instance_dealloc(): One of my worst Python Memories is trying to fix this routine a few years ago when COUNT_ALLOCS was defined but Py_TRACE_REFS wasn't. The special-build code here is way too complicated. Now it's much simpler. Difference: in a Py_TRACE_REFS build, the instance is no longer in the doubly-linked list of live objects while its __del__ method is executing, and that may be visible via sys.getobjects() called from a __del__ method. Tough -- the object is presumed dead while its __del__ is executing anyway, and not calling _Py_NewReference() at the start allows enormous code simplification. typeobject.c, call_finalizer(): The special-build instance_dealloc() pain apparently spread to here too via cut-'n-paste, and this is much simpler now too. In addition, I didn't understand why this routine was calling _PyObject_GC_TRACK() after a resurrection, since there's no plausible way _PyObject_GC_UNTRACK() could have been called on the object by this point. I suspect it was left over from pasting the instance_delloc() code. Instead asserted that the object is still tracked. Caution: I suspect we don't have a test that actually exercises the subtype_dealloc() __del__-resurrected-me code.
-
Kurt B. Kaiser yazdı
2. Consolidate Undo code in EditorWindow.EditorWindow 3. Remove Formatting and Run menus from PyShell
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
reconstruct that info. Filled out some sketchy explanations of pragmatics.
-
Tim Peters yazdı
-
- 10 Tem, 2002 7 kayıt (commit)
-
-
Tim Peters yazdı
"special builds" I ever use. If you use others, document them here, or don't be surprised if I rip out the code for them <0.5 wink>.
-
Fred Drake yazdı
Closes SF bug #578308.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
that their uses can be prettier. I've come to despise the names I picked for these things, though, and expect to change all of them -- I changed a bunch of other files to use them (replacing #ifdef blocks), but the names were so obscure out of context that I backed that all out again.
-
Mark Hammond yazdı
-
Tim Peters yazdı
test_others(): httplib failed in two new ways. Blame Thumb Boy <wink>.
-
- 09 Tem, 2002 12 kayıt (commit)
-
-
Jeremy Hylton yazdı
The recent SSL changes resulted in important, but subtle changes to close() semantics. Since builtin socket makefile() is not called for SSL connections, we don't get separately closeable fds for connection and response. Comments in the code explain how to restore makefile semantics. Bug fix candidate.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
Incomplete. Add to it! Once it settles down, it would make a nice appendix in the real docs.
-
Tim Peters yazdı
Py_TRACE_REFS build, but wasn't referenced.
-
Barry Warsaw yazdı
.splitlines() on them, since they may be Header instances. test_multilingual(), test_header_ctor_default_args(): New tests of make_header() and that Header can take all default arguments.
-
Barry Warsaw yazdı
create a Header instance. Closes feature request #539481. Header.__init__(): Allow the initial string to be omitted. __eq__(), __ne__(): Support rich comparisons for equality of Header instances withy Header instances or strings. Also, update a bunch of docstrings.
-
Thomas Heller yazdı
-
Fred Drake yazdı
Closes SF bug #513666.
-
Fred Drake yazdı
-