Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Python 3.12.0a4v3.12.0a4 | Thomas Wouters | 2023-01-10 | 114 | -263/+1172 |
| | |||||
* | GH-100117: Make `co_lines` more efficient (GH-100447) | Brandt Bucher | 2023-01-10 | 4 | -38/+26 |
| | |||||
* | gh-100916: Convert argument to appropriate type (GH-100917) | Yao-Ching Huang | 2023-01-10 | 1 | -1/+1 |
| | |||||
* | Fix typos in Doc folder (#100880) | Semen Zhydenko | 2023-01-10 | 3 | -3/+3 |
| | |||||
* | gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908) | Ned Deily | 2023-01-10 | 3 | -21/+4 |
| | |||||
* | gh-100893: update bpo reference in Mac README (GH-100905) | Ned Deily | 2023-01-10 | 1 | -3/+3 |
| | |||||
* | GH-98831: Refactor instr format code and change to enum (#100895) | Guido van Rossum | 2023-01-09 | 2 | -219/+222 |
| | |||||
* | gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901) | Steve Dower | 2023-01-09 | 3 | -4/+5 |
| | |||||
* | bpo-28356: Document os.rename() behavior on Windows for differing volumes ↵ | Ryan Ozawa | 2023-01-09 | 1 | -0/+2 |
| | | | | (GH-27376) | ||||
* | GH-100126: Skip incomplete frames in more places (GH-100613) | Brandt Bucher | 2023-01-09 | 12 | -46/+62 |
| | |||||
* | gh-100882: Improve `test_pickling` case in `test_ast.py` (#100883) | Nikita Sobolev | 2023-01-09 | 1 | -12/+5 |
| | |||||
* | gh-99191: Use correct check for MSVC C++ version support in _wmimodule.cpp ↵ | C.A.M. Gerlach | 2023-01-09 | 2 | -3/+5 |
| | | | | (GH-100381) | ||||
* | gh-100873: Fix "‘lo’ may be used uninitialized in this function" warning ↵ | Nikita Sobolev | 2023-01-09 | 1 | -1/+1 |
| | | | | in `mathmodule.c` (#100881) | ||||
* | GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` ↵ | dgelessus | 2023-01-09 | 3 | -8/+24 |
| | | | | callback (#13364) | ||||
* | fix up mock tests coverage (#100874) | Chris Withers | 2023-01-09 | 1 | -8/+4 |
| | |||||
* | gh-100764: add `pycore_frame.h` to PYTHON_HEADERS and Windows build ↵ | Carl Meyer | 2023-01-09 | 2 | -0/+2 |
| | | | | files(#100765) | ||||
* | GH-100813: Add `socket.IP_PKTINFO` constant (#10294) | dsentinel | 2023-01-09 | 3 | -0/+5 |
| | |||||
* | Update copyright year in README (GH-100863) | Ned Deily | 2023-01-09 | 1 | -1/+1 |
| | | | Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com> | ||||
* | gh-87447: Fix walrus comprehension rebind checking (#100581) | Nikita Sobolev | 2023-01-08 | 4 | -3/+92 |
| | | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | Update additional copyright years to 2023. (GH-100859) | Ned Deily | 2023-01-08 | 2 | -4/+4 |
| | |||||
* | GH-100805: Support numpy.array() in random.choice(). (GH-100830) | Raymond Hettinger | 2023-01-08 | 3 | -1/+21 |
| | |||||
* | gh-100833: Remove 'volatile' qualifiers in fsum algorithm (#100845) | Mark Dickinson | 2023-01-08 | 2 | -22/+23 |
| | | | | | | | This PR removes the `volatile` qualifier on various intermediate quantities in the `math.fsum` implementation, and updates the notes preceding the algorithm accordingly (as well as fixing some of the exsting notes). See the linked issue #100833 for discussion. | ||||
* | GH-100485: Tweaks to sumprod() (GH-100857) | Raymond Hettinger | 2023-01-08 | 3 | -25/+41 |
| | |||||
* | Update copyright years to 2023. (gh-100848) | Benjamin Peterson | 2023-01-08 | 9 | -10/+10 |
| | |||||
* | GH-90829: Fix empty iterable error message in min/max (#31181) | Nnarol | 2023-01-08 | 2 | -3/+11 |
| | |||||
* | gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap ↵ | Nikita Sobolev | 2023-01-08 | 2 | -40/+28 |
| | | | | | | | memory (GH-24061)" (#100745) * gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)" This reverts commit 7c83eaa536d2f436ae46211ca48692f576c732f0. | ||||
* | gh-100783: fix os.path.join documentation (#100811) | Shantanu | 2023-01-08 | 1 | -11/+12 |
| | | | | | | - Use "drive", not "drive letter", because of UNC paths - Previous components are not thrown away from relative drive letters - Use "segment" instead of "component" for consistency with pathlib - Other miscellaneous improvements | ||||
* | gh-91851: Micro optimizations for arithmetic between Fractions (#25518) | Sergey B Kirpichev | 2023-01-08 | 2 | -10/+13 |
| | | | | | | | | Adapted from https://github.com/python/cpython/pull/24779/commits/046c84e8f9 This makes arithmetic between Fractions with small components just as fast as before python/cpython#24779, at some expense of mixed arithmetic (e.g. Fraction + int). | ||||
* | gh-100824: Fix typo in the documentation of ↵ | busywhitespace | 2023-01-08 | 1 | -2/+2 |
| | | | | unittest.TestLoader.testNamePatterns (#100825) | ||||
* | gh-100776: Fix misleading default value in help(input) (#100788) | Shantanu | 2023-01-08 | 3 | -4/+5 |
| | |||||
* | GH-100485: Convert from Fast2Sum to 2Sum (GH-100836) | Raymond Hettinger | 2023-01-08 | 1 | -13/+16 |
| | |||||
* | gh-100815: Normalize `types` module usage in `copy` module (#100816) | Nikita Sobolev | 2023-01-07 | 1 | -9/+7 |
| | |||||
* | gh-100792: Make `email.message.Message.__contains__` twice as fast (#100793) | Nikita Sobolev | 2023-01-07 | 2 | -1/+6 |
| | |||||
* | GH-100485: Add math.sumprod() (GH-100677) | Raymond Hettinger | 2023-01-07 | 6 | -10/+548 |
| | |||||
* | gh-100673: Removed erroneous note in the get_type_hints docs (#100701) | FrozenBob | 2023-01-07 | 1 | -4/+0 |
| | | | | | Removed erroneous note in the get_type_hints docs typing.get_type_hints still includes base class type hints. | ||||
* | gh-88696: clean up dead argument to compiler_make_closure (GH-100806) | Carl Meyer | 2023-01-07 | 1 | -23/+7 |
| | |||||
* | gh-96127: Fix `inspect.signature` call on mocks (#96335) | Nikita Sobolev | 2023-01-07 | 3 | -1/+30 |
| | |||||
* | gh-100690: [mock] hide `ATTRIB_DENY_LIST` and make it immutable (#100819) | Nikita Sobolev | 2023-01-07 | 1 | -2/+6 |
| | |||||
* | Add barneygale to CODEOWNERS for pathlib (#100808) | Barney Gale | 2023-01-06 | 1 | -0/+3 |
| | |||||
* | gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when ↵ | Christian Klein | 2023-01-06 | 3 | -4/+41 |
| | | | | | | | | using Mock (#100691) Mock objects which are not unsafe will now raise an AttributeError when accessing an attribute that matches the name of an assertion but without the prefix `assert_`, e.g. accessing `called_once` instead of `assert_called_once`. This is in addition to this already happening for accessing attributes with prefixes assert, assret, asert, aseert, and assrt. | ||||
* | GH-98831: Add some tests for generate_cases.py (#100763) | Guido van Rossum | 2023-01-06 | 1 | -0/+310 |
| | | | | | | - This doesn't cover everything (far from it) but it's a start. - This uses pytest, which isn't ideal, but was quickest to get started. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | ||||
* | gh-91851: Trivial optimizations in Fraction (#100791) | Sergey B Kirpichev | 2023-01-06 | 2 | -5/+9 |
| | | | | | | | Make some trivial performance optimizations in Fraction Uses private class attributes `_numerator` and `_denominator` in place of the `numerator` and `denominator` property accesses. Co-authored-by: hauntsaninja <hauntsaninja@gmail.com> | ||||
* | gh-100758: Refactor initialisation of frame headers into a single function ↵ | Irit Katriel | 2023-01-06 | 5 | -53/+21 |
| | | | | (_PyFrame_Initialize) (GH-100759) | ||||
* | GH-99005: More intrinsics (GH-100774) | Mark Shannon | 2023-01-06 | 16 | -204/+151 |
| | | | * Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics. | ||||
* | gh-99026 update dataclasses docs for when annotations are inspected (gh-100798) | Akshit Tyagi | 2023-01-06 | 1 | -2/+2 |
| | | | update dataclasses docs for when annotations are inspected | ||||
* | gh-87691: clarify use of anchor in pathlib docs (#100782) | Shantanu | 2023-01-06 | 1 | -8/+8 |
| | | | | | | | | | | | This is feedback from https://github.com/python/cpython/pull/100737#discussion_r1062968696 This matches the wording from the `os.path.join` docs better: https://docs.python.org/3/library/os.path.html#os.path.join In particular, the previous use of "anchor" was incorrect given the pathlib definition of "anchor". Co-authored-by: Barney Gale <barney.gale@gmail.com> | ||||
* | gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756) | Carl Meyer | 2023-01-06 | 3 | -21/+40 |
| | | | Avoid RecursionError on recursive dataclass field repr | ||||
* | gh-86082: bpo-41916: allow cross-compiled python to have -pthread set for ↵ | Dustin Spicuzza | 2023-01-05 | 3 | -8/+19 |
| | | | | | | | CXX (#22525) When cross-compiling, the compile/run test for -pthread always fails so -pthread will never be automatically set without an override from the cache. ac_cv_pthread can already be overridden, so do the same thing for ac_cv_cxx_thread. | ||||
* | gh-87691: add an absolute path pathlib example in / operator docs (GH-100737) | Shantanu | 2023-01-05 | 1 | -1/+8 |
| | | | | | The behaviour is fully explained a couple paragraphs above, but it may be useful to have a brief example to cover the behaviour. Automerge-Triggered-By: GH:hauntsaninja | ||||
* | Add hauntsaninja as tomllib CODEOWNER (#100779) | Shantanu | 2023-01-05 | 1 | -1/+1 |
| |