Brett Cannon [Fri, 15 Jan 2016 19:22:19 +0000 (11:22 -0800)]
Issue #17633: Improve support for namespace packages with zipimport.
Previously zipimport mistakenly limited namespace support to only the
top-level of the zipfile when it should have supported an arbitrary
depth.
Thanks to Phil Connel for the bug report and initial patch and Mike
Romberg for the final patch.
Brett Cannon [Fri, 15 Jan 2016 17:53:51 +0000 (09:53 -0800)]
Add some "used with permission" mentions where external resources are referenced.
Permission was validated prior to adding these markings.
Brett Cannon [Fri, 15 Jan 2016 17:38:24 +0000 (09:38 -0800)]
Issue #26114: Remove a reference to 'Numerical Recipes'.
While no copyright violation occurred, the license which
'Numerical Recipes' operates under is not amenable to Python,
so to prevent confusion it's easier to simply remove its mention.
Martin Panter [Fri, 15 Jan 2016 02:28:59 +0000 (02:28 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5
Martin Panter [Fri, 15 Jan 2016 02:18:31 +0000 (02:18 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)]
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Thu, 14 Jan 2016 13:05:46 +0000 (13:05 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net
Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can
terminate when unwrap() raises that error.
Martin Panter [Thu, 14 Jan 2016 13:22:29 +0000 (13:22 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.4 into 3.5
doko@ubuntu.com [Thu, 14 Jan 2016 13:04:59 +0000 (14:04 +0100)]
dictobject.c(dict_sizeof): Make it static again.
Martin Panter [Thu, 14 Jan 2016 12:53:56 +0000 (12:53 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 12:46:49 +0000 (12:46 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4
Martin Panter [Thu, 14 Jan 2016 12:21:02 +0000 (12:21 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3
Martin Panter [Thu, 14 Jan 2016 09:36:00 +0000 (09:36 +0000)]
Issue #25940: Use self-signed.pythontest.net in SSL tests
This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.
The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work (in Python 3.4+).
Added the new self-signed certificate to capath with the following commands:
cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,
0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,
ce7b8643.0}
The new server responds with "No route to host" when connecting to port 444.
Ezio Melotti [Tue, 12 Jan 2016 09:27:30 +0000 (11:27 +0200)]
#26001: mention in the tutorial that files in binary mode expect bytes, not str.
Ezio Melotti [Tue, 12 Jan 2016 09:03:31 +0000 (11:03 +0200)]
#19006: fix wording in unittest docs.
Zachary Ware [Tue, 12 Jan 2016 07:26:50 +0000 (01:26 -0600)]
Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat
Yury Selivanov [Tue, 12 Jan 2016 02:04:50 +0000 (21:04 -0500)]
Issue #25486: Drop "removed in 3.6" wording from inspect.getargspec docs.
Ezio Melotti [Mon, 11 Jan 2016 22:09:13 +0000 (00:09 +0200)]
#25517: fix regex in the regex howto. Patch by Elena Oat.
Ezio Melotti [Mon, 11 Jan 2016 21:30:56 +0000 (23:30 +0200)]
#25991: fix readline example to limit history size. Patch by Daniel Dye.
Barry Warsaw [Mon, 11 Jan 2016 20:53:19 +0000 (15:53 -0500)]
Merge heads.
doko@ubuntu.com [Mon, 11 Jan 2016 20:41:40 +0000 (21:41 +0100)]
- Issue #24705: Fix sysconfig._parse_makefile not expanding ${} vars
appearing before $() vars.
Barry Warsaw [Mon, 11 Jan 2016 20:14:53 +0000 (15:14 -0500)]
Comment out some tests that won't pass now that we've reverted the
picklability regression. Also, as per further discussion, remove the
regressing code.
Barry Warsaw [Mon, 11 Jan 2016 18:24:02 +0000 (13:24 -0500)]
Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
_PyObject_GetState() due to regressions observed in Cython-based projects.
Yury Selivanov [Mon, 11 Jan 2016 17:30:56 +0000 (12:30 -0500)]
Merge 3.4 (Issue #26050)
Yury Selivanov [Mon, 11 Jan 2016 17:28:19 +0000 (12:28 -0500)]
Issue #26050: Add asyncio.StreamReader.readuntil() method.
Patch by Марк Коренберг.
Andrew Svetlov [Mon, 11 Jan 2016 13:41:43 +0000 (15:41 +0200)]
Fix versionadded to use 3.5.1 only for 3.5 branch
Andrew Svetlov [Mon, 11 Jan 2016 12:45:25 +0000 (14:45 +0200)]
merge 3.4
Andrew Svetlov [Mon, 11 Jan 2016 12:40:35 +0000 (14:40 +0200)]
Document asyncio.timeout()
Andrew Svetlov [Mon, 11 Jan 2016 10:25:40 +0000 (12:25 +0200)]
merge 3.4
Andrew Svetlov [Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)]
Sync with asyncio
Andrew Svetlov [Mon, 11 Jan 2016 07:16:58 +0000 (09:16 +0200)]
Add missing Misc/NEWS update
Andrew Svetlov [Mon, 11 Jan 2016 07:09:10 +0000 (09:09 +0200)]
merge 3.4
Andrew Svetlov [Mon, 11 Jan 2016 06:42:49 +0000 (08:42 +0200)]
Sync with asyncio repo
Mark Hammond [Mon, 11 Jan 2016 03:50:22 +0000 (14:50 +1100)]
Issue #26070: py.exe launcher fails to find in-place built binaries from earlier Python versions.
Benjamin Peterson [Sun, 10 Jan 2016 07:56:31 +0000 (23:56 -0800)]
merge 3.4 (#26066)
Benjamin Peterson [Sun, 10 Jan 2016 07:55:47 +0000 (23:55 -0800)]
delete old crypto prose (closes #26066)
Senthil Kumaran [Sun, 10 Jan 2016 06:33:54 +0000 (22:33 -0800)]
Issue23675 - A tiny clarification in the MRO glossary term.
Terry Jan Reedy [Sat, 9 Jan 2016 17:22:00 +0000 (12:22 -0500)]
Issue #26029: Finish correction.
Ezio Melotti [Sat, 9 Jan 2016 14:08:24 +0000 (16:08 +0200)]
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
Terry Jan Reedy [Sat, 9 Jan 2016 08:27:37 +0000 (03:27 -0500)]
Issue #26029: Remove extraneous word. Patch by Upendra Kumar.
Senthil Kumaran [Sat, 9 Jan 2016 07:43:29 +0000 (23:43 -0800)]
Issue #22138: Fix mock.patch behavior when patching descriptors. Restore
original values after patching.
Patch contributed by Sean McCully.
Senthil Kumaran [Fri, 8 Jan 2016 09:01:56 +0000 (01:01 -0800)]
Issue20969 - Set the Epub Author and Epub Publisher in Python docs.
Benjamin Peterson [Fri, 8 Jan 2016 06:02:01 +0000 (22:02 -0800)]
merge 3.4 (#26046)
Benjamin Peterson [Fri, 8 Jan 2016 06:01:26 +0000 (22:01 -0800)]
fix typo in unittest docs (closes #26046)
Patch from Upendra Kumar.
Benjamin Peterson [Fri, 8 Jan 2016 05:37:37 +0000 (21:37 -0800)]
enable SSL_MODE_RELEASE_BUFFERS
Patch by Cory Benfield.
Guido van Rossum [Thu, 7 Jan 2016 21:13:04 +0000 (13:13 -0800)]
Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.4->3.5)
Guido van Rossum [Thu, 7 Jan 2016 21:12:34 +0000 (13:12 -0800)]
Hopeful fix for test_rglob_common on Windows without symlinks.
Guido van Rossum [Thu, 7 Jan 2016 18:57:37 +0000 (10:57 -0800)]
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012. (Merge 3.4->3.5)
Guido van Rossum [Thu, 7 Jan 2016 18:56:36 +0000 (10:56 -0800)]
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012.
Berker Peksag [Thu, 7 Jan 2016 17:02:55 +0000 (19:02 +0200)]
Fix typo in docstring of multiprocessing.spawn.spawn_main()
Berker Peksag [Thu, 7 Jan 2016 16:45:22 +0000 (18:45 +0200)]
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
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: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: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: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: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.
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: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 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: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: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: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:22:16 +0000 (12:22 -0600)]
Fix grammar.
Reported by Anatoly Techtonik on docs@
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: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: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: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:08 +0000 (21:00 +0200)]
Make catched exception more specific and correct a comment.
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:41:58 +0000 (01:41 +0200)]
Issue #25977: Fix typos in Lib/tokenize.py
Patch by John Walker.
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)
Brett Cannon [Tue, 29 Dec 2015 01:30:32 +0000 (17:30 -0800)]
Backport of fix for issue #25930
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).
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: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: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: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:10:51 +0000 (13:10 +0000)]
Fixes #25360: Search for pythonw.exe when in pyw.exe.
Vinay Sajip [Sat, 26 Dec 2015 12:48:44 +0000 (12:48 +0000)]
Closes #25685: Made SocketHandler emission more efficient.
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.