Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26822: itemgetter, attrgetter and methodcaller objects no longer | Serhiy Storchaka | 2016-04-23 | 1 | -0/+9 |
| | | | | silently ignore keyword arguments. | ||||
* | Issue #26733: Disassembling a class now disassembles class and static methods. | Serhiy Storchaka | 2016-04-23 | 1 | -2/+50 |
| | | | | Patch by Xiang Zhang. | ||||
* | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -1/+1 |
| | |||||
* | Backport test_gdb fix for s390x buildbots | Victor Stinner | 2016-04-19 | 1 | -17/+7 |
| | |||||
* | Fix shutil.get_terminal_size() error handling | Victor Stinner | 2016-04-19 | 1 | -0/+2 |
| | | | | | | | | Issue #26801: Fix error handling in shutil.get_terminal_size(), catch AttributeError instead of NameError. Patch written by Emanuel Barry. test_shutil: skip the functional test using "stty size" command if os.get_terminal_size() is missing. | ||||
* | Replace assert statements with self.assertXxx() calls | Zachary Ware | 2016-04-19 | 1 | -280/+304 |
| | | | | Sync with upstream, see github.com/python/typing/pull/205 | ||||
* | Issue #24838: Fix test_tarfile.py for non-utf8 filesystem encodings. | Lars Gustäbel | 2016-04-19 | 1 | -2/+2 |
| | |||||
* | Issue #24838: tarfile's ustar and gnu formats now correctly calculate name and | Lars Gustäbel | 2016-04-19 | 1 | -5/+82 |
| | | | | link field limits for multibyte character encodings like utf-8. | ||||
* | typing.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. ↵ | Guido van Rossum | 2016-04-18 | 1 | -0/+6 |
| | | | | github.com/python/typing/pull/201. | ||||
* | Fix test_asyncio.test_timeout_disable() | Victor Stinner | 2016-04-18 | 1 | -1/+3 |
| | | | | | | | | | | | Issue #26777: Fix random failing of the test on the "AMD64 FreeBSD 9.x 3.5" buildbot: File ".../Lib/test/test_asyncio/test_tasks.py", line 2398, in go self.assertTrue(0.09 < dt < 0.11, dt) AssertionError: False is not true : 0.11902812402695417 Replace "< 0.11" with "< 0.15". | ||||
* | Issue #26657: Fix Windows directory traversal vulnerability with http.server | Martin Panter | 2016-04-18 | 1 | -0/+19 |
| | | | | | Based on patch by Philipp Hagemeister. This fixes a regression caused by revision f4377699fd47. | ||||
* | Sync test_typing.py with upstream git repo (typing.py was already synced). | Guido van Rossum | 2016-04-18 | 1 | -0/+20 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 9 | -9/+9 |
| | |||||
* | Issue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8 | Martin Panter | 2016-04-17 | 1 | -0/+24 |
| | | | | Patch by Anthony Sottile. | ||||
* | Issue #26782: Acknowledge the incomplete status of __all__ in 3.5 | Martin Panter | 2016-04-16 | 1 | -1/+2 |
| | | | | | Handle is probably meant to be excluded, and STARTUPINFO will be added to __all__ in 3.6. | ||||
* | test_support -> support | Benjamin Peterson | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | add gc support to slice (closes #26659) | Benjamin Peterson | 2016-04-16 | 1 | -3/+14 |
| | |||||
* | Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes. | Serhiy Storchaka | 2016-04-16 | 1 | -1/+1 |
| | | | | Patch by Aviv Palivoda. | ||||
* | issue26775 - Improve test coverage for urllib.parse | Senthil Kumaran | 2016-04-16 | 1 | -2/+53 |
| | | | | Patch contributed by Luiz Poleto. | ||||
* | Issue #10838: Run test__all__() everywhere, even if poll() is not available | Martin Panter | 2016-04-16 | 1 | -15/+14 |
| | |||||
* | Fix typos in code comments and documentation | Martin Panter | 2016-04-16 | 1 | -2/+2 |
| | |||||
* | Issue #26764: Bacported tests for bytes formatting. | Serhiy Storchaka | 2016-04-15 | 1 | -26/+11 |
| | |||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 5 | -6/+6 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue26748: Enum classes should evaluate as True | Ethan Furman | 2016-04-14 | 1 | -0/+13 |
|\ | |||||
| * | Issue26748: Enum classes should evaluate as True | Ethan Furman | 2016-04-14 | 1 | -0/+13 |
| | | |||||
* | | Issue #26718: super.__init__ no longer leaks memory if called multiple times. | Serhiy Storchaka | 2016-04-13 | 1 | -0/+9 |
| | | | | | | | | NOTE: A direct call of super.__init__ is not endorsed! | ||||
* | | Issue #26647: Fix typo in test_grammar | Victor Stinner | 2016-04-12 | 1 | -1/+1 |
| | | | | | | | | Patch written by Demur Rumed. | ||||
* | | Issue #26733: Fixed formatting line numbers in test_dis. | Serhiy Storchaka | 2016-04-12 | 1 | -11/+11 |
| | | | | | | | | Based on patch by Xiang Zhang. | ||||
* | | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 1 | -4/+23 |
| | | | | | | | | error handler for stdin and stdout. | ||||
* | | Remove relics of str8 (became bytes) and buffer (bytearray) type tests | Martin Panter | 2016-04-10 | 1 | -33/+0 |
| | | | | | | | | Remove redundant tests now that str is unicode. | ||||
* | | Issue #26712: Unify (r)split, (l/r)strip tests into string_tests | Martin Panter | 2016-04-10 | 3 | -96/+35 |
| | | | | | | | | This eliminates a few redundant test cases. | ||||
* | | Issue #21069: Move test_fileno() from test_urllibnet and rewrite it | Martin Panter | 2016-04-09 | 2 | -11/+41 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | | Issue #26609: Fix HTTP server tests to request an absolute URL path | Martin Panter | 2016-04-09 | 1 | -12/+29 |
| | | |||||
* | | Issue #26709: Fixed Y2038 problem in loading binary PLists. | Serhiy Storchaka | 2016-04-08 | 1 | -0/+9 |
| | | |||||
* | | Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest | Martin Panter | 2016-04-06 | 4 | -229/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Many changes from the upstream repo (https://github.com/python/typing). | Guido van Rossum | 2016-04-05 | 1 | -27/+129 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | Fix typos in documentation and comments | Martin Panter | 2016-04-05 | 1 | -5/+5 |
| | | |||||
* | | Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang | Martin Panter | 2016-04-03 | 1 | -0/+7 |
| | | |||||
* | | asyncio: allow None as wait timeout | Victor Stinner | 2016-04-01 | 1 | -0/+16 |
| | | | | | | | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum. | ||||
* | | Issue #22854: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | | |||||
* | | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | | |||||
* | | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 1 | -11/+105 |
| | | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | | Issue #26492: Added additional tests for exhausted iterators of mutable ↵ | Serhiy Storchaka | 2016-03-30 | 3 | -0/+24 |
| | | | | | | | | sequences. | ||||
* | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 9 | -0/+55 |
| | | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
* | | test_urllibnet: set timeout on test_fileno() | Victor Stinner | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | Use the default timeout of 30 seconds to avoid blocking forever. | ||||
* | | Issue #26643: Add missing shutil resources to regrtest.py | Victor Stinner | 2016-03-29 | 1 | -0/+1 |
| | | |||||
* | | Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes | Martin Panter | 2016-03-28 | 1 | -1/+8 |
| | | |||||
* | | Issue #26644: Raise ValueError for negative SSLSocket.recv() and read() | Martin Panter | 2016-03-27 | 1 | -0/+11 |
| | | |||||
* | | Issue#26616:Fixed a bug in datetime.astimezone() method. | Alexander Belopolsky | 2016-03-25 | 1 | -0/+8 |
| | | |||||
* | | Issue #25654: | Victor Stinner | 2016-03-25 | 1 | -5/+13 |
| | | | | | | | | | | | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka. |