- 10 Apr, 2016 4 commits
-
-
Martin Panter authored
-
Martin Panter authored
Remove redundant tests now that str is unicode.
-
Martin Panter authored
This eliminates a few redundant test cases.
-
Martin Panter authored
-
- 09 Apr, 2016 13 commits
-
-
Martin Panter authored
-
Martin Panter authored
* No longer attempts to close already freed socket file descriptor * Use socket object to be compatible with Windows * Do not use a timeout to avoid complication with non-blocking mode * Use internal localhost server rather than depending on a third party * Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data
-
Martin Panter authored
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26716. IOError is a deprecated alias to OSError since Python 3.3.
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
Patch by Giampaolo Rodola'.
-
Berker Peksag authored
Patch by Giampaolo Rodola'.
-
Martin Panter authored
-
Berker Peksag authored
Patch by Geoff Wilson.
-
Berker Peksag authored
Patch by Geoff Wilson.
-
Berker Peksag authored
-
- 08 Apr, 2016 10 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
directories. Thanks to Wolfgang Langner for the bug report and initial version of the patch.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
typing.ContextManager.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Martin Panter authored
-
- 06 Apr, 2016 9 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Steve Dower authored
-
Steve Dower authored
-
Serhiy Storchaka authored
Exceptions raised during converting argument of correct type are no longer overridded with TypeError. Some error messages are now more detailed.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Martin Panter authored
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon.
-
- 05 Apr, 2016 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
https://github.com/python/typingGuido van Rossum authored
This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though).
-