Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32482: Fix suspicious code in tests for syntax and grammar. (#5086) | Serhiy Storchaka | 2018-01-04 | 2 | -8/+7 |
| | |||||
* | Ignore importlib.h for automatic review requests from the import team. (GH-5087) | Brett Cannon | 2018-01-03 | 1 | -2/+7 |
| | | | | Otherwise the import team gets flagged for reviews any time the bytecode for importlib.h changes (e.g new bytecode, optimizations, etc.). | ||||
* | bpo-32452: clarify term 'brackets' in generator tutorial (#5079) | Emily Morehouse | 2018-01-02 | 1 | -3/+3 |
| | | | Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (#5079) | ||||
* | bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (#5078) | Serhiy Storchaka | 2018-01-02 | 1 | -0/+74 |
| | |||||
* | bpo-32416: Add two new tests in test_sys_settrace. (#5072) | Serhiy Storchaka | 2018-01-01 | 1 | -8/+30 |
| | | | Move other test to more proper place. | ||||
* | bpo-32468: Better frame repr() (#5067) | Antoine Pitrou | 2017-12-31 | 3 | -1/+52 |
| | | | | bpo-32468: Better frame repr() | ||||
* | closes bpo-32460: ensure all non-static globals have initializers (#5061) | Benjamin Peterson | 2017-12-31 | 9 | -61/+60 |
| | |||||
* | Add missing backslashes in PCbuild bat files (GH-5056) | Zachary Ware | 2017-12-30 | 3 | -17/+17 |
| | |||||
* | bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid ↵ | Michael Felt | 2017-12-30 | 5 | -6/+88 |
| | | | | | | | | | | | | (RFC4122) (#4974) Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) This patch provides the changes needed for this integration with the OS. On AIX the base function is uuid_create() rather than uuid_generate_time() The AIX uuid_t typedef is more aligned to the UUID field based definition while the Linux typedef that is more aligned with UUID bytes (or perhaps UUID bytes_le) definitions. | ||||
* | bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054) | Yury Selivanov | 2017-12-30 | 1 | -2/+4 |
| | |||||
* | bpo-32248 - Implement importlib.resources (#4911) | Barry Warsaw | 2017-12-30 | 28 | -3/+912 |
| | | | | Port importlib_resources to importlib.resources | ||||
* | bpo-32418: Postfix, raise NotImplementdError and close resources in tests ↵ | Andrew Svetlov | 2017-12-30 | 2 | -5/+22 |
| | | | | (#5052) | ||||
* | bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997) | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2017-12-30 | 5 | -0/+27 |
| | | | | | | * Add abstract get_loop() method to Server, AbstractServer classes. * Add test cases for get_loop() method in Server, AbstractServer classes * Add documentation for get_loop() method | ||||
* | Fix typo (#5049) | Andrew Svetlov | 2017-12-30 | 1 | -1/+1 |
| | |||||
* | bpo-32439: Clean up the code for compiling comparison expressions. (#5029) | Serhiy Storchaka | 2017-12-30 | 1 | -23/+20 |
| | |||||
* | bpo-23749: Implement loop.start_tls() (#5039) | Yury Selivanov | 2017-12-30 | 10 | -54/+580 |
| | |||||
* | return the new file descriptor from os.dup2 (closes bpo-32441) (#5041) | Benjamin Peterson | 2017-12-29 | 5 | -32/+50 |
| | |||||
* | bpo-32427: Expose dataclasses.MISSING object. (#5045) | Eric V. Smith | 2017-12-29 | 2 | -23/+70 |
| | |||||
* | remove unused import (#5040) | Benjamin Peterson | 2017-12-29 | 1 | -1/+0 |
| | |||||
* | make PatternCompiler use the packaged grammar if possible (more bpo-24960) ↵ | Benjamin Peterson | 2017-12-29 | 1 | -7/+7 |
| | | | | (#5034) | ||||
* | bpo-32440: Update the docs URL to https in help() (GH-5030) | oldk | 2017-12-28 | 1 | -1/+1 |
| | | | | In pydoc.py, the reference to Python' documentation was in http. The link has been updated to use https. | ||||
* | Fix minor spelling error in test_sys_settrace.py. (#5025) | gfyoung | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | bpo-32416: Refactor tests for the f_lineno setter and add new tests. (#4991) | Serhiy Storchaka | 2017-12-26 | 1 | -248/+405 |
| | |||||
* | bpo-32259: Make a TypeError message when unpack non-iterable more specific. ↵ | Serhiy Storchaka | 2017-12-26 | 5 | -6/+16 |
| | | | | (#4903) | ||||
* | bpo-26133: Fix typos (#5010) | Andrew Svetlov | 2017-12-26 | 2 | -2/+19 |
| | | | | | | * Fix typos * Change warning text * Add test | ||||
* | bpo-31721: Allow Future._log_traceback to only be set to False (#5009) | Yury Selivanov | 2017-12-25 | 5 | -6/+37 |
| | |||||
* | bpo-32422: Reduce lru_cache memory usage (GH-5008) | INADA Naoki | 2017-12-25 | 2 | -26/+8 |
| | |||||
* | bpo-32363: Disable Task.set_exception() and Task.set_result() (#4923) | Yury Selivanov | 2017-12-25 | 7 | -44/+158 |
| | |||||
* | bpo-32372: Move __debug__ optimization to the AST level. (#4925) | Serhiy Storchaka | 2017-12-25 | 3 | -52/+47 |
| | |||||
* | bpo-29084: Exclude C API for OrderedDict from the limited C API. (#4900) | Serhiy Storchaka | 2017-12-25 | 2 | -4/+3 |
| | |||||
* | bpo-26133: Clear signals list on interpreter finalizing (#5002) | Andrew Svetlov | 2017-12-24 | 1 | -4/+7 |
| | |||||
* | bpo-32402: io: Add missing NULL check. (GH-4971) | INADA Naoki | 2017-12-24 | 1 | -0/+6 |
| | | | | | _PyUnicode_FromId() may return NULL. Reported by coverity scan: CID 1426868, 1426867. | ||||
* | bpo-32415: Fix "error is already set" (#4999) | Yury Selivanov | 2017-12-23 | 2 | -0/+27 |
| | |||||
* | Fix check for run_in_executor on closed loop. (#4996) | Andrew Svetlov | 2017-12-23 | 1 | -3/+7 |
| | |||||
* | bpo-32415: Add more tests (#4995) | Yury Selivanov | 2017-12-23 | 1 | -3/+21 |
| | |||||
* | bpo-32357: Use PySet_GET_SIZE macro in _is_coroutine() from _asynciomodule.c ↵ | Andrew Svetlov | 2017-12-23 | 1 | -1/+1 |
| | | | | (#4990) | ||||
* | bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992) | Yury Selivanov | 2017-12-23 | 9 | -76/+152 |
| | |||||
* | bpo-32357: Fix tests in refleak mode (#4989) | Yury Selivanov | 2017-12-23 | 2 | -23/+32 |
| | |||||
* | bpo-26439: Convert %s in Lib/ctypes/_aix.py to f-strings. (GH-4986) | Mariatta | 2017-12-23 | 2 | -17/+17 |
| | |||||
* | correct wording (#4983) | Benjamin Peterson | 2017-12-23 | 1 | -1/+1 |
| | |||||
* | bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (#4977) | Benjamin Peterson | 2017-12-22 | 5 | -2/+45 |
| | | | | | | This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist. | ||||
* | remove the dynload_next.c file (closes bpo-32386) (#4957) | Benjamin Peterson | 2017-12-22 | 3 | -117/+15 |
| | |||||
* | bpo-29240: Skip test_readline.test_nonascii() (#4968) | Victor Stinner | 2017-12-21 | 1 | -0/+2 |
| | | | | | | Skip the test which fails on FreeBSD with POSIX locale. Skip the test to fix FreeBSD buildbots, until a fix can be found, so the buildbots can catch other regressions. | ||||
* | bpo-20891: Skip test_embed.test_bpo20891() (#4967) | Victor Stinner | 2017-12-21 | 1 | -0/+3 |
| | | | | | | Skip the test failing randomly because of known race condition. Skip the test to fix macOS buildbots until a decision is made on the proper fix for the race condition. | ||||
* | bpo-32030: Add _Py_FindEnvConfigValue() (#4963) | Victor Stinner | 2017-12-21 | 6 | -135/+80 |
| | | | | | | | | | | | | | | | Add a new _Py_FindEnvConfigValue() function: code shared between Windows and Unix implementations of _PyPathConfig_Calculate() to read the pyenv.cfg file. _Py_FindEnvConfigValue() now uses _Py_DecodeUTF8_surrogateescape() instead of using a Python Unicode string, the Python API must not be used early during Python initialization. Same change in Unix search_for_exec_prefix(): use _Py_DecodeUTF8_surrogateescape(). Cleanup also encode_current_locale(): PyMem_RawFree/PyMem_Free can be called with NULL. Fix also "NUL byte" => "NULL byte" typo. | ||||
* | bpo-32030: Add _Py_EncodeLocaleRaw() (#4961) | Victor Stinner | 2017-12-21 | 5 | -41/+101 |
| | | | | | | | | | | | | Replace Py_EncodeLocale() with _Py_EncodeLocaleRaw() in: * _Py_wfopen() * _Py_wreadlink() * _Py_wrealpath() * _Py_wstat() * pymain_open_filename() These functions are called early during Python intialization, only the RAW memory allocator must be used. | ||||
* | bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter ↵ | Andrew Svetlov | 2017-12-21 | 2 | -2/+9 |
| | | | | shutdown (#4956) | ||||
* | bpo-32030: Add _Py_EncodeUTF8_surrogateescape() (#4960) | Victor Stinner | 2017-12-21 | 2 | -38/+93 |
| | | | | | Py_EncodeLocale() now uses _Py_EncodeUTF8_surrogateescape(), instead of using temporary unicode and bytes objects. So Py_EncodeLocale() doesn't use the Python C API anymore. | ||||
* | bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (#4867) | Коренберг Марк | 2017-12-21 | 3 | -4/+17 |
| | |||||
* | Fix trivial typo in pickle.rst (#4955) | Sebastian Pucilowski | 2017-12-21 | 1 | -1/+1 |
| |