- 24 Jul, 2006 5 commits
-
-
Georg Brandl authored
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.
-
Martin v. Löwis authored
Will backport to 2.4.
-
Martin v. Löwis authored
so that the current directory does not get added to sys.path. Also fixes #1526785.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 23 Jul, 2006 15 commits
-
-
Greg Ward authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
will backport.
-
Andrew MacIntyre authored
-
Ronald Oussoren authored
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.
-
Ronald Oussoren authored
part of bug #1517990.
-
Neal Norwitz authored
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.
-
Neal Norwitz authored
Ensure that dataobj is never NULL. Reported by Klocwork #102
-
Neal Norwitz authored
-
Neal Norwitz authored
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
-
Neal Norwitz authored
Reported by Klocwork #106
-
Neal Norwitz authored
to stackdepth_walk it will be dereffed. Not sure if I found with failmalloc or Klockwork #55.
-
Neal Norwitz authored
-
Kurt B. Kaiser authored
-
Greg Ward authored
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
-
- 22 Jul, 2006 2 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 21 Jul, 2006 8 commits
-
-
Brett Cannon authored
-
Georg Brandl authored
-
Barry Warsaw authored
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.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
Many (all?) of these could be backported.
-
Neal Norwitz authored
that if we call Py_DECREF(frame) like we do if allocating locals fails, frame_dealloc() will try to use these bogus values and crash.
-
Neal Norwitz authored
-
- 20 Jul, 2006 6 commits
-
-
Vinay Sajip authored
Addressed SF#1524081 by using a dictionary to map level names to syslog priority names, rather than a string.lower().
-
Kurt B. Kaiser authored
Patch 1407280 Tal Einat M ParenMatch.py M NEWS.txt M CREDITS.txt
-
Fred Drake authored
-
Vinay Sajip authored
Updated documentation for TimedRotatingFileHandler relating to how rollover files are named. The previous documentation was wrongly the same as for RotatingFileHandler.
-
Georg Brandl authored
-
Phillip J. Eby authored
(There was a problem with empty filenames still causing recursion)
-
- 19 Jul, 2006 3 commits
-
-
Martin v. Löwis authored
r50697: Comments and docs cleanups, and some little fixes per recommendation from Raymond Hettinger.
-
Thomas Heller authored
not defined on Windows, even if that configuration is probably not supported at all.
-
Tim Peters authored
Moved the code for _PyThread_CurrentFrames() up, so it's no longer in a huge "#ifdef WITH_THREAD" block (I didn't realize it /was/ in one). Changed test_sys's test_current_frames() so it passes with or without thread supported compiled in. Note that test_sys fails when Python is compiled without threads, but for an unrelated reason (the old test_exit() fails with an indirect ImportError on the `thread` module). There are also other unrelated compilation failures without threads, in extension modules (like ctypes); at least the core compiles again. Do we really support --without-threads? If so, there are several problems remaining.
-
- 18 Jul, 2006 1 commit
-
-
Tim Peters authored
-