summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | #12586: Fix a small oversight in the new email policy header setting code.R David Murray2012-05-262-1/+23
| | | | | | | | | | This is a danger of focusing on unit tests: sometimes you forget to do the integration tests.
* | Merged upstream changes.Vinay Sajip2012-05-261-1/+1
|\ \
| * \ Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just ↵Senthil Kumaran2012-05-261-1/+1
| |\ \ | | |/ | | | | | | have ascii in help msg
| | * Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just ↵Senthil Kumaran2012-05-261-1/+1
| | | | | | | | | | | | have ascii in help msg
* | | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-2629-61/+1028
|/ /
* | #12586: add provisional email policy with new header parsing and folding.R David Murray2012-05-2515-116/+6671
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When the new policies are used (and only when the new policies are explicitly used) headers turn into objects that have attributes based on their parsed values, and can be set using objects that encapsulate the values, as well as set directly from unicode strings. The folding algorithm then takes care of encoding unicode where needed, and folding according to the highest level syntactic objects. With this patch only date and time headers are parsed as anything other than unstructured, but that is all the helper methods in the existing API handle. I do plan to add more parsers, and complete the set specified in the RFC before the package becomes stable.
* | #14731: refactor email policy framework.R David Murray2012-05-2513-415/+1163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Added test for namespace package dynamic path updates.Eric V. Smith2012-05-251-0/+45
| |
* | Issue #14548: Make multiprocessing finalizers check pid before runningRichard Oudkerk2012-05-251-3/+9
| | | | | | | | This protects from possibilty of gc running just after fork.
* | Issue #12091: simplify ApplyResult and MapResult with threading.EventRichard Oudkerk2012-05-251-30/+9
| | | | | | | | Patch by Charles-François Natali
* | MergeRichard Oudkerk2012-05-251-1/+2
|\ \ | |/
| * Issue #14881: Allow normal non-main thread to spawn a dummy processRichard Oudkerk2012-05-251-1/+2
| | | | | | | | Fix suggested by Itay Brandes
* | #4841: Fix FileIO constructor to honor closefd when called repeatedlyHynek Schlawack2012-05-251-0/+13
|\ \ | |/ | | | | Patch by Victor Stinner.
| * #4841: Fix FileIO constructor to honor closefd when called repeatedlyHynek Schlawack2012-05-251-0/+13
| | | | | | | | Patch by Victor Stinner.
* | Whitespace cleanup.Eric V. Smith2012-05-251-4/+4
| |
* | issue 14660: Implement PEP 420, namespace packages.Eric V. Smith2012-05-2521-68/+557
| |
* | Issue #14036: return None when port in urlparse cross 65535Senthil Kumaran2012-05-242-0/+8
|\ \ | |/
| * Issue #14036: return None when port in urlparse cross 65535Senthil Kumaran2012-05-242-0/+8
| |
* | Issue #14814: minor improvements as suggested by Hynek SchlawackSandro Tosi2012-05-231-6/+9
| |
* | Issue #14814: improve docstrings and arguments value handling, as per Terry ↵Sandro Tosi2012-05-232-27/+56
| | | | | | | | J. Reedy's comments
* | #14862: Add missing names to os.__all__Petri Lehtinen2012-05-231-2/+9
| |
* | #14885: Make support.skip_unless_xattr check also tempfileHynek Schlawack2012-05-231-10/+18
| | | | | | | | | | | | | | | | | | 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.
* | #14875: merge with 3.2.Ezio Melotti2012-05-211-2/+1
|\ \ | |/
| * #14875: Use float('inf') instead of float('1e66666') in the json module.Ezio Melotti2012-05-211-2/+1
| |
* | Close #14136 by cleaning up the PEP 409 command line test (patch by Ethan ↵Nick Coghlan2012-05-212-52/+20
| | | | | | | | Furman)
* | Close #13585: add contextlib.ExitStack to replace the ill-fated ↵Nick Coghlan2012-05-212-5/+244
| | | | | | | | contextlib.nested API
* | Issue #14814: addition of the ipaddress module (stage 1 - code and tests)Nick Coghlan2012-05-202-0/+3335
| |
* | merge - Fix for issue14426 - buildbots here I comeSenthil Kumaran2012-05-201-1/+1
|\ \ | |/
| * Fix for issue14426 - buildbots here I comeSenthil Kumaran2012-05-201-1/+1
| |
* | Minor change to default lru size. Set default to a power of two.Raymond Hettinger2012-05-201-1/+1
| |
* | Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. ↵Senthil Kumaran2012-05-202-5/+5
|\ \ | |/ | | | | Patch by Federico Reghenzani and Müte Invert
| * Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. ↵Senthil Kumaran2012-05-202-5/+5
| | | | | | | | Patch by Federico Reghenzani and Müte Invert
* | Issue #14849: setup Element data members to be assignable in subclassesEli Bendersky2012-05-201-0/+4
| |
* | Close #14588: added a PEP 3115 compliant dynamic type creation mechanismNick Coghlan2012-05-192-1/+308
| |
* | #14494: Document that absolute imports became default in 3.0 instead of 2.7.Petri Lehtinen2012-05-191-1/+1
|\ \ | |/
| * #14494: Document that absolute imports became default in 3.0 instead of 2.7.Petri Lehtinen2012-05-191-1/+1
| |
* | #14072: merge with 3.2.Ezio Melotti2012-05-192-6/+13
|\ \ | |/
| * #14072: Fix parsing of tel URIs in urlparse by making the check for ports ↵Ezio Melotti2012-05-192-6/+13
| | | | | | | | stricter.
* | #13152: Allow to specify a custom tabsize for expanding tabs in textwrapHynek Schlawack2012-05-192-4/+17
| | | | | | | | Patch by John Feuerstein.
* | merge - Fix Issue14721: Send Content-length: 0 for empty body () in the ↵Senthil Kumaran2012-05-192-1/+29
|\ \ | |/ | | | | http.client requests
| * Fix Issue14721: Send Content-length: 0 for empty body () in the http.client ↵Senthil Kumaran2012-05-192-1/+29
| | | | | | | | requests
* | Issue9374 - Generic parsing of query and fragment portion of urls for any schemeSenthil Kumaran2012-05-192-9/+11
|\ \ | |/
| * Issue9374 - Generic parsing of query and fragment portion of urls for any schemeSenthil Kumaran2012-05-192-9/+11
| |
* | #14798: pyclbr now raises ImportError instead of KeyError for missing packagesPetri Lehtinen2012-05-182-0/+7
|\ \ | |/
| * #14798: pyclbr now raises ImportError instead of KeyError for missing packagesPetri Lehtinen2012-05-182-0/+7
| |
* | Fix whitespaceAntoine Pitrou2012-05-181-1/+0
| |
* | Move private function _args_from_interpreter_flags() to subprocess.py, soAntoine Pitrou2012-05-183-31/+33
| | | | | | | | | | that it can be imported when threads are disabled. (followup to issue #12098)
* | #12098: Make multiprocessing's child processes inherit sys.flags on WindowsRichard Oudkerk2012-05-184-20/+69
| | | | | | | | Initial patch by Sergey Mezentsev.
* | MergeAntoine Pitrou2012-05-171-2/+2
|\ \
| * | Issue #13031: Small speed-up for tarfile when unzipping tarfiles.Ross Lagerwall2012-05-171-2/+2
| | | | | | | | | | | | Patch by Justin Peel.