- 04 Aug, 2006 1 commit
-
-
Neal Norwitz authored
str(exception) raised an exception.
-
- 03 Aug, 2006 1 commit
-
-
Anthony Baxter authored
-
- 02 Aug, 2006 15 commits
-
-
Tim Peters authored
-
Martin v. Löwis authored
for stream decoder, but final=True for the decode function.
-
Thomas Heller authored
-
Thomas Heller authored
Document that using the wrong calling convention can also raise 'ValueError: Procedure called with the wrong number of arguments'.
-
Anthony Baxter authored
-
Neal Norwitz authored
-
Neal Norwitz authored
a socket operation on a socket with a timeout, the exception will be caught correctly. Previously, the exception was not caught.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Ronald Oussoren authored
-
Tim Peters authored
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.
-
Neal Norwitz authored
Reported by Klocwork #36
-
Tim Peters authored
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.
-
Tim Peters authored
-
- 01 Aug, 2006 8 commits
-
-
Ronald Oussoren authored
directory. It also fixes a bug where PythonLauncher failed to launch scripts when the scriptname (or the path to the script) contains quotes.
-
Ronald Oussoren authored
on MacOS X actually works correctly in all cases.
-
Thomas Heller authored
-
Georg Brandl authored
KeyboardInterrupt.
-
Andrew M. Kuchling authored
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.
-
Thomas Heller authored
-
Thomas Heller authored
in the cast() function.
-
Andrew M. Kuchling authored
-
- 31 Jul, 2006 15 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Bug #1514540] Instead of putting the standard types in a section, put them 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.)
-
Georg Brandl authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Tim Peters authored
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.
-
Tim Peters authored
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.
-
Andrew McNamara authored
-