Martin v. Löwis
3da9fbbe83
Add test case for freeze.
2014-03-30 21:32:03 +02:00
Martin v. Löwis
c00d39e96a
Issue #16047 : Fix module exception list and __file__ handling in freeze.
...
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00
Benjamin Peterson
3a4340325b
make partialmethod example work ( closes #21105 )
2014-03-30 15:07:09 -04:00
Martin v. Löwis
a7fcd926e8
Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:28:52 +02:00
Guido van Rossum
589872cbdf
Fix doc typo.
2014-03-29 21:14:04 -07:00
Eric Snow
f269cc6b14
Issue #21097 : Move test_namespace_pkgs into test_importlib.
2014-03-29 15:57:44 -06:00
Raymond Hettinger
1e1e601bd1
Minor readability improvement.
2014-03-29 11:50:08 -07:00
Ned Deily
c420343c0c
Issue #21093 : Prevent failures of ctypes test_macholib on OS X if a
...
copy of libz exists in $HOME/lib or /usr/local/lib.
2014-03-29 00:08:44 -07:00
Nick Coghlan
9aa00d1cd1
Issue #19697 : document more __main__.__spec__ quirks
2014-03-29 15:39:42 +10:00
Zachary Ware
e08f376ed2
Fix another old mention of "Standard Edition" VS in PCbuild/readme.txt.
...
Also removes a mention of using "Express Edition with the Windows SDK
64-bit compilers" to build 64-bit Python. If that can be made to work,
it will need some extra instructions somewhere.
2014-03-28 23:31:04 -05:00
Eric Snow
e50f9aa4bd
Issue #19697 : Document cases where __main__.__spec__ is None.
2014-03-28 18:10:33 -06:00
Raymond Hettinger
4ab532bbfe
Issue 21014: Use booleans instead of 0 and 1 in examples.
2014-03-28 16:39:25 -07:00
Benjamin Peterson
9381343948
undefine SET_SYS_FROM_STRING_BORROW after its done being used ( closes #21089 )
2014-03-28 18:52:45 -04:00
Georg Brandl
865bdbf4af
Doc: do not compress .epub for dist, it is already zipped.
2014-03-28 19:48:55 +01:00
Ned Deily
b7601676b0
Issue #17654 : Ensure IDLE menus are customized properly on OS X for
...
non-framework builds and for all variants of Tk.
2014-03-27 20:49:14 -07:00
Ned Deily
e7d532fbc9
Issue #6676 : Ensure a meaningful exception is raised when attempting
...
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:39:58 -07:00
Yury Selivanov
2542b66bb0
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
...
Patch by Jeremiah Lowin. Closes #20817 .
2014-03-27 18:42:52 -04:00
Yury Selivanov
b1d060bf8b
inspect: Fix getcallargs() to raise correct TypeError
...
... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816 .
2014-03-27 18:23:03 -04:00
Yury Selivanov
00abf385ac
asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668
2014-03-27 12:21:20 -04:00
Ned Deily
223082fc69
Issue #21069 : Temporarily use www.google.com while investigating
...
test_urllibnet.test_fileno intermittent failures with www.example.com.
2014-03-27 01:39:28 -07:00
Ned Deily
944d597faa
Issue #20939 : remove stray character from comment
2014-03-26 23:43:26 -07:00
Ned Deily
5a507f0f05
Issue #20939 : Use www.example.com instead of www.python.org to avoid test
...
failures when ssl is not present.
2014-03-26 23:31:39 -07:00
Ned Deily
e74153a436
Issue #20939 : Backout test_urllib2.test_issue16464 disables:
...
68335b8afb1f 3.4
ad0c75b7bd7d default
2014-03-26 23:26:03 -07:00
R David Murray
ef1c26798c
backport: #20145 : assert[Raises|Warns]Regex now raise TypeError on bad regex.
...
Previously a non-string, non-regex second argument and missing callable
argument could cause the test to appear to always pass.
Initial patch by Kamilla Holanda.
2014-03-25 15:31:50 -04:00
Victor Stinner
87d13ea56d
Issue #21058 : fix typo in a comment. Patch written by Vajrasky Kok.
2014-03-25 18:19:17 +01:00
Victor Stinner
b60ac7acfb
Issue #21038 : Use monotonic clock to compute timeout, not the system clock
2014-03-25 12:50:50 +01:00
Victor Stinner
6f20b7c473
Issue #21038 : Cleanup test_epoll.py
...
Remove useless test and unused variables. Initial patch by Andreas Schwab.
2014-03-25 12:49:53 +01:00
Victor Stinner
215ad66405
Issue #12209 : Minor edits to faulthandler doc. Patch written by Éric Araujo.
2014-03-25 12:33:56 +01:00
Vinay Sajip
4908910ab7
Updated external link in documentation.
2014-03-25 11:21:41 +00:00
Georg Brandl
1afe2af690
Closes #21045 : make the Qt help build not look completely stupid
2014-03-25 10:12:47 +01:00
Victor Stinner
984600fba7
Issue #21006 : asyncio doc: reorganize subprocess doc
2014-03-25 09:40:26 +01:00
Georg Brandl
1c669c1154
Closes #18456 : Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan.
2014-03-25 09:34:30 +01:00
Victor Stinner
1f99f9d5c2
Issue #21058 : Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),
...
close the file descriptor if io.open() fails
2014-03-25 09:18:04 +01:00
Richard Oudkerk
3e952d56ea
Issue #20633 : Replace relative import by absolute import.
2014-03-23 12:42:28 +00:00
Victor Stinner
93569c2b3d
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.
2014-03-21 10:00:52 +01:00
Donald Stufft
4137465bf5
Issue #21043 : Remove the recommendation for specific CA organizations
...
Closes #21043 by updating the documentation to remove specific CA
organizations and update the text to no longer need to tell you to
download root certificates, but instead use the OS certificates
avaialble through SSLContext.load_default_certs.
2014-03-24 19:26:03 -04:00
Victor Stinner
d9a7352348
Issue #21036 : Fix typo in macro name
...
_PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA
2014-03-24 22:34:34 +01:00
Georg Brandl
df48b97855
Fix a few scoping issues with versionadded/versionchanged directives.
2014-03-24 09:06:18 +01:00
Zachary Ware
645d3b7655
Remove superfluous open parenthesis. Noticed by cocoatomo on docs@.
2014-03-23 22:21:38 -05:00
Donald Stufft
6a2ba94908
Issue #21013 : Enhance ssl.create_default_context() for server side contexts
...
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.
2014-03-23 19:05:28 -04:00
Georg Brandl
553e108fce
tutorial: no "linux2" sys.platform on 3.x (thanks Arfrever)
2014-03-23 23:03:59 +01:00
Antoine Pitrou
8c6f8dc527
Issue #19537 : Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
2014-03-23 22:55:03 +01:00
Richard Oudkerk
99d8dd2489
Issue #20990 : Correction for 619331c67638.
2014-03-23 18:44:11 +00:00
R David Murray
95a8dfb924
#20976 : remove unneeded quopri import in email.utils.
2014-03-23 14:18:44 -04:00
Antoine Pitrou
f8cbbbb652
Issue #20913 : make it clear that create_default_context() also enables hostname checking
2014-03-23 16:31:08 +01:00
Richard Oudkerk
c346060440
Merge 3.3.
2014-03-23 12:52:16 +00:00
Richard Oudkerk
80a5be1d84
Issue #20980 : Stop wrapping exception when using ThreadPool.
2014-03-23 12:30:54 +00:00
Richard Oudkerk
a40675a1a2
Issue #20990 : Fix issues found by pyflakes for multiprocessing.
2014-03-23 11:54:15 +00:00
Georg Brandl
75c5ab49ed
Closes #20975 : make date in the interpreter banner a little more consistent
2014-03-22 20:38:11 +01:00
Antoine Pitrou
c5e075ff03
Issue #20913 : improve the SSL security considerations to first advocate using create_default_context().
2014-03-22 18:19:11 +01:00