summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32482: Fix suspicious code in tests for syntax and grammar. (#5086)Serhiy Storchaka2018-01-042-8/+7
|
* Ignore importlib.h for automatic review requests from the import team. (GH-5087)Brett Cannon2018-01-031-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 Morehouse2018-01-021-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 Storchaka2018-01-021-0/+74
|
* bpo-32416: Add two new tests in test_sys_settrace. (#5072)Serhiy Storchaka2018-01-011-8/+30
| | | Move other test to more proper place.
* bpo-32468: Better frame repr() (#5067)Antoine Pitrou2017-12-313-1/+52
| | | | bpo-32468: Better frame repr()
* closes bpo-32460: ensure all non-static globals have initializers (#5061)Benjamin Peterson2017-12-319-61/+60
|
* Add missing backslashes in PCbuild bat files (GH-5056)Zachary Ware2017-12-303-17/+17
|
* bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid ↵Michael Felt2017-12-305-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 Selivanov2017-12-301-2/+4
|
* bpo-32248 - Implement importlib.resources (#4911)Barry Warsaw2017-12-3028-3/+912
| | | | Port importlib_resources to importlib.resources
* bpo-32418: Postfix, raise NotImplementdError and close resources in tests ↵Andrew Svetlov2017-12-302-5/+22
| | | | (#5052)
* bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2017-12-305-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 Svetlov2017-12-301-1/+1
|
* bpo-32439: Clean up the code for compiling comparison expressions. (#5029)Serhiy Storchaka2017-12-301-23/+20
|
* bpo-23749: Implement loop.start_tls() (#5039)Yury Selivanov2017-12-3010-54/+580
|
* return the new file descriptor from os.dup2 (closes bpo-32441) (#5041)Benjamin Peterson2017-12-295-32/+50
|
* bpo-32427: Expose dataclasses.MISSING object. (#5045)Eric V. Smith2017-12-292-23/+70
|
* remove unused import (#5040)Benjamin Peterson2017-12-291-1/+0
|
* make PatternCompiler use the packaged grammar if possible (more bpo-24960) ↵Benjamin Peterson2017-12-291-7/+7
| | | | (#5034)
* bpo-32440: Update the docs URL to https in help() (GH-5030)oldk2017-12-281-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)gfyoung2017-12-281-1/+1
|
* bpo-32416: Refactor tests for the f_lineno setter and add new tests. (#4991)Serhiy Storchaka2017-12-261-248/+405
|
* bpo-32259: Make a TypeError message when unpack non-iterable more specific. ↵Serhiy Storchaka2017-12-265-6/+16
| | | | (#4903)
* bpo-26133: Fix typos (#5010)Andrew Svetlov2017-12-262-2/+19
| | | | | | * Fix typos * Change warning text * Add test
* bpo-31721: Allow Future._log_traceback to only be set to False (#5009)Yury Selivanov2017-12-255-6/+37
|
* bpo-32422: Reduce lru_cache memory usage (GH-5008)INADA Naoki2017-12-252-26/+8
|
* bpo-32363: Disable Task.set_exception() and Task.set_result() (#4923)Yury Selivanov2017-12-257-44/+158
|
* bpo-32372: Move __debug__ optimization to the AST level. (#4925)Serhiy Storchaka2017-12-253-52/+47
|
* bpo-29084: Exclude C API for OrderedDict from the limited C API. (#4900)Serhiy Storchaka2017-12-252-4/+3
|
* bpo-26133: Clear signals list on interpreter finalizing (#5002)Andrew Svetlov2017-12-241-4/+7
|
* bpo-32402: io: Add missing NULL check. (GH-4971)INADA Naoki2017-12-241-0/+6
| | | | | _PyUnicode_FromId() may return NULL. Reported by coverity scan: CID 1426868, 1426867.
* bpo-32415: Fix "error is already set" (#4999)Yury Selivanov2017-12-232-0/+27
|
* Fix check for run_in_executor on closed loop. (#4996)Andrew Svetlov2017-12-231-3/+7
|
* bpo-32415: Add more tests (#4995)Yury Selivanov2017-12-231-3/+21
|
* bpo-32357: Use PySet_GET_SIZE macro in _is_coroutine() from _asynciomodule.c ↵Andrew Svetlov2017-12-231-1/+1
| | | | (#4990)
* bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992)Yury Selivanov2017-12-239-76/+152
|
* bpo-32357: Fix tests in refleak mode (#4989)Yury Selivanov2017-12-232-23/+32
|
* bpo-26439: Convert %s in Lib/ctypes/_aix.py to f-strings. (GH-4986)Mariatta2017-12-232-17/+17
|
* correct wording (#4983)Benjamin Peterson2017-12-231-1/+1
|
* bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (#4977)Benjamin Peterson2017-12-225-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 Peterson2017-12-223-117/+15
|
* bpo-29240: Skip test_readline.test_nonascii() (#4968)Victor Stinner2017-12-211-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 Stinner2017-12-211-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 Stinner2017-12-216-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 Stinner2017-12-215-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 Svetlov2017-12-212-2/+9
| | | | shutdown (#4956)
* bpo-32030: Add _Py_EncodeUTF8_surrogateescape() (#4960)Victor Stinner2017-12-212-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-213-4/+17
|
* Fix trivial typo in pickle.rst (#4955)Sebastian Pucilowski2017-12-211-1/+1
|