- 18 Feb, 2003 22 commits
-
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
reasons: importing module can fail, or the attribute lookup module.name can fail. We were giving the same error msg for both cases, making it needlessly hard to guess what went wrong. These cases give different error msgs now.
-
Tim Peters authored
-
Guido van Rossum authored
using super() for an instance in a metaclass situation. Because the class was a metaclass, the instance was a class, and hence the PyType_Check() branch was taken. But this branch didn't apply. Make it so that if this branch doesn't apply, the other branch is still tried. All tests pass.
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Tim Peters authored
the AIX problem with this test.
-
Guido van Rossum authored
tp_as_number directly.
-
Guido van Rossum authored
now have tp_as_number. Check for nb_int or nb_float.
-
Guido van Rossum authored
Change fatal errors during module initialization into RuntimeErrors.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Jeremy Hylton authored
There are some problems with this module, but the tool works for simple tasks and no one else has volunteered a better code coverage tool. Should cleanup and document before the beta release.
-
Neal Norwitz authored
Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
-
Jack Jansen authored
arguments, and also does the right thing for the no argument case.
-
Jack Jansen authored
wouldn't serve a useful purpose anyway.
-
Neal Norwitz authored
Use "l" as that *probably* makes more sense (at least to me it does :-) And the test passes on the alpha.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
porting section
-
- 17 Feb, 2003 16 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
import from test.test_support instead of directly from test_support.
-
Kurt B. Kaiser authored
M PyShell.py M ScriptBinding.py M rpc.py M run.py Clean up the way IDLEfork handles termination of the subprocess, restore ability to interrupt user code in Windows (so long as it's doing terminal I/O). 1. Handle subprocess interrupts in Windows with an RPC message. 2. Run/F5 will restart the subprocess even if user code is running. 3. Restart the subprocess if the link is dropped. 4. Exit IDLE cleanly even during I/O. 4. In rpc.py, remove explicit calls to statelock, let the condition variable handle acquire() and release().
-
Neal Norwitz authored
-
Marc-André Lemburg authored
Remove the usage of PyErr_WarnExplicit() since this could cause sensitive information from the source files to appear in e.g. log files.
-
Neal Norwitz authored
use METH_NOARGS instead
-
Neal Norwitz authored
Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead
-
Neal Norwitz authored
Fix off-by-1 error in normalize_line_endings(): when *p == '\0' the NUL was copied into q and q was auto-incremented, the loop was broken out of, then a newline was appended followed by a NUL. So the function, in effect, was strcpy() but added two extra chars which was caught by obmalloc in debug mode, since there was only room for 1 additional newline. Get test working under regrtest (added test_main).
-
Jack Jansen authored
"copy anything to a data fork based resource file" trick of macresource. Fixes #688007.
-
Jack Jansen authored
-
Neal Norwitz authored
There was no test_main() and the main body was protected by if __name__ == '__main__' so the test didn't happen on import either.
-
Michael W. Hudson authored
at least, what I thought the intent was).
-
Jack Jansen authored
- Better messages in case of a crash of the install-test script
-
Andrew MacIntyre authored
move definition of platform dependent path related variables from os.py to platform dependent path modules (ntpath, etc).
-
Andrew MacIntyre authored
- 'os2' references in ntpath.py relate to the VACPP port, not the EMX port; - the VACPP port uses the same defpath as all other ntpath.py supported platforms except 'ce'.
-
- 16 Feb, 2003 2 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-