summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36444: Remove _PyMainInterpreterConfig (GH-12571)Victor Stinner2019-03-2710-417/+103
|
* bpo-36429: Fix starting IDLE with pyshell (#12548)Terry Jan Reedy2019-03-263-5/+14
| | | | | Add idlelib.pyshell alias at top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' command.
* bpo-36301: Test Python init with isolated (GH-12569)Victor Stinner2019-03-262-0/+90
| | | Add test_preinit_isolated1() and test_preinit_isolated2() test_embed.
* bpo-34203: FAQ: improve wording of paragraph about 2.x vs. 3.x (GH-9821)Tal Einat2019-03-261-8/+4
|
* bpo-36364: fix SharedMemoryManager examples (GH-12439)Pierre Glaser2019-03-261-3/+4
| | | Examples of the `multiprocessing.shared_memory` module try to import `SharedMemoryManager` from `multiprocessing.shared_memory` whereas this class is defined in `multiprocessing.managers`.
* bpo-36301: Cleanup preconfig.c and coreconfig.c (GH-12563)Victor Stinner2019-03-269-659/+622
| | | | | | | | | | | | | | | * _PyCoreConfig_Write() now updates _PyRuntime.preconfig * Remove _PyPreCmdline_Copy() * _PyPreCmdline_Read() now accepts _PyPreConfig and _PyCoreConfig optional configurations. * Rename _PyPreConfig_ReadFromArgv() to _PyPreConfig_Read(). Simplify the code. * Calling _PyCoreConfig_Read() no longer adds the warning options twice: don't add a warning option if it's already in the list. * Rename _PyCoreConfig_ReadFromArgv() to _PyCoreConfig_Read(). * Rename config_from_cmdline() to _PyCoreConfig_ReadFromArgv(). * Add more assertions on _PyCoreConfig in _PyCoreConfig_Read(). * Move some functions. * Make some config functions private.
* bpo-36436: Fix _testcapi.pymem_buffer_overflow() (GH-12560)Victor Stinner2019-03-262-0/+5
| | | Handle memory allocation failure.
* bpo-36433: fix confusing error messages in classmethoddescr_call (GH-12556)Inada Naoki2019-03-263-9/+23
| | | https://bugs.python.org/issue36433
* Post v3.8.0a3Łukasz Langa2019-03-261-1/+1
|
* Merge tag 'v3.8.0a3'Łukasz Langa2019-03-2691-184/+875
|\ | | | | | | Python 3.8.0a3
| * v3.8.0a3v3.8.0a3Łukasz Langa2019-03-2591-184/+875
| |
* | bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551)Zackery Spytz2019-03-262-0/+2
| |
* | Document that logging registers shutdown as an atexit handler (GH-12378)Andre Delfino2019-03-261-0/+4
| |
* | Fix "the the" in the idle docs. (GH-12549)Benjamin Peterson2019-03-261-13/+11
| |
* | bpo-36301: Remove _PyCoreConfig.preconfig (GH-12546)Victor Stinner2019-03-2613-145/+179
| | | | | | | | | | | | * Replace _PyCoreConfig.preconfig with 3 new fields in _PyCoreConfig: isolated, use_environment, dev_mode. * Add _PyPreCmdline.dev_mode. * Add _Py_PreInitializeFromPreConfigInPlace().
* | bpo-36301: Add _Py_GetEnv() function (GH-12542)Victor Stinner2019-03-254-32/+34
| | | | | | | | | | * Make _PyPreConfig_GetEnv(), _PyCoreConfig_GetEnv() and _PyCoreConfig_GetEnvDup() private * _Py_get_env_flag() first parameter becomes "int use_environment"
* | bpo-34085: Improve wording on classmethod/staticmethod (#8228)Andre Delfino2019-03-251-12/+10
| | | | | | | | | | | | | | | | * bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric
* | bpo-36345: Add a new example in the documentation of wsgiref (#12511)Stéphane Wirtel2019-03-252-0/+34
| |
* | bpo-36301: Add _Py_GetConfigsAsDict() function (GH-12540)Victor Stinner2019-03-259-132/+177
| | | | | | | | | | | | | | * Add _Py_GetConfigsAsDict() function to get all configurations as a dict. * dump_config() of _testembed.c now dumps preconfig as a separated key: call _Py_GetConfigsAsDict(). * Make _PyMainInterpreterConfig_AsDict() private.
* | bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using ↵Pablo Galindo2019-03-255-197/+124
| | | | | | | | | | | | pgen (GH-12456) Now that the parser generator is written in Python (Parser/pgen) we can make use of it to regenerate the Lib/keyword file that contains the language keywords instead of parsing the autogenerated grammar files. This also allows checking in the CI that the autogenerated files are up to date.
* | bpo-36370: Check for PyErr_Occurred() after PyImport_GetModule() (GH-12504)Stefan Krah2019-03-254-11/+24
| |
* | bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)Raymond Hettinger2019-03-256-3/+32
| |
* | Add note to Queue.get() docs about block=True (GH-2223)Stephen Rosen2019-03-251-0/+5
|/
* bpo-36301: Add _Py_PreInitializeFromConfig() (GH-12536)Victor Stinner2019-03-256-24/+155
| | | | | | | * Initialize _PyPreConfig.dev_mode to -1. * _PyPreConfig_Read(): coreconfig has the priority over preconfig. * _PyCoreConfig_Read() now calls _PyPreCmdline_Read() internally. * config_from_cmdline() now pass _PyPreCmdline to config_read(). * Add _PyPreCmdline_Copy().
* bpo-36301: Cleanup preconfig code (GH-12535)Victor Stinner2019-03-257-187/+152
| | | | | | | | | | | | | | | Prepare code to move some _PyPreConfig parameters into _PyPreCmdline. Changes: * _PyCoreConfig_ReadFromArgv(): remove preconfig parameter, use _PyRuntime.preconfig. * Add _PyPreCmdline_GetPreConfig() (called by _PyPreConfig_Read()). * Rename _PyPreCmdline_Init() to _PyPreCmdline_SetArgv() * Factorize _Py_PreInitializeFromPreConfig() code: add pyinit_preinit(). * _PyPreConfig_Read() now sets coerce_c_locale to 2 if it must be coerced. * Remove _PyCoreConfig_ReadPreConfig(). * _PyCoreConfig_Write() now copies updated preconfig into _PyRuntime.
* bpo-35884: Add string-keys-only microbenchmark for dict access to ↵Stefan Behnel2019-03-251-12/+28
| | | | var_access_benchmark.py (GH-11905)
* bpo-36421: Fix a possible double decref in _ctypes.c's PyCArrayType_new(). ↵Zackery Spytz2019-03-252-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 Lapeyre2019-03-253-11/+29
|
* Fix line ending (GH-12531)Raymond Hettinger2019-03-251-1/+1
|
* bpo-36401: Have help() show readonly properties separately (GH-12517)Raymond Hettinger2019-03-253-1/+9
|
* bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)Louie Lu2019-03-243-27/+131
|
* bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are ↵Lisa Roach2019-03-241-10/+31
| | | | | | namedtuples (GH-4434)
* bpo-36405: IDLE - Restore __main__ and add tests (#12518)Terry Jan Reedy2019-03-245-10/+18
| | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka.
* Replace "DOS box" with link to Windows FAQ. (GH-12390)Ned Deily2019-03-242-1/+3
|
* bpo-36412: fix a possible crash in dictobject.c's new_dict() (GH-12519)Zackery Spytz2019-03-242-1/+4
|
* bpo-32217: Correct usage of ABI tags in freeze. (GH-4719)AraHaan2019-03-232-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 Naoki2019-03-234-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 Sabella2019-03-233-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 Stinner2019-03-234-0/+36
| | | | _PyPreConfig_Write() now writes the applied pre-configuration into _PyRuntimeState.preconfig.
* bpo-36405: Use dict unpacking in idlelib (#12507)Terry Jan Reedy2019-03-234-12/+9
| | | Remove now unneeded imports.
* bpo-33319: Clarify subprocess call docs. (GH-12508)Gregory P. Smith2019-03-231-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 GUIHOT2019-03-231-1/+1
|
* bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)Terry Jan Reedy2019-03-227-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 Cannon2019-03-223-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 Liu2019-03-221-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 Lapeyre2019-03-225-35/+84
|
* asyncio: PendingDeprecationWarning -> DeprecationWarning (GH-12494)Inada Naoki2019-03-223-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 GH11807Kumar Akshay2019-03-225-11/+51
|
* Raise the timeout in test_multiprocessing_* for slow buildbots (GH-12489)Pablo Galindo2019-03-221-1/+1
|
* bpo-35284: Fix the error handling in the compiler's compiler_call(). (GH-10625)Zackery Spytz2019-03-221-2/+5
| | | | | compiler_call() needs to check if an error occurred during the maybe_optimize_method_call() call.