Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [codemod] Fix non-matching bracket pairs (GH-28473) | Mohamad Mansour | 2021-09-22 | 29 | -33/+35 | |
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | [tests] Add missing assert against expected tracebacks in test_exceptions.py ↵ | andrei kulakov | 2021-09-22 | 1 | -0/+1 | |
| | | | | (GH-28484) | |||||
* | bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in ↵ | andrei kulakov | 2021-09-21 | 3 | -29/+73 | |
| | | | | | shutil.copyfile() (GH-28421) This was a regression from fixing BPO-43219. | |||||
* | bpo-45061: Detect refcount bug on empty string singleton (GH-28504) | Victor Stinner | 2021-09-21 | 2 | -20/+40 | |
| | | | | | | | Detect refcount bugs in C extensions when the empty Unicode string singleton is destroyed by mistake. * Move forward declarations to the top of unicodeobject.c. * Simplifiy unicode_is_singleton(). | |||||
* | bpo-45216: Remove extraneous method docs from `difflib` (GH-28445) | Nikita Sobolev | 2021-09-21 | 2 | -40/+2 | |
| | ||||||
* | bpo-45061: Detect refcount bug on empty tuple singleton (GH-28503) | Victor Stinner | 2021-09-21 | 6 | -5/+41 | |
| | | | | | | Detect refcount bugs in C extensions when the empty tuple singleton is destroyed by mistake. Add the _Py_FatalRefcountErrorFunc() function. | |||||
* | bpo-45209: fix `UserWarning: resource_tracker` in test_multiprocessing ↵ | Nikita Sobolev | 2021-09-21 | 2 | -0/+9 | |
| | | | | (GH-28377) | |||||
* | bpo-24076: Fix reference in sum() introduced by GH-28469 (GH-28493) | Pablo Galindo Salgado | 2021-09-21 | 1 | -1/+2 | |
| | ||||||
* | bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494) | Raymond Hettinger | 2021-09-21 | 1 | -0/+9 | |
| | ||||||
* | bpo-45200: Ignore test_multiprocessing_* in ASAN build due to false ↵ | Pablo Galindo Salgado | 2021-09-21 | 1 | -1/+1 | |
| | | | | positives (GH-28492) | |||||
* | bpo-44958: Fix ref. leak introduced in GH-27844 (GH-28490) | Erlend Egeberg Aasland | 2021-09-21 | 2 | -30/+36 | |
| | | | | | | Modify managed_connect() helper to support in-memory databases. Use it for the regression tests added in GH-27844. Automerge-Triggered-By: GH:pablogsal | |||||
* | bpo-44958: Only reset `sqlite3` statements when needed (GH-27844) | Erlend Egeberg Aasland | 2021-09-21 | 4 | -46/+82 | |
| | ||||||
* | bpo-24076: Inline single digit unpacking in the integer fastpath of sum() ↵ | scoder | 2021-09-21 | 2 | -1/+10 | |
| | | | | (GH-28469) | |||||
* | bpo-45021: Fix a hang in forked children (GH-28007) | nullptr | 2021-09-20 | 3 | -0/+21 | |
| | | | _global_shutdown_lock should be reinitialized in forked children | |||||
* | bpo-45155: Apply new byteorder default values for int.to/from_bytes (GH-28465) | Raymond Hettinger | 2021-09-20 | 5 | -15/+15 | |
| | ||||||
* | bpo-44848: Update Windows installer to use SQLite 3.36.0 (GH-27622) | Erlend Egeberg Aasland | 2021-09-20 | 4 | -3/+4 | |
| | ||||||
* | bpo-45229: Make pickle tests discoverable (GH-28467) | Serhiy Storchaka | 2021-09-20 | 3 | -47/+36 | |
| | ||||||
* | bpo-1514420: Do not attempt to open files with names in <>s when formatting ↵ | Irit Katriel | 2021-09-20 | 2 | -0/+10 | |
| | | | | | | an exception (GH-28143) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | bpo-40497: Fix handling of check in subprocess.check_output() (GH-19897) | Rémi Lapeyre | 2021-09-20 | 3 | -2/+15 | |
| | | | | Co-authored-by: Tal Einat <taleinat@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | bpo-45055: Add retry when downloading externals on Windows (GH-28399) | Steve Dower | 2021-09-20 | 1 | -1/+18 | |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) | Serhiy Storchaka | 2021-09-20 | 17 | -188/+122 | |
| | | | Alo use load_tests() for adding tests. | |||||
* | bpo-40413: test_embed tests calling Py_RunMain() multiple times (GH-28466) | Victor Stinner | 2021-09-20 | 2 | -4/+24 | |
| | | | | | | Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must not crash. Cleanup also test_get_argc_argv(). | |||||
* | Docs: Clarify the before_and_after() example (GH-28458) | Raymond Hettinger | 2021-09-19 | 2 | -6/+8 | |
| | ||||||
* | bpo-45041: Simplify `sqlite3.Cursor.executescript()` (GH-28020) | Erlend Egeberg Aasland | 2021-09-19 | 1 | -42/+25 | |
| | ||||||
* | bpo-45040: Simplify sqlite3 transaction control functions (GH-28019) | Erlend Egeberg Aasland | 2021-09-19 | 2 | -63/+28 | |
| | ||||||
* | bpo-45128: fixes `test_multiprocessing_fork` mysterious crash (GH-28387) | Nikita Sobolev | 2021-09-19 | 2 | -3/+6 | |
| | ||||||
* | bpo-30637: Improve the docs of ast.parse regarding differences with ↵ | Pablo Galindo Salgado | 2021-09-19 | 1 | -0/+13 | |
| | | | | compile() (GH-28459) | |||||
* | Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) | Serhiy Storchaka | 2021-09-19 | 17 | -21/+21 | |
| | | | | | The cast to PyCFunction is redundant. Overuse of redundant casts can hide actual bugs. | |||||
* | bpo-45229: Fix setUpModule in test_ssl (GH-28454) | Serhiy Storchaka | 2021-09-19 | 1 | -2/+0 | |
| | ||||||
* | bpo-45229: Remove test_main in many tests (GH-28405) | Serhiy Storchaka | 2021-09-19 | 61 | -485/+209 | |
| | | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests. | |||||
* | bpo-30856: Update TestResult early, without buffering in _Outcome (GH-28180) | Serhiy Storchaka | 2021-09-19 | 7 | -65/+76 | |
| | | | | | | | TestResult methods addFailure(), addError(), addSkip() and addSubTest() are now called immediately after raising an exception in test or finishing a subtest. Previously they were called only after finishing the test clean up. | |||||
* | bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446) | Serhiy Storchaka | 2021-09-18 | 3 | -1/+77 | |
| | | | | | | | | unittest.TestCase.debug() raises now a SkipTest if the class or the test method are decorated with the skipping decorator. Previously it only raised a SkipTest if the test method was decorated with other decorator in addition to the skipping decorator, or if SkipTest was explicitly raised in the test or setup methods. | |||||
* | bpo-45198: __set_name__ documentation not clear about its usage with ↵ | Raymond Hettinger | 2021-09-18 | 2 | -30/+36 | |
| | | | | non-descriptor classes (GH-28439) | |||||
* | bpo-45235: Fix argparse overrides namespace with subparser defaults (GH-28420) | Adam Schwalm | 2021-09-17 | 3 | -6/+15 | |
| | ||||||
* | Fix minor typo in Doc/c-api/type.rst (GH-28432) | Konstantin Popov | 2021-09-18 | 1 | -1/+1 | |
| | | | retreived-> retrieved | |||||
* | bpo-45183: don't raise an exception when calling ↵ | Brett Cannon | 2021-09-17 | 3 | -2/+6 | |
| | | | | | zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435) This can occur when the zip file gets deleted, you call zipimport.zipimporter.invalidate_cache(), and then try to use zipimport.zipimporter.find_spec() (i.e. you left the zip file path on sys.path). | |||||
* | bpo-44640: Improve punctuation consistency in isinstance/issubclass error ↵ | wyz23x2 | 2021-09-18 | 1 | -2/+2 | |
| | | | | | messages (GH-27144) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) | Emmanuel Arias | 2021-09-18 | 1 | -1/+2 | |
| | | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> | |||||
* | bpo-45020: Freeze os, site, and codecs. (gh-28398) | Eric Snow | 2021-09-17 | 9 | -31/+79 | |
| | | | https://bugs.python.org/issue45020 | |||||
* | Fix missing space with help for `-m compileall -o` (GH-27591) | Daniel Hahler | 2021-09-18 | 1 | -3/+3 | |
| | ||||||
* | bpo-42038: fix description of returned list of lines (GH-27529) | andrei kulakov | 2021-09-18 | 1 | -6/+6 | |
| | ||||||
* | [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) | Arkaprabha Chakraborty | 2021-09-17 | 1 | -1/+1 | |
| | ||||||
* | bpo-45116: Py_DEBUG ignores Py_ALWAYS_INLINE (GH-28419) | Victor Stinner | 2021-09-17 | 2 | -1/+13 | |
| | | | | If the Py_DEBUG macro is defined, the Py_ALWAYS_INLINE macro does nothing. | |||||
* | bpo-45187: Fix dangling threads in test_socket.CreateServerFunctionalTest ↵ | Serhiy Storchaka | 2021-09-17 | 1 | -9/+3 | |
| | | | | (GH-28422) | |||||
* | bpo-45020: Fix build out of source tree (GH-28410) | Victor Stinner | 2021-09-17 | 2 | -17/+23 | |
| | | | | | | * Makefile.pre.in: Add $(srcdir) when needed, remove it when it was used by mistake. * freeze_modules.py tool uses ./Programs/_freeze_module if the executable doesn't exist in the source tree. | |||||
* | bpo-45231: update_file.py preserves end of line (GH-28411) | Victor Stinner | 2021-09-17 | 1 | -1/+13 | |
| | | | | | | The update_file.py tool now preserves the end of line of the updated file. Fix the "make regen-frozen" command: it no longer changes the end of line of PCbuild/ files on Unix. Git changes the end of line depending on the platform. | |||||
* | Remove compatibility check for Python versions below 2.2. (GH-28314) | Omer Katz | 2021-09-17 | 1 | -5/+4 | |
| | | | | | | `os.path.realpath()` already exists in all our supported Python versions. There's no longer a need to check if it exists or not. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | bpo-45212: Add a comment for time.sleep() in tests (GH-28414) | Serhiy Storchaka | 2021-09-17 | 1 | -0/+1 | |
| | | | | Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | bpo-45116: Add the Py_ALWAYS_INLINE macro (GH-28390) | Victor Stinner | 2021-09-17 | 3 | -0/+44 | |
| | | | | | Add the Py_ALWAYS_INLINE macro to ask the compiler to always inline a static inline function. The compiler can ignore it and decides to not inline the function. | |||||
* | bpo-45219: Factor dictkey indexing (GH-28389) | Mark Shannon | 2021-09-17 | 3 | -63/+106 | |
| |