]>
granicus.if.org Git - python/log
Martin Panter [Tue, 13 Sep 2016 11:41:45 +0000 (11:41 +0000)]
Issue #15819: Drop dead code; -IInclude already added unconditionally
Raymond Hettinger [Tue, 13 Sep 2016 06:43:03 +0000 (23:43 -0700)]
Issue #28104: More accurately document set method signatures
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.
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.
Vinay Sajip [Sun, 11 Sep 2016 14:11:50 +0000 (15:11 +0100)]
Issue #23105: Updated documentation on open() flag constants.
Martin Panter [Sun, 11 Sep 2016 09:48:57 +0000 (09:48 +0000)]
Issue #27952: Get fixcid.py working with the re module
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:51 +0000 (01:39 +0300)]
Backported tests for issue #28070.
Terry Jan Reedy [Sat, 10 Sep 2016 20:24:31 +0000 (16:24 -0400)]
IDLE newx items.
Martin Panter [Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)]
Correct spelling in documentation and code comments
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
Serhiy Storchaka [Sat, 10 Sep 2016 06:53:29 +0000 (09:53 +0300)]
Issue #28019: Backported additional tests for itertools.count().
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)
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.
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.
Raymond Hettinger [Fri, 9 Sep 2016 23:23:06 +0000 (16:23 -0700)]
Issue #22450: Use "Accept: */*" in the default headers for urllib
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.
Steve Dower [Fri, 9 Sep 2016 18:56:34 +0000 (11:56 -0700)]
Issue #24594: Validates persist parameter when opening MSI database
Steve Dower [Fri, 9 Sep 2016 18:05:58 +0000 (11:05 -0700)]
Removes file from installer.
Steve Dower [Fri, 9 Sep 2016 18:05:46 +0000 (11:05 -0700)]
Issue #26132: Only adds manifest to executables and main DLL.
Donald Stufft [Fri, 9 Sep 2016 16:16:12 +0000 (12:16 -0400)]
Upgrade setuptools to 27.1.2
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.
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.
Raymond Hettinger [Thu, 8 Sep 2016 22:27:27 +0000 (15:27 -0700)]
Issue #26020: Add news entry
Raymond Hettinger [Thu, 8 Sep 2016 22:25:19 +0000 (15:25 -0700)]
Issue #26020: Fix evaluation order for set literals
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.
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.
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
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.
Gregory P. Smith [Thu, 8 Sep 2016 06:28:23 +0000 (23:28 -0700)]
Issue #26359: Add the --with-optimizations flag.
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
Martin Panter [Thu, 8 Sep 2016 05:22:16 +0000 (05:22 +0000)]
Correct occurance → occurrence; extracted from patch by Georg Brandl
Martin Panter [Wed, 7 Sep 2016 12:03:06 +0000 (12:03 +0000)]
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27570: Avoid zero-length memcpy() calls with null source pointers
Gregory P. Smith [Thu, 8 Sep 2016 05:26:08 +0000 (22:26 -0700)]
Fix placement of Misc/NEWS item for issue #15578.
Eric Snow [Thu, 8 Sep 2016 02:08:02 +0000 (19:08 -0700)]
Issue #15578: Correctly incref the parent module while importing.
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.
R David Murray [Wed, 7 Sep 2016 18:09:51 +0000 (14:09 -0400)]
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
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
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.
Benjamin Peterson [Wed, 7 Sep 2016 00:58:25 +0000 (17:58 -0700)]
make sure to not call memcpy with a NULL second argument
Benjamin Peterson [Tue, 6 Sep 2016 22:54:24 +0000 (15:54 -0700)]
do not leak addrinfo in configure test
Christian Heimes [Tue, 6 Sep 2016 21:41:37 +0000 (23:41 +0200)]
Fix ssl documentation and remove merge accident
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.
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.
Benjamin Peterson [Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)]
suppress stderr output when checking gdb (closes #27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:01:16 +0000 (10:01 -0700)]
fix unused variable warnings in pysqlite (closes #27967)
Benjamin Peterson [Tue, 6 Sep 2016 00:22:09 +0000 (17:22 -0700)]
Backed out changeset
8b6be1341770
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.
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.
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.
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.
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.
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.
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
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)
Zachary Ware [Mon, 5 Sep 2016 17:54:08 +0000 (12:54 -0500)]
Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible
Zachary Ware [Mon, 5 Sep 2016 16:55:42 +0000 (11:55 -0500)]
Issue #27407: Add prepare_ssl.py to 2.7
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.
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.)
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.
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.
Terry Jan Reedy [Thu, 1 Sep 2016 01:03:08 +0000 (21:03 -0400)]
Issue #27922: IDLE tests no longer flash tk widgets.
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
Terry Jan Reedy [Wed, 31 Aug 2016 00:19:07 +0000 (20:19 -0400)]
Issue #17642: add larger font sizes for classroom projection.
Terry Jan Reedy [Tue, 30 Aug 2016 20:57:53 +0000 (16:57 -0400)]
Backport spelling fix.
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.
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.
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.
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
Terry Jan Reedy [Fri, 26 Aug 2016 00:04:08 +0000 (20:04 -0400)]
Add version to title of IDLE help window.
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 '—»»»» ').
Zachary Ware [Wed, 24 Aug 2016 16:14:34 +0000 (11:14 -0500)]
Issue #12660: Backport
84bbb8d2d237
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.
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.
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.
Terry Jan Reedy [Sun, 21 Aug 2016 04:18:49 +0000 (00:18 -0400)]
Fix typo in IDLE News.
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.
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.
Martin Panter [Sat, 20 Aug 2016 08:00:53 +0000 (08:00 +0000)]
Fix some spelling errors
Martin Panter [Thu, 18 Aug 2016 06:12:22 +0000 (06:12 +0000)]
Issue #27614: Avoid race in test_docxmlrpc server setup
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.
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.
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)
Terry Jan Reedy [Tue, 16 Aug 2016 05:44:06 +0000 (01:44 -0400)]
Issue #27611: Don't import volatile attribute.
Benjamin Peterson [Tue, 16 Aug 2016 05:01:41 +0000 (22:01 -0700)]
do not decref value borrowed from list (closes #27774)
Benjamin Peterson [Tue, 16 Aug 2016 04:40:14 +0000 (21:40 -0700)]
fail when negative values are passed to instr()
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.
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.
Donald Stufft [Sun, 14 Aug 2016 20:08:42 +0000 (16:08 -0400)]
Upgrade setuptools/pip to to 25.2.0/8.1.2
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
Benjamin Peterson [Sun, 14 Aug 2016 01:15:28 +0000 (18:15 -0700)]
do not allow reading negative values with getstr()
Benjamin Peterson [Sun, 14 Aug 2016 00:17:06 +0000 (17:17 -0700)]
check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
Benjamin Peterson [Sat, 13 Aug 2016 23:47:25 +0000 (16:47 -0700)]
fix possible overflow in encode_basestring_ascii (#23369)
R David Murray [Sat, 13 Aug 2016 18:46:23 +0000 (14:46 -0400)]
#27753: fix typo (name->named).
Raymond Hettinger [Sat, 13 Aug 2016 18:10:23 +0000 (11:10 -0700)]
Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
Terry Jan Reedy [Wed, 10 Aug 2016 23:41:39 +0000 (19:41 -0400)]
Issue #27714: For IDLE's test_textview, backport 3.x subclass with mocks
instead of overriding methods with mocks in original class and module.
This makes the 2.7 test_textview nearly identical to the 3.5/.6 test.
Martin Panter [Wed, 10 Aug 2016 05:25:16 +0000 (05:25 +0000)]
Correct misspellings of ISO-8859
Zachary Ware [Tue, 9 Aug 2016 22:28:33 +0000 (17:28 -0500)]
Issue #27205: Fix doctests in Doc/library/collections.rst
Zachary Ware [Tue, 9 Aug 2016 22:03:32 +0000 (17:03 -0500)]
Issue #27204: Fix doctests in Doc/howto
Initial patch by Jelle Zijlstra.
Vinay Sajip [Tue, 9 Aug 2016 13:57:03 +0000 (14:57 +0100)]
Issue #21999: Handled empty strings correctly when in POSIX mode.