summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
...
* [2.7] [3.5] bpo-30070: Fixed leaks and crashes in errors handling in the ↵Serhiy Storchaka2017-04-191-0/+75
| | | | | | parser module. (GH-1131). (GH-1185) (#1189) (cherry picked from commit a79f4c219531c05fc8f670c1e4bbf12c081935d3). (cherry picked from commit 952a05e4e2cf082b74a1676a2804f1f43a9b7702)
* [2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() ↵Serhiy Storchaka2017-04-191-0/+16
| | | | | | | | | (GH-1096) (GH-1180) (#1183) raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) (cherry picked from commit 680fea4)
* bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is ↵Xiang Zhang2017-04-151-0/+1
| | | | | | present (#1152)
* bpo-30027: Fix Py3k warnings in test_xml_etree. (#1065)Serhiy Storchaka2017-04-121-3/+4
|
* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) ↵Victor Stinner2017-04-031-0/+3
| | | | | | | | | | (#973) * bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS Skip some tests of select.poll when running on macOS due to unresolved issues with the underlying system poll function on some macOS versions. (cherry picked from commit de04644627f82d9dc48b3423def7ff5b4aa1926a)
* bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903) (#963)Serhiy Storchaka2017-04-021-0/+77
| | | | | (cherry picked from commit 576def096ec7b64814e038f03290031f172886c3) (cherry picked from commit a6b4e1902250d6f28ca6d083ce1c8d7e9b91974b)
* bpo-15083: Convert ElementTree doctests to unittests. (#906)Serhiy Storchaka2017-04-022-1709/+2359
|
* bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#913)T. Wouters2017-03-301-0/+8
| | | | | | Fix the use of recursion in itertools.chain.from_iterable. Using recursion is unnecessary, and can easily cause stack overflows, especially when building in low optimization modes or with Py_DEBUG enabled. (cherry picked from commit 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14)
* bpo-29861: release references to multiprocessing Pool tasks (#743) (#803)Antoine Pitrou2017-03-241-0/+28
| | | | | | | | | | | | | | | | * bpo-29861: release references to multiprocessing Pool tasks (#743) * bpo-29861: release references to multiprocessing Pool tasks Release references to tasks, their arguments and their results as soon as they are finished, instead of keeping them alive until another task arrives. * Comments in test (cherry picked from commit 8988945cdc27ffa86ba8c624e095b51c459f5154) * Fix Misc/NEWS ?
* bpo-26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test. ↵Xiang Zhang2017-03-011-1/+2
| | | | (GH-374)
* bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting ↵Xiang Zhang2017-03-011-0/+9
| | | | operations (GH-366)
* bpo-29110: Fix file object leak in aifc.open (GH-356)INADA Naoki2017-02-281-0/+12
|
* bpo-29602: fix signed zero handling in complex constructor (#204)Mark Dickinson2017-02-201-0/+29
| | | | | | * bpo-29602: fix signed zero handling in complex constructor * Add missing have_getformat definition; remove use of unittest subtests.
* Backport test_gdb fixes for s390x buildbotsVictor Stinner2017-02-101-17/+7
|
* Issue #14376: sys.exit now accepts longs as well as ints. Thanks Gareth Rees.Mark Dickinson2017-02-021-0/+11
|
* Issue #29354: Fixed inspect.getargs() for parameters which are cellSerhiy Storchaka2017-02-011-2/+34
| | | | variables.
* Issue #29335: Fix subprocess.Popen.wait() when the child process hasGregory P. Smith2017-01-231-0/+46
| | | | exited to a stopped instead of terminated state (ex: when under ptrace).
* Issue #29142: Fix suffixes in no_proxy handling in urllib.Xiang Zhang2017-01-091-1/+2
| | | | | | In urllib, suffixes in no_proxy environment variable with leading dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by Milan Oberkirch.
* test_curses - substitute self.skip() with self.skipTest()Xavier de Gaye2017-01-061-2/+2
|
* Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox.Serhiy Storchaka2016-12-281-0/+9
| | | | Based on patch by Tycho Andersen.
* Issue #9770: curses.ascii predicates now work correctly with negative integers.Serhiy Storchaka2016-12-281-0/+19
|
* Fixed running MiscTests in test_xml_etree_c.Serhiy Storchaka2016-12-281-0/+2
|
* Backed out changeset 78bf34b6a713Serhiy Storchaka2016-12-281-11/+0
|
* Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-0/+12
| | | | WeakValueDictionary when collecting from another thread.
* Issue #28815: Skip TIPC tests if /proc/modules is not readableMartin Panter2016-12-241-3/+11
| | | | Based on patch by Patrila.
* Issue #28871: Fixed a crash when deallocate deep ElementTree.Serhiy Storchaka2016-12-211-0/+11
| | | | Fixed running MiscTests in test_xml_etree_c.
* Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and ↵Antoine Pitrou2016-12-192-0/+54
| | | | | | | | WeakValueDictionary.pop() when a GC collection happens in another thread. Original patch and report by Armin Rigo.
* Fix spelling in code commentsMartin Panter2016-12-181-1/+1
|
* Issue #14061: Misc fixes and cleanups in archiving code in shutil.Serhiy Storchaka2016-12-161-3/+2
| | | | | | Improved the documentation and tests for make_archive(). Improved error handling when corresponding compress module is not available. External zip executable is now used if the zlib module is not available.
* Issue #28925: cPickle now correctly propagates errors when unpickle instancesSerhiy Storchaka2016-12-151-0/+43
| | | | of old-style classes.
* Issue #5322: Restored tests for __new__.Serhiy Storchaka2016-12-141-0/+99
|
* merge 2.7.13 release branchBenjamin Peterson2016-12-141-97/+0
|\
| * revert a37cc3d926ec (#5322)Benjamin Peterson2016-12-141-97/+0
| |
* | simplify cleanup of test_replace_parent_in_sys_modules (closes #28862)Benjamin Peterson2016-12-041-14/+13
|/
* Issue #28440: No longer add /Library/Python/site-packages, the Apple-suppliedNed Deily2016-12-031-12/+1
| | | | | | | | | | system Python site-packages directory, to sys.path for macOS framework builds. The coupling between the two Python instances often caused confusion and, as of macOS 10.12, changes to the site-packages layout can cause pip component installations to fail. This change reverts the effects introduced in 2.7.0 by Issue #4865. If you are using a package with both the Apple system Python 2.7 and a user-installed Python 2.7, you will need to ensure that copies of the package are installed with both Python instances.
* Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests.Serhiy Storchaka2016-12-031-2/+2
|
* increase test_smtplib timeoutsBenjamin Peterson2016-12-021-8/+8
|
* Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-021-0/+97
| | | | Original patch by Andreas Stührk.
* Issue #28847: dubmdbm no longer writes the index file in when it is notSerhiy Storchaka2016-12-021-0/+21
| | | | changed and supports reading read-only files.
* Issue #11145: Fixed miscellaneous issues with C-style formatting of typesSerhiy Storchaka2016-12-011-0/+38
| | | | with custom __oct__ and __hex__.
* Issue #28666: Fix stat importMartin Panter2016-11-201-1/+1
|
* Issue #28666: Fix removing readonly directories on Windows.Serhiy Storchaka2016-11-201-1/+1
|
* Issue #28666: Now test.test_support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-15/+16
| | | | unreadable directories on Windows too.
* Issue #28666: Now test.support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-1/+32
| | | | unreadable directories.
* Issue #28563: Make plural form selection more lenient and acceptingSerhiy Storchaka2016-11-141-6/+10
| | | | non-integer numbers. Django tests depend on this.
* Issue #28016: Skip /dev/tty seekable() test on AIXMartin Panter2016-11-141-1/+1
|
* Issue #19398: Extra slash no longer added to sys.path components in case ofSerhiy Storchaka2016-11-111-4/+4
| | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes.
* Issue #23839: Various caches now are cleared before running every test file.Serhiy Storchaka2016-11-111-24/+92
|
* Issue #28563: Fixed possible DoS and arbitrary code execution when handleSerhiy Storchaka2016-11-081-1/+84
| | | | | plural form selections in the gettext module. The expression parser now supports exact syntax supported by GNU gettext.
* pip 9.0 works fine without the ssl moduleDonald Stufft2016-11-021-69/+0
|