Commit Graph

79971 Commits

Author SHA1 Message Date
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
Benjamin Peterson f859d0d7fd move declaration to top of the function to appease the c89 gods 2016-09-05 13:07:48 -07:00
Benjamin Peterson aa187c6878 rewrite unpack_add_info, so it has less memory corruption bugs (closes #27944) 2016-09-05 12:44:38 -07:00
Zachary Ware 118eb656ab Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible 2016-09-05 12:54:08 -05:00
Zachary Ware 91a9c78c43 Issue #27407: Add prepare_ssl.py to 2.7 2016-09-05 11:55:42 -05:00
Terry Jan Reedy ef2020f634 Issue #27918# test.resource.is_gui_available no longer flashes tk window.
Also, don't run it if 'gui' is not requested.  Patch by Xiang Zhang.
2016-09-05 00:01:28 -04:00
Terry Jan Reedy cb2519813c Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
(Omitted for 2.7 from previous patch.)
2016-09-04 15:02:02 -04:00
Mark Dickinson e6239a3ab3 Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an instance of a float subclass. Thanks Eddie James. 2016-09-03 17:45:00 +01:00
Steve Dower 0ca4b6f5a6 Issue #27888: Prevent Windows installer from displaying console windows and failing when pip cannot be installed/uninstalled. 2016-09-01 11:21:56 -07:00
Terry Jan Reedy e7607d4d8f Issue #27922: IDLE tests no longer flash tk widgets. 2016-08-31 21:03:08 -04:00
Raymond Hettinger 56c5152370 Issue #27706: Document that random.seed() is non-deterministic when PYTHONHASHSEED is enabled 2016-08-31 14:57:32 -07:00
Terry Jan Reedy 28fb4da253 Issue #17642: add larger font sizes for classroom projection. 2016-08-30 20:19:07 -04:00
Terry Jan Reedy 580ca656bd Backport spelling fix. 2016-08-30 16:57:53 -04:00
Mark Dickinson 02c0c0b6e7 Issue #27870: A left shift of zero by a large integer no longer attempts to allocate large amounts of memory. 2016-08-29 19:38:12 +01:00
Serhiy Storchaka e63af905a4 Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor.  Patch by Xiang Zhang.
2016-08-29 14:29:55 +03:00