Commit Graph

40820 Commits

Author SHA1 Message Date
Xavier de Gaye 21060105d9 Issue #26935: Fix broken Android dup2() in test_os 2016-11-16 08:05:27 +01:00
Donald Stufft 756b45ab6e Merge - upgrade pip/setuptools 2016-11-15 21:18:40 -05:00
Donald Stufft 5ebff7b300 Merge - upgrade pip/setuptools 2016-11-15 21:18:20 -05:00
Donald Stufft dd5c73b4f2 Upgrade pip to 9.0.1 and setuptools to 28.8.0 2016-11-15 21:17:43 -05:00
Yury Selivanov 21bb0e6f55 Merge 3.5 (issue #28704) 2016-11-15 15:27:23 -05:00
Yury Selivanov d7c151871e Issue #28704: Fix create_unix_server to support Path-like objects 2016-11-15 15:26:34 -05:00
Yury Selivanov 27182bb232 Merge 3.5 (issue #28703) 2016-11-15 15:21:07 -05:00
Yury Selivanov 0ed20cdfb7 Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. 2016-11-15 15:20:34 -05:00
Guido van Rossum 63859aea9b Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.5->3.6) 2016-11-15 09:48:09 -08:00
Guido van Rossum 2f84144235 Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) 2016-11-15 09:48:06 -08:00
Xavier de Gaye 43cf2efafc Issue #26929: Skip some test_strptime tests failing on Android that
incorrectly formats %V or %G for the last or the first
incomplete week in a year
2016-11-15 17:24:42 +01:00
Xavier de Gaye d178e69ad8 Issue 28668: Merge 3.5 2016-11-15 17:03:12 +01:00
Xavier de Gaye 49e8f2d204 Issue 28668: Skip tests where instanciation of multiprocessing.Queue
would raise ImportError
2016-11-15 16:57:52 +01:00
Victor Stinner f9cca365c7 Fix warn_invalid_escape_sequence()
Issue #28691: Fix warn_invalid_escape_sequence(): handle correctly
DeprecationWarning raised as an exception. First clear the current exception to
replace the DeprecationWarning exception with a SyntaxError exception.

Unit test written by Serhiy Storchaka.
2016-11-15 09:12:10 +01:00
Serhiy Storchaka 39d2dfef44 Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.
2016-11-14 19:30:36 +02:00
Serhiy Storchaka 5ae6c776a8 Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.
2016-11-14 19:29:59 +02:00
Serhiy Storchaka 5ca92ab3d2 Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.
2016-11-14 19:25:56 +02:00
Serhiy Storchaka 60ac989d6f Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.
2016-11-14 19:22:12 +02:00
Xavier de Gaye 38c8b7d292 Issue #28662: Catch PermissionError in tests when spawning a non existent program 2016-11-14 17:14:42 +01:00
Victor Stinner 8bf43e6d0b Issue #28082: Add basic unit tests on re enums 2016-11-14 12:38:43 +01:00
Victor Stinner fb6a6596b5 Issue #28637: Reapply changeset 223731925d06
"issue28082: use IntFlag for re constants" by Ethan Furman.

The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.
2016-11-14 12:35:55 +01:00
Benjamin Peterson 996fc1fcfc correctly emulate error semantics of gen.throw in FutureIter_throw 2016-11-14 00:15:44 -08:00
Martin Panter f8cebad290 Merge AIX fixes from 3.5 into 3.6 2016-11-14 05:04:12 +00:00
Martin Panter 9544a365bd Issue #28016: Skip /dev/tty seekable() test on AIX 2016-11-14 01:58:57 +00:00
Xavier de Gaye 95aa56a6fb Issue #26934: Handle _ANDROID_API_LEVEL is None on Windows 2016-11-13 21:55:52 +01:00
Xavier de Gaye 6c5f21945a Fix test_faulthandler on Android where raise() exits with 0 2016-11-13 20:46:46 +01:00
Xavier de Gaye f056b04eea Merge 3.5 2016-11-13 19:41:07 +01:00
Xavier de Gaye 547c1b9ace Fix temporary file not deleted in test_socket 2016-11-13 19:39:48 +01:00
Raymond Hettinger 24e4239434 Fix typos 2016-11-13 00:42:56 -05:00
Serhiy Storchaka 58d3e54556 Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:33 +02:00
Serhiy Storchaka 022371ff94 Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Serhiy Storchaka e0e9d5f312 Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
2016-11-11 17:11:33 +02:00
Serhiy Storchaka 5adc22b330 Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
2016-11-11 17:10:24 +02:00
Serhiy Storchaka a27c064428 Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
2016-11-11 12:06:38 +02:00
Serhiy Storchaka 62e32d6352 Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
2016-11-11 12:05:01 +02:00
Serhiy Storchaka 839102603c Issue #23839: Various caches now are cleared before running every test file. 2016-11-11 11:46:44 +02:00
Serhiy Storchaka daeddc48a4 Issue #23839: Various caches now are cleared before running every test file. 2016-11-11 11:42:47 +02:00
Guido van Rossum 0d1acfdf18 Issue #28649: fix second issue with _ForwardRef (#328) (3.5->3.6) 2016-11-10 08:29:19 -08:00
Guido van Rossum dad179075a Issue #28649: fix second issue with _ForwardRef (#328) 2016-11-10 08:29:18 -08:00
Guido van Rossum fc293ddf92 Issue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6) 2016-11-10 08:26:19 -08:00
Guido van Rossum c7b92950c9 Issue #28649: fix first issue with _ForwardRef (#327) 2016-11-10 08:24:06 -08:00
Yury Selivanov 0a66a1cdd6 Merge 3.6 (issue #28653) 2016-11-09 18:56:26 -05:00
Yury Selivanov 46a02db90b Issue #28653: Fix a refleak in functools.lru_cache. 2016-11-09 18:55:45 -05:00
Serhiy Storchaka 04c954d275 Issue #28649: Clear the typing module caches when search for reference leaks. 2016-11-09 23:51:54 +02:00
Serhiy Storchaka 28f42fd4f8 Issue #28649: Clear the typing module caches when search for reference leaks. 2016-11-09 23:49:02 +02:00
Guido van Rossum 5486a88427 Issue #28649: typing-clear-caches.patch (3.5->3.6) 2016-11-09 13:23:05 -08:00
Guido van Rossum 9b10756019 Issue #28649: typing-clear-caches.patch 2016-11-09 13:23:04 -08:00
Guido van Rossum 83be424700 Issue #28649: fix-typing-test-v2.diff (3.5->3.6) 2016-11-09 13:19:00 -08:00
Guido van Rossum f9099de894 Issue #28649: fix-typing-test-v2.diff 2016-11-09 13:18:59 -08:00
Guido van Rossum b75f48580f Issue #28556: More typing.py updates from upstream. (3.5->3.6) 2016-11-09 13:12:53 -08:00