| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
(cherry picked from commit c45cb479074b5d25f0d382d3109f527520a9f03c)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 38cf49bf695903ac7a8516bca6bbb6b32d935bb5)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 9ac11a752a19c3b8607582a3d5ccb615c467124b)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
|
|
|
|
|
|
|
| |
(GH-7744)
The statement is true for Windows (and macOS) also..
(cherry picked from commit c9d43c702a53804c23ecb22a0dbf6a47c804d2b1)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
| |
Add -g to LDFLAGS when compiling with LTO to get debug symbols.
|
|
|
| |
Set the openssl version to 1.0.2o and fix compiling Tcl.
|
|
|
|
|
|
| |
Fix test_gdbm.test_reorganize() on macOS with gdbm 1.15: add a
larger value to make sure that the file size changes.
(cherry picked from commit 13c79c677f9ec9437c82eda72fa1c2d288d8fceb)
|
|
|
|
|
|
|
| |
test.pythoninfo (GH-7797) (GH-7803)
(cherry picked from commit 71ca738f4cd2696d056d0cdb83bebd576f98ccc2)
Co-authored-by: Xiang Zhang <angwerzx@126.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 5092439c2cb32112a5869b138011d38491db90a9)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
|
| |
Make it the same as when one runs 'python'..
(cherry picked from commit 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
|
|
|
|
|
| |
Mention that it can be triggered by triple quotes and after specifying decorators.
(cherry picked from commit 68680035143a3a6398faa88f067f244c74691d19)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
| |
" ... access to elements is O(1)."
(cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix comparison between signed and unsigned integers. Example of fixed
warning:
Modules\_sre.c(838): warning C4018: '<' : signed/unsigned mismatch
(cherry picked from commit 1fa174a418d78ef24aa741945230a5074b3e6236)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)
python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.
(cherry picked from commit 019d33b7a447e78057842332fb5d3bad01922122)
* bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().
(cherry picked from commit d22fc0bc7de7882da204abe50884bbde2da4f9e7)
bpo-29367: python-gdb.py now supports also method-wrapper
(wrapperobject) objects.
(cherry picked from commit 611083331d534481ca7956a376e38fb0e9ef3854)
|
|
|
|
|
|
| |
'expresson list' refers to the grammar term 'expression_list' in the subscription production..
(cherry picked from commit 4fddd4e4069aad9efad999d8d9ce3cd9fb523a5c)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-1958) (GH-7704)
Hangul composition check boundaries are wrong for the second character
([0x1161, 0x1176) instead of [0x1161, 0x1176]) and third character ((0x11A7, 0x11C3)
instead of [0x11A7, 0x11C3])..
(cherry picked from commit d134809cd3764c6a634eab7bb8995e3e2eff14d5)
Co-authored-by: Wonsup Yoon <pusnow@me.com>
|
|
|
|
|
|
| |
string.Formatter. (GH-7668) (GH-7676)
string.Formatter auto-numbering feature was added in 3.4 and not
available in 2.7. Make the documentation unambiguous.
|
|
|
|
| |
(GH-7667)
|
| |
|
|
|
|
|
| |
(cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22)
Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
|
|
|
|
|
|
|
| |
We can't just skip the test if docutils is available,
but pygments is not because the purpose of the test
was testing a bug in _check_rst_data().
(cherry-picked from b5bb404ccaa9a3dd81e220fb4ca40253be778831)
|
|
|
|
|
|
|
|
| |
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE
then SUCCESS") to show that some failing tests have been re-run.
Add also test_regrtest.test_rerun_fail() test.
(cherry picked from commit c45fc7673e23f911639d10d3771ffef7be870c7a)
|
|
|
|
|
|
|
|
| |
- bugfix and test for fragile metavar handling in argparse (see
bpo-24089, bpo-14046, bpo-25058, bpo-11874)
- also fixes some incorrect tests that did not make 1-element tuples correctly
(cherry picked from commit 66f02aa32f1e4adb9f24cf186f8c495399d5ce9b)
Co-authored-by: wim glenn <wim.glenn@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
testModeStrings and testTruncateOnWindows were depended on
a file leaked in other tests.
Also improve cleaning up after tests.
(cherry picked from commit c2745d2d05546d76f655ab450eb23d1af39e0b1c)
|
|
|
| |
test_io hangs with --huntrleaks: exclude the test in regrtest.
|
|
|
|
|
|
|
|
|
|
|
| |
Substract one because listdir() opens internally a file
descriptor to list the content of the /proc/self/fd/ directory.
Add test_support.test_fd_count().
Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure
that the report mode is always restored on failure.
(cherry picked from commit 492d6424a7ca907c8ec1df21e51062e8f3d88e32)
|
|
|
|
|
|
|
|
| |
bpo-19418, bpo-33781: Fix the following warnings on Windows:
Modules\audioop.c(28): warning C4146: unary minus operator applied
to unsigned type, result still unsigned
Modules\audioop.c(396): warning C4146: unary minus operator applied
to unsigned type, result still unsigned
|
|
|
|
|
|
|
|
| |
Move the floor() call into fbound() to call floor() on a double
rather than an int. The change should enhance the rounding.
Document also (int)double rounding mode.
(cherry picked from commit 45e4efba7fa2abe61d25e4f8b5bf482e19ff1280)
|
|
|
|
| |
Fix the following compiler warning on Windows:
..\PC\_subprocess.c(384): warning C4018: '>' : signed/unsigned mismatch
|
|
|
| |
(cherry picked from commit b8c0845fee9277b1106ceecbf7592f8806c73ec8)
|
|
|
|
| |
(GH-7281)
|
|
|
|
|
|
|
|
| |
(GH-7381) (GH-7432)
Raise TypeError instead of SystemError for unsupported operations.
(cherry picked from commit e9e397605789b2a67b67558fbbe756b7b88934f5)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
| |
Python 2.7 doesn't have FileNotFoundError exception: use OSError and
errno.ENOENT.
|
|
|
|
|
|
| |
"python -m test --huntrleaks ..." now also checks for leak of file
descriptors.
Co-Authored-By: Richard Oudkerk <shibturn@gmail.com>
|
|
|
|
|
|
|
|
| |
* test_tempfile.test_no_leak_fd() mocks os.close() but it doesn't
call the original os.close() method and so leaks an open file
descriptor. Fix the test by calling the original os.close()
function.
* test_posix.test_fdopen_directory(): close the directory file
descriptor when the test completes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support.wait_threads_exit(): context manager looping at exit
until the number of threads decreases to its original number.
* Add some missing thread.join()
* test_asyncore.test_send(): call explicitly t.join() because the cleanup
function is only called outside the test method, whereas the method
has a @test_support.reap_threads decorator
* test_hashlib: replace threading.Event with thread.join()
* test_thread:
* Use wait_threads_exit() context manager
* Replace test_support with support
* test_forkinthread(): check child process exit status in the
main thread to better handle error.
|
|
|
| |
Hide "recursedown('@test_9296_tmp')" message.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport manually regrtest enhancements from master:
* No longer clear filters, like --match, to re-run failed tests in
verbose mode (-w option).
* Tests result: always indicate if tests have been interrupted.
* Enhance tests summary
* After failing tests are re-run, display again the summary.
* Add environment_altered to test.support, but it's currently unused
* regrtest: count also ENV_CHANGED as failures
* regrtest: Enhance format_duration()
* Replace test_support with support
|
|
|
|
|
| |
(cherry picked from commit f7745e1dcb8e8473cc86112a0213b3f244a07230)
Co-authored-by: Tobias Kunze <r@rixx.de>
|
|
|
|
|
|
| |
The bytes parameter uses big endian.
(cherry picked from commit b75ec0856771b51684b08c4e5068fbfad25c5e83)
Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
|
|
|
|
|
| |
* Prevent spurious message if taking a shortcut
* Fix YAML style
* Disable largefile tests
|
|
|
|
|
|
| |
It depended on a global variable set by other tests..
(cherry picked from commit 7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit e36837cb71032ccfa713e75623b314f091dc22bb)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
| |
(GH-7146) (GH-7347)
(cherry picked from commit e905c84494526363086f66a979e317e155bf9536)
|
|
|
|
|
| |
Separate tests leaked files or were depended on files leaked in other tests.
(cherry picked from commit 027f95c736457f12c5713d9cf5b95ac335e583df)
|