- 18 Jun, 2018 1 commit
-
-
Andrés Delfino authored
(cherry picked from commit 5092439c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-
- 16 Jun, 2018 3 commits
-
-
Terry Jan Reedy authored
Make it the same as when one runs 'python'.. (cherry picked from commit 9d49f850) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
-
Miss Islington (bot) authored
Mention that it can be triggered by triple quotes and after specifying decorators. (cherry picked from commit 68680035) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-
Miss Islington (bot) authored
" ... access to elements is O(1)." (cherry picked from commit 7469ff50) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-
- 15 Jun, 2018 4 commits
-
-
Victor Stinner authored
Fix comparison between signed and unsigned integers. Example of fixed warning: Modules\_sre.c(838): warning C4018: '<' : signed/unsigned mismatch (cherry picked from commit 1fa174a4)
-
Victor Stinner authored
* 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 019d33b7) * bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693) python-gdb now catchs UnicodeDecodeError exceptions when calling string(). (cherry picked from commit d22fc0bc) bpo-29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects. (cherry picked from commit 61108333)
-
Andrés Delfino authored
'expresson list' refers to the grammar term 'expression_list' in the subscription production.. (cherry picked from commit 4fddd4e4) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-
Xiang Zhang authored
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 d134809c) Co-authored-by: Wonsup Yoon <pusnow@me.com>
-
- 13 Jun, 2018 2 commits
-
-
Xiang Zhang authored
string.Formatter auto-numbering feature was added in 3.4 and not available in 2.7. Make the documentation unambiguous.
-
Andrés Delfino authored
-
- 11 Jun, 2018 1 commit
-
-
Ned Deily authored
-
- 10 Jun, 2018 1 commit
-
-
Mariatta authored
(cherry picked from commit d689f976) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-
- 09 Jun, 2018 5 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 0aa17ee6) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
-
Zachary Ware authored
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 b5bb404c)
-
Victor Stinner authored
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 c45fc767)
-
Miss Islington (bot) authored
- 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 66f02aa3) Co-authored-by: wim glenn <wim.glenn@gmail.com>
-
Mayank Singhal authored
-
- 08 Jun, 2018 1 commit
-
-
Serhiy Storchaka authored
testModeStrings and testTruncateOnWindows were depended on a file leaked in other tests. Also improve cleaning up after tests. (cherry picked from commit c2745d2d)
-
- 06 Jun, 2018 6 commits
-
-
Victor Stinner authored
test_io hangs with --huntrleaks: exclude the test in regrtest.
-
Victor Stinner authored
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 492d6424)
-
Victor Stinner authored
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
-
Victor Stinner authored
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 45e4efba)
-
Victor Stinner authored
Fix the following compiler warning on Windows: ..\PC\_subprocess.c(384): warning C4018: '>' : signed/unsigned mismatch
-
Benjamin Peterson authored
(cherry picked from commit b8c0845f)
-
- 05 Jun, 2018 4 commits
-
-
Timo Furrer authored
-
Serhiy Storchaka authored
Raise TypeError instead of SystemError for unsupported operations. (cherry picked from commit e9e39760) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
Victor Stinner authored
Python 2.7 doesn't have FileNotFoundError exception: use OSError and errno.ENOENT.
-
Victor Stinner authored
"python -m test --huntrleaks ..." now also checks for leak of file descriptors. Co-Authored-By: Richard Oudkerk <shibturn@gmail.com>
-
- 04 Jun, 2018 9 commits
-
-
Victor Stinner authored
* 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.
-
Victor Stinner authored
* 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.
-
Victor Stinner authored
Hide "recursedown('@test_9296_tmp')" message.
-
Victor Stinner authored
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
-
Miss Islington (bot) authored
(cherry picked from commit f7745e1d) Co-authored-by: Tobias Kunze <r@rixx.de>
-
Miss Islington (bot) authored
The bytes parameter uses big endian. (cherry picked from commit b75ec085) Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
-
Ned Deily authored
* Prevent spurious message if taking a shortcut * Fix YAML style * Disable largefile tests
-
Serhiy Storchaka authored
It depended on a global variable set by other tests.. (cherry picked from commit 7cfd8c6a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-
Serhiy Storchaka authored
(cherry picked from commit e36837cb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-
- 03 Jun, 2018 2 commits
-
-
Antoine Pitrou authored
(cherry picked from commit e905c844)
-
Serhiy Storchaka authored
Separate tests leaked files or were depended on files leaked in other tests. (cherry picked from commit 027f95c7)
-
- 02 Jun, 2018 1 commit
-
-
Miss Islington (bot) authored
`writerows()` takes an iterable. (cherry picked from commit a801cf16) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-