Commit Graph

79947 Commits

Author SHA1 Message Date
Christian Heimes 37471dc6f9 Issue #26661: setup.py now detects system libffi with multiarch wrapper. 2016-09-18 14:40:15 +02:00
Steve Dower db01b3e069 Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 16:43:01 -07:00
Martin Panter ca56dd4767 Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 07:54:55 +00:00
sashk fd2f85d6e4 Issue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal of
deprecated QuickTime/QuickTime.h header file.  Patch by sashk.
2016-09-16 09:08:45 -04:00
Martin Panter 75b2c5f82d Issue #24363: Continue parsing HTTP header in spite of invalid lines 2016-09-16 02:54:11 +00:00
Martin Panter e8bba99ab6 Issue #28145: Spelling fixes 2016-09-16 00:46:05 +00:00
Martin Panter 5f75502a2e Issue #24366: Fix indentation
Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin
Peterson.
2016-09-15 01:50:53 +00:00
Serhiy Storchaka 12c8855d09 Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 2016-09-14 16:36:15 +03:00
Benjamin Peterson e4668aade9 fix misleading indentation (closes #28139) 2016-09-13 21:48:57 -07:00
Martin Panter 51bfaa7efe Issue #15819: Drop dead code; -IInclude already added unconditionally 2016-09-13 11:41:45 +00:00
Raymond Hettinger 84a449abb3 Issue #28104: More accurately document set method signatures 2016-09-12 23:43:03 -07:00
Terry Jan Reedy 87bcc1d646 Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:49:55 -04:00
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