]>
granicus.if.org Git - python/log
Berker Peksag [Wed, 3 Aug 2016 07:17:21 +0000 (10:17 +0300)]
Issue #26576: Clarify that the @deco syntax is not always an equivalent of f = deco(f)
Patch by Chris Angelico.
Stefan Krah [Tue, 2 Aug 2016 20:30:24 +0000 (22:30 +0200)]
Issue #27241: Catch exception when running pstats as main.
Senthil Kumaran [Sun, 31 Jul 2016 06:48:19 +0000 (23:48 -0700)]
merge heads
Senthil Kumaran [Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)]
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)]
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:24:16 +0000 (23:24 -0700)]
Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Benjamin Peterson [Sun, 31 Jul 2016 06:21:50 +0000 (23:21 -0700)]
all SCHED_ constants are optional (closes #27656)
Xavier de Gaye [Sat, 30 Jul 2016 09:28:35 +0000 (11:28 +0200)]
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
Berker Peksag [Sat, 30 Jul 2016 00:47:52 +0000 (03:47 +0300)]
Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
Guido van Rossum [Fri, 29 Jul 2016 22:41:17 +0000 (15:41 -0700)]
Fix whitespace.
Guido van Rossum [Fri, 29 Jul 2016 22:38:14 +0000 (15:38 -0700)]
Expand documentation about type aliases and NewType in the typing module.
By Michael Lee.
Martin Panter [Tue, 26 Jul 2016 09:18:21 +0000 (11:18 +0200)]
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
Zachary Ware [Fri, 29 Jul 2016 00:00:53 +0000 (19:00 -0500)]
Correct typo in Windows docs.
Found by Jack Copper on docs@
Victor Stinner [Thu, 28 Jul 2016 15:06:25 +0000 (17:06 +0200)]
NEWS: tag security related changes with [Security] prefix
Issue #27404.
Martin Panter [Thu, 28 Jul 2016 03:48:29 +0000 (03:48 +0000)]
Issue #23943: Restore extra fixes lost in merge
4fb2075952a4
Martin Panter [Thu, 28 Jul 2016 01:11:04 +0000 (01:11 +0000)]
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Martin Panter [Thu, 28 Jul 2016 01:28:27 +0000 (01:28 +0000)]
Issue #27490: Do not build pgen when cross-compiling
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
Victor Stinner [Wed, 27 Jul 2016 14:58:47 +0000 (16:58 +0200)]
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048. Initial patch written by Marcin Bachry.
Berker Peksag [Wed, 27 Jul 2016 10:32:54 +0000 (13:32 +0300)]
Issue #27633: Fix usage of versionchanged directive in email.parser.rst
Patch by Florian Preinstorfer.
Xavier de Gaye [Tue, 26 Jul 2016 10:48:08 +0000 (12:48 +0200)]
Issue #26662: Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.
Martin Panter [Tue, 26 Jul 2016 06:46:06 +0000 (06:46 +0000)]
Issue #26638: Don’t link 2to3 -l option to the tarfile -l option
Martin Panter [Mon, 25 Jul 2016 02:30:05 +0000 (02:30 +0000)]
Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
Berker Peksag [Mon, 25 Jul 2016 01:55:51 +0000 (04:55 +0300)]
Issue #27601: Improve example in the "Hashing of numeric types" section
* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability
Patch by Emanuel Barry.
Steve Dower [Mon, 25 Jul 2016 01:03:22 +0000 (18:03 -0700)]
Fixes default intermediate directory when building on Windows.
Steve Dower [Sat, 16 Jul 2016 23:17:33 +0000 (16:17 -0700)]
Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly.
Berker Peksag [Sat, 23 Jul 2016 05:42:41 +0000 (08:42 +0300)]
Issue #13849: Fix test_null_bytes under Windows
Berker Peksag [Sat, 23 Jul 2016 04:31:47 +0000 (07:31 +0300)]
Issue #13849: Add tests for null byte checking in test_genericpath
Berker Peksag [Sat, 23 Jul 2016 04:13:14 +0000 (07:13 +0300)]
Issue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns false
Patch by Chris Angelico.
Martin Panter [Sat, 23 Jul 2016 03:02:07 +0000 (03:02 +0000)]
Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module
Patch by Xiang Zhang.
Victor Stinner [Fri, 22 Jul 2016 15:43:59 +0000 (17:43 +0200)]
socket: use INVALID_SOCKET
* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
Victor Stinner [Fri, 22 Jul 2016 15:26:53 +0000 (17:26 +0200)]
socket: Fix internal_select()
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
Zachary Ware [Tue, 19 Jul 2016 21:41:20 +0000 (16:41 -0500)]
Issue #25393: Fix probable copy/paste error in resource docs
Patch by Alakshendra Yadav.
Martin Panter [Tue, 19 Jul 2016 02:26:38 +0000 (02:26 +0000)]
Issue #27528: Document and test warning messages must match at beginning
Martin Panter [Mon, 18 Jul 2016 08:23:26 +0000 (08:23 +0000)]
Issue #16191: Fix up references to renamed variables
Martin Panter [Mon, 18 Jul 2016 07:53:13 +0000 (07:53 +0000)]
Issue #27507: Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
Steve Dower [Mon, 18 Jul 2016 04:58:01 +0000 (21:58 -0700)]
Removes unused files from PC folder.
Steve Dower [Mon, 18 Jul 2016 04:39:13 +0000 (21:39 -0700)]
Issue #27309: Enables proper Windows styles in python[w].exe manifest.
Steve Dower [Mon, 18 Jul 2016 03:49:38 +0000 (20:49 -0700)]
Issue #27533: Release GIL in nt._isdir
Steve Dower [Mon, 18 Jul 2016 03:45:29 +0000 (20:45 -0700)]
Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj
Berker Peksag [Sun, 17 Jul 2016 12:26:46 +0000 (15:26 +0300)]
Issue #27531: Update signature of Mock.assert_not_called method
Since
01ae1ac2daf4 , it doesn't accept any arguments.
Patch by Michael Killough.
Stefan Krah [Sun, 17 Jul 2016 12:01:42 +0000 (14:01 +0200)]
Issue #26974: Fix segfault in the presence of absurd subclassing. Proactively
eliminate all internal uses of overridden methods.
Serhiy Storchaka [Sun, 17 Jul 2016 11:15:28 +0000 (14:15 +0300)]
Issue #27419: Added temporary workaround for subinterpreters.
Serhiy Storchaka [Sun, 17 Jul 2016 10:25:15 +0000 (13:25 +0300)]
Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.
Serhiy Storchaka [Sun, 17 Jul 2016 09:47:17 +0000 (12:47 +0300)]
Issue #27419: Standard __import__() no longer look up "__import__" in globals
or builtins for importing submodules or "from import". Fixed handling an
error of non-string package name.
Serhiy Storchaka [Sun, 17 Jul 2016 08:24:17 +0000 (11:24 +0300)]
Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.
Steve Dower [Sat, 16 Jul 2016 23:13:19 +0000 (16:13 -0700)]
Fixes use of Py_IntDir and Py_OutDir to control build directories.
Terry Jan Reedy [Sat, 16 Jul 2016 22:26:32 +0000 (18:26 -0400)]
Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
Brett Cannon [Sat, 16 Jul 2016 17:44:13 +0000 (10:44 -0700)]
Fix regressions introduced by fixes for issue #27083.
R David Murray [Sat, 16 Jul 2016 01:29:13 +0000 (21:29 -0400)]
#27522: break unintended cycle in feedparser.
Patch by Costas.
Brett Cannon [Fri, 15 Jul 2016 19:16:18 +0000 (12:16 -0700)]
Issue #26696: Document collections.abc.ByteString.
Thanks to Xiang Zhang for the patch.
Steve Dower [Fri, 15 Jul 2016 18:55:52 +0000 (11:55 -0700)]
Fix building tcl/tk with only the VC build tools installed.
Brett Cannon [Fri, 15 Jul 2016 18:54:38 +0000 (11:54 -0700)]
Issue #27083: Respect the PYTHONCASEOK environment variable under
Windows.
Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).
Thanks to Eryk Sun for the bug report.
Brett Cannon [Fri, 15 Jul 2016 17:58:54 +0000 (10:58 -0700)]
Issue #26844: Fix imp.find_module() to have the exception related to
type issues be about 'path' instead of 'name'.
Thanks to Lev Maximov for the patch.
Berker Peksag [Fri, 15 Jul 2016 13:12:39 +0000 (16:12 +0300)]
Issue #27518: Fix typo in Grammar/Grammar
Patch by Stéphane Wirtel.
Benjamin Peterson [Fri, 15 Jul 2016 05:00:03 +0000 (22:00 -0700)]
make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Patch by Ammar Askar.
Berker Peksag [Thu, 14 Jul 2016 04:44:59 +0000 (07:44 +0300)]
Issue #27180: Clarify Path.rename() behavior on Unix systems
Patch by Evelyn Mitchell.
Berker Peksag [Thu, 14 Jul 2016 04:32:43 +0000 (07:32 +0300)]
Issue #27455: Improve examples in tkinter documentation
Patch by John Hagen.
Martin Panter [Thu, 14 Jul 2016 03:35:15 +0000 (03:35 +0000)]
Issue #27369: Merge test_pyexpat from 3.4 into 3.5
Steve Dower [Thu, 14 Jul 2016 02:58:21 +0000 (19:58 -0700)]
Fixes build order and lingering intermediate files.
Martin Panter [Thu, 14 Jul 2016 02:09:17 +0000 (02:09 +0000)]
Issue #27369: Merge test_pyexpat from 3.3 into 3.4
Martin Panter [Thu, 14 Jul 2016 01:42:53 +0000 (01:42 +0000)]
Issue #27369: Merge test_pyexpat from 3.2 into 3.3
Martin Panter [Thu, 14 Jul 2016 01:31:46 +0000 (01:31 +0000)]
Issue #27369: Don’t test error message detail that changed in Expat 2.2.0
Martin Panter [Thu, 14 Jul 2016 01:17:03 +0000 (01:17 +0000)]
Issue #22758: Move NEWS entry to Library section
Yury Selivanov [Tue, 12 Jul 2016 22:23:10 +0000 (18:23 -0400)]
Issue #27392: Add loop.connect_accepted_socket().
Patch by Jim Fulton.
Serhiy Storchaka [Tue, 12 Jul 2016 06:14:15 +0000 (09:14 +0300)]
Issue #27481: Docummented that ValueError is now raised instead of TypeError
in case of embedded null characters/bytes. Patch by Xiang Zhang.
Martin Panter [Mon, 11 Jul 2016 07:51:37 +0000 (07:51 +0000)]
English spelling and grammar fixes
Martin Panter [Mon, 11 Jul 2016 12:43:38 +0000 (12:43 +0000)]
Restore NEWS entries lost in revision
8145f25f26aa
Martin Panter [Mon, 11 Jul 2016 00:17:13 +0000 (00:17 +0000)]
Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF
Serhiy Storchaka [Sun, 10 Jul 2016 18:34:05 +0000 (21:34 +0300)]
Merge heads
R David Murray [Sun, 10 Jul 2016 18:11:36 +0000 (14:11 -0400)]
#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:56 +0000 (14:10 -0400)]
#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:08 +0000 (14:10 -0400)]
#22758 null merge
R David Murray [Sun, 10 Jul 2016 17:59:01 +0000 (13:59 -0400)]
#26176: fix usage of Address constructor in email examples.
Patch by Nathan Harold.
Serhiy Storchaka [Sun, 10 Jul 2016 17:48:43 +0000 (20:48 +0300)]
Issue #27473: Fixed possible integer overflow in bytes and bytearray
concatenations. Patch by Xiang Zhang.
R David Murray [Sun, 10 Jul 2016 17:32:43 +0000 (13:32 -0400)]
#22758: fix regression in handling of secure cookies.
This backports the fix from #16611, per discussion with the release
manager.
R David Murray [Sun, 10 Jul 2016 16:33:18 +0000 (12:33 -0400)]
#20647: Update dictobject.c comments to account for randomized string hashes.
Patch by Jaysinh Shukla.
Senthil Kumaran [Sun, 10 Jul 2016 13:45:38 +0000 (06:45 -0700)]
Issue #27466: Change time format returned by http.cookie.time2netscape,
confirming the netscape cookie format.
Serhiy Storchaka [Thu, 7 Jul 2016 14:35:15 +0000 (17:35 +0300)]
Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Benjamin Peterson [Thu, 7 Jul 2016 06:55:15 +0000 (23:55 -0700)]
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
Benjamin Peterson [Thu, 7 Jul 2016 06:26:32 +0000 (23:26 -0700)]
fix refleaks in PyDict_SetItem error cases (closes #27248)
Donald Stufft [Wed, 6 Jul 2016 21:46:37 +0000 (17:46 -0400)]
Fix a test with the new upload URL
Benjamin Peterson [Wed, 6 Jul 2016 21:04:29 +0000 (14:04 -0700)]
merge 3.4
Benjamin Peterson [Wed, 6 Jul 2016 21:04:11 +0000 (14:04 -0700)]
merge 3.3
Benjamin Peterson [Wed, 6 Jul 2016 21:00:38 +0000 (14:00 -0700)]
merge 3.4
Donald Stufft [Wed, 6 Jul 2016 20:18:39 +0000 (16:18 -0400)]
Switch to the new upload url for PyPI
Donald Stufft [Wed, 6 Jul 2016 19:27:35 +0000 (15:27 -0400)]
Switch to the new upload url for PyPI
Terry Jan Reedy [Wed, 6 Jul 2016 00:09:53 +0000 (20:09 -0400)]
Issue #27452: add line counter and crc to IDLE configHandler test dump.
Berker Peksag [Tue, 5 Jul 2016 14:08:29 +0000 (17:08 +0300)]
Add versionadded to PyDict_SetDefault documentation
It was added for Python 3.4 in
a0b750ea3397 .
Serhiy Storchaka [Sun, 3 Jul 2016 19:27:26 +0000 (22:27 +0300)]
Issue #19527: Fixed tests with defined COUNT_ALLOCS.
Serhiy Storchaka [Sun, 3 Jul 2016 11:41:36 +0000 (14:41 +0300)]
Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
Berker Peksag [Fri, 1 Jul 2016 09:33:00 +0000 (12:33 +0300)]
Issue #27431: Update default protocol version in shelve.Shelf() documentation
shelve.open() documentation was updated in
f351fb7ea179 .
Berker Peksag [Fri, 1 Jul 2016 09:17:05 +0000 (12:17 +0300)]
Issue #27430: Fix typos, patch by scop.
Brett Cannon [Thu, 30 Jun 2016 18:41:55 +0000 (11:41 -0700)]
Issue #26665: Remove mis-use of ``$`` in activate.fish.
This is a revertion of
cfc66e37eb8e .
Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
Serhiy Storchaka [Thu, 30 Jun 2016 10:59:12 +0000 (13:59 +0300)]
Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.
Victor Stinner [Thu, 30 Jun 2016 09:50:23 +0000 (11:50 +0200)]
Issue #27416: clarify copy doc
Patch written by R. David Murray.
Serhiy Storchaka [Thu, 30 Jun 2016 07:33:17 +0000 (10:33 +0300)]
Issue #27418: Fixed Tools/importbench/importbench.py.
Guido van Rossum [Tue, 28 Jun 2016 17:08:17 +0000 (10:08 -0700)]
Fix issue #27402: example for typing did not type-check.
Yury Selivanov [Tue, 28 Jun 2016 15:00:22 +0000 (11:00 -0400)]
asyncio: Use socket specs for getaddrinfo() in sock_connect()
Patch by Martin Richard. GH PR #365.
Yury Selivanov [Tue, 28 Jun 2016 14:55:36 +0000 (10:55 -0400)]
asyncio: Fix NameError in sslproto _fatal_error()
Patch by Richard Walker.
Steve Dower [Mon, 27 Jun 2016 19:30:48 +0000 (12:30 -0700)]
Adds script for purging the caching server for downloads on python.org.