- 15 Apr, 2001 6 commits
-
-
Guido van Rossum authored
NotImplementedError) found by Neil Norwitz's PyChecker.
-
Guido van Rossum authored
found by Neil Norwitz's PyChecker.
-
Guido van Rossum authored
Neil Norwitz's PyChecker.
-
Guido van Rossum authored
Neil Norwitz's PyChecker.
-
Steve Purcell authored
- Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)
-
Guido van Rossum authored
needed on some platforms (e.g. Solaris 8) when the test is run twice in quick succession.
-
- 14 Apr, 2001 12 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
clobber". This is done so that after a "make clean", setup.py will also recompile all extensions.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
ZipFile.close() method that should be part of the preceding 'if' block. On some platforms (Mark noticed this on FreeBSD 4.2) doing a flush() on a file open for reading is not allowed.
-
Guido van Rossum authored
-
Guido van Rossum authored
argument "wb", while the only valid modes are "r", "w" or "a". Fix this by changing the mode to "w".
-
Eric S. Raymond authored
-
Guido van Rossum authored
failing later when Python is compiled without threading but a failing 'threading' module can be imported due to an earlier (caught) attempt.
-
Guido van Rossum authored
-
Fred Drake authored
device to use, skip this test instead of allowing an error to occur when we attempt to play sound on the absent device. Verified by Mark Favas.
-
Eric S. Raymond authored
-
- 13 Apr, 2001 22 commits
-
-
cvs2svn authored
-
Guido van Rossum authored
like the one in the BeOpen license (and similar to the one in the CNRI license, but with the "click-to-accept" part elided).
-
Guido van Rossum authored
always: - #undef HAVE_CONFIG_H (because otherwise chardefs.h tries to include strings.h) - #include readline.h and history.h and we never declare any readline function prototypes ourselves. This makes it compile with readline 4.2, albeit with a few warnings. Some of the remaining warnings are about completion_matches(), which is renamed to rl_completion_matches(). I've tested it with various other versions, from 2.0 up, and they all seem to work (some with warnings) -- but only on Red Hat Linux 6.2. Fixing the warnings for readline 4.2 would break compatibility with 3.0 (and maybe even earlier versions), and readline doesn't seem to have a way to test for its version at compile time, so I'd rather leave the warnings in than break compilation with older versions.
-
Fred Drake authored
versions.
-
Fred Drake authored
Update docs for PyDict_Next() based on the most recent changes to the dictionary code. This closes SF patch #409864.
-
Guido van Rossum authored
problem reported by Neil Schemenauer on python-dev on 4/12/01, wth subject "Problem with SSL and socketmodule on Debian Potato?". It's tentative because Moshe objected, but Martin rebutted, and Moshe seems unavailable for comments. (Note that with OpenSSL 0.9.6a, I get a lot of compilation warnings for socketmodule.c -- I'm assuming I can safely ignore these until 2.1 is released.)
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
references to an object before calling registered callbacks). Change last uses of verify() to self.assert_().
-
Fred Drake authored
before calling any callbacks. This is important since the callback objects only look at themselves to determine that they are invalide. This change avoids a segfault when callbacks use a different reference to an object in the process of being deallocated. This fixes SF bug #415660.
-
Guido van Rossum authored
(with modification of existing dict elements!). This is part of SF patch #409864: lazy fix for Pings bizarre scoping crash. The adaptation I made to Michael's patch was to change the error handling to avoid masking other errors (moving the specific error message to inside test_dict_inner()), and to insert a test for dict==NULL at the start.
-
Guido van Rossum authored
-
Jeremy Hylton authored
now raises NameError instead of UnboundLocalError, because the var in question is definitely not local. (This affects test_scope.py) Also update the recent fix by Ping using get_func_name(). Replace tests of get_func_name() return value with call to get_func_desc() to match all the other uses.
-
Fred Drake authored
-
Fred Drake authored
Wrap some long lines and fix some markup nits.
-
Guido van Rossum authored
Calling an unbound method on a C extension class without providing an instance can yield a segfault. Try "Exception.__init__()" or "ValueError.__init__()". This is a simple fix. The error-reporting bits in call_method mistakenly treat the misleadingly-named variable "func" as a function, when in fact it is a method. If we let get_func_name take care of the work, all is fine.
-
Ka-Ping Yee authored
-
Guido van Rossum authored
-
Guido van Rossum authored
- Removed the subsection numbering in section B (each time a new license is inserted in the front, the others have to be renumbered). - Changed the words in the intro to avoid implying that 1.6.1 is GPL-compatible.
-
Ka-Ping Yee authored
-