- 10 Eki, 2001 9 kayıt (commit)
-
-
Skip Montanaro yazdı
value, so the programmer will have to catch OverflowError. I'm not sure what /F's perspective is on this. Perhaps it should be caught and mapped to an xmlrpclib-specific exception. None of the other type-specific dump methods seem to do any exception handling though.
-
Guido van Rossum yazdı
-
Tim Peters yazdı
We have 5 implementations of walk(), and 5 different docstrings. Combined 'em. Let's see how long it takes before they're all different again!
-
Jeremy Hylton yazdı
In SSL_dealloc(), free/dealloc them only if they're non-NULL. Fixes some obvious core dumps, but not sure yet if there are more semantics to the SSL calls that would affect the dealloc.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
XXX [1] These changes aren't tested very thoroughly, because regrtest doesn't do any SSL tests. I've done some trivial tests on my own, but don't really know how to use the key and cert files. In one case, an SSL-level error causes Python to dump core. I'll get the fixed in the next round of changes. XXX [2] The checkin removes the x_attr member of the SSLObject struct. I'm not sure if this is kosher for backwards compatibility at the binary level. Perhaps its safer to keep the member but keep it assigned to NULL. And the leaks? newSSLObject() called PyDict_New(), stored the result in x_attr without checking it, and later stored NULL in x_attr without doing anything to the dict. So the dict always leaks. There is no further reference to x_attr, so I just removed it completely. The error cases in newSSLObject() passed the return value of PyString_FromString() directly to PyErr_SetObject(). PyErr_SetObject() expects a borrowed reference, so the string leaked.
-
Jeremy Hylton yazdı
PyString_Check() had already succeeded.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
The behavior of co_varnames in the presence of nested argument tuples is not consistent across Python and Jython. Test each platform separately.
-
- 09 Eki, 2001 31 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
overriding the console writer.
-
Tim Peters yazdı
-
Tim Peters yazdı
not disabled file-extension registration, arrange for .py and .pyw files to have an "Edit with IDLE" context (right-click) menu entry, selecting which executes IDLE w/ the -e switch followed by the selected file's path.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
call, or via setting an instance or class vrbl. Rewrote the calibration docs. Modern boxes are so friggin' fast, and a profiler event does so much work anyway, that the cost of looking up an instance vrbl (the bias constant) per profile event just isn't a big deal.
-
Guido van Rossum yazdı
previous embarrassment (typeobject.c checking crashing minidom).
-
Guido van Rossum yazdı
function, which caused test_minidom to fail. Fixed this.
-
Barry Warsaw yazdı
Rewritten for style and the email package naming conventions by Barry.
-
Guido van Rossum yazdı
the problem that slots weren't inherited properly. override_slots() no longer exists; in its place comes fixup_slot_dispatchers() which does more and different work and is table-based. (Eventually I want this table also to replace all the little tab_foo tables.) Also add a wrapper for __delslice__; this required a change in test_descrtut.py.
-
Barry Warsaw yazdı
-
Fred Drake yazdı
changes in the implementation. Indented all descriptions consistently.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
tests in test_email.py).
-
Barry Warsaw yazdı
Anthony Baxter.
-
Fred Drake yazdı
functions to include information about how they affect the operation of those functions when used as the "mode" parameter. This closes SF bug #468384. Added warnings to the os.tempnam() and os.tmpnam() functions regarding their security problem. These warning mirror the warnings added to the runtime by Skip Montanaro.
-
Fred Drake yazdı
-
Jeremy Hylton yazdı
When checking for strings use, ! if isinstance(uri, (types.StringType, types.UnicodeType)): Also get rid of some dodgy code that tried to guess whether attributes were callable or not.
-
Barry Warsaw yazdı
message with multiple CC: fields, used in the get_all() test.
-
Barry Warsaw yazdı
Fix that, and also make the docstring describe failobj.
-
Barry Warsaw yazdı
set_reuse_addr() that does the setsockopt fiddling. Use it instead.
-
Fred Drake yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
without the Py_TPFLAGS_CHECKTYPES flag) in the wrappers. This required a few changes in test_descr.py to cope with the fact that the complex type has __int__, __long__ and __float__ methods that always raise an exception.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
actual run of the profiler, instead of timing a simplified simulation of part of what the profiler does. It computes a constant about 60% higher on my Win98SE box than the old method, and the new constant appears much more realistic. Deleted the undocumented simple(), instrumented(), and profiler_simulation() methods (which existed only to support the previous calibration method).
-