Commits

Show all
Author Commit Message Labels Comments Date
Guido van Rossum
Fix typo in attribute name (chunk_size should be chunksize) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Steve Purcell
- Typo in message for TestCase.failIfEqual() - Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)
Branches
legacy-trunk
Guido van Rossum
Set the SO_REUSEADDR socket option in the server thread -- this seems needed on some platforms (e.g. Solaris 8) when the test is run twice in quick succession.
Branches
legacy-trunk
Fred Drake
Bump version number and set date.
Branches
legacy-trunk
Guido van Rossum
Remove shared libraries as part of "make clean" rather than in "make clobber". This is done so that after a "make clean", setup.py will also recompile all extensions.
Branches
legacy-trunk
Guido van Rossum
Make one more private symbol static.
Branches
legacy-trunk
Guido van Rossum
Make some private symbols static.
Branches
legacy-trunk
Guido van Rossum
Mark Favas points out that there's an 'self.fp.flush()' call in the 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.
Branches
legacy-trunk
Guido van Rossum
Another ACK.
Branches
legacy-trunk
Guido van Rossum
Pete Shinners discovered that zipfile.ZipFile() is called with mode argument "wb", while the only valid modes are "r", "w" or "a". Fix this by changing the mode to "w".
Branches
legacy-trunk
Eric Raymond
Should resolve [ #416039 ] pstats browser crashes.
Branches
legacy-trunk
Guido van Rossum
Add "import thread" at the top of the module; this prevents us from failing later when Python is compiled without threading but a failing 'threading' module can be imported due to an earlier (caught) attempt.
Branches
legacy-trunk
Guido van Rossum
Add more general warning against the SGI optimizer.
Branches
legacy-trunk
Fred Drake
If the sunaudiodev module is available but we cannot find an audio 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.
Branches
legacy-trunk
Eric Raymond
Import readline when possible to make the commaninterpreter UI nicer.
Branches
legacy-trunk
cvs2svn
This commit was manufactured by cvs2svn to create tag 'r21c1'.
Tags
v2.1c1
Branches
legacy-trunk
Guido van Rossum
Tim convinced me to augment the PSF license with a final clause just like the one in the BeOpen license (and similar to the one in the CNRI license, but with the "click-to-accept" part elided).
Branches
legacy-trunk
Guido van Rossum
Clean up the unsightly mess around the readline header files. We now 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 v…
Branches
legacy-trunk
Fred Drake
Add convenience targets that build all archive types for single formatting versions.
Branches
legacy-trunk
Fred Drake
Michael Hudson: Update docs for PyDict_Next() based on the most recent changes to the dictionary code. This closes SF patch #409864.
Branches
legacy-trunk
Guido van Rossum
I am TENTATIVELY checking in Martin von Loewis's patch for the SSL 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.)
Branches
legacy-trunk
Jeremy Hylton
split long line
Branches
legacy-trunk
Fred Drake
Fixup some platform annotations.
Branches
legacy-trunk
Fred Drake
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
Branches
legacy-trunk
Fred Drake
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
Branches
legacy-trunk
Fred Drake
Added regression test for SF bug #415660 (failure to invalidate all references to an object before calling registered callbacks). Change last uses of verify() to self.assert_().
Branches
legacy-trunk
Fred Drake
cleanup_helper(): Make sure we invalidate all reference objects 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.
Branches
legacy-trunk
Guido van Rossum
Slight adaptation of Michael Hudson's patch to test PyDict_Next() (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.
Branches
legacy-trunk
Guido van Rossum
Fix typo in comment (the module is now called _testcapi, not _test).
Branches
legacy-trunk
Jeremy Hylton
Change error message raised when free variable is not yet bound. It 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.
Branches
legacy-trunk
  1. Prev
  2. Next