]> granicus.if.org Git - python/log
python
11 years agoMerge changes from 3.4 to bring in fixes for Issue #20995
Donald Stufft [Sat, 22 Mar 2014 01:38:50 +0000 (21:38 -0400)]
Merge changes from 3.4 to bring in fixes for Issue #20995

11 years agoIssue #20995: Enhance default ciphers used by the ssl module
Donald Stufft [Sat, 22 Mar 2014 01:33:34 +0000 (21:33 -0400)]
Issue #20995: Enhance default ciphers used by the ssl module

Closes #20995 by Enabling better security by prioritizing ciphers
such that:

* Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE)
* Prefer ECDHE over DHE for better performance
* Prefer any AES-GCM over any AES-CBC for better performance and security
* Then Use HIGH cipher suites as a fallback
* Then Use 3DES as fallback which is secure but slow
* Finally use RC4 as a fallback which is problematic but needed for
  compatibility some times.
* Disable NULL authentication, NULL encryption, and MD5 MACs for security
  reasons

11 years ago(Merge 3.4) Close #21010: Fix typo in asyncio doc. Patch written by Claudiu
Victor Stinner [Fri, 21 Mar 2014 16:17:28 +0000 (17:17 +0100)]
(Merge 3.4) Close #21010: Fix typo in asyncio doc. Patch written by Claudiu
Popa.

11 years agoClose #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa.
Victor Stinner [Fri, 21 Mar 2014 16:17:15 +0000 (17:17 +0100)]
Close #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa.

11 years agoNull merge (I transplated 2 commits from default to 3.4)
Victor Stinner [Fri, 21 Mar 2014 16:16:10 +0000 (17:16 +0100)]
Null merge (I transplated 2 commits from default to 3.4)

11 years agoIssue #20627: xmlrpc.client.ServerProxy is now a context manager.
Brett Cannon [Fri, 21 Mar 2014 15:24:40 +0000 (11:24 -0400)]
Issue #20627: xmlrpc.client.ServerProxy is now a context manager.

Patch by Claudiu Popa.

11 years agomerge
Brett Cannon [Fri, 21 Mar 2014 15:03:07 +0000 (11:03 -0400)]
merge

11 years agomerge
Brett Cannon [Fri, 21 Mar 2014 15:02:10 +0000 (11:02 -0400)]
merge

11 years agoMerge for issue #20884
Brett Cannon [Fri, 21 Mar 2014 15:01:02 +0000 (11:01 -0400)]
Merge for issue #20884

11 years agoIssue #20884: Don't assume in importlib.__init__ that __file__ is
Brett Cannon [Fri, 21 Mar 2014 14:58:33 +0000 (10:58 -0400)]
Issue #20884: Don't assume in importlib.__init__ that __file__ is
defined.

11 years agoIssue #19165: The formatter module graduates to full deprecation.
Brett Cannon [Fri, 21 Mar 2014 14:52:33 +0000 (10:52 -0400)]
Issue #19165: The formatter module graduates to full deprecation.

11 years agoIssue19995: more informative error message; spelling corrections; use operator.mod...
Ethan Furman [Fri, 21 Mar 2014 13:38:46 +0000 (06:38 -0700)]
Issue19995: more informative error message; spelling corrections; use operator.mod instead of __mod__

11 years agoIssue #10141, Issue 20065: Merged from 3.4.
Vinay Sajip [Fri, 21 Mar 2014 11:45:27 +0000 (11:45 +0000)]
Issue #10141, Issue 20065: Merged from 3.4.

11 years agoIssue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
Vinay Sajip [Fri, 21 Mar 2014 11:44:32 +0000 (11:44 +0000)]
Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.

11 years agoIssue #21006: Fix subprocess example on Windows in asyncio doc
Victor Stinner [Fri, 21 Mar 2014 10:56:40 +0000 (11:56 +0100)]
Issue #21006: Fix subprocess example on Windows in asyncio doc

11 years agoIssue #21006: Fix subprocess example on Windows in asyncio doc
Victor Stinner [Fri, 21 Mar 2014 10:56:40 +0000 (11:56 +0100)]
Issue #21006: Fix subprocess example on Windows in asyncio doc

11 years agoClose #21005: Fix documentation of asyncio.subprocess.DEVNULL
Victor Stinner [Fri, 21 Mar 2014 10:44:49 +0000 (11:44 +0100)]
Close #21005: Fix documentation of asyncio.subprocess.DEVNULL

11 years agoClose #21005: Fix documentation of asyncio.subprocess.DEVNULL
Victor Stinner [Fri, 21 Mar 2014 10:44:49 +0000 (11:44 +0100)]
Close #21005: Fix documentation of asyncio.subprocess.DEVNULL

11 years agoasyncio: Ensure call_soon(), call_later() and call_at() are invoked on current
Victor Stinner [Fri, 21 Mar 2014 09:00:52 +0000 (10:00 +0100)]
asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current
loop in debug mode. Raise a RuntimeError if the event loop of the current
thread is different.  The check should help to debug thread-safetly issue.
Patch written by David Foster.

11 years agoremove the ability of datetime.time to be considered false (closes #13936)
Benjamin Peterson [Thu, 20 Mar 2014 23:00:35 +0000 (18:00 -0500)]
remove the ability of datetime.time to be considered false (closes #13936)

11 years agomerge heads
Giampaolo Rodola' [Thu, 20 Mar 2014 20:44:53 +0000 (21:44 +0100)]
merge heads

11 years agoFix issue 18931: selectors module now supports /dev/poll on Solaris.
Giampaolo Rodola' [Thu, 20 Mar 2014 20:43:41 +0000 (21:43 +0100)]
Fix issue 18931: selectors module now supports /dev/poll on Solaris.

11 years ago#20744: don't try running an external 'zip' in shutil.make_archive()
Andrew Kuchling [Thu, 20 Mar 2014 20:11:16 +0000 (16:11 -0400)]
#20744: don't try running an external 'zip' in shutil.make_archive()

Instead we'll just use the stdlib zipfile module.  Patch by Derek Chiang

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 17:40:03 +0000 (12:40 -0500)]
merge 3.4

11 years agoimprove start default for relpath
Benjamin Peterson [Thu, 20 Mar 2014 17:39:53 +0000 (12:39 -0500)]
improve start default for relpath

11 years agoMerge several minor doc fixes from 3.4
Zachary Ware [Thu, 20 Mar 2014 16:28:16 +0000 (11:28 -0500)]
Merge several minor doc fixes from 3.4

11 years agoFix typos in Doc/faq/extending. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 15:16:09 +0000 (10:16 -0500)]
Fix typos in Doc/faq/extending.  Found by cocoatomo on docs@.

11 years agoFix spelling in enum docs.
Zachary Ware [Thu, 20 Mar 2014 15:01:48 +0000 (10:01 -0500)]
Fix spelling in enum docs.

"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese"
were discovered by a spell-checker.

11 years agoAdd missing parenthesis. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 14:46:09 +0000 (09:46 -0500)]
Add missing parenthesis.  Found by cocoatomo on docs@.

11 years agoFix parameter name in docs for os.makedirs and os.removedirs.
Zachary Ware [Thu, 20 Mar 2014 14:42:01 +0000 (09:42 -0500)]
Fix parameter name in docs for os.makedirs and os.removedirs.

Pointed out by Colin Davis on docs@.

11 years agomerge
Raymond Hettinger [Thu, 20 Mar 2014 13:44:33 +0000 (06:44 -0700)]
merge

11 years agoClean-up docstring
Raymond Hettinger [Thu, 20 Mar 2014 13:42:31 +0000 (06:42 -0700)]
Clean-up docstring

11 years agoCloses #20444: Merged fix from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 13:15:23 +0000 (13:15 +0000)]
Closes #20444: Merged fix from 3.4.

11 years agoIssue #20444: Reduced code duplication.
Vinay Sajip [Thu, 20 Mar 2014 13:14:39 +0000 (13:14 +0000)]
Issue #20444: Reduced code duplication.

11 years agoCloses #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:06:07 +0000 (13:06 +0000)]
Closes #20558: Improved implementation of error handling.

11 years agoIssue #20558: Improved implementation of error handling.
Vinay Sajip [Thu, 20 Mar 2014 13:03:17 +0000 (13:03 +0000)]
Issue #20558: Improved implementation of error handling.

11 years agoMerged from 3.4.
Vinay Sajip [Thu, 20 Mar 2014 12:43:50 +0000 (12:43 +0000)]
Merged from 3.4.

11 years agoIssue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef...
Vinay Sajip [Thu, 20 Mar 2014 12:42:42 +0000 (12:42 +0000)]
Issue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes.

11 years ago(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
Victor Stinner [Thu, 20 Mar 2014 08:27:11 +0000 (09:27 +0100)]
(Merge 3.4) Issue #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed
by multiprocessing.connection

11 years agoIsuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
Victor Stinner [Thu, 20 Mar 2014 08:26:55 +0000 (09:26 +0100)]
Isuse #12328, #20978: Add _winapi.WAIT_ABANDONED_0 symbol, needed by
multiprocessing.connection

11 years ago(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:22:39 +0000 (09:22 +0100)]
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports

11 years agoIssue #20976: pyflakes: Remove unused imports
Victor Stinner [Thu, 20 Mar 2014 08:16:38 +0000 (09:16 +0100)]
Issue #20976: pyflakes: Remove unused imports

11 years ago(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
Victor Stinner [Thu, 20 Mar 2014 07:51:24 +0000 (08:51 +0100)]
(Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils

11 years agoIssue #20978: pyflakes: fix undefined names
Victor Stinner [Thu, 20 Mar 2014 07:50:52 +0000 (08:50 +0100)]
Issue #20978: pyflakes: fix undefined names

11 years agoIssue #20978: Remove last part of OS/2 support in distutils
Victor Stinner [Thu, 20 Mar 2014 07:50:33 +0000 (08:50 +0100)]
Issue #20978: Remove last part of OS/2 support in distutils

11 years agomerge 3.4
Benjamin Peterson [Thu, 20 Mar 2014 01:52:25 +0000 (20:52 -0500)]
merge 3.4

11 years agoadd Nehal Hussain
Benjamin Peterson [Thu, 20 Mar 2014 01:52:17 +0000 (20:52 -0500)]
add Nehal Hussain

11 years ago#14332: provide a better explanation of junk in difflib docs
Andrew Kuchling [Wed, 19 Mar 2014 20:43:06 +0000 (16:43 -0400)]
#14332: provide a better explanation of junk in difflib docs

Initial patch by Alba Magallanes.

11 years ago#13437: link to the source code for a few more modules
Andrew Kuchling [Wed, 19 Mar 2014 20:23:01 +0000 (16:23 -0400)]
#13437: link to the source code for a few more modules

11 years agoMerge with 3.4
Zachary Ware [Wed, 19 Mar 2014 19:47:49 +0000 (14:47 -0500)]
Merge with 3.4

11 years agoUse the correct VS edition names in PCbuild/readme.txt
Zachary Ware [Wed, 19 Mar 2014 19:46:25 +0000 (14:46 -0500)]
Use the correct VS edition names in PCbuild/readme.txt

11 years ago(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:34:12 +0000 (17:34 +0100)]
(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoSkip test_urllib2.test_issue16464() is the ssl module is missing
Victor Stinner [Wed, 19 Mar 2014 16:31:20 +0000 (17:31 +0100)]
Skip test_urllib2.test_issue16464() is the ssl module is missing

11 years agoIssue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
Ethan Furman [Wed, 19 Mar 2014 15:38:52 +0000 (08:38 -0700)]
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception

11 years agoIssue #19009
Kristján Valur Jónsson [Wed, 19 Mar 2014 10:07:26 +0000 (10:07 +0000)]
Issue #19009
Enhance HTTPResponse.readline() performance

11 years agoMerge xxlimited compile warning fix from 3.4
Zachary Ware [Wed, 19 Mar 2014 04:09:00 +0000 (23:09 -0500)]
Merge xxlimited compile warning fix from 3.4

11 years agoAvoid compile warning in xxlimited on 32-bit Windows non-Debug builds.
Zachary Ware [Wed, 19 Mar 2014 04:05:01 +0000 (23:05 -0500)]
Avoid compile warning in xxlimited on 32-bit Windows non-Debug builds.

11 years agoMerge PCbuild/pcbuild.sln cleanup from 3.4
Zachary Ware [Wed, 19 Mar 2014 03:40:23 +0000 (22:40 -0500)]
Merge PCbuild/pcbuild.sln cleanup from 3.4

11 years agoClean up PCbuild/pcbuild.sln a bit:
Zachary Ware [Wed, 19 Mar 2014 03:34:52 +0000 (22:34 -0500)]
Clean up PCbuild/pcbuild.sln a bit:

- Remove configuration settings from removed _sha3.vcxproj
- Don't try to build configurations of _testembed that don't exist
  (namely, PGInstrument and PGUpdate)

11 years agoIgnore files generated by MSVC PGO builds (merge from 3.4).
Zachary Ware [Wed, 19 Mar 2014 03:31:48 +0000 (22:31 -0500)]
Ignore files generated by MSVC PGO builds (merge from 3.4).

11 years agoIgnore files generated by MSVC PGO builds.
Zachary Ware [Wed, 19 Mar 2014 03:28:16 +0000 (22:28 -0500)]
Ignore files generated by MSVC PGO builds.

11 years agoCloses #20966: Fix Tkinter Resources link (merge from 3.4)
Zachary Ware [Tue, 18 Mar 2014 14:20:25 +0000 (09:20 -0500)]
Closes #20966: Fix Tkinter Resources link (merge from 3.4)

11 years agoIssue #20966: Fix Tkinter Resources link
Zachary Ware [Tue, 18 Mar 2014 14:19:18 +0000 (09:19 -0500)]
Issue #20966: Fix Tkinter Resources link

11 years agoDoc: add What's New in Python 3.5 to whatsnew index
Victor Stinner [Tue, 18 Mar 2014 08:01:21 +0000 (09:01 +0100)]
Doc: add What's New in Python 3.5 to whatsnew index

11 years agoRestore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections
Victor Stinner [Tue, 18 Mar 2014 07:59:30 +0000 (08:59 +0100)]
Restore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sections

11 years agomerge with 3.4
Georg Brandl [Tue, 18 Mar 2014 06:47:35 +0000 (07:47 +0100)]
merge with 3.4

11 years agoFix option description that is a warning in new Sphinx versions.
Georg Brandl [Tue, 18 Mar 2014 06:44:07 +0000 (07:44 +0100)]
Fix option description that is a warning in new Sphinx versions.

11 years agoIssue #19977: Fix test_capi when LC_CTYPE locale is POSIX
Victor Stinner [Tue, 18 Mar 2014 01:38:12 +0000 (02:38 +0100)]
Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX

11 years agoIssue #19977: Enable test_c_locale_surrogateescape() on Windows
Victor Stinner [Tue, 18 Mar 2014 01:28:10 +0000 (02:28 +0100)]
Issue #19977: Enable test_c_locale_surrogateescape() on Windows

Only test the error handler. The encoding is not ASCII on Windows: it may the
OEM or ANSI code page.

11 years agoIssue #19977, #19036: Always include <locale.h> in pythonrun.c
Victor Stinner [Tue, 18 Mar 2014 01:06:38 +0000 (02:06 +0100)]
Issue #19977, #19036: Always include <locale.h> in pythonrun.c
to get LC_CTYPE constant on Windows.

11 years agoIssue #20574: Remove duplicated test failing on Windows XP
Victor Stinner [Tue, 18 Mar 2014 00:40:22 +0000 (01:40 +0100)]
Issue #20574: Remove duplicated test failing on Windows XP

11 years agoIssue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
Victor Stinner [Tue, 18 Mar 2014 00:18:21 +0000 (01:18 +0100)]
Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.

11 years agoAdd a stub "whatsnew in 3.5" document.
Victor Stinner [Mon, 17 Mar 2014 23:53:32 +0000 (00:53 +0100)]
Add a stub "whatsnew in 3.5" document.

11 years agoIssue #20910: Make tests more reliable, less dependent on time
Victor Stinner [Mon, 17 Mar 2014 23:39:04 +0000 (00:39 +0100)]
Issue #20910: Make tests more reliable, less dependent on time

* Tolerate 10 seconds instead of 3 seconds for slow test
* Faster test, use sleep of 100 ms instead of 1 sec
* Replace a number of iterations with an explicit deadline for the timeout

11 years agoIssue #20574: Add more tests for cp65001
Victor Stinner [Mon, 17 Mar 2014 22:16:02 +0000 (23:16 +0100)]
Issue #20574: Add more tests for cp65001

11 years agoIssue #20574: Implement incremental decoder for cp65001 code
Victor Stinner [Mon, 17 Mar 2014 22:08:06 +0000 (23:08 +0100)]
Issue #20574: Implement incremental decoder for cp65001 code
(Windows code page 65001, Microsoft UTF-8).

11 years ago(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
Victor Stinner [Mon, 17 Mar 2014 21:39:49 +0000 (22:39 +0100)]
(Merge 3.4) Issue #20879: Delay the initialization of encoding and decoding
tables for base32, ascii85 and base85 codecs in the base64 module, and delay
the initialization of the unquote_to_bytes() table of the urllib.parse module,
to not waste memory if these modules are not used.

11 years agoIssue #20879: Delay the initialization of encoding and decoding tables for
Victor Stinner [Mon, 17 Mar 2014 21:38:41 +0000 (22:38 +0100)]
Issue #20879: Delay the initialization of encoding and decoding tables for
base32, ascii85 and base85 codecs in the base64 module, and delay the
initialization of the unquote_to_bytes() table of the urllib.parse module, to
not waste memory if these modules are not used.

11 years agoDrop Python 3.4.1 section from Misc/NEWS
Victor Stinner [Mon, 17 Mar 2014 21:34:59 +0000 (22:34 +0100)]
Drop Python 3.4.1 section from Misc/NEWS

Changes of 3.4 after 3.4.0 must already be present in the 3.4 branch.

11 years agoMove 3.3 items of Misc/NEWS to Misc/HISTORY
Victor Stinner [Mon, 17 Mar 2014 21:33:49 +0000 (22:33 +0100)]
Move 3.3 items of Misc/NEWS to Misc/HISTORY

In fact, items were already present by Misc/NEWS format was improved.

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:20:50 +0000 (16:20 -0500)]
merge 3.4

11 years agomove SharedKeyTests to test_descr
Benjamin Peterson [Mon, 17 Mar 2014 21:20:12 +0000 (16:20 -0500)]
move SharedKeyTests to test_descr

11 years agomerge 3.4
Benjamin Peterson [Mon, 17 Mar 2014 21:00:27 +0000 (16:00 -0500)]
merge 3.4

11 years agoBump Windows build to 3.5
Zachary Ware [Mon, 17 Mar 2014 20:57:38 +0000 (15:57 -0500)]
Bump Windows build to 3.5

11 years agocorrect the fix for #20637; allow slot descriptor inheritance to take place before...
Benjamin Peterson [Mon, 17 Mar 2014 20:57:17 +0000 (15:57 -0500)]
correct the fix for #20637; allow slot descriptor inheritance to take place before creating cached keys

11 years agoMerge 3.4
Éric Araujo [Mon, 17 Mar 2014 20:50:35 +0000 (16:50 -0400)]
Merge 3.4

11 years agoFix typo in example (#20963)
Éric Araujo [Mon, 17 Mar 2014 20:48:13 +0000 (16:48 -0400)]
Fix typo in example (#20963)

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:23:14 +0000 (19:23 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:22:59 +0000 (19:22 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:13:27 +0000 (19:13 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:13:09 +0000 (19:13 +0100)]
Typo

11 years agoMERGE: Typo
Jesus Cea [Mon, 17 Mar 2014 18:01:11 +0000 (19:01 +0100)]
MERGE: Typo

11 years agoTypo
Jesus Cea [Mon, 17 Mar 2014 18:00:48 +0000 (19:00 +0100)]
Typo

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:23:14 +0000 (18:23 +0100)]
Remove stray semicolon

11 years agoRemove stray semicolon
Antoine Pitrou [Mon, 17 Mar 2014 17:22:41 +0000 (18:22 +0100)]
Remove stray semicolon

11 years agoMerge fix for #20960
R David Murray [Mon, 17 Mar 2014 15:23:07 +0000 (11:23 -0400)]
Merge fix for #20960

11 years agocloses #20960
R David Murray [Mon, 17 Mar 2014 15:20:29 +0000 (11:20 -0400)]
closes #20960

11 years agomerge with 3.4
Georg Brandl [Mon, 17 Mar 2014 06:36:59 +0000 (07:36 +0100)]
merge with 3.4

11 years agomerge with 3.3
Georg Brandl [Mon, 17 Mar 2014 06:36:51 +0000 (07:36 +0100)]
merge with 3.3

11 years agoUpdate doc version switcher for 3.4/3.5.
Georg Brandl [Mon, 17 Mar 2014 06:36:45 +0000 (07:36 +0100)]
Update doc version switcher for 3.4/3.5.