summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Part of bug #1523610: fix miscalculation of buffer length.Georg Brandl2006-07-263-3/+39
| | | | | Also add a guard against NULL in converttuple and add a test case (that previously would have crashed).
* Bug #1459963: properly capitalize HTTP header names.Georg Brandl2006-07-264-26/+29
|
* NEWS entry for #1525766.Georg Brandl2006-07-261-0/+3
|
* Forward port some fixes that were in email 2.5 but for some reason didn't makeBarry Warsaw2006-07-263-1/+100
| | | | | | | it into email 4.0. Specifically, in Message.get_content_charset(), handle RFC 2231 headers that contain an encoding not known to Python, or a character in the data that isn't in the charset encoding. Also forward port the appropriate unit tests.
* Hmm, only python2.x is installed, not plain python. Did that change recently?Neal Norwitz2006-07-261-0/+4
|
* Whitespace normalization.Tim Peters2006-07-251-3/+3
|
* Fix bug #1517990: IDLE keybindings on OSXRonald Oussoren2006-07-254-2/+64
| | | | | | | This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently.
* Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but notRonald Oussoren2006-07-251-0/+0
| | | | | | | | without causing problems for anyone that is on a case-insensitive filesystem). Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the actual file is named macosmodule.c. This is no problem on the (default) case-insensitive filesystem, but doesn't work on case-sensitive filesystems.
* Install the compatibility symlink to libpython.a on OSX using 'ln -sf' insteadRonald Oussoren2006-07-251-1/+1
| | | | of 'ln -s', this avoid problems when reinstalling python.
* Document the crashers that will not go away soon as "won't fix",Armin Rigo2006-07-252-0/+15
| | | | and explain why.
* Added another crasher, which hit me today (I was not intentionallyArmin Rigo2006-07-251-0/+16
| | | | | writing such code, of course, but it took some gdb time to figure out what my bug was).
* Document why is and is not a good way to fix the gc_inspection crasher.Armin Rigo2006-07-251-0/+15
|
* Fix a bug in the messages for an assert failure where not enough arguments ↵Brett Cannon2006-07-251-2/+2
| | | | | | to a string were being converted in the format.
* Add comment for changes to test_ossaudiodev.Brett Cannon2006-07-251-0/+8
|
* Patch #1525766: correctly pass onerror arg to recursive callsGeorg Brandl2006-07-251-4/+34
| | | | of pkg.walk_packages. Also improve the docstrings.
* Revert incomplete checkin.Martin v. Löwis2006-07-251-2/+0
|
* Bug #978833: Really close underlying socket in _socketobject.close.Martin v. Löwis2006-07-251-0/+2
| | | | Will backport to 2.4.
* Bug #1525817: Don't truncate short lines in IDLE's tool tips.Martin v. Löwis2006-07-252-1/+7
|
* current_frames_with_threads(): There's actually no wayTim Peters2006-07-251-3/+4
| | | | | | | | | | | to guess /which/ line the spawned thread is in at the time sys._current_frames() is called: we know it finished enter_g.set(), but can't know whether the instruction counter has advanced to the following leave_g.wait(). The latter is overwhelming most likely, but not guaranteed, and I see that the "x86 Ubuntu dapper (icc) trunk" buildbot found it on the other line once. Changed the test so it passes in either case.
* Don't use standard assert: want tests to fail even when run with -O.Greg Ward2006-07-251-15/+17
| | | | Delete cruft.
* Whitespace normalization.Tim Peters2006-07-243-10/+10
|
* Repair accidental NameError.Georg Brandl2006-07-241-1/+2
|
* - EditorWindow.test() was failing. Bug 1417598Kurt B. Kaiser2006-07-243-3/+6
| | | | | | M EditorWindow.py M ScriptBinding.py M NEWS.txt
* EditorWindow failed when used stand-alone if sys.ps1 not set.Kurt B. Kaiser2006-07-243-4/+7
| | | | | | | | Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
* Patch #1515343: Fix printing of deprecated string exceptions with aGeorg Brandl2006-07-243-44/+91
| | | | value in the traceback module.
* Patch #1527744: right order of includes in order to have HAVE_CONIO_H ↵Georg Brandl2006-07-241-3/+3
| | | | defined properly.
* Patch #1523356: fix determining include dirs in python-config.Georg Brandl2006-07-242-5/+7
| | | | | | Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.
* Bug #1524310: Properly report errors from FindNextFile in os.listdir.Martin v. Löwis2006-07-242-0/+19
| | | | Will backport to 2.4.
* Patch #1232023: Don't include empty path component from registry,Martin v. Löwis2006-07-242-0/+7
| | | | | so that the current directory does not get added to sys.path. Also fixes #1526785.
* Patch #1448199: Release GIL around ConnectRegistry.Martin v. Löwis2006-07-243-0/+7
|
* Update list of unsupported systems. Fixes #1510853.Martin v. Löwis2006-07-241-13/+25
|
* Resync optparse with Optik 1.5.3: minor tweaks for/to tests.Greg Ward2006-07-234-9/+15
|
* Get mailbox module working on OS/2 EMX port.Andrew MacIntyre2006-07-232-4/+12
|
* bugfix: PyThread_start_new_thread() returns the thread ID, not a flag;Andrew MacIntyre2006-07-231-7/+4
| | | | will backport.
* Build updates for OS/2 EMX portAndrew MacIntyre2006-07-235-251/+404
|
* Fix for bug #1517996: Class and Path browsers show Tk menuRonald Oussoren2006-07-231-0/+76
| | | | | This patch replaces the menubar that is used by AquaTk for windows without a menubar of their own by one that is more appropriate for IDLE.
* Without this patch CMD-W won't close EditorWindows on MacOS X. This solvesRonald Oussoren2006-07-231-0/+3
| | | | part of bug #1517990.
* Ensure we don't write beyond errText. I think I got this right, butNeal Norwitz2006-07-231-10/+19
| | | | | | | | | it definitely could use some review to ensure I'm not off by one and there's no possible overflow/wrap-around of bytes_left. Reported by Klocwork #1. Fix a problem if there is a failure allocating self->db. Found with failmalloc.
* nextlink can be NULL if teedataobject_new fails, so use XINCREF.Neal Norwitz2006-07-231-2/+8
| | | | | | Ensure that dataobj is never NULL. Reported by Klocwork #102
* Fix memory leaks spotted by Klocwork #37.Neal Norwitz2006-07-231-2/+2
|
* Check the allocation of b_objects and return if there was a failure.Neal Norwitz2006-07-231-2/+11
| | | | | | | | | | Also fix a few memory leaks in other failure scenarios. It seems that if b_objects == Py_None, we will have an extra ref to b_objects. Add XXX comment so hopefully someone documents why the else isn't necessary or adds it in. Reported by Klocwork #20
* Move the initialization of size_a down below the check for a being NULL.Neal Norwitz2006-07-231-1/+2
| | | | Reported by Klocwork #106
* If the for loop isn't entered, entryblock will be NULL. If passedNeal Norwitz2006-07-231-0/+2
| | | | | | to stackdepth_walk it will be dereffed. Not sure if I found with failmalloc or Klockwork #55.
* Handle more mem alloc issues found with failmallocNeal Norwitz2006-07-232-1/+5
|
* Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren GuthrieKurt B. Kaiser2006-07-232-1/+3
|
* Be a lot smarter about whether this test passes: instead of assumingGreg Ward2006-07-232-4/+14
| | | | | | | that a 2.93 sec audio file will always take 3.1 sec (as it did on the hardware I had when I first wrote the test), expect that it will take 2.93 sec +/- 10%, and only fail if it's outside of that range. Compute the expected
* Don't fail if the directory already existsNeal Norwitz2006-07-221-1/+2
|
* Fix more memory allocation issues found with failmalloc.Neal Norwitz2006-07-226-36/+74
|
* Remove an XXX marker in a comment.Brett Cannon2006-07-211-1/+1
|
* Fix check for empty list (vs. None).Georg Brandl2006-07-211-1/+1
|