]> granicus.if.org Git - python/log
python
8 years agoAdd Lib/test/ssltests.py for faster testing of OpenSSL
Christian Heimes [Thu, 22 Sep 2016 14:53:15 +0000 (16:53 +0200)]
Add Lib/test/ssltests.py for faster testing of OpenSSL

8 years agoIssue #26661: setup.py now detects system libffi with multiarch wrapper.
Christian Heimes [Sun, 18 Sep 2016 12:40:15 +0000 (14:40 +0200)]
Issue #26661: setup.py now detects system libffi with multiarch wrapper.

8 years agoIssue #27932: Prevent memory leak in win32_ver().
Steve Dower [Sat, 17 Sep 2016 23:43:01 +0000 (16:43 -0700)]
Issue #27932: Prevent memory leak in win32_ver().

8 years agoIssue #28139: Fix messed up indentation
Martin Panter [Sat, 17 Sep 2016 07:54:55 +0000 (07:54 +0000)]
Issue #28139: Fix messed up indentation

Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.

8 years agoIssue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal of
sashk [Fri, 16 Sep 2016 13:08:45 +0000 (09:08 -0400)]
Issue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal of
deprecated QuickTime/QuickTime.h header file.  Patch by sashk.

8 years agoIssue #24363: Continue parsing HTTP header in spite of invalid lines
Martin Panter [Fri, 16 Sep 2016 02:54:11 +0000 (02:54 +0000)]
Issue #24363: Continue parsing HTTP header in spite of invalid lines

8 years agoIssue #28145: Spelling fixes
Martin Panter [Fri, 16 Sep 2016 00:46:05 +0000 (00:46 +0000)]
Issue #28145: Spelling fixes

8 years agoIssue #24366: Fix indentation
Martin Panter [Thu, 15 Sep 2016 01:50:53 +0000 (01:50 +0000)]
Issue #24366: Fix indentation

Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin
Peterson.

8 years agoIssue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
Serhiy Storchaka [Wed, 14 Sep 2016 13:36:15 +0000 (16:36 +0300)]
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().

8 years agofix misleading indentation (closes #28139)
Benjamin Peterson [Wed, 14 Sep 2016 04:48:57 +0000 (21:48 -0700)]
fix misleading indentation (closes #28139)

8 years agoIssue #15819: Drop dead code; -IInclude already added unconditionally
Martin Panter [Tue, 13 Sep 2016 11:41:45 +0000 (11:41 +0000)]
Issue #15819: Drop dead code; -IInclude already added unconditionally

8 years agoIssue #28104: More accurately document set method signatures
Raymond Hettinger [Tue, 13 Sep 2016 06:43:03 +0000 (23:43 -0700)]
Issue #28104: More accurately document set method signatures

8 years agoIssue #15308: Add 'interrupt execution' (^C) to Shell menu.
Terry Jan Reedy [Mon, 12 Sep 2016 05:49:55 +0000 (01:49 -0400)]
Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.

8 years agoIssue #26557: Note that mapping view methods are not present in UserDict or shelves.
Raymond Hettinger [Mon, 12 Sep 2016 03:38:27 +0000 (20:38 -0700)]
Issue #26557:  Note that mapping view methods are not present in UserDict or shelves.

8 years agoIssue #23105: Updated documentation on open() flag constants.
Vinay Sajip [Sun, 11 Sep 2016 14:11:50 +0000 (15:11 +0100)]
Issue #23105: Updated documentation on open() flag constants.

8 years agoIssue #27952: Get fixcid.py working with the re module
Martin Panter [Sun, 11 Sep 2016 09:48:57 +0000 (09:48 +0000)]
Issue #27952: Get fixcid.py working with the re module

8 years agoBackported tests for issue #28070.
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:51 +0000 (01:39 +0300)]
Backported tests for issue #28070.

8 years agoIDLE newx items.
Terry Jan Reedy [Sat, 10 Sep 2016 20:24:31 +0000 (16:24 -0400)]
IDLE newx items.

8 years agoCorrect spelling in documentation and code comments
Martin Panter [Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)]
Correct spelling in documentation and code comments

8 years agoCorrect print() calls to print a blank line in various test cases
Martin Panter [Sat, 10 Sep 2016 10:38:22 +0000 (10:38 +0000)]
Correct print() calls to print a blank line in various test cases

8 years agoIssue #28019: Backported additional tests for itertools.count().
Serhiy Storchaka [Sat, 10 Sep 2016 06:53:29 +0000 (09:53 +0300)]
Issue #28019: Backported additional tests for itertools.count().

8 years agoIssue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
Steve Dower [Sat, 10 Sep 2016 01:38:10 +0000 (18:38 -0700)]
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)

8 years agoremove fix_callable, callable() was readded long ago in 3.x.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:33:32 +0000 (18:33 -0700)]
remove fix_callable, callable() was readded long ago in 3.x.

8 years agoIssue #25969: Update the lib2to3 grammar to handle the unpacking
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:32:52 +0000 (18:32 -0700)]
Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.

8 years agoIssue #22450: Use "Accept: */*" in the default headers for urllib
Raymond Hettinger [Fri, 9 Sep 2016 23:23:06 +0000 (16:23 -0700)]
Issue #22450: Use "Accept: */*" in the default headers for urllib

8 years agoFix make buildbottest to not re-trigger a profile-opt build. issue28035.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:25:27 +0000 (12:25 -0700)]
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.

8 years agoIssue #24594: Validates persist parameter when opening MSI database
Steve Dower [Fri, 9 Sep 2016 18:56:34 +0000 (11:56 -0700)]
Issue #24594: Validates persist parameter when opening MSI database

8 years agoRemoves file from installer.
Steve Dower [Fri, 9 Sep 2016 18:05:58 +0000 (11:05 -0700)]
Removes file from installer.

8 years agoIssue #26132: Only adds manifest to executables and main DLL.
Steve Dower [Fri, 9 Sep 2016 18:05:46 +0000 (11:05 -0700)]
Issue #26132: Only adds manifest to executables and main DLL.

8 years agoUpgrade setuptools to 27.1.2
Donald Stufft [Fri, 9 Sep 2016 16:16:12 +0000 (12:16 -0400)]
Upgrade setuptools to 27.1.2

8 years agoDisable test_gdb.PrettyPrintTests when compiled with optimizations,
Gregory P. Smith [Fri, 9 Sep 2016 04:50:44 +0000 (21:50 -0700)]
Disable test_gdb.PrettyPrintTests when compiled with optimizations,
these often fail on PGO builds.

8 years agoissue28032: never imply --with-lto as part of --with-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 22:44:44 +0000 (22:44 +0000)]
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.

8 years agoIssue #26020: Add news entry
Raymond Hettinger [Thu, 8 Sep 2016 22:27:27 +0000 (15:27 -0700)]
Issue #26020: Add news entry

8 years agoIssue #26020: Fix evaluation order for set literals
Raymond Hettinger [Thu, 8 Sep 2016 22:25:19 +0000 (15:25 -0700)]
Issue #26020: Fix evaluation order for set literals

8 years agoskip two test_gdb tests that fail when compiled in profile-opt mode:
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 21:51:26 +0000 (21:51 +0000)]
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.

8 years agodocument --with-optimizations in the README for issue26359.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 18:37:59 +0000 (18:37 +0000)]
document --with-optimizations in the README for issue26359.

8 years agoIssue #21201: Improves readability of multiprocessing error message from server to...
Davin Potts [Thu, 8 Sep 2016 18:07:13 +0000 (13:07 -0500)]
Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions

8 years agoFixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
Gregory P. Smith [Thu, 8 Sep 2016 07:07:40 +0000 (00:07 -0700)]
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.

8 years agoIssue #26359: Add the --with-optimizations flag.
Gregory P. Smith [Thu, 8 Sep 2016 06:28:23 +0000 (23:28 -0700)]
Issue #26359: Add the --with-optimizations flag.

8 years agoIssue #27993: Fix problems with the plural “objects” in docs and comments
Martin Panter [Thu, 8 Sep 2016 05:39:59 +0000 (05:39 +0000)]
Issue #27993: Fix problems with the plural “objects” in docs and comments

8 years agoCorrect occurance → occurrence; extracted from patch by Georg Brandl
Martin Panter [Thu, 8 Sep 2016 05:22:16 +0000 (05:22 +0000)]
Correct occurance → occurrence; extracted from patch by Georg Brandl

8 years agoIssue #27895: Spelling fixes (Contributed by Ville Skyttä).
Martin Panter [Wed, 7 Sep 2016 12:03:06 +0000 (12:03 +0000)]
Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).

8 years agoIssue #27570: Avoid zero-length memcpy() calls with null source pointers
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27570: Avoid zero-length memcpy() calls with null source pointers

8 years agoFix placement of Misc/NEWS item for issue #15578.
Gregory P. Smith [Thu, 8 Sep 2016 05:26:08 +0000 (22:26 -0700)]
Fix placement of Misc/NEWS item for issue #15578.

8 years agoIssue #15578: Correctly incref the parent module while importing.
Eric Snow [Thu, 8 Sep 2016 02:08:02 +0000 (19:08 -0700)]
Issue #15578: Correctly incref the parent module while importing.

8 years agolib2to3.pgen3.driver.load_grammar() now creates a stable cache file
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 01:04:37 +0000 (01:04 +0000)]
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.

8 years ago#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 18:09:51 +0000 (14:09 -0400)]
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.

8 years agopromote some shifts to unsigned, so as not to invoke undefined behavior
Benjamin Peterson [Wed, 7 Sep 2016 03:40:04 +0000 (20:40 -0700)]
promote some shifts to unsigned, so as not to invoke undefined behavior

8 years agoFixes issue26307: The profile-opt build now applys PGO to the built-in modules.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Wed, 7 Sep 2016 01:05:59 +0000 (01:05 +0000)]
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.

8 years agomake sure to not call memcpy with a NULL second argument
Benjamin Peterson [Wed, 7 Sep 2016 00:58:25 +0000 (17:58 -0700)]
make sure to not call memcpy with a NULL second argument

8 years agodo not leak addrinfo in configure test
Benjamin Peterson [Tue, 6 Sep 2016 22:54:24 +0000 (15:54 -0700)]
do not leak addrinfo in configure test

8 years agoFix ssl documentation and remove merge accident
Christian Heimes [Tue, 6 Sep 2016 21:41:37 +0000 (23:41 +0200)]
Fix ssl documentation and remove merge accident

8 years agoIssue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields...
Christian Heimes [Tue, 6 Sep 2016 21:25:35 +0000 (23:25 +0200)]
Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.

8 years agoIssues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20...
Christian Heimes [Tue, 6 Sep 2016 18:06:47 +0000 (20:06 +0200)]
Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.

8 years agosuppress stderr output when checking gdb (closes #27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)]
suppress stderr output when checking gdb (closes #27969)

8 years agofix unused variable warnings in pysqlite (closes #27967)
Benjamin Peterson [Tue, 6 Sep 2016 17:01:16 +0000 (10:01 -0700)]
fix unused variable warnings in pysqlite (closes #27967)

8 years agoBacked out changeset 8b6be1341770
Benjamin Peterson [Tue, 6 Sep 2016 00:22:09 +0000 (17:22 -0700)]
Backed out changeset 8b6be1341770

8 years agoremove long double from ctypes value union
Benjamin Peterson [Mon, 5 Sep 2016 23:24:52 +0000 (16:24 -0700)]
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.

8 years agoIssue #26470: Use short name rather than name for compression name to fix #27958.
Christian Heimes [Mon, 5 Sep 2016 23:10:39 +0000 (01:10 +0200)]
Issue #26470: Use short name rather than name for compression name to fix #27958.

8 years agoIssue #27748: Backed out changeset 6137d0ed0a15
Zachary Ware [Mon, 5 Sep 2016 23:06:06 +0000 (18:06 -0500)]
Issue #27748: Backed out changeset 6137d0ed0a15

Apparently the test succeeds on XP.

8 years agoIssue #27748: strengthen test_alias_nofallback
Zachary Ware [Mon, 5 Sep 2016 22:19:35 +0000 (17:19 -0500)]
Issue #27748: strengthen test_alias_nofallback

This test should always raise RuntimeError.

8 years agoIssue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.
Christian Heimes [Mon, 5 Sep 2016 21:37:13 +0000 (23:37 +0200)]
Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.

8 years agoIssue #27748: Simplify test_winsound.
Zachary Ware [Mon, 5 Sep 2016 20:09:41 +0000 (15:09 -0500)]
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.

8 years agomove declaration to top of the function to appease the c89 gods
Benjamin Peterson [Mon, 5 Sep 2016 20:07:48 +0000 (13:07 -0700)]
move declaration to top of the function to appease the c89 gods

8 years agorewrite unpack_add_info, so it has less memory corruption bugs (closes #27944)
Benjamin Peterson [Mon, 5 Sep 2016 19:44:38 +0000 (12:44 -0700)]
rewrite unpack_add_info, so it has less memory corruption bugs (closes #27944)

8 years agoIssue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible
Zachary Ware [Mon, 5 Sep 2016 17:54:08 +0000 (12:54 -0500)]
Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible

8 years agoIssue #27407: Add prepare_ssl.py to 2.7
Zachary Ware [Mon, 5 Sep 2016 16:55:42 +0000 (11:55 -0500)]
Issue #27407: Add prepare_ssl.py to 2.7

8 years agoIssue #27918# test.resource.is_gui_available no longer flashes tk window.
Terry Jan Reedy [Mon, 5 Sep 2016 04:01:28 +0000 (00:01 -0400)]
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.

8 years agoIssue #27922: IDLE test_idlehistory no longer flash tk widgets.
Terry Jan Reedy [Sun, 4 Sep 2016 19:02:02 +0000 (15:02 -0400)]
Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
(Omitted for 2.7 from previous patch.)

8 years agoIssue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an instance...
Mark Dickinson [Sat, 3 Sep 2016 16:45:00 +0000 (17:45 +0100)]
Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an instance of a float subclass. Thanks Eddie James.

8 years agoIssue #27888: Prevent Windows installer from displaying console windows and failing...
Steve Dower [Thu, 1 Sep 2016 18:21:56 +0000 (11:21 -0700)]
Issue #27888: Prevent Windows installer from displaying console windows and failing when pip cannot be installed/uninstalled.

8 years agoIssue #27922: IDLE tests no longer flash tk widgets.
Terry Jan Reedy [Thu, 1 Sep 2016 01:03:08 +0000 (21:03 -0400)]
Issue #27922: IDLE tests no longer flash tk widgets.

8 years agoIssue #27706: Document that random.seed() is non-deterministic when PYTHONHASHSEED...
Raymond Hettinger [Wed, 31 Aug 2016 21:57:32 +0000 (14:57 -0700)]
Issue #27706:  Document that random.seed() is non-deterministic when PYTHONHASHSEED is enabled

8 years agoIssue #17642: add larger font sizes for classroom projection.
Terry Jan Reedy [Wed, 31 Aug 2016 00:19:07 +0000 (20:19 -0400)]
Issue #17642: add larger font sizes for classroom projection.

8 years agoBackport spelling fix.
Terry Jan Reedy [Tue, 30 Aug 2016 20:57:53 +0000 (16:57 -0400)]
Backport spelling fix.

8 years agoIssue #27870: A left shift of zero by a large integer no longer attempts to allocate...
Mark Dickinson [Mon, 29 Aug 2016 18:38:12 +0000 (19:38 +0100)]
Issue #27870: A left shift of zero by a large integer no longer attempts to allocate large amounts of memory.

8 years agoIssue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
Serhiy Storchaka [Mon, 29 Aug 2016 11:29:55 +0000 (14:29 +0300)]
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor.  Patch by Xiang Zhang.

8 years agoIssue #19884: Avoid spurious output on OS X with Gnu Readline
Martin Panter [Sat, 27 Aug 2016 02:54:43 +0000 (02:54 +0000)]
Issue #19884: Avoid spurious output on OS X with Gnu Readline

Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.

8 years agoIssue #10513: Fix a regression in Connection.commit()
Berker Peksag [Fri, 26 Aug 2016 19:19:05 +0000 (22:19 +0300)]
Issue #10513: Fix a regression in Connection.commit()

Statements should not be reset after a commit.

Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa

8 years agoAdd version to title of IDLE help window.
Terry Jan Reedy [Fri, 26 Aug 2016 00:04:08 +0000 (20:04 -0400)]
Add version to title of IDLE help window.

8 years agoIssue #25564: Mention exec and __builtins__ in IDLE-console difference section.
Terry Jan Reedy [Thu, 25 Aug 2016 05:21:54 +0000 (01:21 -0400)]
Issue #25564: Mention exec and __builtins__ in IDLE-console difference section.
Do not print charrefs outside of the text proper (like '—»»»» ').

8 years agoIssue #12660: Backport 84bbb8d2d237
Zachary Ware [Wed, 24 Aug 2016 16:14:34 +0000 (11:14 -0500)]
Issue #12660: Backport 84bbb8d2d237

8 years ago#2466: fix test failure on windows.
R David Murray [Wed, 24 Aug 2016 12:59:47 +0000 (08:59 -0400)]
#2466: fix test failure on windows.

Windows symlink support was introduced in python3, so we need to skip
those tests differently on python2.  Patch by Xiang Zhang.

8 years ago# 2466: ismount now recognizes mount points user can't access.
R David Murray [Tue, 23 Aug 2016 16:30:28 +0000 (12:30 -0400)]
# 2466: ismount now recognizes mount points user can't access.

Patch by Robin Roth, backport by Xiang Zhang.

8 years agoIssue #25604: Fix bug in integer true division that could have resulted in off-by...
Mark Dickinson [Sun, 21 Aug 2016 09:59:48 +0000 (10:59 +0100)]
Issue #25604: Fix bug in integer true division that could have resulted in off-by-one-ulp results in unusual cases.

8 years agoFix typo in IDLE News.
Terry Jan Reedy [Sun, 21 Aug 2016 04:18:49 +0000 (00:18 -0400)]
Fix typo in IDLE News.

8 years agoAdd 2.7.13 IDLE NEWS and idlelib/NEWS.txt items.
Terry Jan Reedy [Sun, 21 Aug 2016 01:40:55 +0000 (21:40 -0400)]
Add 2.7.13 IDLE NEWS and idlelib/NEWS.txt items.

8 years agoIssue #27714: Remove unneeded non-idempotent call that fails on retest.
Terry Jan Reedy [Sun, 21 Aug 2016 01:07:32 +0000 (21:07 -0400)]
Issue #27714: Remove unneeded non-idempotent call that fails on retest.

8 years agoFix some spelling errors
Martin Panter [Sat, 20 Aug 2016 08:00:53 +0000 (08:00 +0000)]
Fix some spelling errors

8 years agoIssue #27614: Avoid race in test_docxmlrpc server setup
Martin Panter [Thu, 18 Aug 2016 06:12:22 +0000 (06:12 +0000)]
Issue #27614: Avoid race in test_docxmlrpc server setup

8 years agoFix a refleak in call_maybe()
Victor Stinner [Fri, 19 Aug 2016 15:58:54 +0000 (17:58 +0200)]
Fix a refleak in call_maybe()

Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.

8 years agoFix a refleak in call_method()
Victor Stinner [Fri, 19 Aug 2016 15:52:53 +0000 (17:52 +0200)]
Fix a refleak in call_method()

Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.

8 years agorearrange methodcaller_new so that the main error case does not cause uninitialized...
Benjamin Peterson [Wed, 17 Aug 2016 06:35:35 +0000 (23:35 -0700)]
rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage (closes #27783)

8 years agoIssue #27611: Don't import volatile attribute.
Terry Jan Reedy [Tue, 16 Aug 2016 05:44:06 +0000 (01:44 -0400)]
Issue #27611: Don't import volatile attribute.

8 years agodo not decref value borrowed from list (closes #27774)
Benjamin Peterson [Tue, 16 Aug 2016 05:01:41 +0000 (22:01 -0700)]
do not decref value borrowed from list (closes #27774)

8 years agofail when negative values are passed to instr()
Benjamin Peterson [Tue, 16 Aug 2016 04:40:14 +0000 (21:40 -0700)]
fail when negative values are passed to instr()

8 years agoIssue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
Ned Deily [Mon, 15 Aug 2016 07:04:36 +0000 (03:04 -0400)]
Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.

8 years agoIssue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Ned Deily [Mon, 15 Aug 2016 06:59:31 +0000 (02:59 -0400)]
Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.

8 years agoUpgrade setuptools/pip to to 25.2.0/8.1.2
Donald Stufft [Sun, 14 Aug 2016 20:08:42 +0000 (16:08 -0400)]
Upgrade setuptools/pip to to 25.2.0/8.1.2

8 years agofix possible integer overflow in binascii.b2a_qp (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:33:33 +0000 (18:33 -0700)]
fix possible integer overflow in binascii.b2a_qp (closes #27760)

Reported by Thomas E. Hybel