Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | bpo-36421: Fix a possible double decref in _ctypes.c's PyCArrayType_new(). ↵ | Zackery Spytz | 2019-03-25 | 2 | -0/+2 | |
| | | | | | | | | | | | | | | (GH-12530) Set type_attr to NULL after the assignment to stgdict->proto (like what is done with stgdict after the Py_SETREF() call) so that it is not decrefed twice on error. | |||||
| * | bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) | Rémi Lapeyre | 2019-03-25 | 3 | -11/+29 | |
| | | ||||||
| * | Fix line ending (GH-12531) | Raymond Hettinger | 2019-03-25 | 1 | -1/+1 | |
| | | ||||||
| * | bpo-36401: Have help() show readonly properties separately (GH-12517) | Raymond Hettinger | 2019-03-24 | 3 | -1/+9 | |
| | | ||||||
| * | bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209) | Louie Lu | 2019-03-24 | 3 | -27/+131 | |
| | | ||||||
| * | bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are ↵ | Lisa Roach | 2019-03-24 | 1 | -10/+31 | |
| | | | | | | | | | | | | namedtuples (GH-4434) | |||||
| * | bpo-36405: IDLE - Restore __main__ and add tests (#12518) | Terry Jan Reedy | 2019-03-24 | 5 | -10/+18 | |
| | | | | | | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka. | |||||
| * | Replace "DOS box" with link to Windows FAQ. (GH-12390) | Ned Deily | 2019-03-24 | 2 | -1/+3 | |
| | | ||||||
| * | bpo-36412: fix a possible crash in dictobject.c's new_dict() (GH-12519) | Zackery Spytz | 2019-03-24 | 2 | -1/+4 | |
| | | ||||||
| * | bpo-32217: Correct usage of ABI tags in freeze. (GH-4719) | AraHaan | 2019-03-23 | 2 | -1/+5 | |
| | | | | | | | | Check for sys.abiflags before using since not all platforms have it defined. | |||||
| * | bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473) | Inada Naoki | 2019-03-23 | 4 | -5/+43 | |
| | | | | | | We will remove int support from 3.10 or 4.0. | |||||
| * | bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203) | Cheryl Sabella | 2019-03-23 | 3 | -45/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tests for grep findfiles. * Move findfiles to module function. * Change findfiles to use os.walk. Based on a patch by Al Sweigart. | |||||
| * | bpo-36301: Add _PyRuntimeState.preconfig (GH-12506) | Victor Stinner | 2019-03-23 | 4 | -0/+36 | |
| | | | | | | | | _PyPreConfig_Write() now writes the applied pre-configuration into _PyRuntimeState.preconfig. | |||||
| * | bpo-36405: Use dict unpacking in idlelib (#12507) | Terry Jan Reedy | 2019-03-23 | 4 | -12/+9 | |
| | | | | | | Remove now unneeded imports. | |||||
| * | bpo-33319: Clarify subprocess call docs. (GH-12508) | Gregory P. Smith | 2019-03-23 | 1 | -12/+13 | |
| | | | | | | | | | | Clarify capturing or suppressing stdout and stderr on the old call APIs. Do not state that they are equivalent to run() calls when they are not implemented using run as that was misleading. Unlike run they cannot handle stdout or stderr being set to PIPE without a risk of deadlock. | |||||
| * | Fix typo in doc for pprint.pp (GH-12500) | Xavier GUIHOT | 2019-03-22 | 1 | -1/+1 | |
| | | ||||||
| * | bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491) | Terry Jan Reedy | 2019-03-22 | 7 | -58/+41 | |
| | | | | | | | | This param was only used once and changed the return type. | |||||
| * | bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found ↵ | Brett Cannon | 2019-03-22 | 3 | -4/+29 | |
| | | | | | | | | | | | | | | | | (GH-12358) Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module. https://bugs.python.org/issue36298 | |||||
| * | bpo-35155: clarify protocol handler method naming (GH-10313) | Denton Liu | 2019-03-22 | 1 | -19/+39 | |
| | | | | | | | | | | | | | | Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol. https://bugs.python.org/issue35155 | |||||
| * | bpo-30670: Add pp function to the pprint module (GH-11769) | Rémi Lapeyre | 2019-03-22 | 5 | -35/+84 | |
| | | ||||||
| * | asyncio: PendingDeprecationWarning -> DeprecationWarning (GH-12494) | Inada Naoki | 2019-03-22 | 3 | -13/+13 | |
| | | | | | | `Task.current_task()` and `Task.all_tasks()` will be removed in 3.9. | |||||
| * | bpo-21269: Provide args and kwargs attributes on mock call objects GH11807 | Kumar Akshay | 2019-03-22 | 5 | -11/+51 | |
| | | ||||||
| * | Raise the timeout in test_multiprocessing_* for slow buildbots (GH-12489) | Pablo Galindo | 2019-03-22 | 1 | -1/+1 | |
| | | ||||||
| * | bpo-35284: Fix the error handling in the compiler's compiler_call(). (GH-10625) | Zackery Spytz | 2019-03-22 | 1 | -2/+5 | |
| | | | | | | | | | | compiler_call() needs to check if an error occurred during the maybe_optimize_method_call() call. | |||||
| * | bpo-36398: Fix a possible crash in structseq_repr(). (GH-12492) | Zackery Spytz | 2019-03-22 | 2 | -1/+2 | |
| | | | | | | | | | | If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter. | |||||
| * | bpo-36256: Fix bug in parsermodule when parsing if statements (GH-12477) | Pablo Galindo | 2019-03-21 | 3 | -5/+23 | |
| | | | | | | | | | | | | bpo-36256: Fix bug in parsermodule when parsing if statements In the parser module, when validating nodes before starting the parsing with to create a ST in "parser_newstobject" there is a problem that appears when two arcs in the same DFA state has transitions with labels with the same type. For example, the DFA for if_stmt has a state with two labels with the same type: "elif" and "else" (type NAME). The algorithm tries one by one the arcs until the label that starts the arc transition has a label with the same type of the current child label we are trying to accept. In this case, the arc for "elif" comes before the arc for "else"and passes this test (because the current child label is "else" and has the same type as "elif"). This lead to expecting a namedexpr_test (305) instead of a colon (11). The solution is to compare also the string representation (in case there is one) of the labels to see if the transition that we have is the correct one. | |||||
| * | Fix registry key for Windows SDK detection (GH-12445) | Isuru Fernando | 2019-03-21 | 1 | -1/+1 | |
| | | ||||||
| * | bpo-35978: Correctly skips venv tests in venvs (GH-12220) | Steve Dower | 2019-03-21 | 2 | -12/+22 | |
| | | | | | | Also fixes venvs from the build directory on Windows. | |||||
| * | bpo-36245: Avoid problems when building in a directory containing spaces. ↵ | Jess | 2019-03-21 | 1 | -3/+3 | |
| | | | | | | | | (GH-12241) | |||||
| * | Fix table formatting in itertools doc (GH-12228) | Benedikt Werner | 2019-03-21 | 1 | -4/+9 | |
| | | ||||||
| * | bpo-36268: Change default tar format to pax from GNU. (GH-12355) | CAM Gerlach | 2019-03-21 | 5 | -10/+30 | |
| | | ||||||
| * | bpo-36385: Add ``elif`` sentence on to avoid multiple ``if`` (GH-12478) | Emmanuel Arias | 2019-03-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | Currently, when arguments on Parser/asdl_c.py are parsed ``ìf`` sentence is used. This PR Propose to use ``elif`` to avoid multiple evaluting of the ifs. https://bugs.python.org/issue36385 | |||||
| * | bpo-36324: NormalDist() add more tests and update comments (GH-12476) | Raymond Hettinger | 2019-03-20 | 1 | -24/+44 | |
| | | | | | | | | | | | | | | * Improve coverage. * Note inherent limitations of the accuracy tests https://bugs.python.org/issue36324 | |||||
| * | bpo-36285: Fix integer overflow in the array module. (GH-12317) | sth | 2019-03-20 | 3 | -4/+146 | |
| | | ||||||
| * | bpo-36312: Fix decoders for some code pages. (GH-12369) | Serhiy Storchaka | 2019-03-20 | 3 | -5/+27 | |
| | | ||||||
| * | bpo-8677: use PY_DWORD_MAX instead of INT_MAX (GH-12469) | Inada Naoki | 2019-03-20 | 1 | -5/+3 | |
| | | ||||||
| * | bpo-8677: use PY_SSIZE_T_CLEAN in PC/winreg.c (GH-12466) | Inada Naoki | 2019-03-20 | 1 | -0/+6 | |
| | | ||||||
| * | bpo-8677: use PY_SSIZE_T_CLEAN in socketmodule.c (GH-12467) | Inada Naoki | 2019-03-20 | 1 | -1/+2 | |
| | | ||||||
| * | bpo-8677: use PY_SSIZE_T_CLEAN in Modules/_gdbmodule.c (GH-12464) | Inada Naoki | 2019-03-20 | 1 | -9/+27 | |
| | | ||||||
| * | bpo-36374: Fix a possible null pointer dereference (GH-12449) | Zackery Spytz | 2019-03-20 | 2 | -1/+3 | |
| | | | | | | https://bugs.python.org/issue36374 | |||||
| * | bpo-36301: Add _PyPreCmdline internal API (GH-12458) | Victor Stinner | 2019-03-20 | 3 | -47/+99 | |
| | | | | | | | | _PyCoreConfig_ReadFromArgv() now reuses the code parsing command line options from preconfig.c. | |||||
| * | bpo-23984: Improve descriptor documentation (GH-1034) | Shubham Aggarwal | 2019-03-19 | 1 | -2/+2 | |
| | | | | | | https://bugs.python.org/issue23984 | |||||
| * | bpo-36356: Fix _PyCoreConfig_Read() (GH-12454) | Victor Stinner | 2019-03-20 | 1 | -23/+32 | |
| | | | | | | Don't override parameters which are already set by the user. | |||||
| * | bpo-36301: Add _PyRuntime.pre_initialized (GH-12457) | Victor Stinner | 2019-03-20 | 6 | -25/+75 | |
| | | | | | | | | | | | | | | | | | | * Add _PyRuntime.pre_initialized: set to 1 when Python is pre-initialized * Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig(). * _PyCoreConfig_Read() now calls _Py_PreInitialize(). * Move _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() calls from main.c to preconfig.c and coreconfig.c. | |||||
| * | bpo-36362: Avoid unused variables when HAVE_DYNAMIC_LOADING is not defined ↵ | Stéphane Wirtel | 2019-03-19 | 1 | -2/+3 | |
| | | | | | | | | | | (GH-12430) https://bugs.python.org/issue36362 | |||||
| * | bpo-36365: Rewrite structseq_repr() using _PyUnicodeWriter (GH-12440) | Victor Stinner | 2019-03-20 | 2 | -58/+69 | |
| | | | | | | | | | | No longer limit repr(structseq) to 512 bytes. Use _PyUnicodeWriter for better performance and to write directly Unicode rather than encoding repr() value to UTF-8 and then decoding from UTF-8. | |||||
| * | bpo-35388: Fix _PyRuntime_Finalize() (GH-12443) | Victor Stinner | 2019-03-20 | 1 | -3/+4 | |
| | | | | | | | | | | Calling _PyRuntime_Initialize() after _PyRuntime_Finalize() now re-initializes _PyRuntime structure. Previously, _PyRuntime_Initialize() did nothing in that case. | |||||
| * | bpo-36324: Improved code formatting for the NormalDist.inv_cdf rational ↵ | Raymond Hettinger | 2019-03-19 | 1 | -46/+48 | |
| | | | | | | | | | | approximation (GH-12448) https://bugs.python.org/issue36324 | |||||
| * | NormalDist.inv_cdf(): In-line constants because the variable names were not ↵ | Raymond Hettinger | 2019-03-19 | 1 | -59/+46 | |
| | | | | | | | | informative (GH-12446) | |||||
| * | bpo-36236: Fix _PyPathConfig_ComputeSysPath0() for empty argv (GH-12441) | Victor Stinner | 2019-03-19 | 1 | -55/+63 | |
| | | | | | | | | | | * _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty. * Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables definitions closer to where they are used. |