- 09 Oct, 2001 30 commits
-
-
Jack Jansen authored
overriding the console writer.
-
Tim Peters authored
-
Tim Peters authored
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 authored
-
Tim Peters authored
-
Fred Drake authored
-
Tim Peters authored
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 authored
previous embarrassment (typeobject.c checking crashing minidom).
-
Guido van Rossum authored
function, which caused test_minidom to fail. Fixed this.
-
Barry Warsaw authored
Rewritten for style and the email package naming conventions by Barry.
-
Guido van Rossum authored
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 authored
-
Fred Drake authored
changes in the implementation. Indented all descriptions consistently.
-
Barry Warsaw authored
-
Barry Warsaw authored
tests in test_email.py).
-
Barry Warsaw authored
Anthony Baxter.
-
Fred Drake authored
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 authored
-
Jeremy Hylton authored
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 authored
message with multiple CC: fields, used in the get_all() test.
-
Barry Warsaw authored
Fix that, and also make the docstring describe failobj.
-
Barry Warsaw authored
set_reuse_addr() that does the setsockopt fiddling. Use it instead.
-
Fred Drake authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
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 authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
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).
-
- 08 Oct, 2001 10 commits
-
-
Guido van Rossum authored
-
Jeremy Hylton authored
The strerror attribute contained only partial information about the exception and produced some very confusing error messages. By passing err (the exception object itself) and letting it convert itself to a string, the error messages are better.
-
Fred Drake authored
SF patch #467580.
-
Tim Peters authored
-
Guido van Rossum authored
this type of test fails, vereq() does a better job of reporting than verify(). Change vereq(x, y) to use "not x == y" rather than "x != y" -- it makes a difference is some overloading tests.
-
Fred Drake authored
SF patch #467580.
-
Jack Jansen authored
Mods by Alexandre Parenteau to allow embedding programs to disable the MacPython console window completely, and optionally route console output (and input) to routines provided by the embedding app. Things don't fully work yet, but at least it doesn't break anything.
-
Jack Jansen authored
-
Guido van Rossum authored
is a list of weak references to types (new-style classes). Make this accessible to Python as the function __subclasses__ which returns a list of types -- we don't want Python programmers to be able to manipulate the raw list. In order to make this possible, I also had to add weak reference support to type objects. This will eventually be used together with a trap on attribute assignment for dynamic classes for a major speed-up without losing the dynamic properties of types: when a __foo__ method is added to a class, the class and all its subclasses will get an appropriate tp_foo slot function.
-
Jack Jansen authored
the configure option is really called --disable-toolbox-glue.
-