summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix dataclasses docstring typo. (gh-5118)Eric V. Smith2018-01-071-2/+2
|
* Kill the AppVeyor file whitelist (GH-5121)Zachary Ware2018-01-071-17/+0
| | | It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed.
* bpo-32282: Remove unnecessary check for `VersionHelpers.h` in ↵Max Bélanger2018-01-072-10/+2
| | | | `socketmodule.c` on Windows
* bpo-32279: Add additional params to make_dataclass(), pass through to ↵Eric V. Smith2018-01-063-3/+26
| | | | dataclass(). (gh-5117)
* bpo-32278: Allow dataclasses.make_dataclass() to omit type information. ↵Eric V. Smith2018-01-063-6/+30
| | | | (gh-5115)
* bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a ↵Eric V. Smith2018-01-063-22/+36
| | | | dataclass or an instance of one. (#5113)
* bpo-31993: Do not allocate large temporary buffers in pickle dump. (#4353)Olivier Grisel2018-01-066-50/+297
| | | | | | | | | | | | | | | | | The picklers do no longer allocate temporary memory when dumping large bytes and str objects into a file object. Instead the data is directly streamed into the underlying file object. Previously the C implementation would buffer all content and issue a single call to file.write() at the end of the dump. With protocol 4 this behavior has changed to issue one call to file.write() per frame. The Python pickler with protocol 4 now dumps each frame content as a memoryview to an IOBytes instance that is never reused and the memoryview is no longer released after the call to write. This makes it possible for the file object to delay access to the memoryview of previous frames without forcing any additional memory copy as was already possible with the C pickler.
* Cleanup grammar in unittest.mock.seal documentation (#5107)Paul Ganssle2018-01-061-4/+4
|
* bpo-32206: Pdb can now run modules (GH-4752)Mario Corchero2018-01-065-21/+184
| | | | | | | | | | | Add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`. This relies on private APIs in the runpy module to work, but we can get away with that since they're both part of the standard library and can be updated together if the runpy internals get refactored.
* bpo-29137: Remove fpectl module (#4789)Nathaniel J. Smith2018-01-0614-865/+19
| | | | | This module has never been enabled by default, never worked correctly on x86-64, and caused ABI problems that caused C extension compatibility. See bpo-29137 for details/discussion.
* bpo-32390: Fix compilation failure on AIX after f_fsid was added to ↵Michael Felt2018-01-052-0/+7
| | | | os.statvfs() (#4972)
* bpo-31699 Deadlocks in `concurrent.futures.ProcessPoolExecutor` with ↵Thomas Moreau2018-01-055-56/+386
| | | | | | pickling error (#3895) Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors. This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return.
* advance copyright years to 2018 (#5094)Benjamin Peterson2018-01-059-13/+13
|
* bpo-32226: Make __class_getitem__ an automatic class method. (#5098)Serhiy Storchaka2018-01-045-12/+31
|
* bpo-31672: Restore the former behavior when override flags in Template. (#5099)Serhiy Storchaka2018-01-043-11/+21
| | | | Overriding flags to 0 will make the default pattern matching only lower case letters.
* Fix outdated comment in typeobject.c (GH-5090)Berker Peksag2018-01-041-1/+1
| | | | | The comment was added in 3abca127fe1565ec80f6b0a1ae48d65186ad887d. In d78448e912126410117723c7d240bbdfff06df16, it was changed to use PyArg_ParseTuple instead.
* bpo-31778: Make ast.literal_eval() more strict. (#4035)Serhiy Storchaka2018-01-044-24/+55
| | | | Addition and subtraction of arbitrary numbers no longer allowed.
* bpo-32308: Replace empty matches adjacent to a previous non-empty match in ↵Serhiy Storchaka2018-01-046-25/+35
| | | | re.sub(). (#4846)
* 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.