summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge the patch for issue #21013 into defaultDonald Stufft2014-03-231-0/+3
|\
| * Issue #21013: Enhance ssl.create_default_context() for server side contextsDonald Stufft2014-03-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #21013 by modfying ssl.create_default_context() to: * Move the restricted ciphers to only apply when using ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not is the lack of RC4 in the restricted. However there are servers that exist that only expose RC4 still. * Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context will select TLS1.1 or TLS1.2 if it is available. * Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets * Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security of the perfect forward secrecy * Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side socket the context will prioritize our ciphers which have been carefully selected to maximize security and performance. * Documents the failure conditions when a SSL3.0 connection is required so that end users can more easily determine if they need to unset ssl.OP_NO_SSLv3.
* | Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas ↵Antoine Pitrou2014-03-232-0/+4
|\ \ | |/ | | | | Schwab.
| * Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas ↵Antoine Pitrou2014-03-232-0/+4
| | | | | | | | Schwab.
* | #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.R David Murray2014-03-232-0/+4
| | | | | | | | | | | | | | Previously a non-string, non-regex second argument could cause the test to always pass. Initial patch by Kamilla Holanda.
* | Merge 3.4.Richard Oudkerk2014-03-231-0/+2
|\ \ | |/
| * Merge 3.3.Richard Oudkerk2014-03-231-0/+2
| |\
| | * Issue #20633: Replace relative import by absolute import.Richard Oudkerk2014-03-231-0/+2
| | |
* | | Merge 3.4.Richard Oudkerk2014-03-231-0/+2
|\ \ \ | |/ /
| * | Issue #20980: Stop wrapping exception when using ThreadPool.Richard Oudkerk2014-03-231-0/+2
| | |
* | | Merge 3.4.Richard Oudkerk2014-03-231-0/+2
|\ \ \ | |/ /
| * | Issue #20990: Fix issues found by pyflakes for multiprocessing.Richard Oudkerk2014-03-231-0/+2
| | |
* | | Issue #21015: SSL contexts will now automatically select an elliptic curve ↵Antoine Pitrou2014-03-221-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". (should also fix a buildbot failure introduced by #20995)
| * | Issue #21015: SSL contexts will now automatically select an elliptic curve ↵Antoine Pitrou2014-03-221-0/+4
| | | | | | | | | | | | | | | | | | for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". (should also fix a buildbot failure introduced by #20995)
* | | improve the command-line interface of json.tool (closes #21000)Benjamin Peterson2014-03-221-0/+2
| | | | | | | | | | | | A patch from Berker Peksag.
* | | Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows buildZachary Ware2014-03-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | solution. Currently, Tix is not built in Debug configuration. This change also: - simplifies some Tcl/Tk-related msbuild properties for _tkinter - copies the Tcl and Tk DLLs into the build output directory, meaning they will always be available after a build without having to copy them manually or change PATH - removes PCbuild/build_tkinter.py: the solution does the build without needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with the rest of the build using the `/m` msbuild command line switch) - removes an outdated README concerning building Tcl/Tk on AMD64
* | | Fix an incomplete merge of Misc/NEWSDonald Stufft2014-03-221-3/+2
| | |
* | | Merge changes from 3.4 to bring in fixes for Issue #20995Donald Stufft2014-03-221-0/+6
|\ \ \ | |/ /
| * | Issue #20995: Enhance default ciphers used by the ssl moduleDonald Stufft2014-03-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Issue #20884: Don't assume in importlib.__init__ that __file__ isBrett Cannon2014-03-211-0/+2
| | | | | | | | | | | | defined.
* | | Issue #20627: xmlrpc.client.ServerProxy is now a context manager.Brett Cannon2014-03-211-0/+2
| | | | | | | | | | | | Patch by Claudiu Popa.
* | | Issue #19165: The formatter module graduates to full deprecation.Brett Cannon2014-03-211-0/+3
| | |
* | | remove the ability of datetime.time to be considered false (closes #13936)Benjamin Peterson2014-03-201-0/+3
| | |
* | | Fix issue 18931: selectors module now supports /dev/poll on Solaris.Giampaolo Rodola'2014-03-201-0/+3
| | |
* | | merge 3.4Benjamin Peterson2014-03-201-0/+1
|\ \ \ | |/ /
| * | add Nehal HussainBenjamin Peterson2014-03-201-0/+1
| | |
* | | Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exceptionEthan Furman2014-03-191-0/+2
| | |
* | | Restore removed NEWS items 3.4.1rc1 into 3.5.0alpha1 sectionsVictor Stinner2014-03-181-0/+60
| | |
* | | Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),Victor Stinner2014-03-181-0/+4
| | | | | | | | | | | | | | | :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the ``surrogateescape`` error handler, instead of the ``strict`` error handler.
* | | Issue #20574: Implement incremental decoder for cp65001 codeVictor Stinner2014-03-171-0/+3
| | | | | | | | | | | | (Windows code page 65001, Microsoft UTF-8).
* | | (Merge 3.4) Issue #20879: Delay the initialization of encoding and decodingVictor Stinner2014-03-171-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | 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.
| * | Issue #20879: Delay the initialization of encoding and decoding tables forVictor Stinner2014-03-171-0/+5
| | | | | | | | | | | | | | | | | | 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.
* | | Drop Python 3.4.1 section from Misc/NEWSVictor Stinner2014-03-171-71/+0
| | | | | | | | | | | | Changes of 3.4 after 3.4.0 must already be present in the 3.4 branch.
* | | Move 3.3 items of Misc/NEWS to Misc/HISTORYVictor Stinner2014-03-172-4673/+573
| | | | | | | | | | | | In fact, items were already present by Misc/NEWS format was improved.
* | | Version bump to 3.5, step 2.Larry Hastings2014-03-172-2/+13
| | |
* | | Version bump to 3.5, step 1.Larry Hastings2014-03-171-0/+0
| | |
* | | Merge from 3.4 into default.Larry Hastings2014-03-171-72/+62
|\ \ \ | |/ /
| * | Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.Larry Hastings2014-03-172-25/+111
| |\ \ | |/ / |/| |
* | | merge 3.3 (#20946)Benjamin Peterson2014-03-161-0/+2
|\ \ \ | | |/ | |/|
| * | fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-161-0/+2
| | | | | | | | | | | | Patch by Andreas Schwab.
* | | Issue #20939: merge from 3.3Ned Deily2014-03-151-0/+4
|\ \ \ | |/ /
| * | Issue #20939: Fix test_geturl failure in test_urllibnet due toNed Deily2014-03-151-0/+6
| | | | | | | | | | | | new redirect of http://www.python.org/ to https://www.python.org.
* | | cast negative numbers to size_t before shifting them (#20929)Benjamin Peterson2014-03-151-0/+2
| | |
* | | whatsnew: difflib.isbjunk &c were removed, not deprecated.R David Murray2014-03-141-2/+3
| | | | | | | | | | | | Also move NEWS item to correct position (it was in 3.3).
* | | Close #19407: New installation & distribution guidesNick Coghlan2014-03-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - based on pip and other PyPA tools - includes references to the new Python Packaging User Guide where appropriate (and the relevant section is at least partially filled in) - started new FAQ sections - both guides aim to introduce users to basic open source concepts if they aren't aware of them - existing guides have been relocated (now linked from the distutils docs) rather then removed, since there is some needed material that has yet to be relocated to the distutils docs as a reference for the legacy formats
* | | Merge 3.3 (#11599)Éric Araujo2014-03-131-0/+4
|\ \ \ | |/ /
| * | Make distutils error messages more helpful (#11599).Éric Araujo2014-03-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running external programs such as a C compiler and getting an error code, distutils only prints the program name. With this change, one can get the full command line by setting the DISTUTILS_DEBUG environment variable. This should have no compatibility issues, unless there are tools that depend on the exact format of distutils debug messages.
* | | merge 3.3Benjamin Peterson2014-03-121-0/+1
|\ \ \ | |/ /
| * | add Sean RodmanBenjamin Peterson2014-03-121-0/+1
| | |
* | | Merge 3.3 (#4931)Éric Araujo2014-03-121-0/+3
|\ \ \ | |/ /