summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)Kurt B. Kaiser2006-08-102-0/+5
|
* ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).Kurt B. Kaiser2006-08-092-5/+7
|
* Typo fixAndrew M. Kuchling2006-08-091-1/+1
|
* As a slight enhancement to the previous checkin, improve theKurt B. Kaiser2006-08-091-2/+5
| | | | internal error reporting by moving message to IDLE console.
* 1. When used w/o subprocess, all exceptions were preceeded by an errorKurt B. Kaiser2006-08-093-4/+13
| | | | | | | | | message claiming they were IDLE internal errors (since 1.2a1). 2. Add Ronald Oussoren to CREDITS M NEWS.txt M PyShell.py M CREDITS.txt
* Concatenation on a long string breaks (SF #1526585).Armin Rigo2006-08-093-2/+69
|
* Fix and test for an infinite C recursion.Armin Rigo2006-08-091-0/+4
|
* __hash__ may now return long int; the final hashMartin v. Löwis2006-08-091-0/+9
| | | | | value is obtained by invoking hash on the long int. Fixes #1536021.
* Whitespace normalization.Tim Peters2006-08-091-1/+1
|
* Remove accidently committed, duplicated test.Thomas Heller2006-08-081-2/+0
|
* memcmp() can return values other than -1, 0, and +1 but tp_compareThomas Heller2006-08-081-0/+3
| | | | must not.
* webbrowser: Silence stderr output if no gconftool or gnome browser foundGeorg Brandl2006-08-081-2/+2
|
* test_threading now skips testing alternate thread stack sizes onAndrew MacIntyre2006-08-061-2/+12
| | | | platforms that don't support changing thread stack size.
* Don't produce output in test_builtin.Georg Brandl2006-08-061-2/+2
|
* Bug #1535165: fixed a segfault in input() and raw_input() whenGeorg Brandl2006-08-061-0/+8
| | | | sys.stdin is closed.
* Bug #1535182: really test the xreadlines() method of bz2 objects.Georg Brandl2006-08-061-1/+1
|
* Fix #1530559, struct.pack raises TypeError where it used to convert.Bob Ippolito2006-08-041-26/+69
| | | | | Passing float arguments to struct.pack when integers are expected now triggers a DeprecationWarning.
* Whitespace normalization.Tim Peters2006-08-041-1/+1
|
* Better fix for bug #1531405, not executing str(value) twice.Georg Brandl2006-08-041-7/+3
|
* Change fix for segfaulting property(), add a NEWS entry and a test.Georg Brandl2006-08-041-0/+10
|
* Fix the 'compiler' package to generate correct code for MAKE_CLOSURE.Neil Schemenauer2006-08-042-26/+26
| | | | | | In the 2.5 development cycle, MAKE_CLOSURE as changed to take free variables as a tuple rather than as individual items on the stack. Closes patch #1534084.
* Bug #1333982: string/number constants were inappropriately storedNeal Norwitz2006-08-041-0/+17
| | | | | in the byte code and co_consts even if they were not used, ie immediately popped off the stack.
* Bug #1191458: tracing over for loops now produces a line eventNeal Norwitz2006-08-041-2/+2
| | | | | | | | | | | | on each iteration. I'm not positive this is the best way to handle this. I'm also not sure that there aren't other cases where the lnotab is generated incorrectly. It would be great if people that use pdb or tracing could test heavily. Also: * Remove dead/duplicated code that wasn't used/necessary because we already handled the docstring prior to entering the loop. * add some debugging code into the compiler (#if 0'd out).
* Bug #1531405, format_exception no longer raises an exception ifNeal Norwitz2006-08-042-5/+19
| | | | str(exception) raised an exception.
* Correction of patch #1455898: In the mbcs decoder, set final=FalseMartin v. Löwis2006-08-021-19/+11
| | | | for stream decoder, but final=True for the decode function.
* pre-release machinationsAnthony Baxter2006-08-022-3/+3
|
* Patch #1519025 and bug #926423: If a KeyboardInterrupt occurs duringNeal Norwitz2006-08-021-0/+32
| | | | | 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
|
* _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.
* 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
|
* os.urandom no longer masks unrelated exceptions like SystemExit orGeorg Brandl2006-08-011-1/+1
| | | | 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.
* 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.
* Whitespace normalization.Tim Peters2006-07-311-3/+3
|
* 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
|
* Typo fixGeorge Yoshida2006-07-301-1/+1
|
* Mention Cygwin in distutils error message about a missing VS 2003.Martin v. Löwis2006-07-301-2/+4
| | | | Fixes #1257728.
* Base __version__ on sys.version_info, as distutils isMartin v. Löwis2006-07-301-1/+3
| | | | no longer maintained separatedly.
* Don't copy directory stat times in shutil.copytree on WindowsMartin v. Löwis2006-07-302-1/+34
| | | | Fixes #1525866.
* Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz2006-07-301-2/+7
| | | | Pass the char* and size around rather than PyObject's.
* Patch #1531113: Fix augmented assignment with yield expressions.Neal Norwitz2006-07-301-3/+36
| | | | Also fix a SystemError when trying to assign to yield expressions.
* Whitespace normalization.Tim Peters2006-07-301-3/+3
|
* Minor typo fixesAndrew M. Kuchling2006-07-301-2/+2
|
* Disable test_getnode too, since this is also unreliable.Neal Norwitz2006-07-291-0/+6
|
* If the executable doesn't exist, there's no reason to try to start it.Neal Norwitz2006-07-291-1/+4
| | | | This prevents garbage about command not found being printed on Solaris.
* Disable these tests until they are reliable across platforms.Neal Norwitz2006-07-291-0/+12
| | | | | | | These problems may mask more important, real problems. One or both methods are known to fail on: Solaris, OpenBSD, Debian, Ubuntu. They pass on Windows and some Linux boxes.
* restore test un-intentionally removed in the xmlcore purge (revision 50941)Fred Drake2006-07-291-0/+15
|