- 09 Eyl, 2016 1 kayıt (commit)
-
-
R David Murray yazdı
This is buggy in the old email code as well, but it doesn't affect anything there because only the default line length is ever used there.
-
- 24 Nis, 2016 1 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Jon Dufresne.
-
- 14 Nis, 2015 1 kayıt (commit)
-
-
Berker Peksag yazdı
-
- 23 Tem, 2014 1 kayıt (commit)
-
-
Zachary Ware yazdı
Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery.
-
- 17 Eki, 2013 1 kayıt (commit)
-
-
R David Murray yazdı
This adds EmailMessage and, MIMEPart subclasses of Message with new API methods, and a ContentManager class used by the new methods. Also a new policy setting, content_manager. Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka, and reflects their feedback. I will ideally add some examples of using the new API to the documentation before the final release.
-
- 31 May, 2012 2 kayıt (commit)
-
-
R David Murray yazdı
Thanks to Nick Coghlan for pointing out that I'd forgotten about class decorators.
-
R David Murray yazdı
Or perhaps more hackish, depending on your perspective. But at least this way it is now possible to run the individual tests using the unittest CLI.
-
- 25 May, 2012 2 kayıt (commit)
-
-
R David Murray yazdı
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.
-
R David Murray yazdı
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.
-
- 13 Mar, 2012 1 kayıt (commit)
-
-
R David Murray yazdı
-
- 28 Eyl, 2011 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 18 Nis, 2011 1 kayıt (commit)
-
-
R David Murray yazdı
This new interface will also allow for future planned enhancements in control over the parser/generator without requiring any additional complexity in the parser/generator API. Patch reviewed by Éric Araujo and Barry Warsaw.
-
- 10 Nis, 2011 1 kayıt (commit)
-
-
R David Murray yazdı
Eventually I'll actually replace the calls in the tests themselves.
-
- 31 Mar, 2011 2 kayıt (commit)
-
-
R David Murray yazdı
-
R David Murray yazdı
The split probably won't happen for a while, but I might as well lay the groundwork now since I'll be adding new test modules before too long.
-
- 21 Mar, 2011 2 kayıt (commit)
-
-
R David Murray yazdı
-
R David Murray yazdı
-