summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pre-release machinationsAnthony Baxter2006-08-027-10/+10
|
* Add some explanation about Klocwork and Coverity static analysisNeal Norwitz2006-08-022-0/+48
|
* Patch #1519025 and bug #926423: If a KeyboardInterrupt occurs duringNeal Norwitz2006-08-024-18/+73
| | | | | a socket operation on a socket with a timeout, the exception will be caught correctly. Previously, the exception was not caught.
* Let us know when there was a problem and the child had to kill the parentNeal Norwitz2006-08-021-0/+1
|
* v is already checked for NULL, so just DECREF itNeal Norwitz2006-08-021-1/+1
|
* _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.Neal Norwitz2006-08-024-6/+9
|
* Updated documentation for the script that builds the OSX installer.Ronald Oussoren2006-08-021-6/+38
|
* _Stream.close(): Try to kill struct.pack() warnings whenTim Peters2006-08-021-1/+7
| | | | | | | | | | writing the crc to file on the "PPC64 Debian trunk" buildbot when running test_tarfile. This is again a case where the native zlib crc is an unsigned 32-bit int, but the Python wrapper implicitly casts it to signed C long, so that "the sign bit looks different" on different platforms.
* Prevent memory leak on error.Neal Norwitz2006-08-021-1/+1
| | | | Reported by Klocwork #36
* Try to squash struct.pack warnings on the "amd64 gentoo trunk"Tim Peters2006-08-021-1/+7
| | | | | | | | | | | | | | | | | | | | buildbot (& possibly other 64-bit boxes) during test_gzip. The native zlib crc32 function returns an unsigned 32-bit integer, which the Python wrapper implicitly casts to C long. Therefore the same crc can "look negative" on a 32-bit box but "look positive" on a 64-bit box. This patch papers over that platform difference when writing the crc to file. It may be better to change the Python wrapper, either to make the result "look positive" on all platforms (which means it may have to return a Python long at times on a 32-bit box), or to keep the sign the same across boxes. But that would be a visible change in what users see, while the current hack changes no visible behavior (well, apart from stopping the struct deprecation warning). Note that the module-level write32() function is no longer used.
* Whitespace normalization.Tim Peters2006-08-021-1/+1
|
* This fixes bug #1527397: PythonLauncher runs scripts with the wrong workingRonald Oussoren2006-08-012-3/+29
| | | | | directory. It also fixes a bug where PythonLauncher failed to launch scripts when the scriptname (or the path to the script) contains quotes.
* Make sure the postinstall action that optionally updates the user's profileRonald Oussoren2006-08-011-5/+23
| | | | on MacOS X actually works correctly in all cases.
* Speed up PyType_stgdict and PyObject_stgdict.Thomas Heller2006-08-011-2/+11
|
* os.urandom no longer masks unrelated exceptions like SystemExit orGeorg Brandl2006-08-012-1/+4
| | | | KeyboardInterrupt.
* [Patch #1520905] Attempt to suppress core file created by test_subprocess.py.Andrew M. Kuchling2006-08-011-2/+28
| | | | | | | | | Patch by Douglas Greiman. The test_run_abort() testcase produces a core file on Unix systems, even though the test is successful. This can be confusing or alarming to someone who runs 'make test' and then finds that the Python interpreter apparently crashed.
* Minimal useful docstring for CopyComPointer.Thomas Heller2006-08-011-1/+1
|
* Fix a potential segfault and various potentail refcount leaksThomas Heller2006-08-011-15/+13
| | | | in the cast() function.
* typo fixAndrew M. Kuchling2006-08-011-1/+1
|
* Update list of files; fix a typoAndrew M. Kuchling2006-07-311-3/+2
|
* [Bug #848556] Remove \d* from second alternative to avoid exponential case ↵Andrew M. Kuchling2006-07-311-1/+1
| | | | when repeating match
* [Bug #1514540] Instead of putting the standard types in a section, put them ↵Andrew M. Kuchling2006-07-312-30/+30
| | | | in a chapter of their own. This means string methods will now show up in the ToC. (Should the types come before or after the functions+exceptions+constants chapter? I've put them after, for now.)
* Fix function name.Georg Brandl2006-07-311-1/+1
|
* Remove reference to notationAndrew M. Kuchling2006-07-311-2/+2
|
* Typo fixAndrew M. Kuchling2006-07-311-1/+1
|
* Mention csv newline changesAndrew M. Kuchling2006-07-311-0/+16
|
* Add PyErr_WarnEx()Andrew M. Kuchling2006-07-311-0/+7
|
* Document PyErr_WarnEx. (Bad Neal! No biscuit!)Andrew M. Kuchling2006-07-311-2/+16
| | | | | | | | | Is the explanation of the 'stacklevel' parameter clear? Please feel free to edit it. I don't have LaTeX installed on this machine, so haven't verified that the markup is correct. Will check tonight, or maybe the automatic doc build will tell me.
* Add refcounts for PyErr_WarnExAndrew M. Kuchling2006-07-311-0/+5
|
* minor tweaksSkip Montanaro2006-07-311-1/+1
|
* minor tweaksSkip Montanaro2006-07-311-4/+4
|
* ZipFile.close(): Kill the other struct.pack deprecationTim Peters2006-07-311-1/+1
| | | | | | | | | warning on Windows. Afraid I can't detect a pattern to when the pack formats decide to use a signed or unsigned format code -- appears nearly arbitrary to my eyes. So I left all the pack formats alone and changed the special-case data values instead.
* ZipFile.close(): Killed one of the struct.pack deprecationTim Peters2006-07-311-1/+2
| | | | | | | | | | | warnings on Win32. Also added an XXX about the line: pos3 = self.fp.tell() `pos3` is never referenced, and I have no idea what the code intended to do instead.
* Redo the comment about the 2.5 change in quoted-newline handling.Andrew McNamara2006-07-311-7/+9
|
* Whitespace normalization.Tim Peters2006-07-311-3/+3
|
* Bug #1531349: right <-> left glitch in __rop__ description.Georg Brandl2006-07-301-1/+1
|
* Try to prevent hangs on Tru64/Alpha buildbot. I'm not certain this will helpNeal Norwitz2006-07-301-1/+37
| | | | and may need to be reverted if it causes problems.
* Verify that the signal handlers were really calledNeal Norwitz2006-07-301-0/+12
|
* Add some asserts and update commentsNeal Norwitz2006-07-302-2/+4
|
* Typo fixGeorge Yoshida2006-07-301-1/+1
|
* Rename struct.pack_to to struct.pack_into as changed in revision 46642.George Yoshida2006-07-301-1/+1
|
* Fix makefile changes for python-config.Georg Brandl2006-07-301-2/+2
|
* Drop usage of test -e in configure as it is not portable.Martin v. Löwis2006-07-304-47/+50
| | | | | | Fixes #1439538 Will backport to 2.4 Also regenerate pyconfig.h.in.
* Mention Cygwin in distutils error message about a missing VS 2003.Martin v. Löwis2006-07-302-2/+7
| | | | Fixes #1257728.
* Base __version__ on sys.version_info, as distutils isMartin v. Löwis2006-07-302-2/+5
| | | | no longer maintained separatedly.
* Don't copy directory stat times in shutil.copytree on WindowsMartin v. Löwis2006-07-303-1/+37
| | | | Fixes #1525866.
* Bug #1002398: The documentation for os.path.sameopenfile now correctlyGeorg Brandl2006-07-302-3/+5
| | | | refers to file descriptors, not file objects.
* Clarify that __op__ methods must return NotImplemented if they don't support ↵Georg Brandl2006-07-301-0/+3
| | | | the operation.
* Whitespace normalizationNeal Norwitz2006-07-301-35/+32
|
* Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz2006-07-303-73/+60
| | | | Pass the char* and size around rather than PyObject's.