Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-27181: Add statistics.geometric_mean() (GH-12638) | Raymond Hettinger | 2019-04-07 | 5 | -1/+132 |
| | |||||
* | bpo-35936: Updates to modulefinder (GH-11787) | Brandt Bucher | 2019-04-07 | 6 | -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) | Xtreak | 2019-04-07 | 1 | -0/+13 |
| | |||||
* | bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635) | CAM Gerlach | 2019-04-07 | 3 | -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 Behnel | 2019-04-06 | 1 | -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 Naoki | 2019-04-06 | 2 | -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 Marakasov | 2019-04-06 | 1 | -0/+3 |
| | |||||
* | Fix doc for create_subprocess_exec (GH-12598) | Dima Tisnek | 2019-04-05 | 1 | -1/+1 |
| | | | Add missing `program` argument to asyncio.create_subprocess_exec documentation. | ||||
* | bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406) | Zackery Spytz | 2019-04-05 | 4 | -0/+25 |
| | |||||
* | bpo-29202: improve dict iteration (GH-11900) | Cheryl Sabella | 2019-04-05 | 1 | -9/+6 |
| | | | Use fewer iterations instead of iterating over the whole entry table. | ||||
* | bpo-36301: Fix _PyPreConfig_Read() compiler warning (GH-12695) | Victor Stinner | 2019-04-05 | 1 | -4/+5 |
| | | | Initialize init_utf8_mode earlier to fix a compiler warning. | ||||
* | bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning ↵ | Inada Naoki | 2019-04-05 | 2 | -5/+13 |
| | | | | (GH-12505) | ||||
* | Tools/importbench: Fix a misplaced stderr= (GH-12690) | Anthony Sottile | 2019-04-05 | 1 | -2/+2 |
| | |||||
* | Fix duplicated test case for re. (GH-12662) | MakDon | 2019-04-04 | 1 | -1/+1 |
| | |||||
* | bpo-36522: Print all values for headers with multiple values. (GH-12681) | Matt Houglum | 2019-04-04 | 3 | -4/+7 |
| | |||||
* | bpo-36440: include node names in ParserError messages, instead of numeric ↵ | tyomitch | 2019-04-03 | 3 | -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) ↵ | Slam | 2019-04-02 | 1 | -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-02 | 1 | -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 Demeyer | 2019-04-02 | 4 | -9/+29 |
| | |||||
* | bpo-36504: Fix signed integer overflow in _ctypes.c's PyCArrayType_new(). ↵ | Zackery Spytz | 2019-04-02 | 3 | -1/+8 |
| | | | | (GH-12660) | ||||
* | bpo-36473: add maximum iteration check for dict .values() and .items() ↵ | Thomas Perl | 2019-04-02 | 3 | -2/+36 |
| | | | | (GH-12619) | ||||
* | bpo-35838: document optionxform must be idempotent (GH-12656) | Inada Naoki | 2019-04-02 | 1 | -0/+6 |
| | |||||
* | fix confusing argument name in unicodeobject.c (GH-12653) | Max Bernstein | 2019-04-02 | 1 | -2/+2 |
| | |||||
* | bpo-36377: Specify that range() can not be compared (GH-12468) | Emmanuel Arias | 2019-04-02 | 1 | -12/+11 |
| | |||||
* | bpo-13120: fix typo with test_issue13120() method name (GH-12250) | Daniel Hahler | 2019-04-01 | 1 | -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 Dower | 2019-04-01 | 1 | -0/+4 |
| | |||||
* | bpo-36157:Document PyInterpreterState_Main() (GH-12238) | Joannah Nanjekye | 2019-04-01 | 2 | -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 Larsen | 2019-04-01 | 1 | -2/+2 |
| | | | Research and fix by @bradlarsen. | ||||
* | bpo-20844: open script file with "rb" mode (GH-12616) | Inada Naoki | 2019-04-01 | 4 | -1/+24 |
| | |||||
* | bpo-36026: make descr error message consistent (GH-11930) | Inada Naoki | 2019-04-01 | 2 | -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 Storchaka | 2019-04-01 | 22 | -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 Spytz | 2019-03-31 | 1 | -4/+5 |
| | | | | PyCData_reduce(). (GH-12106) | ||||
* | bpo-35947: Fix a compiler warning in _ctypes.c's ↵ | Zackery Spytz | 2019-03-31 | 1 | -1/+1 |
| | | | | StructUnionType_paramfunc(). (GH-12629) | ||||
* | bpo-36085: Add installer check for KB2533625 (GH-12636) | Steve Dower | 2019-03-31 | 4 | -11/+34 |
| | |||||
* | bpo-36085: Add additional load flag to ensure DLL loads successfully (GH-12633) | Steve Dower | 2019-03-31 | 1 | -1/+2 |
| | |||||
* | bpo-36010: Add venv to the nuget distribution (GH-12367) | Paul Moore | 2019-03-30 | 3 | -2/+11 |
| | |||||
* | bpo-36384: Remove check for leading zeroes in IPv4 addresses (GH-12577) | Joel Croteau | 2019-03-30 | 3 | -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 Coghlan | 2019-03-30 | 1 | -0/+1 |
| | |||||
* | bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) | Serhiy Storchaka | 2019-03-30 | 27 | -258/+248 |
| | |||||
* | bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) | Serhiy Storchaka | 2019-03-30 | 5 | -228/+226 |
| | |||||
* | bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) | Serhiy Storchaka | 2019-03-30 | 3 | -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 Storchaka | 2019-03-30 | 3 | -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 Naoki | 2019-03-30 | 1 | -0/+6 |
| | |||||
* | github: assign @methane to dict owner (GH-12617) | Inada Naoki | 2019-03-30 | 1 | -0/+1 |
| | |||||
* | bpo-36085: Enable better DLL resolution on Windows (GH-12302) | Steve Dower | 2019-03-29 | 12 | -22/+492 |
| | |||||
* | bpo-35947: Update Windows to the current version of libffi (GH-11797) | Paul Monson | 2019-03-29 | 24 | -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 Demeyer | 2019-03-29 | 1 | -2/+2 |
| | |||||
* | bpo-36471: Add _Py_RunMain() (GH-12618) | Victor Stinner | 2019-03-29 | 5 | -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 Izbyshev | 2019-03-29 | 1 | -18/+20 |
| | |||||
* | bpo-36064: Clarify allowed data types for urllib.request.Request. (GH-11990) | Julien Palard | 2019-03-29 | 1 | -2/+2 |
| |