Commit Graph

79785 Commits

Author SHA1 Message Date
Raymond Hettinger 63c79966d5 Issue #26557: Note that mapping view methods are not present in UserDict or shelves. 2016-09-11 20:38:27 -07:00
Vinay Sajip 0954ac1b5c Issue #23105: Updated documentation on open() flag constants. 2016-09-11 15:11:50 +01:00
Martin Panter 8f7d36ba9a Issue #27952: Get fixcid.py working with the re module 2016-09-11 09:48:57 +00:00
Serhiy Storchaka 0b5f22d371 Backported tests for issue #28070. 2016-09-11 01:39:51 +03:00
Terry Jan Reedy 8b7aff8135 IDLE newx items. 2016-09-10 16:24:31 -04:00
Martin Panter fcc8a0f0f5 Correct spelling in documentation and code comments 2016-09-10 10:38:28 +00:00
Martin Panter ad6a99c011 Correct print() calls to print a blank line in various test cases 2016-09-10 10:38:22 +00:00
Serhiy Storchaka 7f8ce85947 Issue #28019: Backported additional tests for itertools.count(). 2016-09-10 09:53:29 +03:00
Steve Dower d6004b4b3b Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:38:10 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 13b56efa81 remove fix_callable, callable() was readded long ago in 3.x. 2016-09-09 18:33:32 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 88c00132cc Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.
2016-09-09 18:32:52 -07:00
Raymond Hettinger 019a2e225b Issue #22450: Use "Accept: */*" in the default headers for urllib 2016-09-09 16:23:06 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) d02905df87 Fix make buildbottest to not re-trigger a profile-opt build. issue28035. 2016-09-09 12:25:27 -07:00
Steve Dower b420601f09 Issue #24594: Validates persist parameter when opening MSI database 2016-09-09 11:56:34 -07:00
Steve Dower fc7e4300d3 Removes file from installer. 2016-09-09 11:05:58 -07:00
Steve Dower 527dc8af86 Issue #26132: Only adds manifest to executables and main DLL. 2016-09-09 11:05:46 -07:00
Donald Stufft 6ddd92730b Upgrade setuptools to 27.1.2 2016-09-09 12:16:12 -04:00
Gregory P. Smith 77ba5969d6 Disable test_gdb.PrettyPrintTests when compiled with optimizations,
these often fail on PGO builds.
2016-09-08 21:50:44 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 9cbfa79111 issue28032: never imply --with-lto as part of --with-optimizations.
Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9).  On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.

We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.
2016-09-08 22:44:44 +00:00
Raymond Hettinger a661009e37 Issue #26020: Add news entry 2016-09-08 15:27:27 -07:00
Raymond Hettinger e62a694fee Issue #26020: Fix evaluation order for set literals 2016-09-08 15:25:19 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) cb20a21740 skip two test_gdb tests that fail when compiled in profile-opt mode:
StackNavigationTests.test_up_at_top and PyBtTests.test_threads.

Unfortunately we have no way of identifying if we were compiled profile-opt
or not from what is in sysconfig.get_config_vars() so we just disable it for
all optimized builds.  This test suite crazy fragile.
2016-09-08 21:51:26 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) c4f19c408a document --with-optimizations in the README for issue26359. 2016-09-08 18:37:59 +00:00
Davin Potts 280290adb8 Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions 2016-09-08 13:07:13 -05:00
Gregory P. Smith 794b2912ac Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled.  Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-08 00:07:40 -07:00
Gregory P. Smith 6d8fdfc84b Issue #26359: Add the --with-optimizations flag. 2016-09-07 23:28:23 -07:00
Martin Panter ba5480b656 Issue #27993: Fix problems with the plural “objects” in docs and comments 2016-09-08 05:39:59 +00:00
Martin Panter 440bbd0e38 Correct occurance → occurrence; extracted from patch by Georg Brandl 2016-09-08 05:22:16 +00:00
Martin Panter 6507657ddd Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
Martin Panter 6eec87810f Issue #27570: Avoid zero-length memcpy() calls with null source pointers 2016-09-07 11:04:41 +00:00
Gregory P. Smith 68b1f708bd Fix placement of Misc/NEWS item for issue #15578. 2016-09-07 22:26:08 -07:00
Eric Snow bf00bc783f Issue #15578: Correctly incref the parent module while importing. 2016-09-07 19:08:02 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 280bc223b4 lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
between runs given the same Grammar.txt input regardless of the hash
randomization setting.

Backport of 186bb8dc5540 from 3.5.  Done in 2.7 per the lib2to3 exemption.
2016-09-08 01:04:37 +00:00
R David Murray 039f184654 #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs. 2016-09-07 14:09:51 -04:00
Benjamin Peterson 89f676f30c promote some shifts to unsigned, so as not to invoke undefined behavior 2016-09-06 20:40:04 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 93d1a7051f Fixes issue26307: The profile-opt build now applys PGO to the built-in modules. 2016-09-07 01:05:59 +00:00
Benjamin Peterson d4d7900307 make sure to not call memcpy with a NULL second argument 2016-09-06 17:58:25 -07:00
Benjamin Peterson d34677c130 do not leak addrinfo in configure test 2016-09-06 15:54:24 -07:00
Christian Heimes 4e64c2c838 Fix ssl documentation and remove merge accident 2016-09-06 23:41:37 +02:00
Christian Heimes 6663eb6b72 Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. 2016-09-06 23:25:35 +02:00
Christian Heimes d988f429fe Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305. 2016-09-06 20:06:47 +02:00
Benjamin Peterson 499378f087 suppress stderr output when checking gdb (closes #27969) 2016-09-06 10:06:31 -07:00
Benjamin Peterson f0039d1f8d fix unused variable warnings in pysqlite (closes #27967) 2016-09-06 10:01:16 -07:00
Benjamin Peterson 28e2771f24 Backed out changeset 8b6be1341770 2016-09-05 17:22:09 -07:00
Benjamin Peterson bbc8fe1841 remove long double from ctypes value union
It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.
2016-09-05 16:24:52 -07:00
Christian Heimes 9940633e89 Issue #26470: Use short name rather than name for compression name to fix #27958. 2016-09-06 01:10:39 +02:00
Zachary Ware b2b734f48c Issue #27748: Backed out changeset 6137d0ed0a15
Apparently the test succeeds on XP.
2016-09-05 18:06:06 -05:00
Zachary Ware 19071c0046 Issue #27748: strengthen test_alias_nofallback
This test should always raise RuntimeError.
2016-09-05 17:19:35 -05:00
Christian Heimes c2fc7c4f53 Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. 2016-09-05 23:37:13 +02:00
Zachary Ware 344582771c Issue #27748: Simplify test_winsound.
The tests no longer attempt to figure out if a soundcard or particular
system sounds are available.  Instead, it just tries everything and
accepts RuntimeError as a flavor of success.
2016-09-05 15:09:41 -05:00