]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 7 Oct 2016 18:51:09 +0000 (21:51 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
Benjamin Peterson [Thu, 6 Oct 2016 06:26:24 +0000 (23:26 -0700)]
make 'where' Py_ssize_t
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported
Benjamin Peterson [Thu, 6 Oct 2016 04:45:48 +0000 (21:45 -0700)]
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
Serhiy Storchaka [Tue, 4 Oct 2016 15:17:08 +0000 (18:17 +0300)]
Issue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Sun, 2 Oct 2016 18:16:28 +0000 (21:16 +0300)]
Moved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 08:10:18 +0000 (11:10 +0300)]
Issue #27358: Backported tests.
Serhiy Storchaka [Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)]
Issue #28257: Backported a test.
Serhiy Storchaka [Sat, 1 Oct 2016 05:24:55 +0000 (08:24 +0300)]
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Original patch by Xiang Zhang.
Terry Jan Reedy [Fri, 30 Sep 2016 19:38:41 +0000 (15:38 -0400)]
Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:08 +0000 (10:38 +0300)]
Issue #27942: String constants now interned recursively in tuples and frozensets.
Terry Jan Reedy [Fri, 30 Sep 2016 06:53:33 +0000 (02:53 -0400)]
Issue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Also, make idlelib.idle.main() work after import idlelib.idle.
Victor Stinner [Thu, 29 Sep 2016 20:33:02 +0000 (22:33 +0200)]
Issue #28258: Explain the LC_ALL change in a comment
Serhiy Storchaka [Thu, 29 Sep 2016 17:46:45 +0000 (20:46 +0300)]
Issue #28258: Fixed build with Estonian locale (distclean target in
Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
Benjamin Peterson [Thu, 29 Sep 2016 06:13:58 +0000 (23:13 -0700)]
build_ext: correctly parse the link_objects user option (closes #
1703178 )
Patch by Valerie Lambert.
Martin Panter [Thu, 29 Sep 2016 02:50:20 +0000 (02:50 +0000)]
Remove disabled ctypes test
The test was commented out in 2005 before ctypes was added to Python, because
the “cdll” attribute loading feature “will no longer work this way”:
http://svn.python.org/view?view=revision&revision=49102
Terry Jan Reedy [Thu, 29 Sep 2016 01:55:33 +0000 (21:55 -0400)]
IDLE NEWS item and ack.
Berker Peksag [Wed, 28 Sep 2016 23:32:51 +0000 (02:32 +0300)]
Issue #26550: Fix typo in webservers HOWTO
Reported by Alejandro Soini.
Alexander Belopolsky [Wed, 28 Sep 2016 02:45:20 +0000 (22:45 -0400)]
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
Serhiy Storchaka [Tue, 27 Sep 2016 12:24:13 +0000 (15:24 +0300)]
Issue #27963: Fixed possible null pointer dereference in ctypes.set_conversion_mode().
Patch by Xiang Zhang.
Benjamin Peterson [Tue, 27 Sep 2016 06:55:41 +0000 (23:55 -0700)]
be extremely careful about overflows in encode_basestring_ascii (closes #28284)
Martin Panter [Tue, 27 Sep 2016 05:10:40 +0000 (05:10 +0000)]
Issue #26439: Document that RTLD_NOW is always added
Serhiy Storchaka [Mon, 26 Sep 2016 21:27:15 +0000 (00:27 +0300)]
Issue #27897: Backported tests.
Serhiy Storchaka [Sun, 25 Sep 2016 13:44:32 +0000 (16:44 +0300)]
Issue #27611: Fixed support of default root window in the Tix module.
Martin Panter [Sat, 24 Sep 2016 05:38:14 +0000 (05:38 +0000)]
Revert unintended commit to asdl_c.py
Martin Panter [Sat, 24 Sep 2016 05:35:15 +0000 (05:35 +0000)]
Fix incomplete format error in asdl.py
Martin Panter [Fri, 23 Sep 2016 23:45:56 +0000 (23:45 +0000)]
Issue #28221: Remove unused assignment from test_asyncore_server()
The later value of FOO is fine. The test just needs to verify that the server
converted it to lowercase.
Christian Heimes [Thu, 22 Sep 2016 14:54:06 +0000 (16:54 +0200)]
merge
Christian Heimes [Thu, 22 Sep 2016 14:53:15 +0000 (16:53 +0200)]
Add Lib/test/ssltests.py for faster testing of OpenSSL
Steve Dower [Wed, 21 Sep 2016 16:10:21 +0000 (09:10 -0700)]
Issue #26513: Use winver.product_type instead of .product
Ned Deily [Tue, 20 Sep 2016 18:58:38 +0000 (14:58 -0400)]
Make 3.7 the current dev version in the html version of the docs.
Benjamin Peterson [Tue, 20 Sep 2016 05:16:36 +0000 (22:16 -0700)]
remove trailing whitespace
Benjamin Peterson [Mon, 19 Sep 2016 06:41:11 +0000 (23:41 -0700)]
properly handle the single null-byte file (closes #24022)
Ned Deily [Sun, 18 Sep 2016 19:24:23 +0000 (15:24 -0400)]
Issue #27806: add Aleks to Misc/ACKS.
Christian Heimes [Sun, 18 Sep 2016 12:40:15 +0000 (14:40 +0200)]
Issue #26661: setup.py now detects system libffi with multiarch wrapper.
Steve Dower [Sat, 17 Sep 2016 23:43:01 +0000 (16:43 -0700)]
Issue #27932: Prevent memory leak in win32_ver().
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.
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.
Martin Panter [Fri, 16 Sep 2016 02:54:11 +0000 (02:54 +0000)]
Issue #24363: Continue parsing HTTP header in spite of invalid lines
Martin Panter [Fri, 16 Sep 2016 00:46:05 +0000 (00:46 +0000)]
Issue #28145: Spelling fixes
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.
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().
Benjamin Peterson [Wed, 14 Sep 2016 04:48:57 +0000 (21:48 -0700)]
fix misleading indentation (closes #28139)
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)