Commits

Show all
Author Commit Message Labels Comments Date
Martin von Löwis
Prepare for 2.3.7.
Tags
v2.3.7
Branches
2.3
Martin von Löwis
Tag 2.3.7c1.
Branches
2.3
Martin von Löwis
Prepare for 2.3.7c1.
Tags
v2.3.7c1
Branches
2.3
Martin von Löwis
Backport of r61180: Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
Branches
2.3
Martin von Löwis
Revert r52798, r52803, r52824, r54342, as they don't fix security issues.
Branches
2.3
Barry Warsaw
SF patch #1556895; Typo in encoding name in email package. Patch supplied by Guillaume Rousse.
Branches
2.3
Andrew Kuchling
[Jython patch #1599050] Avoid crash when os module lacks fstat()
Branches
2.3
Andrew Kuchling
Jython compatibility fix: if uu.decode() opened its output file, be sure to close it.
Branches
2.3
Andrew Kuchling
Add extra SHA tests
Branches
2.3
Anthony Baxter
Tagging for release of Python 2.3.6
Branches
2.3
Anthony Baxter
update patchlevel.h correctly, this time
Tags
v2.3.6
Branches
2.3
Anthony Baxter
updates for 2.3.6 final
Branches
2.3
Anthony Baxter
Tagging for release of Python 2.3.6c1
Branches
2.3
Anthony Baxter
set svn:ignore. anal retentiveness, makes it easier to spot actual problems
Tags
v2.3.6c1
Branches
2.3
Anthony Baxter
preparing for 2.3.6c1
Branches
2.3
Anthony Baxter
patch for PSF-2006-001.
Branches
2.3
Barry Warsaw
Fix the tests to work with Python 2.1, which email 2.5 must do.
Branches
2.3
Barry Warsaw
Back port r50693 and r50754 from the trunk (and 2.4 branch): decode_rfc2231(): Be more robust against buggy RFC 2231 encodings. Specifically, instead of raising a ValueError when there is a single tick in the parameter, simply return that the entire string unquoted, with None for both the charset and the language. Also, if there are more than 2 ticks in the parameter, interpret the first three parts as the standard RFC 2231 parts, then the rest of the part…
Branches
2.3
Barry Warsaw
Back port from 2.4 branch: Patch #1464708 from William McVey: fixed handling of nested comments in mail addresses. E.g. "Foo ((Foo Bar)) <foo@example.com>" Fixes for both rfc822.py and email package.
Branches
2.3
Barry Warsaw
Resolve SF bug 1409403: email.Message should supress warning from uu.decode. However, the patch in that tracker item is elaborated such that the newly included unit test pass on Python 2.1 through 2.5. Note that Python 2.1's uu.decode() does not have a 'quiet' argument, so we have to be sneaky. Will port to email 3.0 (although without the backward compatible sneakiness).
Branches
2.3
Barry Warsaw
Patches to address SF bugs 1409538 (Japanese codecs in CODEC_MAP) and 1409455 (.set_payload() gives bad .get_payload() results). Specific changes include: Simplfy the default CODEC_MAP in Charset.py to not include the Japanese and Korean codecs. The names of the codecs are different depending on whether you're using Python 2.4 and 2.5, which include the codecs by default, or earlier Python's which provide the codecs under different names as a third party library. Now, we attempt to discover which (if either) is available and populate the CODEC_MAP…
Branches
2.3
Barry Warsaw
Resolves SF bug #1423972.
Branches
2.3
Barry Warsaw
parsedate_tz(): Return a 1 in the tm_yday field so that the value is acceptable to Python 2.4's time.strftime(). This fix mirrors the behavior in email 3.0. That field is documented as being "not useable" so it might as well not be buggy too <wink>. Add a test for this behavior and update a few tests that were expecting a 0 in this field. After committing I will run the entire Python 2.3 test suite to ensure this doesn't break any Python tests.
Branches
2.3
Barry Warsaw
Updated docs for email.Message.get_filename()
Branches
2.3
Barry Warsaw
SF bug #1403349 solution for email 2.5; some MUAs use the 'file' parameter name in the Content-Distribution header, so Message.get_filename() should fall back to using that. Will port both to email 3.0 and Python 2.5 trunk. Also, bump the email package version to 2.5.7 for eventual release. Of course, add a test case too. XXX Need to update the documentation.
Branches
2.3
Andrew Kuchling
Begin 2.3.6 news section; record PCRE fix
Branches
2.3
Andrew Kuchling
For reference, add tests for PCRE fix; the tests aren't run by default because I wanted to minimize upheaval to the 2.3 test suite
Branches
2.3
Andrew Kuchling
Apply fix for potential heap overflow in PCRE code (CAN-2005-2491)
Branches
2.3
Andrew Kuchling
[Bug #1194249] Fix duplicate assignment in example code
Branches
2.3
Barry Warsaw
get_filename(), get_content_charset(): It's possible that the charset named in an RFC 2231-style header could be bogus or unknown to Python. In that case, we return the the text part of the parameter undecoded. However, in get_content_charset(), if that is not ascii, then it is an illegal charset and so we return failobj. Test cases and a version bump are included. Committing this to the Python 2.3 branch because I need to generate an email 2.5.6 release that contains these patches. I will port these fixes to Python 2.4 and 2.5 for email 3.x.
Branches
2.3
  1. Prev
  2. Next