- 25 May, 2012 20 commits
-
-
R David Murray authored
-
R David Murray authored
This patch primarily does two things: (1) it adds some internal-interface methods to Policy that allow for Policy to control the parsing and folding of headers in such a way that we can construct a backward compatibility policy that is 100% compatible with the 3.2 API, while allowing a new policy to implement the email6 API. (2) it adds that backward compatibility policy and refactors the test suite so that the only differences between the 3.2 test_email.py file and the 3.3 test_email.py file is some small changes in test framework and the addition of tests for bugs fixed that apply to the 3.2 API. There are some additional teaks, such as moving just the code needed for the compatibility policy into _policybase, so that the library code can import only _policybase. That way the new code that will be added for email6 will only get imported when a non-compatibility policy is imported.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Nick Coghlan authored
-
Eric V. Smith authored
-
Richard Oudkerk authored
This protects from possibilty of gc running just after fork.
-
Richard Oudkerk authored
Patch by Charles-François Natali
-
Richard Oudkerk authored
-
Richard Oudkerk authored
Fix suggested by Itay Brandes
-
Hynek Schlawack authored
Patch by Victor Stinner.
-
Hynek Schlawack authored
Patch by Victor Stinner.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Larry Hastings authored
Previously, if you passed in a bytes object, it would create a whole new object.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Eric V. Smith authored
-
Eric V. Smith authored
-
- 24 May, 2012 4 commits
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
There's no bufsize argument anymore, and os.fdopen() is only a very thin wrapper around open() anymore. Change the documentation to reflect that.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 23 May, 2012 6 commits
-
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Petri Lehtinen authored
-
Florent Xicluna authored
-
Hynek Schlawack authored
There is a rare edge case where the filesystem used by the tempfile functions (usually /tmp) doesn't support xattrs while the one used by TESTFN (the current directory, so likely to be below /home) does. This causes the xattr related test_shutil tests fail. skip_unless_xattr now checks both. I have also added skip_unless_xattr to __all__ where it has been missing.
-
Eli Bendersky authored
-
- 22 May, 2012 8 commits
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Patch by Matej Cepl.
-
Petri Lehtinen authored
Patch by Matej Cepl.
-
Brian Curtin authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
Reverts some changes of d13fdd97cc8e.
-
Nick Coghlan authored
-
Nick Coghlan authored
-
- 21 May, 2012 2 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-