]>
granicus.if.org Git - python/log
Victor Stinner [Mon, 14 Mar 2016 15:53:12 +0000 (16:53 +0100)]
Fix Py_FatalError() if called without the GIL
Issue #26558: If Py_FatalError() is called without the GIL, don't try to print
the current exception, nor try to flush stdout and stderr: only dump the
traceback of Python threads.
Victor Stinner [Mon, 14 Mar 2016 11:04:26 +0000 (12:04 +0100)]
Add PYTHONMALLOC env var
Issue #26516:
* Add PYTHONMALLOC environment variable to set the Python memory
allocators and/or install debug hooks.
* PyMem_SetupDebugHooks() can now also be used on Python compiled in release
mode.
* The PYTHONMALLOCSTATS environment variable can now also be used on Python
compiled in release mode. It now has no effect if set to an empty string.
* In debug mode, debug hooks are now also installed on Python memory allocators
when Python is configured without pymalloc.
Serhiy Storchaka [Mon, 14 Mar 2016 08:40:14 +0000 (10:40 +0200)]
Issue #20556: Used specific assert methods in threading tests.
Serhiy Storchaka [Mon, 14 Mar 2016 08:28:59 +0000 (10:28 +0200)]
Issue #20556: Used specific assert methods in threading tests.
Berker Peksag [Mon, 14 Mar 2016 04:06:03 +0000 (06:06 +0200)]
Issue #747320: Use email.utils.formatdate() to avoid code duplication
in BaseHTTPRequestHandler
Initial patch by karlcow.
Berker Peksag [Mon, 14 Mar 2016 03:48:28 +0000 (05:48 +0200)]
Issue #16181: cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR
Berker Peksag [Mon, 14 Mar 2016 03:48:02 +0000 (05:48 +0200)]
Issue #16181: cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR
Ezio Melotti [Sun, 13 Mar 2016 09:41:45 +0000 (11:41 +0200)]
#24918: merge with 3.5.
Ezio Melotti [Sun, 13 Mar 2016 09:41:05 +0000 (11:41 +0200)]
#24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.
Raymond Hettinger [Sun, 13 Mar 2016 08:12:49 +0000 (00:12 -0800)]
merge
Raymond Hettinger [Sun, 13 Mar 2016 08:12:31 +0000 (00:12 -0800)]
Minor recipe edit: convert "while 1" to "while True".
Ezio Melotti [Sun, 13 Mar 2016 07:40:55 +0000 (09:40 +0200)]
#25687: merge with 3.5.
Ezio Melotti [Sun, 13 Mar 2016 07:40:09 +0000 (09:40 +0200)]
#25687: clarify that errors in tearDown increase the total number of reported errors. Initial patch by HyeSoo Park.
Raymond Hettinger [Sun, 13 Mar 2016 06:58:44 +0000 (22:58 -0800)]
merge
Raymond Hettinger [Sun, 13 Mar 2016 06:58:24 +0000 (22:58 -0800)]
Issue #26548: Minor fix to awkward wording in docs
Steve Dower [Sat, 12 Mar 2016 16:39:07 +0000 (08:39 -0800)]
Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
Steve Dower [Sat, 12 Mar 2016 16:38:55 +0000 (08:38 -0800)]
Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
Steve Dower [Sat, 12 Mar 2016 16:26:29 +0000 (08:26 -0800)]
Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.
Steve Dower [Sat, 12 Mar 2016 16:25:22 +0000 (08:25 -0800)]
Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.
Steve Dower [Sat, 12 Mar 2016 16:07:34 +0000 (08:07 -0800)]
Issue #26513: Fixes platform module detection of Windows Server
Steve Dower [Sat, 12 Mar 2016 16:06:23 +0000 (08:06 -0800)]
Issue #26513: Fixes platform module detection of Windows Server
Serhiy Storchaka [Sat, 12 Mar 2016 08:53:09 +0000 (10:53 +0200)]
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Tamás Bence Gedai.
Serhiy Storchaka [Sat, 12 Mar 2016 08:51:16 +0000 (10:51 +0200)]
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Tamás Bence Gedai.
Victor Stinner [Sat, 12 Mar 2016 07:16:48 +0000 (08:16 +0100)]
Revert change
291d47954618
Revert:
"Always test datetime.strftime("%4Y")
Issue #13305: Always test datetime.datetime.strftime("%4Y") for years < 1900."
In fact, strftime("%4Y") fails on most platforms.
Victor Stinner [Fri, 11 Mar 2016 21:53:15 +0000 (22:53 +0100)]
Merge 3.5
Victor Stinner [Fri, 11 Mar 2016 21:53:00 +0000 (22:53 +0100)]
Issue #20589: Fix test_pathlib
Victor Stinner [Fri, 11 Mar 2016 21:36:14 +0000 (22:36 +0100)]
Always test datetime.strftime("%4Y")
Issue #13305: Always test datetime.datetime.strftime("%4Y") for years < 1900.
Berker Peksag [Fri, 11 Mar 2016 21:19:48 +0000 (23:19 +0200)]
Issue #26542: Fix markup of code example in difflib documentation
Patch by Dmitry Shachnev.
Victor Stinner [Fri, 11 Mar 2016 21:17:48 +0000 (22:17 +0100)]
Add Mock.assert_called()
Issue #26323: Add assert_called() and assert_called_once() methods to
unittest.mock.Mock.
Berker Peksag [Fri, 11 Mar 2016 21:20:09 +0000 (23:20 +0200)]
Issue #26542: Fix markup of code example in difflib documentation
Patch by Dmitry Shachnev.
Berker Peksag [Fri, 11 Mar 2016 21:08:11 +0000 (23:08 +0200)]
Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise
NotImplementedError instead of ImportError.
Berker Peksag [Fri, 11 Mar 2016 21:07:27 +0000 (23:07 +0200)]
Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise
NotImplementedError instead of ImportError.
Terry Jan Reedy [Fri, 11 Mar 2016 20:31:02 +0000 (15:31 -0500)]
Merge with 3.5
Terry Jan Reedy [Fri, 11 Mar 2016 20:30:35 +0000 (15:30 -0500)]
Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
multipliers, not final sizes. Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.
Victor Stinner [Wed, 9 Mar 2016 14:02:31 +0000 (15:02 +0100)]
Merge 3.5 (malloc doc)
Victor Stinner [Wed, 9 Mar 2016 13:49:52 +0000 (14:49 +0100)]
Issue #26516: Enhance Python mem allocators doc
* add link to PYTHONMALLOCSTATS env var
* add parameters to PyMem macros like PyMem_MALLOC()
* fix PyMem_SetupDebugHooks(): add Calloc functions
* add some newlines for readability
Serhiy Storchaka [Wed, 9 Mar 2016 08:52:08 +0000 (10:52 +0200)]
Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.
Martin Panter [Thu, 10 Mar 2016 01:06:23 +0000 (01:06 +0000)]
Issue #21042: Return full path in ctypes.util.find_library() on Linux
Patch by Tamás Bence Gedai.
Serhiy Storchaka [Wed, 9 Mar 2016 08:33:51 +0000 (10:33 +0200)]
Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.
Added few missed tests for configure options.
Serhiy Storchaka [Tue, 8 Mar 2016 21:36:25 +0000 (23:36 +0200)]
Issue #15068: Avoid creating a reference loop in fileinput.
Serhiy Storchaka [Tue, 8 Mar 2016 21:35:35 +0000 (23:35 +0200)]
Issue #15068: Avoid creating a reference loop in fileinput.
Steve Dower [Tue, 8 Mar 2016 21:10:46 +0000 (13:10 -0800)]
Backs out buildbot clean trigger.
Steve Dower [Tue, 8 Mar 2016 21:10:29 +0000 (13:10 -0800)]
Backs out buildbot clean trigger.
Steve Dower [Tue, 8 Mar 2016 20:51:19 +0000 (12:51 -0800)]
Adds warning to prepare_ssl when nasm is not available.
Force clean externals on buildbots.
Steve Dower [Tue, 8 Mar 2016 20:50:57 +0000 (12:50 -0800)]
Adds warning to prepare_ssl when nasm is not available.
Force clean of externals on buildbots.
Serhiy Storchaka [Tue, 8 Mar 2016 19:26:44 +0000 (21:26 +0200)]
Issue #25911: Tring to silence deprecation warnings in bytes path walk tests.
Serhiy Storchaka [Tue, 8 Mar 2016 19:26:26 +0000 (21:26 +0200)]
Issue #25911: Tring to silence deprecation warnings in bytes path walk tests.
Serhiy Storchaka [Tue, 8 Mar 2016 19:16:47 +0000 (21:16 +0200)]
Backed out changeset
da020e408c7f
Serhiy Storchaka [Tue, 8 Mar 2016 19:15:43 +0000 (21:15 +0200)]
Backed out changeset
f9e22717722d
Serhiy Storchaka [Tue, 8 Mar 2016 19:13:35 +0000 (21:13 +0200)]
Backed out changeset
19a3e0e664af
Steve Dower [Tue, 8 Mar 2016 18:29:24 +0000 (10:29 -0800)]
Issue #26465: Update Windows builds to use OpenSSL 1.0.2g.
Steve Dower [Tue, 8 Mar 2016 18:26:52 +0000 (10:26 -0800)]
Issue #26465: Update Windows builds to use OpenSSL 1.0.2g.
Serhiy Storchaka [Tue, 8 Mar 2016 16:35:19 +0000 (18:35 +0200)]
Issue #15068: Got rid of excessive buffering in fileinput.
The bufsize parameter is now deprecated and ignored.
Serhiy Storchaka [Tue, 8 Mar 2016 16:28:36 +0000 (18:28 +0200)]
Issue #15068: Got rid of excessive buffering in the fileinput module.
The bufsize parameter is no longer used.
Serhiy Storchaka [Tue, 8 Mar 2016 14:12:46 +0000 (16:12 +0200)]
Issues #23808, #25911: Trying to fix walk tests on Windows.
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
Serhiy Storchaka [Tue, 8 Mar 2016 14:12:09 +0000 (16:12 +0200)]
Issues #23808, #25911: Trying to fix walk tests on Windows.
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
Serhiy Storchaka [Tue, 8 Mar 2016 14:11:26 +0000 (16:11 +0200)]
Issues #23808, #25911: Trying to fix walk tests on Windows.
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
Ned Deily [Tue, 8 Mar 2016 06:11:14 +0000 (01:11 -0500)]
Issue #26465: merge from 3.5
Ned Deily [Tue, 8 Mar 2016 06:09:08 +0000 (01:09 -0500)]
Issue #26465: Update OS X installer build to use OpenSSL 1.0.2g.
Ned Deily [Tue, 8 Mar 2016 05:40:12 +0000 (00:40 -0500)]
Issue #24324: merge from 3.5
Ned Deily [Tue, 8 Mar 2016 05:28:37 +0000 (00:28 -0500)]
Issue #24324: Do not enable unreachable code warnings when using
gcc as the option does not work correctly in older versions of gcc
and has been silently removed as of gcc-4.5.
Ned Deily [Mon, 7 Mar 2016 19:52:46 +0000 (14:52 -0500)]
Issue #26505: merge from 3.5
Ned Deily [Mon, 7 Mar 2016 19:51:59 +0000 (14:51 -0500)]
Issue #26505: Fix typos in getaddrinfo license text.
Patch by Alex Willmer.
Berker Peksag [Mon, 7 Mar 2016 17:01:05 +0000 (19:01 +0200)]
Issue #24852: Remove outdated "HOWTO Use Python in the web" document
Berker Peksag [Mon, 7 Mar 2016 17:00:47 +0000 (19:00 +0200)]
Issue #24852: Remove outdated "HOWTO Use Python in the web" document
Berker Peksag [Mon, 7 Mar 2016 16:51:06 +0000 (18:51 +0200)]
Issue #21034: Remove outdated paragraph from venv documentation
Since Python 3.4, there is no need to install pip and setuptools
into a venv manually.
Berker Peksag [Mon, 7 Mar 2016 16:50:49 +0000 (18:50 +0200)]
Issue #21034: Remove outdated paragraph from venv documentation
Since Python 3.4, there is no need to install pip and setuptools
into a venv manually.
Raymond Hettinger [Mon, 7 Mar 2016 02:12:08 +0000 (18:12 -0800)]
Merge
Raymond Hettinger [Mon, 7 Mar 2016 02:11:38 +0000 (18:11 -0800)]
Document another recipe for itertools: all_equal(). Inspired by David Beazley.
Alexander Belopolsky [Sun, 6 Mar 2016 19:58:43 +0000 (14:58 -0500)]
Closes #19475: Added timespec to the datetime.isoformat() method.
Added an optional argument timespec to the datetime isoformat() method
to choose the precision of the time component.
Original patch by Alessandro Cucci.
Berker Peksag [Sun, 6 Mar 2016 14:50:44 +0000 (16:50 +0200)]
Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
Patch by Guo Ci Teo.
Berker Peksag [Sun, 6 Mar 2016 14:50:15 +0000 (16:50 +0200)]
Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
Patch by Guo Ci Teo.
Berker Peksag [Sun, 6 Mar 2016 14:17:47 +0000 (16:17 +0200)]
Issue #2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
Berker Peksag [Sun, 6 Mar 2016 14:16:40 +0000 (16:16 +0200)]
Issue #2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
Serhiy Storchaka [Sun, 6 Mar 2016 13:03:47 +0000 (15:03 +0200)]
Null merge
Serhiy Storchaka [Sun, 6 Mar 2016 13:03:07 +0000 (15:03 +0200)]
Issue #26167: Backported copy tests.
Serhiy Storchaka [Sun, 6 Mar 2016 12:56:57 +0000 (14:56 +0200)]
Issue #26167: Minimized overhead in copy.copy() and copy.deepcopy().
Optimized copying and deepcopying bytearrays, NotImplemented, slices,
short lists, tuples, dicts, sets.
Serhiy Storchaka [Sun, 6 Mar 2016 12:12:04 +0000 (14:12 +0200)]
Issue #26015: Added new tests for pickling iterators of mutable sequences.
Serhiy Storchaka [Sun, 6 Mar 2016 12:10:24 +0000 (14:10 +0200)]
Issue #26015: Added new tests for pickling iterators of mutable sequences.
Serhiy Storchaka [Sun, 6 Mar 2016 12:02:26 +0000 (14:02 +0200)]
Issue #25718: Fixed pickling and copying the accumulate() iterator with total is None.
Serhiy Storchaka [Sun, 6 Mar 2016 12:00:45 +0000 (14:00 +0200)]
Issue #25718: Fixed pickling and copying the accumulate() iterator with total is None.
Serhiy Storchaka [Sun, 6 Mar 2016 07:17:39 +0000 (09:17 +0200)]
Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.
Serhiy Storchaka [Sun, 6 Mar 2016 07:15:47 +0000 (09:15 +0200)]
Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.
Serhiy Storchaka [Sun, 6 Mar 2016 06:55:21 +0000 (08:55 +0200)]
Issue #26482: Allowed pickling recursive dequeues.
Berker Peksag [Sat, 5 Mar 2016 12:05:45 +0000 (14:05 +0200)]
Issue #17940: Remove redundant code from _Section.format_help()
Output of func(*args) stored in the next line:
item_help = join([func(*args) for func, args in self.items])
_Section.items only used by HelpFormatter._add_item() and it looks
like it doesn't have any side effects.
Patch by Yogesh Chaudhari.
Raymond Hettinger [Fri, 4 Mar 2016 17:55:07 +0000 (09:55 -0800)]
More logicial order. Move space saving step to just before it is used.
Serhiy Storchaka [Fri, 4 Mar 2016 07:40:03 +0000 (09:40 +0200)]
Fixed typo in pickle tests.
Serhiy Storchaka [Fri, 4 Mar 2016 07:39:47 +0000 (09:39 +0200)]
Fixed typo in pickle tests.
Benjamin Peterson [Fri, 4 Mar 2016 06:10:52 +0000 (22:10 -0800)]
merge 3.5 (closes #26478)
Benjamin Peterson [Fri, 4 Mar 2016 06:08:01 +0000 (22:08 -0800)]
merge 3.4 (closes #26478)
Benjamin Peterson [Fri, 4 Mar 2016 06:05:36 +0000 (22:05 -0800)]
properly use the ObjArgs variant of CallMethod in dictview binary operations (closes #26478)
Berker Peksag [Wed, 2 Mar 2016 17:40:50 +0000 (19:40 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Berker Peksag [Wed, 2 Mar 2016 17:40:30 +0000 (19:40 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Berker Peksag [Wed, 2 Mar 2016 17:40:08 +0000 (19:40 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Berker Peksag [Wed, 2 Mar 2016 17:30:18 +0000 (19:30 +0200)]
Issue #26335: Make mmap.write() return the number of bytes written like
other write methods.
Patch by Jakub Stasiak.
Yury Selivanov [Wed, 2 Mar 2016 16:31:06 +0000 (11:31 -0500)]
Merge 3.5 (issue #25888)
Yury Selivanov [Wed, 2 Mar 2016 16:30:46 +0000 (11:30 -0500)]
coroutines: Error when awaiting on coroutine that's being awaited
Issue #25888
Yury Selivanov [Wed, 2 Mar 2016 16:17:18 +0000 (11:17 -0500)]
Merge 3.5 (issue #26338)
Yury Selivanov [Wed, 2 Mar 2016 16:17:01 +0000 (11:17 -0500)]
asyncio: Remove duplicate bind addresses in create_server.
Patch by Sebastien Bourdeauducq (issue #26338)
Yury Selivanov [Wed, 2 Mar 2016 16:08:05 +0000 (11:08 -0500)]
Merge 3.5 (issue #26347)