]>
granicus.if.org Git - python/log
Senthil Kumaran [Thu, 7 Jan 2016 05:31:09 +0000 (21:31 -0800)]
merge from 3.5
Issue16544 - Add a link to an external documentation resource in ast module docs.
Senthil Kumaran [Thu, 7 Jan 2016 05:30:30 +0000 (21:30 -0800)]
merge from 3.4
Issue16544 - Add a link to an external documentation resource in ast module docs.
Senthil Kumaran [Thu, 7 Jan 2016 05:26:53 +0000 (21:26 -0800)]
Issue16544 - Add a link to an external documentation resource in ast module docs.
Guido van Rossum [Wed, 6 Jan 2016 19:37:52 +0000 (11:37 -0800)]
Docs for issue #22570. (Merge 3.5->3.6)
Guido van Rossum [Wed, 6 Jan 2016 19:36:03 +0000 (11:36 -0800)]
Cross-reference os.DirEntry and pathlib.Path for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:26:36 +0000 (11:26 -0800)]
Add versionadded (3.4.5) to docs for issue #22570. (Merge 3.4->3.5)
Guido van Rossum [Wed, 6 Jan 2016 19:23:31 +0000 (11:23 -0800)]
Add versionadded (3.4.5) to docs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:16:28 +0000 (11:16 -0800)]
Docs for issue #22570. (Merge 3.4->3.5)
Guido van Rossum [Wed, 6 Jan 2016 19:15:52 +0000 (11:15 -0800)]
Docs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:03:47 +0000 (11:03 -0800)]
Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.5->3.6)
Guido van Rossum [Wed, 6 Jan 2016 19:03:15 +0000 (11:03 -0800)]
Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.4->3.5)
Guido van Rossum [Wed, 6 Jan 2016 19:01:42 +0000 (11:01 -0800)]
Issue #22570: Add 'path' attribute to pathlib.Path objects.
Guido van Rossum [Wed, 6 Jan 2016 18:36:19 +0000 (10:36 -0800)]
Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob(). (Merge 3.5->3.6)
Guido van Rossum [Wed, 6 Jan 2016 18:35:30 +0000 (10:35 -0800)]
Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob(). (Merge 3.4->3.5)
Guido van Rossum [Wed, 6 Jan 2016 18:31:33 +0000 (10:31 -0800)]
Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob().
Guido van Rossum [Wed, 6 Jan 2016 17:53:51 +0000 (09:53 -0800)]
Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. (Merge 3.5->3.6)
Guido van Rossum [Wed, 6 Jan 2016 17:51:42 +0000 (09:51 -0800)]
Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. (Merge 3.4->3.5)
Guido van Rossum [Wed, 6 Jan 2016 17:42:07 +0000 (09:42 -0800)]
Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.
Serhiy Storchaka [Tue, 5 Jan 2016 19:27:54 +0000 (21:27 +0200)]
Issue #20440: Cleaning up the code by using Py_SETREF.
Senthil Kumaran [Mon, 4 Jan 2016 02:00:31 +0000 (18:00 -0800)]
merge from 3.5
Issue24898 - Improve str.find documentation.
Simplify str.find explaination as per Georg Brandl's suggestion.
Senthil Kumaran [Mon, 4 Jan 2016 01:58:24 +0000 (17:58 -0800)]
merge from 3.4
Issue24898 - Improve str.find documentation.
Simplify str.find explaination as per Georg Brandl's suggestion.
Senthil Kumaran [Mon, 4 Jan 2016 01:57:10 +0000 (17:57 -0800)]
Issue24898 - Improve str.find documentation.
Simplify str.find explaination as per Georg Brandl's suggestion.
Senthil Kumaran [Sun, 3 Jan 2016 08:45:05 +0000 (00:45 -0800)]
merge from 3.5
Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
values and meaning.
Patch contributed by Andrew Scheller.
Senthil Kumaran [Sun, 3 Jan 2016 08:43:23 +0000 (00:43 -0800)]
merge from 3.4
Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
values and meaning.
Patch contributed by Andrew Scheller.
Senthil Kumaran [Sun, 3 Jan 2016 08:40:03 +0000 (00:40 -0800)]
Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
values and meaning.
Patch contributed by Andrew Scheller.
R David Murray [Sat, 2 Jan 2016 22:25:59 +0000 (17:25 -0500)]
#21815: Make the doc change match what I actually did.
R David Murray [Sat, 2 Jan 2016 22:18:34 +0000 (17:18 -0500)]
#21815: violate IMAP RFC to be compatible with, e.g., gmail
and others, including imaplib's own behavior. I'm applying this only to 3.6
because there's a potential backward compatibility concern: if there are
servers that include ] characters in the 'text' portion of their imap
responses, this code change could introduce a new bug.
Patch by Lita Cho, reviewed by Jessica McKellar, Berker Peksag, Maciej Szulik,
silentghost, and me (I fleshed out the comments with the additional
info/concerns.)
R David Murray [Sat, 2 Jan 2016 20:43:44 +0000 (15:43 -0500)]
Merge: #22709: Use stdin as-is if it does not have a buffer attribute.
R David Murray [Sat, 2 Jan 2016 20:41:41 +0000 (15:41 -0500)]
#22709: Use stdin as-is if it does not have a buffer attribute.
This restores backward compatibility lost in the fix for #21075, and
is better duck typing.
Patch by Akira Li.
Senthil Kumaran [Sat, 2 Jan 2016 07:27:38 +0000 (23:27 -0800)]
merge from 3.5
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.
Senthil Kumaran [Sat, 2 Jan 2016 07:26:53 +0000 (23:26 -0800)]
merge from 3.4
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.
Senthil Kumaran [Sat, 2 Jan 2016 07:25:58 +0000 (23:25 -0800)]
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.
Gregory P. Smith [Sat, 2 Jan 2016 01:42:30 +0000 (17:42 -0800)]
Remove a duplicate test_addresses key:value as identified by Vincent
Davis reviewing code.
Gregory P. Smith [Sat, 2 Jan 2016 01:41:46 +0000 (17:41 -0800)]
Remove a duplicate test_addresses key:value as identified by Vincent
Davis reviewing code.
Ned Deily [Fri, 1 Jan 2016 22:45:06 +0000 (17:45 -0500)]
Update copyrights for 2016.
Ned Deily [Fri, 1 Jan 2016 22:44:30 +0000 (17:44 -0500)]
Update copyrights for 2016.
Ned Deily [Fri, 1 Jan 2016 22:42:39 +0000 (17:42 -0500)]
Update copyrights for 2016.
Zachary Ware [Fri, 1 Jan 2016 18:24:12 +0000 (12:24 -0600)]
Merge with 3.5
Zachary Ware [Fri, 1 Jan 2016 18:22:16 +0000 (12:22 -0600)]
Fix grammar.
Reported by Anatoly Techtonik on docs@
Benjamin Peterson [Fri, 1 Jan 2016 17:56:35 +0000 (11:56 -0600)]
merge 3.5
Benjamin Peterson [Fri, 1 Jan 2016 17:56:16 +0000 (11:56 -0600)]
merge 3.4
Benjamin Peterson [Fri, 1 Jan 2016 17:55:47 +0000 (11:55 -0600)]
merge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 17:53:47 +0000 (11:53 -0600)]
remove some copyright notices supserseded by the toplevel ones
Benjamin Peterson [Fri, 1 Jan 2016 17:53:14 +0000 (11:53 -0600)]
add 2015 and 2016
Benjamin Peterson [Fri, 1 Jan 2016 17:13:16 +0000 (11:13 -0600)]
merge 3.5
Benjamin Peterson [Fri, 1 Jan 2016 17:13:10 +0000 (11:13 -0600)]
merge 3.4
Benjamin Peterson [Fri, 1 Jan 2016 17:12:49 +0000 (11:12 -0600)]
merge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 17:12:44 +0000 (11:12 -0600)]
reflow
Benjamin Peterson [Fri, 1 Jan 2016 16:25:22 +0000 (10:25 -0600)]
merge 3.5
Benjamin Peterson [Fri, 1 Jan 2016 16:25:12 +0000 (10:25 -0600)]
merge 3.4
Benjamin Peterson [Fri, 1 Jan 2016 16:24:21 +0000 (10:24 -0600)]
merge 3.3
Benjamin Peterson [Fri, 1 Jan 2016 16:23:45 +0000 (10:23 -0600)]
2016 will be another year of writing copyrighted code
Serhiy Storchaka [Wed, 30 Dec 2015 19:41:53 +0000 (21:41 +0200)]
Issue #25961: Disallowed null characters in the type name.
Simplified testing for null characters in __name__ setter.
Serhiy Storchaka [Wed, 30 Dec 2015 19:40:49 +0000 (21:40 +0200)]
Issue #25961: Disallowed null characters in the type name.
Simplified testing for null characters in __name__ setter.
Serhiy Storchaka [Wed, 30 Dec 2015 19:00:29 +0000 (21:00 +0200)]
Make catched exception more specific and correct a comment.
Serhiy Storchaka [Wed, 30 Dec 2015 19:00:08 +0000 (21:00 +0200)]
Make catched exception more specific and correct a comment.
Serhiy Storchaka [Wed, 30 Dec 2015 07:28:48 +0000 (09:28 +0200)]
Fixed formatting comman-line usage message.
Serhiy Storchaka [Wed, 30 Dec 2015 07:28:19 +0000 (09:28 +0200)]
Fixed formatting comman-line usage message.
Berker Peksag [Tue, 29 Dec 2015 23:42:43 +0000 (01:42 +0200)]
Issue #25977: Fix typos in Lib/tokenize.py
Patch by John Walker.
Berker Peksag [Tue, 29 Dec 2015 23:41:58 +0000 (01:41 +0200)]
Issue #25977: Fix typos in Lib/tokenize.py
Patch by John Walker.
Serhiy Storchaka [Tue, 29 Dec 2015 20:55:48 +0000 (22:55 +0200)]
Clean up float.as_integer_ratio().
Serhiy Storchaka [Tue, 29 Dec 2015 20:34:23 +0000 (22:34 +0200)]
Issue #25971: Optimized creating Fractions from floats by 2 times and from
Decimals by 3 times.
Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(),
and Fraction constructors.
Benjamin Peterson [Tue, 29 Dec 2015 16:08:51 +0000 (10:08 -0600)]
merge 3.5 (#25973)
Benjamin Peterson [Tue, 29 Dec 2015 16:08:34 +0000 (10:08 -0600)]
make recording and reporting errors and nonlocal and global directives more robust (closes #25973)
Zachary Ware [Tue, 29 Dec 2015 05:51:02 +0000 (21:51 -0800)]
Issue #25972, #20440: Fix compilation on Windows
Brett Cannon [Tue, 29 Dec 2015 01:55:27 +0000 (17:55 -0800)]
Issue #25802: Deprecate load_module() on importlib.machinery.SourceFileLoader and SourcelessFileLoader.
They were the only remaining implementations of load_module() not
documented as deprecated.
Brett Cannon [Tue, 29 Dec 2015 01:30:57 +0000 (17:30 -0800)]
Merge for backport of fix for issue #25930
Brett Cannon [Tue, 29 Dec 2015 01:30:32 +0000 (17:30 -0800)]
Backport of fix for issue #25930
Brett Cannon [Tue, 29 Dec 2015 01:28:19 +0000 (17:28 -0800)]
Issue #25930: Document that os.unlink and os.remove are *semantically* identical.
Saying that the functions were identical confused some users who were
upset when the functions were no longer simply the same function under
different names.
Thanks to Anthony Sottile for the bug report and Swati Jaiswal for the
initial patch.
Brett Cannon [Tue, 29 Dec 2015 01:23:35 +0000 (17:23 -0800)]
Issue #25234: Skip test_eintr.test_os_open under OS X.
Test inconsistently hangs.
Brett Cannon [Tue, 29 Dec 2015 01:21:44 +0000 (17:21 -0800)]
Tweak skipping message
Brett Cannon [Tue, 29 Dec 2015 01:18:21 +0000 (17:18 -0800)]
Merge
Brett Cannon [Tue, 29 Dec 2015 01:17:58 +0000 (17:17 -0800)]
Issue #24725: Skip the test_socket.testFDPassEmpty on OS X.
In OS X 10.11, the test fails consistently due to a platform change
since 10.10. Thanks to Jeff Ramnani for the patch.
Stefan Krah [Tue, 29 Dec 2015 01:15:35 +0000 (02:15 +0100)]
Issue #25940: Make buildbots usable again until a solution is found.
Stefan Krah [Mon, 28 Dec 2015 23:11:36 +0000 (00:11 +0100)]
Issue #25928: Temporarily disable some tests in test_statistics in order
to sort out its assumptions about the as_integer_ratio() interface.
Stefan Krah [Mon, 28 Dec 2015 22:17:05 +0000 (23:17 +0100)]
Fix typo.
Stefan Krah [Mon, 28 Dec 2015 22:12:52 +0000 (23:12 +0100)]
Merge.
Stefan Krah [Mon, 28 Dec 2015 22:02:02 +0000 (23:02 +0100)]
Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs by
Mark Dickinson.
Serhiy Storchaka [Mon, 28 Dec 2015 22:01:31 +0000 (00:01 +0200)]
Merge heads
Serhiy Storchaka [Mon, 28 Dec 2015 21:59:09 +0000 (23:59 +0200)]
Issue #25447: Copying the lru_cache() wrapper object now always works,
independedly from the type of the wrapped object (by returning the original
object unchanged).
Serhiy Storchaka [Mon, 28 Dec 2015 21:58:07 +0000 (23:58 +0200)]
Issue #25447: Copying the lru_cache() wrapper object now always works,
independedly from the type of the wrapped object (by returning the original
object unchanged).
Ezio Melotti [Mon, 28 Dec 2015 21:50:19 +0000 (23:50 +0200)]
Remove duplicate method in test_pathlib. Initial patch by Navneet Suman.
Brett Cannon [Sun, 27 Dec 2015 21:17:04 +0000 (13:17 -0800)]
Issue #25768: Make compileall functions return booleans and document
the return values as well as test them.
Thanks to Nicholas Chammas for the bug report and initial patch.
Brett Cannon [Sun, 27 Dec 2015 20:24:36 +0000 (12:24 -0800)]
Merge for issue #12484
Brett Cannon [Sun, 27 Dec 2015 20:24:06 +0000 (12:24 -0800)]
Issue #12484: Remove a mention of Py_InitModule() and _PyImport_FixupExtension().
Thanks to Alejandro Santos for the bug report and Anish Shah for the
patch.
Brett Cannon [Sun, 27 Dec 2015 20:09:10 +0000 (12:09 -0800)]
Merge for issue #25874
Brett Cannon [Sun, 27 Dec 2015 20:08:37 +0000 (12:08 -0800)]
Issue #25874: Clarify platform support in the "Using Python on Windows" doc.
Thanks to Chris Wilcox for the initial patch.
Serhiy Storchaka [Sun, 27 Dec 2015 13:51:32 +0000 (15:51 +0200)]
Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.
Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner.
This patch doesn't fix bugs and hence there is no need to backport it.
Serhiy Storchaka [Sun, 27 Dec 2015 13:44:33 +0000 (15:44 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 13:41:34 +0000 (15:41 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 10:38:28 +0000 (12:38 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Serhiy Storchaka [Sun, 27 Dec 2015 10:36:18 +0000 (12:36 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Vinay Sajip [Sat, 26 Dec 2015 13:11:38 +0000 (13:11 +0000)]
Closes #25360: Merged fix from 3.5.
Vinay Sajip [Sat, 26 Dec 2015 13:10:51 +0000 (13:10 +0000)]
Fixes #25360: Search for pythonw.exe when in pyw.exe.
Vinay Sajip [Sat, 26 Dec 2015 12:51:43 +0000 (12:51 +0000)]
Closes #25685: Merged fix from 3.5.
Vinay Sajip [Sat, 26 Dec 2015 12:48:44 +0000 (12:48 +0000)]
Closes #25685: Made SocketHandler emission more efficient.
Vinay Sajip [Sat, 26 Dec 2015 12:35:47 +0000 (12:35 +0000)]
Closes #25789: Improved buffering behaviour in launcher.
Serhiy Storchaka [Fri, 25 Dec 2015 19:05:35 +0000 (21:05 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Fri, 25 Dec 2015 19:04:29 +0000 (21:04 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Fri, 25 Dec 2015 18:01:53 +0000 (20:01 +0200)]
Issue #25923: Added more const qualifiers to signatures of static and private functions.