summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-27181: Add statistics.geometric_mean() (GH-12638)Raymond Hettinger2019-04-075-1/+132
|
* bpo-35936: Updates to modulefinder (GH-11787)Brandt Bucher2019-04-076-16/+116
| | | | | | | | | | | | | | | | | | | * Properly handle SyntaxErrors in Python source files. SyntaxErrors in the target module will rise normally, while SyntaxErrors in dependencies will be added to badmodules. This includes a new regression test. * Fix name collision bug. This fixes an issue where a "fromlist" import with the same name as a previously failed import would be incorrectly added to badmodules. This includes a new regression test. * Replace mutable default values. Bound empty lists have been replaced with the "if param is None" idiom. * Replace deprecated imp usage. Constants imported from imp have been moved to private module-level constants, and ModuleFinder.find_module has been refactored to use importlib. Other than an improvement on how frozen builtin imports are reported (as the frozen imports they are, rather than the stdlib modules they *may* have originated from), these changes maintain complete compatibility with past versions... including odd behavior for returning relative (below current directory, but not a C extension) vs. absolute (above current directory, or a C extension) paths. Patch by Brandt Bucher.
* bpo-35726: Add test for QueueHandler with multiple handlers (GH-11659)Xtreak2019-04-071-0/+13
|
* bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635)CAM Gerlach2019-04-073-12/+22
| | | | The shutil archive creation helpers use the default tarfile format, so that API is also switching to use `pax` by default.
* bpo-9883: Update list of unimplemented interfaces in minidom. (GH-12677)Stefan Behnel2019-04-061-14/+0
| | | | Remove names from the "unimplemented interfaces" list in the minidom docs that are actually implemented.
* bpo-36050: optimize HTTPResponse.read() (GH-12698)Inada Naoki2019-04-062-32/+12
| | | | * No need to chunking for now. * No need to partial read caused by EINTR for now.
* bpo-36527: silence -Wunused-parameter warnings in object.h (GH-12688)Dmitry Marakasov2019-04-061-0/+3
|
* Fix doc for create_subprocess_exec (GH-12598)Dima Tisnek2019-04-051-1/+1
| | | Add missing `program` argument to asyncio.create_subprocess_exec documentation.
* bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406)Zackery Spytz2019-04-054-0/+25
|
* bpo-29202: improve dict iteration (GH-11900)Cheryl Sabella2019-04-051-9/+6
| | | Use fewer iterations instead of iterating over the whole entry table.
* bpo-36301: Fix _PyPreConfig_Read() compiler warning (GH-12695)Victor Stinner2019-04-051-4/+5
| | | Initialize init_utf8_mode earlier to fix a compiler warning.
* bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning ↵Inada Naoki2019-04-052-5/+13
| | | | (GH-12505)
* Tools/importbench: Fix a misplaced stderr= (GH-12690)Anthony Sottile2019-04-051-2/+2
|
* Fix duplicated test case for re. (GH-12662)MakDon2019-04-041-1/+1
|
* bpo-36522: Print all values for headers with multiple values. (GH-12681)Matt Houglum2019-04-043-4/+7
|
* bpo-36440: include node names in ParserError messages, instead of numeric ↵tyomitch2019-04-033-6/+29
| | | | | IDs (GH-12565) The error messages in the parser module are referring to numeric IDs for the nodes. To improve readability, use the node names when reporting errors.
* Have UserDict.__init__() implicitly check for updating w/ bool(kwargs) ↵Slam2019-04-021-1/+1
| | | | | instead of len() (GH-12139) Semantically the same, but more idiomatic by checking against `kwargs` instead of `len(kwargs)`.
* bpo-32413: Add documentation that at the module level, locals(), globals() ↵Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2019-04-021-1/+2
| | | | | are the same dictionary (GH-5004) https://bugs.python.org/issue32413
* bpo-33261: guard access to __code__ attribute in inspect (GH-6448)Jeroen Demeyer2019-04-024-9/+29
|
* bpo-36504: Fix signed integer overflow in _ctypes.c's PyCArrayType_new(). ↵Zackery Spytz2019-04-023-1/+8
| | | | (GH-12660)
* bpo-36473: add maximum iteration check for dict .values() and .items() ↵Thomas Perl2019-04-023-2/+36
| | | | (GH-12619)
* bpo-35838: document optionxform must be idempotent (GH-12656)Inada Naoki2019-04-021-0/+6
|
* fix confusing argument name in unicodeobject.c (GH-12653)Max Bernstein2019-04-021-2/+2
|
* bpo-36377: Specify that range() can not be compared (GH-12468)Emmanuel Arias2019-04-021-12/+11
|
* bpo-13120: fix typo with test_issue13120() method name (GH-12250)Daniel Hahler2019-04-011-3/+3
| | | | | | Incorrect issue number '13210' added in 539ee5da6f. https://bugs.python.org/issue13120
* Temporary workaround for an ACL issue on Ubuntu on Azure Pipelines (GH-12649)Steve Dower2019-04-011-0/+4
|
* bpo-36157:Document PyInterpreterState_Main() (GH-12238)Joannah Nanjekye2019-04-012-0/+6
| | | | | | | I have added documentation for `PyInterpreterState_Main()`. I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` . https://bugs.python.org/issue36157
* bpo-36495: Fix two out-of-bounds array reads (GH-12641)Brad Larsen2019-04-011-2/+2
| | | Research and fix by @bradlarsen.
* bpo-20844: open script file with "rb" mode (GH-12616)Inada Naoki2019-04-014-1/+24
|
* bpo-36026: make descr error message consistent (GH-11930)Inada Naoki2019-04-012-16/+41
| | | | set.add(0) and set.add.__get__(0) now raise TypeError with same error message.
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-0122-21/+457
| | | | | | | | | | | | | | | | | | | | | | Deprecated passing the following arguments as keyword arguments: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer. - "obj" in weakref.finalize(). Also allowed to pass arbitrary keyword arguments (even "self" and "func") if the above arguments are passed as positional argument.
* bpo-36150: Fix possible assertion failures due to _ctypes.c's ↵Zackery Spytz2019-03-311-4/+5
| | | | PyCData_reduce(). (GH-12106)
* bpo-35947: Fix a compiler warning in _ctypes.c's ↵Zackery Spytz2019-03-311-1/+1
| | | | StructUnionType_paramfunc(). (GH-12629)
* bpo-36085: Add installer check for KB2533625 (GH-12636)Steve Dower2019-03-314-11/+34
|
* bpo-36085: Add additional load flag to ensure DLL loads successfully (GH-12633)Steve Dower2019-03-311-1/+2
|
* bpo-36010: Add venv to the nuget distribution (GH-12367)Paul Moore2019-03-303-2/+11
|
* bpo-36384: Remove check for leading zeroes in IPv4 addresses (GH-12577)Joel Croteau2019-03-303-15/+4
| | | | | | | | | Stop rejecting IPv4 octets with leading zeroes as ambiguously octal. Plenty of other tools generate decimal IPv4 octets with leading zeroes, so keeping this check hurts interoperability. Patch by Joel Croteau.
* C API docs: Py_IsInitialized is always safe to call (GH-12630)Nick Coghlan2019-03-301-0/+1
|
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-3027-258/+248
|
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926)Serhiy Storchaka2019-03-305-228/+226
|
* bpo-36434: Properly handle writing errors in ZIP files. (GH-12559)Serhiy Storchaka2019-03-303-41/+82
| | | | | Errors during writing no longer prevent to properly close the ZIP file.
* bpo-24214: Fixed the UTF-8 incremental decoder. (GH-12603)Serhiy Storchaka2019-03-303-0/+14
| | | | The bug occurred when the encoded surrogate character is passed to the incremental decoder in two chunks.
* bpo-17110: doc: add note how to get bytes from sys.argv (GH-12602)Inada Naoki2019-03-301-0/+6
|
* github: assign @methane to dict owner (GH-12617)Inada Naoki2019-03-301-0/+1
|
* bpo-36085: Enable better DLL resolution on Windows (GH-12302)Steve Dower2019-03-2912-22/+492
|
* bpo-35947: Update Windows to the current version of libffi (GH-11797)Paul Monson2019-03-2924-2365/+250
| | | We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
* bpo-36448: mention 'make regen-all' in error message (GH-12585)Jeroen Demeyer2019-03-291-2/+2
|
* bpo-36471: Add _Py_RunMain() (GH-12618)Victor Stinner2019-03-295-114/+152
| | | | | * Add config_read_cmdline() subfunction. Remove _PyCmdline structure. * _PyCoreConfig_Read() now also parses config->argv command line arguments
* bpo-35194: cjkcodec: check the encoded value is not truncated (GH-10432)Alexey Izbyshev2019-03-291-18/+20
|
* bpo-36064: Clarify allowed data types for urllib.request.Request. (GH-11990)Julien Palard2019-03-291-2/+2
|