Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Forward port some fixes that were in email 2.5 but for some reason didn't make | Barry Warsaw | 2006-07-26 | 3 | -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 Norwitz | 2006-07-26 | 1 | -0/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-07-25 | 1 | -3/+3 |
| | |||||
* | Fix bug #1517990: IDLE keybindings on OSX | Ronald Oussoren | 2006-07-25 | 4 | -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 not | Ronald Oussoren | 2006-07-25 | 1 | -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' instead | Ronald Oussoren | 2006-07-25 | 1 | -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 Rigo | 2006-07-25 | 2 | -0/+15 |
| | | | | and explain why. | ||||
* | Added another crasher, which hit me today (I was not intentionally | Armin Rigo | 2006-07-25 | 1 | -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 Rigo | 2006-07-25 | 1 | -0/+15 |
| | |||||
* | Fix a bug in the messages for an assert failure where not enough arguments ↵ | Brett Cannon | 2006-07-25 | 1 | -2/+2 |
| | | | | | | to a string were being converted in the format. | ||||
* | Add comment for changes to test_ossaudiodev. | Brett Cannon | 2006-07-25 | 1 | -0/+8 |
| | |||||
* | Patch #1525766: correctly pass onerror arg to recursive calls | Georg Brandl | 2006-07-25 | 1 | -4/+34 |
| | | | | of pkg.walk_packages. Also improve the docstrings. | ||||
* | Revert incomplete checkin. | Martin v. Löwis | 2006-07-25 | 1 | -2/+0 |
| | |||||
* | Bug #978833: Really close underlying socket in _socketobject.close. | Martin v. Löwis | 2006-07-25 | 1 | -0/+2 |
| | | | | Will backport to 2.4. | ||||
* | Bug #1525817: Don't truncate short lines in IDLE's tool tips. | Martin v. Löwis | 2006-07-25 | 2 | -1/+7 |
| | |||||
* | current_frames_with_threads(): There's actually no way | Tim Peters | 2006-07-25 | 1 | -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 Ward | 2006-07-25 | 1 | -15/+17 |
| | | | | Delete cruft. | ||||
* | Whitespace normalization. | Tim Peters | 2006-07-24 | 3 | -10/+10 |
| | |||||
* | Repair accidental NameError. | Georg Brandl | 2006-07-24 | 1 | -1/+2 |
| | |||||
* | - EditorWindow.test() was failing. Bug 1417598 | Kurt B. Kaiser | 2006-07-24 | 3 | -3/+6 |
| | | | | | | M EditorWindow.py M ScriptBinding.py M NEWS.txt | ||||
* | EditorWindow failed when used stand-alone if sys.ps1 not set. | Kurt B. Kaiser | 2006-07-24 | 3 | -4/+7 |
| | | | | | | | | Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt | ||||
* | Patch #1515343: Fix printing of deprecated string exceptions with a | Georg Brandl | 2006-07-24 | 3 | -44/+91 |
| | | | | value in the traceback module. | ||||
* | Patch #1527744: right order of includes in order to have HAVE_CONIO_H ↵ | Georg Brandl | 2006-07-24 | 1 | -3/+3 |
| | | | | defined properly. | ||||
* | Patch #1523356: fix determining include dirs in python-config. | Georg Brandl | 2006-07-24 | 2 | -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öwis | 2006-07-24 | 2 | -0/+19 |
| | | | | Will backport to 2.4. | ||||
* | Patch #1232023: Don't include empty path component from registry, | Martin v. Löwis | 2006-07-24 | 2 | -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öwis | 2006-07-24 | 3 | -0/+7 |
| | |||||
* | Update list of unsupported systems. Fixes #1510853. | Martin v. Löwis | 2006-07-24 | 1 | -13/+25 |
| | |||||
* | Resync optparse with Optik 1.5.3: minor tweaks for/to tests. | Greg Ward | 2006-07-23 | 4 | -9/+15 |
| | |||||
* | Get mailbox module working on OS/2 EMX port. | Andrew MacIntyre | 2006-07-23 | 2 | -4/+12 |
| | |||||
* | bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; | Andrew MacIntyre | 2006-07-23 | 1 | -7/+4 |
| | | | | will backport. | ||||
* | Build updates for OS/2 EMX port | Andrew MacIntyre | 2006-07-23 | 5 | -251/+404 |
| | |||||
* | Fix for bug #1517996: Class and Path browsers show Tk menu | Ronald Oussoren | 2006-07-23 | 1 | -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 solves | Ronald Oussoren | 2006-07-23 | 1 | -0/+3 |
| | | | | part of bug #1517990. | ||||
* | Ensure we don't write beyond errText. I think I got this right, but | Neal Norwitz | 2006-07-23 | 1 | -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 Norwitz | 2006-07-23 | 1 | -2/+8 |
| | | | | | | Ensure that dataobj is never NULL. Reported by Klocwork #102 | ||||
* | Fix memory leaks spotted by Klocwork #37. | Neal Norwitz | 2006-07-23 | 1 | -2/+2 |
| | |||||
* | Check the allocation of b_objects and return if there was a failure. | Neal Norwitz | 2006-07-23 | 1 | -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 Norwitz | 2006-07-23 | 1 | -1/+2 |
| | | | | Reported by Klocwork #106 | ||||
* | If the for loop isn't entered, entryblock will be NULL. If passed | Neal Norwitz | 2006-07-23 | 1 | -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 failmalloc | Neal Norwitz | 2006-07-23 | 2 | -1/+5 |
| | |||||
* | Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie | Kurt B. Kaiser | 2006-07-23 | 2 | -1/+3 |
| | |||||
* | Be a lot smarter about whether this test passes: instead of assuming | Greg Ward | 2006-07-23 | 2 | -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 exists | Neal Norwitz | 2006-07-22 | 1 | -1/+2 |
| | |||||
* | Fix more memory allocation issues found with failmalloc. | Neal Norwitz | 2006-07-22 | 6 | -36/+74 |
| | |||||
* | Remove an XXX marker in a comment. | Brett Cannon | 2006-07-21 | 1 | -1/+1 |
| | |||||
* | Fix check for empty list (vs. None). | Georg Brandl | 2006-07-21 | 1 | -1/+1 |
| | |||||
* | More RFC 2231 improvements for the email 4.0 package. As Mark Sapiro rightly | Barry Warsaw | 2006-07-21 | 5 | -42/+299 |
| | | | | | | | | | | | | | | | | | | | | | | | | points out there are really two types of continued headers defined in this RFC (i.e. "encoded" parameters with the form "name*0*=" and unencoded parameters with the form "name*0="), but we were were handling them both the same way and that isn't correct. This patch should be much more RFC compliant in that only encoded params are %-decoded and the charset/language information is only extract if there are any encoded params in the segments. If there are no encoded params then the RFC says that there will be no charset/language parts. Note however that this will change the return value for Message.get_param() in some cases. For example, whereas before if you had all unencoded param continuations you would have still gotten a 3-tuple back from this method (with charset and language == None), you will now get just a string. I don't believe this is a backward incompatible change though because the documentation for this method already indicates that either return value is possible and that you must do an isinstance(val, tuple) check to discriminate between the two. (Yeah that API kind of sucks but we can't change /that/ without breaking code.) Test cases, some documentation updates, and a NEWS item accompany this patch. | ||||
* | Handle more memory allocation failures without crashing. | Neal Norwitz | 2006-07-21 | 5 | -8/+38 |
| | |||||
* | Speel initialise write. Tanks Anthony. | Neal Norwitz | 2006-07-21 | 1 | -1/+1 |
| |