]> granicus.if.org Git - python/log
python
11 years agoasyncio: Fix deadlock in readexactly(). Fixes issue #20154.
Guido van Rossum [Tue, 7 Jan 2014 00:09:18 +0000 (16:09 -0800)]
asyncio: Fix deadlock in readexactly(). Fixes issue #20154.

11 years agowhatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
R David Murray [Mon, 6 Jan 2014 21:32:05 +0000 (16:32 -0500)]
whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.

Also add a missing word to gc entry, and delete a now-obsolete doc note
in the weakref __callback__ docs.  (Opened an issue for rewriting
the section that compares finalizers and __del__ method.)

11 years agowhatsnew: pydoc.Scanner removal, check_output input parm, operator.py.
R David Murray [Mon, 6 Jan 2014 01:52:06 +0000 (20:52 -0500)]
whatsnew: pydoc.Scanner removal, check_output input parm, operator.py.

Also fleshed out the entry on struct.iter_unpack.

11 years agoIssue #20143: The line numbers reported in Argument Clinic errors are
Larry Hastings [Mon, 6 Jan 2014 19:10:08 +0000 (11:10 -0800)]
Issue #20143: The line numbers reported in Argument Clinic errors are
now more accurate.

11 years agoIssue #20142: Py_buffer variables generated by Argument Clinic are now
Larry Hastings [Mon, 6 Jan 2014 18:34:00 +0000 (10:34 -0800)]
Issue #20142: Py_buffer variables generated by Argument Clinic are now
initialized with a default value.

11 years agoMerge 3.4.0b2 release revisions back into mainline.
Larry Hastings [Mon, 6 Jan 2014 15:24:19 +0000 (07:24 -0800)]
Merge 3.4.0b2 release revisions back into mainline.

11 years agoPost-release engineering; updated NEWS and version string.
Larry Hastings [Mon, 6 Jan 2014 15:17:47 +0000 (07:17 -0800)]
Post-release engineering; updated NEWS and version string.

11 years agoAdd comments to frozenset_hash().
Raymond Hettinger [Sun, 5 Jan 2014 20:00:31 +0000 (12:00 -0800)]
Add comments to frozenset_hash().

Also, provide a minor hint to the compiler on how to group the xors.

11 years agoIssue19995: %o, %x, %X now only accept ints
Ethan Furman [Sun, 5 Jan 2014 14:50:30 +0000 (06:50 -0800)]
Issue19995: %o, %x, %X now only accept ints

11 years agoAdded tag v3.4.0b2 for changeset ba32913eb13e
Larry Hastings [Sun, 5 Jan 2014 12:43:31 +0000 (04:43 -0800)]
Added tag v3.4.0b2 for changeset ba32913eb13e

11 years agoBump version number for 3.4.0b2. v3.4.0b2
Larry Hastings [Sun, 5 Jan 2014 12:40:25 +0000 (04:40 -0800)]
Bump version number for 3.4.0b2.

11 years agoRegenerated pydoc/topics.py, and fix a "suspicious" doc error.
Larry Hastings [Sun, 5 Jan 2014 12:35:56 +0000 (04:35 -0800)]
Regenerated pydoc/topics.py, and fix a "suspicious" doc error.

11 years agoArgument Clinic: fixed test suite, improved howto.
Larry Hastings [Sun, 5 Jan 2014 10:50:45 +0000 (02:50 -0800)]
Argument Clinic: fixed test suite, improved howto.

11 years agoIssue 20123: Disable a problematic test.
Eric Snow [Sun, 5 Jan 2014 06:04:27 +0000 (23:04 -0700)]
Issue 20123: Disable a problematic test.

11 years agoFix news entry to use updated name for XMLPullParser.
R David Murray [Sun, 5 Jan 2014 05:30:03 +0000 (00:30 -0500)]
Fix news entry to use updated name for XMLPullParser.

11 years agoIssue 20123: try using a different builtin module in a pydoc test.
Eric Snow [Sun, 5 Jan 2014 04:56:07 +0000 (21:56 -0700)]
Issue 20123: try using a different builtin module in a pydoc test.

The test is failing on one of the stable FreeBSD buildbots.  It seems
unlikely that the gc module would not be available, so switching to
_imp may not fix the problem.

11 years agowhatsnew: XMLPullParser, plus some doc updates.
R David Murray [Sun, 5 Jan 2014 04:52:50 +0000 (23:52 -0500)]
whatsnew: XMLPullParser, plus some doc updates.

I was confused by the text saying that read_events "iterated", since it
actually returns an iterator (that's what a generator does) that the
caller must then iterate.  So I tidied up the language.  I'm not sure
what the sentence "Events provided in a previous call to read_events()
will not be yielded again." is trying to convey, so I didn't try to fix that.

Also fixed a couple more news items.

11 years agoIssue 20123: Fix pydoc.synopsis() for "binary" modules.
Eric Snow [Sun, 5 Jan 2014 03:38:11 +0000 (20:38 -0700)]
Issue 20123: Fix pydoc.synopsis() for "binary" modules.

Also add missing tests to test_pydoc.

11 years agowhatsnew: removal of TYPE_INT64 from marshal.
R David Murray [Sun, 5 Jan 2014 02:17:52 +0000 (21:17 -0500)]
whatsnew: removal of TYPE_INT64 from marshal.

Also update news entry for SMTPException; when I changed it from
IOError to OSError I forgot to update the news item.

11 years agowhatsnew: logging TimedRotatingFileHandler atTime parameter.
R David Murray [Sat, 4 Jan 2014 23:55:01 +0000 (18:55 -0500)]
whatsnew: logging TimedRotatingFileHandler atTime parameter.

11 years agowhatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.
R David Murray [Sat, 4 Jan 2014 23:07:20 +0000 (18:07 -0500)]
whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.

And more news entry clarifications.

11 years agowhatsnew: ppring string wrapping, string pickling optimization.
R David Murray [Sat, 4 Jan 2014 22:11:23 +0000 (17:11 -0500)]
whatsnew: ppring string wrapping, string pickling optimization.

Also clarify some NEWS entries.

11 years agowhatsnew: Mock mock_open readline(s); expand description of subtests feature.
R David Murray [Sat, 4 Jan 2014 04:31:54 +0000 (23:31 -0500)]
whatsnew: Mock mock_open readline(s); expand description of subtests feature.

11 years agoIssue #19708: Update pkgutil to use the new importer APIs.
Eric Snow [Sat, 4 Jan 2014 22:09:53 +0000 (15:09 -0700)]
Issue #19708: Update pkgutil to use the new importer APIs.

11 years agoIssue #19713: Move away from using find_module/load_module.
Eric Snow [Sat, 4 Jan 2014 22:09:28 +0000 (15:09 -0700)]
Issue #19713: Move away from using find_module/load_module.

11 years agoIssue #19927: Add __eq__ to path-based loaders in importlib.
Eric Snow [Sat, 4 Jan 2014 22:06:49 +0000 (15:06 -0700)]
Issue #19927: Add __eq__ to path-based loaders in importlib.

11 years agoMerge heads
Serhiy Storchaka [Sat, 4 Jan 2014 20:49:40 +0000 (22:49 +0200)]
Merge heads

11 years agoIssue #19659: Added documentation for Argument Clinic.
Larry Hastings [Sat, 4 Jan 2014 20:44:57 +0000 (12:44 -0800)]
Issue #19659: Added documentation for Argument Clinic.

11 years agoReverted changeset b72c5573c5e7 (issue #15027).
Serhiy Storchaka [Sat, 4 Jan 2014 20:44:01 +0000 (22:44 +0200)]
Reverted changeset b72c5573c5e7 (issue #15027).

11 years agoIssue #19976: Argument Clinic METH_NOARGS functions now always
Larry Hastings [Sat, 4 Jan 2014 19:09:09 +0000 (11:09 -0800)]
Issue #19976: Argument Clinic METH_NOARGS functions now always
take two parameters.

11 years agoIssue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster.
Serhiy Storchaka [Sat, 4 Jan 2014 17:25:37 +0000 (19:25 +0200)]
Issue #15027: Rewrite the UTF-32 encoder.  It is now 1.6x to 3.5x faster.

11 years agoMerge from 3.3.
Stefan Krah [Sat, 4 Jan 2014 12:06:59 +0000 (13:06 +0100)]
Merge from 3.3.

11 years agoWhitespace.
Stefan Krah [Sat, 4 Jan 2014 12:03:48 +0000 (13:03 +0100)]
Whitespace.

11 years agoDrop reference to pythoncore, to avoid linking python34.dll
Martin v. Löwis [Sat, 4 Jan 2014 10:25:35 +0000 (11:25 +0100)]
Drop reference to pythoncore, to avoid linking python34.dll

11 years agoMerge 3.3
Martin v. Löwis [Sat, 4 Jan 2014 10:21:15 +0000 (11:21 +0100)]
Merge 3.3

11 years agoRegenerate python34stub.def.
Martin v. Löwis [Sat, 4 Jan 2014 10:20:45 +0000 (11:20 +0100)]
Regenerate python34stub.def.

11 years agoMerge with 3.3: Issue #17432: Drop UCS2 from names of Unicode functions in python3...
Martin v. Löwis [Sat, 4 Jan 2014 09:06:28 +0000 (10:06 +0100)]
Merge with 3.3: Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.

11 years agoIssue #17432: Drop UCS2 from names of Unicode functions in python3.def.
Martin v. Löwis [Sat, 4 Jan 2014 09:01:42 +0000 (10:01 +0100)]
Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.

11 years agowhatsnew: consistently use 3 blanks between major sections. 2 for minor.
R David Murray [Fri, 3 Jan 2014 21:15:45 +0000 (16:15 -0500)]
whatsnew: consistently use 3 blanks between major sections. 2 for minor.

11 years agowhatsnew: make bullet list presentation style consistent.
R David Murray [Fri, 3 Jan 2014 20:52:22 +0000 (15:52 -0500)]
whatsnew: make bullet list presentation style consistent.

11 years agowhatsnew: unittest discovery sorting, urlllib Request getter/setter removals.
R David Murray [Fri, 3 Jan 2014 20:46:24 +0000 (15:46 -0500)]
whatsnew: unittest discovery sorting, urlllib Request getter/setter removals.

11 years agoIssue #19526: Exclude all new API from the stable ABI.
Martin v. Löwis [Fri, 3 Jan 2014 20:36:49 +0000 (21:36 +0100)]
Issue #19526: Exclude all new API from the stable ABI.

11 years agowhatsnew: porting note for HTTP[S]Connection strict parameter removal.
R David Murray [Fri, 3 Jan 2014 19:06:01 +0000 (14:06 -0500)]
whatsnew: porting note for HTTP[S]Connection strict parameter removal.

It was discussed in issue #17460 whether or not to make the remaining
arguments keyword only so that things would fail noisily if someone was still
using positional parameters, but no decision was made and we are now well past
the Beta API change deadline.

11 years agowhatsnew: deprecation of HTTPConnection's strict parameter.
R David Murray [Fri, 3 Jan 2014 18:04:25 +0000 (13:04 -0500)]
whatsnew: deprecation of HTTPConnection's strict parameter.

11 years agowhatsnew: unittest import time SkipTest reported as skip not error.
R David Murray [Fri, 3 Jan 2014 18:03:36 +0000 (13:03 -0500)]
whatsnew: unittest import time SkipTest reported as skip not error.

11 years agowhatsnew: http.server send_error explain parameter.
R David Murray [Fri, 3 Jan 2014 18:03:00 +0000 (13:03 -0500)]
whatsnew: http.server send_error explain parameter.

Also rewrote the send_error description for clarity and correct English.

11 years agoRemove deadcode (HASH macro is no more defined)
Victor Stinner [Fri, 3 Jan 2014 16:42:18 +0000 (17:42 +0100)]
Remove deadcode (HASH macro is no more defined)

11 years agoRemove now unused variables
Victor Stinner [Fri, 3 Jan 2014 16:39:40 +0000 (17:39 +0100)]
Remove now unused variables

11 years agoRevert accidental deletion of _overlapped.
Martin v. Löwis [Fri, 3 Jan 2014 14:53:20 +0000 (15:53 +0100)]
Revert accidental deletion of _overlapped.

11 years ago* Issue #16113: Remove sha3 module again.
Martin v. Löwis [Fri, 3 Jan 2014 13:05:06 +0000 (14:05 +0100)]
* Issue #16113: Remove sha3 module again.
Patch by Christian Heimes, with modifications.

11 years agounicode_char() uses get_latin1_char() to get latin1 singleton characters
Victor Stinner [Fri, 3 Jan 2014 12:16:00 +0000 (13:16 +0100)]
unicode_char() uses get_latin1_char() to get latin1 singleton characters

11 years agoadd unicode_char() in unicodeobject.c to factorize code
Victor Stinner [Fri, 3 Jan 2014 11:53:47 +0000 (12:53 +0100)]
add unicode_char() in unicodeobject.c to factorize code

11 years agoIssue #18294: Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" check
Victor Stinner [Fri, 3 Jan 2014 11:26:12 +0000 (12:26 +0100)]
Issue #18294: Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" check

11 years agoIssue #20097: Fix bad use of "self" in importlib's WindowsRegistryFinder.
Eric Snow [Fri, 3 Jan 2014 05:25:00 +0000 (22:25 -0700)]
Issue #20097: Fix bad use of "self" in importlib's WindowsRegistryFinder.

11 years agoIssue #18585: speed zipfile import by only generating zipfile._ZipDecryptor on demand
Daniel Holth [Fri, 3 Jan 2014 04:17:21 +0000 (23:17 -0500)]
Issue #18585: speed zipfile import by only generating zipfile._ZipDecryptor on demand

11 years agoaudioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a
Victor Stinner [Fri, 3 Jan 2014 02:26:47 +0000 (03:26 +0100)]
audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a
SystemError if the state type is invalid.

11 years agocorrect word for __annotations__ doc (closes #20110)
Benjamin Peterson [Thu, 2 Jan 2014 22:47:50 +0000 (16:47 -0600)]
correct word for __annotations__ doc (closes #20110)

Patch from Claudiu Popa.

11 years ago#17282: Document unittest.main defaultTest argument.
R David Murray [Thu, 2 Jan 2014 18:37:26 +0000 (13:37 -0500)]
#17282: Document unittest.main defaultTest argument.

11 years agoavoid parameter name clash (closes #20108)
Benjamin Peterson [Thu, 2 Jan 2014 18:24:08 +0000 (12:24 -0600)]
avoid parameter name clash (closes #20108)

11 years agoremove brackets
Benjamin Peterson [Thu, 2 Jan 2014 18:22:30 +0000 (12:22 -0600)]
remove brackets

11 years agoasyncio: make PY34 symbol private (rename it to _PY34)
Victor Stinner [Thu, 2 Jan 2014 17:41:34 +0000 (18:41 +0100)]
asyncio: make PY34 symbol private (rename it to _PY34)

11 years agoIssue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix.
Antoine Pitrou [Thu, 2 Jan 2014 23:07:17 +0000 (00:07 +0100)]
Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix.

11 years agomerge 3.3 (#20110)
Benjamin Peterson [Thu, 2 Jan 2014 22:48:24 +0000 (16:48 -0600)]
merge 3.3 (#20110)

11 years agowhatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation
R David Murray [Thu, 2 Jan 2014 18:44:18 +0000 (13:44 -0500)]
whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation

11 years agoMerge and update #17282: Document unittest.main defaultTest argument.
R David Murray [Thu, 2 Jan 2014 18:43:02 +0000 (13:43 -0500)]
Merge and update #17282: Document unittest.main defaultTest argument.

In 3.4 defaultTest can also be a list (see issue 15132).

11 years agomerge 3.3 (closes #20108)
Benjamin Peterson [Thu, 2 Jan 2014 18:26:50 +0000 (12:26 -0600)]
merge 3.3 (closes #20108)

11 years agoIssue #20101: Merge with 3.3
Zachary Ware [Thu, 2 Jan 2014 15:43:09 +0000 (09:43 -0600)]
Issue #20101: Merge with 3.3

11 years agoIssue #20101: Allow test_monotonic to pass on Windows machines on which
Zachary Ware [Thu, 2 Jan 2014 15:41:10 +0000 (09:41 -0600)]
Issue #20101: Allow test_monotonic to pass on Windows machines on which
time.get_clock_info('monotonic').resolution == 0.015600099999999999

This is just a workaround pending a real resolution to #20101.

11 years agoUpdate pip to the released 1.5
Donald Stufft [Thu, 2 Jan 2014 14:33:35 +0000 (09:33 -0500)]
Update pip to the released 1.5

11 years agoIssue #19728: Enable pip installation by default on Windows.
Martin v. Löwis [Thu, 2 Jan 2014 13:12:30 +0000 (14:12 +0100)]
Issue #19728: Enable pip installation by default on Windows.

11 years ago(Merge 3.3) Issue #18829: Add tests for the csv module for invalid characters
Victor Stinner [Thu, 2 Jan 2014 11:53:50 +0000 (12:53 +0100)]
(Merge 3.3) Issue #18829: Add tests for the csv module for invalid characters
(delimiter, escapechar, quotechar)

11 years agoIssue #18829: Add tests for the csv module for invalid characters (delimiter,
Victor Stinner [Thu, 2 Jan 2014 11:53:13 +0000 (12:53 +0100)]
Issue #18829: Add tests for the csv module for invalid characters (delimiter,
escapechar, quotechar)

11 years agothreading.RLock._acquire_restore() now raises a TypeError instead of a
Victor Stinner [Thu, 2 Jan 2014 11:47:24 +0000 (12:47 +0100)]
threading.RLock._acquire_restore() now raises a TypeError instead of a
SystemError when it is not called with 2 arguments

11 years ago(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Victor Stinner [Thu, 2 Jan 2014 10:50:10 +0000 (11:50 +0100)]
(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error

Fix typo: "os" format => "Os"

11 years agoparser: fix usage of Py_BuildValue() to build a parser error
Victor Stinner [Thu, 2 Jan 2014 10:49:27 +0000 (11:49 +0100)]
parser: fix usage of Py_BuildValue() to build a parser error

Fix typo: "os" format => "Os"

11 years agoUpdate copyright dates in Mac plists.
Ned Deily [Wed, 1 Jan 2014 21:06:02 +0000 (13:06 -0800)]
Update copyright dates in Mac plists.

11 years agoUpdate copyright dates in Mac plists.
Ned Deily [Wed, 1 Jan 2014 21:05:03 +0000 (13:05 -0800)]
Update copyright dates in Mac plists.

11 years agomerge 3.3
Benjamin Peterson [Wed, 1 Jan 2014 04:02:41 +0000 (22:02 -0600)]
merge 3.3

11 years agoupdate copyright year
Benjamin Peterson [Wed, 1 Jan 2014 04:02:22 +0000 (22:02 -0600)]
update copyright year

11 years agoIssue #20055: Fix test_shutil under Windows with symlink privileges held.
Antoine Pitrou [Wed, 1 Jan 2014 01:51:58 +0000 (02:51 +0100)]
Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.

11 years agoIssue #20055: Fix test_shutil under Windows with symlink privileges held.
Antoine Pitrou [Wed, 1 Jan 2014 01:50:45 +0000 (02:50 +0100)]
Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.

11 years agoMerge: Clarify the wording of a news entry.
R David Murray [Tue, 31 Dec 2013 22:34:40 +0000 (17:34 -0500)]
Merge: Clarify the wording of a news entry.

11 years agoClarify the wording of a news entry.
R David Murray [Tue, 31 Dec 2013 22:33:47 +0000 (17:33 -0500)]
Clarify the wording of a news entry.

11 years agowhatsnew: mock called_with improvements, socket CAN_BCM support.
R David Murray [Tue, 31 Dec 2013 21:04:50 +0000 (16:04 -0500)]
whatsnew: mock called_with improvements, socket CAN_BCM support.

Also reworded the other entries in the socket section of whatsnew, as
well as a couple of unrelated news entries.

11 years agowhatsnew: random.getrandbits performance.
R David Murray [Tue, 31 Dec 2013 20:06:05 +0000 (15:06 -0500)]
whatsnew: random.getrandbits performance.

Also fix a NEWS file issue number error, and some spacing fixes in whatsnew.

11 years agowhatsnew: afic.open supports 'with'.
R David Murray [Tue, 31 Dec 2013 18:45:38 +0000 (13:45 -0500)]
whatsnew: afic.open supports 'with'.

11 years agoMerge with 3.3
Zachary Ware [Tue, 31 Dec 2013 18:10:24 +0000 (12:10 -0600)]
Merge with 3.3

11 years agostr subclasses may have non-empty __slots__, bytes subclasses can't.
Zachary Ware [Tue, 31 Dec 2013 18:09:26 +0000 (12:09 -0600)]
str subclasses may have non-empty __slots__, bytes subclasses can't.

11 years agowhatsnew: argparse FileType accepts errors and encodings args.
R David Murray [Tue, 31 Dec 2013 16:18:01 +0000 (11:18 -0500)]
whatsnew: argparse FileType accepts errors and encodings args.

11 years agowhatsnew: epoll supports with.
R David Murray [Tue, 31 Dec 2013 16:17:21 +0000 (11:17 -0500)]
whatsnew: epoll supports with.

Also reworded the description of the feature in the docs.

11 years agoUpdate setuptools to 2.0.2
Donald Stufft [Tue, 31 Dec 2013 11:52:47 +0000 (06:52 -0500)]
Update setuptools to 2.0.2

11 years agoUpdate pip to 1.5rc4
Donald Stufft [Tue, 31 Dec 2013 11:49:54 +0000 (06:49 -0500)]
Update pip to 1.5rc4

11 years agoIssue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
Zachary Ware [Mon, 30 Dec 2013 21:09:20 +0000 (15:09 -0600)]
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)

11 years agoIssue19619: skip zlib error test when zlib not available
Zachary Ware [Mon, 30 Dec 2013 20:54:11 +0000 (14:54 -0600)]
Issue19619: skip zlib error test when zlib not available

11 years agoIssue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)
Zachary Ware [Mon, 30 Dec 2013 20:39:46 +0000 (14:39 -0600)]
Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound)

11 years agoFixed typo (thx Arfrever)
Christian Heimes [Mon, 30 Dec 2013 08:33:46 +0000 (09:33 +0100)]
Fixed typo (thx Arfrever)

11 years agoCloses issue 20031. Document unittest.TextTestRunner.run method.
Michael Foord [Sun, 29 Dec 2013 23:38:55 +0000 (23:38 +0000)]
Closes issue 20031. Document unittest.TextTestRunner.run method.

11 years agowhatsnew: abc.ABC. Also add issue number to news entry and reword.
R David Murray [Sun, 29 Dec 2013 04:15:12 +0000 (23:15 -0500)]
whatsnew: abc.ABC.  Also add issue number to news entry and reword.

11 years agoBackporing the fix from Issue #12692
Senthil Kumaran [Sun, 29 Dec 2013 01:36:18 +0000 (17:36 -0800)]
Backporing the fix from Issue #12692

11 years agoIssue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather...
Antoine Pitrou [Sat, 28 Dec 2013 16:26:33 +0000 (17:26 +0100)]
Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.