summaryrefslogtreecommitdiffstats
ModeNameSize
-rw-r--r--.gitattributes305logstatsplain
-rw-r--r--CMakeCPack.cmake5243logstatsplain
-rw-r--r--CMakeCPackOptions.cmake.in2831logstatsplain
-rw-r--r--CMakeGraphVizOptions.cmake153logstatsplain
-rw-r--r--CMakeLists.txt20186logstatsplain
-rw-r--r--CMakeLogo.gif4481logstatsplain
-rw-r--r--CTestConfig.cmake785logstatsplain
-rw-r--r--CTestCustom.cmake.in1666logstatsplain
-rw-r--r--CTestCustom.ctest.in145logstatsplain
-rw-r--r--ChangeLog.txt2047610logstatsplain
-rw-r--r--CompileFlags.cmake1713logstatsplain
-rw-r--r--Copyright.txt2300logstatsplain
-rw-r--r--DartConfig.cmake2356logstatsplain
-rw-r--r--DartLocal.conf.in4144logstatsplain
d---------Docs129logstatsplain
d---------Example105logstatsplain
d---------Modules12688logstatsplain
-rw-r--r--Readme.txt1957logstatsplain
d---------Source22463logstatsplain
d---------Templates1066logstatsplain
d---------Tests2840logstatsplain
d---------Utilities587logstatsplain
-rwxr-xr-xbootstrap47036logstatsplain
-rw-r--r--cmake.13684logstatsplain
-rw-r--r--cmake_uninstall.cmake.in968logstatsplain
-rwxr-xr-xconfigure114logstatsplain
-rw-r--r--doxygen.config28398logstatsplain
&id=3955da85687b176aed0c15faf06ad6c38d32bade'>ignore Modules/python.exp on AIX (autogenerated) (GH-19607)Batuhan Taşkaya2020-04-191-0/+1 | * bpo-40148: Add PurePath.with_stem() (GH-19295)Tim Hoffmann2020-04-194-0/+60 | | | | Add PurePath.with_stem() * bpo-38891: avoid quadratic item access performance of ShareableList (GH-18996)Thomas Krennwallner2020-04-192-30/+48 | | | | | | | | Avoid linear runtime of ShareableList.__getitem__ and ShareableList.__setitem__ by storing running allocated bytes in ShareableList._allocated_bytes instead of the number of bytes for a particular stored item. Co-authored-by: Antoine Pitrou <antoine@python.org> * bpo-39207: Spawn workers on demand in ProcessPoolExecutor (GH-19453)Kyle Stanley2020-04-194-6/+63 | | | | | Roughly based on https://github.com/python/cpython/commit/904e34d4e6b6007986dcc585d5c553ee8ae06f95, but with a few substantial differences. /cc @pitrou @brianquinlan * bpo-39285: Clarify example for PurePath.match (GH-19458)Tim Lo2020-04-191-1/+3 | | | | | | | | | | | Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou * bpo-40325: Deprecate set object support in random.sample() (GH-19591)Raymond Hettinger2020-04-194-2/+17 | * bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269)Furkan Önder2020-04-182-3/+5 | | | Automerge-Triggered-By: @pitrou * bpo-35113: Fix inspect.getsource to return correct source for inner classes ↵Karthikeyan Singaravelan2020-04-185-23/+200 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#10307) * Use ast module to find class definition * Add NEWS entry * Fix class with multiple children and move decorator code to the method * Fix PR comments 1. Use node.decorator_list to select decorators 2. Remove unwanted variables in ClassVisitor 3. Simplify stack management as per review * Add test for nested functions and async calls * Fix pydoc test since comments are returned now correctly * Set event loop policy as None to fix environment related change * Refactor visit_AsyncFunctionDef and tests * Refactor to use local variables and fix tests * Add patch attribution * Use self.addCleanup for asyncio * Rename ClassVisitor to ClassFinder and fix asyncio cleanup * Return first class inside conditional in case of multiple definitions. Remove decorator for class source. * Add docstring to make the test correct * Modify NEWS entry regarding decorators * Return decorators too for bpo-15856 * Move ast and the class source code to top. Use proper Exception. * Add spaces around the ":=" operator in ast_unparse.c (GH-19568)Hakan Çelik2020-04-182-3/+3 | * bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360)Serhiy Storchaka2020-04-183-126/+716 | | | | | Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size(). * bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)Serhiy Storchaka2020-04-184-24/+125 | | | | Co-authored-by: Ammar Askar <ammar@ammaraskar.com> * bpo-35967: Skip test with `uname -p` on Android (GH-19577)Chih-Hsuan Yen2020-04-181-2/+5 | | | | | | | | | | | | | | | | | | | The uname binary on Android does not support -p [1]. Here is a sample log: ``` 0:06:03 load avg: 0.56 [254/421/8] test_platform failed -- running: test_asyncio (5 min 53 sec) uname: Unknown option p (see "uname --help") test test_platform failed -- Traceback (most recent call last): File "/data/local/tmp/lib/python3.9/test/test_platform.py", line 170, in test_uname_processor proc_res = subprocess.check_output(['uname', '-p'], text=True).strip() File "/data/local/tmp/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/data/local/tmp/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['uname', '-p']' returned non-zero exit status 1. ``` [1] https://android.googlesource.com/platform/external/toybox/+/refs/heads/master/toys/posix/uname.c Automerge-Triggered-By: @jaraco * bpo-40257: Improve help for the typing module (GH-19546)Serhiy Storchaka2020-04-185-4/+24 | | | | | | * Show docstring for special forms. * Show docstring for special generic aliases. * Show documentation for __origin__ for generic aliases. * Fix two typos in multiprocessing (GH-19571)Galden2020-04-181-2/+2 | * bpo-40286: Use random.randbytes() in tests (GH-19575)Victor Stinner2020-04-175-28/+9 | * bpo-40286: Makes simpler the relation between randbytes() and getrandbits() ↵Serhiy Storchaka2020-04-172-16/+26 | | | | (GH-19574) * bpo-39894: Route calls from pathlib.Path.samefile() to os.stat() via the ↵Barney Gale2020-04-171-1/+1 | | | | path accessor (GH-18836) * bpo-39897: Remove needless `Path(self.parent)` call, which makes ↵Barney Gale2020-04-171-3/+2 | | | | `is_mount()` misbehave in `Path` subclasses. (GH-18839) * bpo-40282: Allow random.getrandbits(0) (GH-19539)Antoine Pitrou2020-04-175-44/+42 | * bpo-40302: UTF-32 encoder SWAB4() macro use a|b rather than a+b (GH-19572)Victor Stinner2020-04-171-1/+1 | * bpo-40302: Replace PY_INT64_T with int64_t (GH-19573)Victor Stinner2020-04-177-16/+16 | | | | | | | | | * Replace PY_INT64_T with int64_t * Replace PY_UINT32_T with uint32_t * Replace PY_UINT64_T with uint64_t sha3module.c no longer checks if PY_UINT64_T is defined since it's always defined and uint64_t is always available on platforms supported by Python. * bpo-40286: Add randbytes() method to random.Random (GH-19527)Victor Stinner2020-04-1710-12/+177 | | | | | | | | | | | | Add random.randbytes() function and random.Random.randbytes() method to generate random bytes. Modify secrets.token_bytes() to use SystemRandom.randbytes() rather than calling directly os.urandom(). Rename also genrand_int32() to genrand_uint32(), since it returns an unsigned 32-bit integer, not a signed integer. The _random module is now built with Py_BUILD_CORE_MODULE defined. * bpo-39901: Move `pathlib.Path.owner()` and `group()` implementations into ↵Barney Gale2020-04-171-10/+16 | | | | the path accessor. (GH-18844) * bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551)Mariusz Felisiak2020-04-173-2/+19 | * bpo-40302: Add pycore_byteswap.h header file (GH-19552)Victor Stinner2020-04-17