]> granicus.if.org Git - python/log
python
8 years agoIssue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.
Guido van Rossum [Fri, 9 Sep 2016 16:36:26 +0000 (09:36 -0700)]
Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.
Patch by Ivan Levkivskyi.

8 years agoMove news items for PEP 526 and 525 to the top of their section.
Guido van Rossum [Fri, 9 Sep 2016 16:29:42 +0000 (09:29 -0700)]
Move news items for PEP 526 and 525 to the top of their section.

(News items should be ordered newest-first within their section.)

8 years agoIssue #26513: Fixes platform module detection of Windows Server
Steve Dower [Fri, 9 Sep 2016 16:47:09 +0000 (09:47 -0700)]
Issue #26513: Fixes platform module detection of Windows Server

8 years agoIssue #26513: Fixes platform module detection of Windows Server
Steve Dower [Fri, 9 Sep 2016 16:46:56 +0000 (09:46 -0700)]
Issue #26513: Fixes platform module detection of Windows Server

8 years agoSwitch to using |version| substitition in Windows docs.
Steve Dower [Fri, 9 Sep 2016 16:40:06 +0000 (09:40 -0700)]
Switch to using |version| substitition in Windows docs.

8 years agocredit Raymond
Benjamin Peterson [Fri, 9 Sep 2016 16:33:23 +0000 (09:33 -0700)]
credit Raymond

8 years agoFixes expected error when getting encoding while shutting down.
Steve Dower [Fri, 9 Sep 2016 16:21:01 +0000 (09:21 -0700)]
Fixes expected error when getting encoding while shutting down.

8 years agoChanges pyvenv.cfg trick into an actual sys.path file.
Steve Dower [Fri, 9 Sep 2016 16:17:35 +0000 (09:17 -0700)]
Changes pyvenv.cfg trick into an actual sys.path file.

8 years agoMerge 3.5
Donald Stufft [Fri, 9 Sep 2016 16:15:07 +0000 (12:15 -0400)]
Merge 3.5

8 years agoMerge 3.4
Donald Stufft [Fri, 9 Sep 2016 16:14:43 +0000 (12:14 -0400)]
Merge 3.4

8 years agoRemove duplicate entry for Ivan L.
Guido van Rossum [Fri, 9 Sep 2016 16:09:19 +0000 (09:09 -0700)]
Remove duplicate entry for Ivan L.

8 years agoUpgrade setuptools to 27.1.2
Donald Stufft [Fri, 9 Sep 2016 16:08:53 +0000 (12:08 -0400)]
Upgrade setuptools to 27.1.2

8 years agoIssue #28038: Remove Tools/parser/com2ann.py and its unit test.
Guido van Rossum [Fri, 9 Sep 2016 16:06:11 +0000 (09:06 -0700)]
Issue #28038: Remove Tools/parser/com2ann.py and its unit test.

Development is moving to https://github.com/ilevkivskyi/com2ann

8 years agoIssue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT
Steve Dower [Fri, 9 Sep 2016 16:03:15 +0000 (09:03 -0700)]
Issue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT

8 years agoRevert #27959: ImportError within an encoding module should also skip the encoding
Steve Dower [Fri, 9 Sep 2016 15:56:37 +0000 (08:56 -0700)]
Revert #27959: ImportError within an encoding module should also skip the encoding

8 years agoMerge 3.5
Donald Stufft [Fri, 9 Sep 2016 15:36:59 +0000 (11:36 -0400)]
Merge 3.5

8 years agoMerge 3.4
Donald Stufft [Fri, 9 Sep 2016 15:35:43 +0000 (11:35 -0400)]
Merge 3.4

8 years agoUpgrade setuptools to 27.1.1
Donald Stufft [Fri, 9 Sep 2016 15:35:02 +0000 (11:35 -0400)]
Upgrade setuptools to 27.1.1

8 years agoIssue #27364: Raw strings to avoid deprecated escaping in com2ann.py
Martin Panter [Fri, 9 Sep 2016 07:38:50 +0000 (07:38 +0000)]
Issue #27364: Raw strings to avoid deprecated escaping in com2ann.py

8 years agoIssue #28003: Fix a compiler warning
Yury Selivanov [Fri, 9 Sep 2016 07:05:42 +0000 (00:05 -0700)]
Issue #28003: Fix a compiler warning

8 years agoIssue #27106: Add test for configparser.__all__
Martin Panter [Fri, 9 Sep 2016 06:46:48 +0000 (06:46 +0000)]
Issue #27106: Add test for configparser.__all__

Patch by Jacek Kołodziej. The Error class is deliberately omitted because it
is a generic name and of limited use.

8 years agoceval: tighten the code of STORE_ANNOTATION
Yury Selivanov [Fri, 9 Sep 2016 06:38:21 +0000 (23:38 -0700)]
ceval: tighten the code of STORE_ANNOTATION

8 years agoIssue #28003: Implement PEP 525 -- Asynchronous Generators.
Yury Selivanov [Fri, 9 Sep 2016 05:01:51 +0000 (22:01 -0700)]
Issue #28003: Implement PEP 525 -- Asynchronous Generators.

8 years agoregrtest: log FS and locale encodings
Victor Stinner [Fri, 9 Sep 2016 04:46:56 +0000 (21:46 -0700)]
regrtest: log FS and locale encodings

8 years agoIssue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Yury Selivanov [Fri, 9 Sep 2016 03:50:03 +0000 (20:50 -0700)]
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.

Patch by Ivan Levkivskyi.

8 years ago#27364: Credit Emanuel Barry in NEWS item.
R David Murray [Fri, 9 Sep 2016 02:37:34 +0000 (22:37 -0400)]
#27364: Credit Emanuel Barry in NEWS item.

8 years agoMerge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray [Fri, 9 Sep 2016 02:27:39 +0000 (22:27 -0400)]
Merge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.

8 years ago#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray [Fri, 9 Sep 2016 02:21:27 +0000 (22:21 -0400)]
#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.

8 years agoIssue #28033: Fix typo in dictobject.c
Berker Peksag [Fri, 9 Sep 2016 00:57:23 +0000 (03:57 +0300)]
Issue #28033: Fix typo in dictobject.c

Patch by Wesley Emeneker.

8 years agoissue28032: never imply --with-lto as part of --with-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 22:42:45 +0000 (22:42 +0000)]
issue28032: never imply --with-lto as part of --with-optimizations.

Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9).  On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.

We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.

8 years agomerge 3.5
Benjamin Peterson [Thu, 8 Sep 2016 22:40:49 +0000 (15:40 -0700)]
merge 3.5

8 years agoissue28032: never imply --with-lto as part of --with-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 22:38:46 +0000 (22:38 +0000)]
issue28032: never imply --with-lto as part of --with-optimizations.

Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9).  On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.

We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.

8 years agoIssue 18550: Check return value of ioctl() / fnctl() in internal_setblocking
Christian Heimes [Thu, 8 Sep 2016 22:28:57 +0000 (00:28 +0200)]
Issue 18550: Check return value of ioctl() / fnctl() in internal_setblocking

The function internal_setblocking() of the socket module did not check
the return values of ioctl() and fnctl().

CID 1294328

8 years agoFix potential NULL pointer dereference in _imp_create_builtin
Christian Heimes [Thu, 8 Sep 2016 22:25:03 +0000 (00:25 +0200)]
Fix potential NULL pointer dereference in _imp_create_builtin
PyModule_GetDef() can return NULL. Let's check the return value properly
like in the other five cases.

CID 1299590

8 years agoIssue #24254: Drop cls.__definition_order__.
Eric Snow [Thu, 8 Sep 2016 22:11:11 +0000 (15:11 -0700)]
Issue #24254: Drop cls.__definition_order__.

8 years ago24277: Make it clearer that the new modules are not provisional.
R David Murray [Thu, 8 Sep 2016 22:28:43 +0000 (18:28 -0400)]
24277: Make it clearer that the new modules are not provisional.

Also make it clear on the contents page what chapters are about the
legacy API.

8 years agoAdd NULL checks to the initializer of the locale module
Christian Heimes [Thu, 8 Sep 2016 22:24:12 +0000 (00:24 +0200)]
Add NULL checks to the initializer of the locale module

The _locale module was using old-style APIs to set numeric module
constants from macros. The new way requires less code and properly
checks for NULL.

CID 1295027

8 years agoFix potential NULL pointer dereference in update_symbols()
Christian Heimes [Thu, 8 Sep 2016 22:22:28 +0000 (00:22 +0200)]
Fix potential NULL pointer dereference in update_symbols()

symtable_analyze() calls analyze_block() with bound=NULL. Theoretically
that NULL can be passed down to update_symbols(). update_symbols() may
deference NULL and pass it to PySet_Contains()

8 years agoreplace PyInt16 with int16_t
Benjamin Peterson [Thu, 8 Sep 2016 22:08:02 +0000 (15:08 -0700)]
replace PyInt16 with int16_t

8 years agoAdditional safe-guard against dereferencing NULL in reduce_newobj
Christian Heimes [Thu, 8 Sep 2016 22:21:22 +0000 (00:21 +0200)]
Additional safe-guard against dereferencing NULL in reduce_newobj

_PyObject_GetNewArguments() can leave args == NULL but the __newobj_ex__
branch expects args to be not-NULL.

CID 1353201

8 years agoAdd NULL check for gen->gi_code in gen_send_ex()
Christian Heimes [Thu, 8 Sep 2016 22:20:13 +0000 (00:20 +0200)]
Add NULL check for gen->gi_code in gen_send_ex()

_PyGen_Finalize() checks that gen->gi_code is not NULL before it
accesses the flags of the code object. This means that the flag
could be NULL.

It passes down the generatore to gen_close() and gen_send_ex().
gen_send_ex() did not check for gen->gi_code != NULL.

CID 1297900

8 years agoAdd error checking to PyInit_pyexpact
Christian Heimes [Thu, 8 Sep 2016 22:13:35 +0000 (00:13 +0200)]
Add error checking to PyInit_pyexpact

The module initializer of the pyexpat module failed to check
the return value of PySys_GetObject() for NULL.

CID 982779

8 years agoUse PyModule_AddIntMacro() in signal module
Christian Heimes [Thu, 8 Sep 2016 22:11:45 +0000 (00:11 +0200)]
Use PyModule_AddIntMacro() in signal module

The signal module was using old-style module initialization with
potential NULL dereferencing.

CID 1295026

8 years agoSkip unused value in tokenizer code
Christian Heimes [Thu, 8 Sep 2016 22:09:45 +0000 (00:09 +0200)]
Skip unused value in tokenizer code

In the case of an escape character, c is never read. tok_next() is
used to advance the pointer.

CID 1225097

8 years agoCheck return value of PyList_Append() in Py_Main(). CID 1353200
Christian Heimes [Thu, 8 Sep 2016 22:08:35 +0000 (00:08 +0200)]
Check return value of PyList_Append() in Py_Main(). CID 1353200

8 years agoAdd policy keyword to email.generator.DecodedGenerator.
R David Murray [Thu, 8 Sep 2016 21:57:06 +0000 (17:57 -0400)]
Add policy keyword to email.generator.DecodedGenerator.

8 years agoMerge
Raymond Hettinger [Thu, 8 Sep 2016 21:45:40 +0000 (14:45 -0700)]
Merge

8 years agoIssue #26020: Fix evaluation order for set literals
Raymond Hettinger [Thu, 8 Sep 2016 21:40:36 +0000 (14:40 -0700)]
Issue #26020:  Fix evaluation order for set literals

8 years agoMore lenient skipping of console tests.
Steve Dower [Thu, 8 Sep 2016 21:36:18 +0000 (14:36 -0700)]
More lenient skipping of console tests.

8 years agoSkips console open_fd tests when we don't have real consoles.
Steve Dower [Thu, 8 Sep 2016 21:34:24 +0000 (14:34 -0700)]
Skips console open_fd tests when we don't have real consoles.

8 years ago[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
Senthil Kumaran [Thu, 8 Sep 2016 21:29:23 +0000 (14:29 -0700)]
[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
                   documentation consistent with the code.

8 years agoIssue28010 - Make http.client.HTTPConnection.putrequest documentation consistent...
Senthil Kumaran [Thu, 8 Sep 2016 21:28:01 +0000 (14:28 -0700)]
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.

8 years agoIssue #21201: Improves readability of multiprocessing error message from server to...
Davin Potts [Thu, 8 Sep 2016 19:40:36 +0000 (14:40 -0500)]
Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions

8 years agodocument --with-optimizations in the README for issue26359.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 18:33:00 +0000 (18:33 +0000)]
document --with-optimizations in the README for issue26359.

8 years agoIssue #27445: Don't pass str(_charset) to MIMEText.set_payload()
Berker Peksag [Thu, 8 Sep 2016 16:40:30 +0000 (19:40 +0300)]
Issue #27445: Don't pass str(_charset) to MIMEText.set_payload()

Patch by Claude Paroz.

8 years agoIssue11551 - Increase the test coverage of _dummy_thread module to 100%.
Senthil Kumaran [Thu, 8 Sep 2016 09:46:22 +0000 (02:46 -0700)]
Issue11551 - Increase the test coverage of _dummy_thread module to 100%.

Initial patch contributed by Denver Coneybeare.

8 years agoMove my news entries to the build section.
Gregory P. Smith [Thu, 8 Sep 2016 07:14:01 +0000 (00:14 -0700)]
Move my news entries to the build section.

8 years agoFix indentation (reindent.py).
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:48:07 +0000 (00:48 +0000)]
Fix indentation (reindent.py).

8 years agolib2to3.pgen3.driver.load_grammar() now creates a stable cache file
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:40:07 +0000 (00:40 +0000)]
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
between runs given the same Grammar.txt input regardless of the hash
randomization setting.

8 years agoFixes #27930: improved QueueListener behaviour.
Vinay Sajip [Thu, 8 Sep 2016 00:13:39 +0000 (01:13 +0100)]
Fixes #27930: improved QueueListener behaviour.

8 years agoIssue #27993: Fix problems with plural objects in docs and comments
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27993: Fix problems with plural objects in docs and comments

8 years agoIssue #27895: Spelling fixes (Contributed by Ville Skyttä).
Martin Panter [Wed, 7 Sep 2016 12:03:06 +0000 (12:03 +0000)]
Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).

8 years agoIssue #27570: Avoid zero-length memcpy() calls with null source pointers
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27570: Avoid zero-length memcpy() calls with null source pointers

8 years agoFixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
Gregory P. Smith [Wed, 7 Sep 2016 23:10:00 +0000 (16:10 -0700)]
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled.  Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.

8 years ago#22233: Only split headers on \r and/or \n, per email RFCs.
R David Murray [Wed, 7 Sep 2016 21:44:34 +0000 (17:44 -0400)]
#22233: Only split headers on \r and/or \n, per email RFCs.

Original patch by Martin Panter, new policy fixes by me.

8 years ago#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 18:01:23 +0000 (14:01 -0400)]
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.

8 years ago27988: Make sure iter_attachments does not mutate the payload list.
R David Murray [Wed, 7 Sep 2016 17:39:36 +0000 (13:39 -0400)]
27988: Make sure iter_attachments does not mutate the payload list.

8 years agocapture stderr to silence output during test_coroutines (closes #27968)
Benjamin Peterson [Wed, 7 Sep 2016 16:00:48 +0000 (09:00 -0700)]
capture stderr to silence output during test_coroutines (closes #27968)

8 years agosupress coroutine warning when an exception is pending (#27968)
Benjamin Peterson [Wed, 7 Sep 2016 15:46:59 +0000 (08:46 -0700)]
supress coroutine warning when an exception is pending (#27968)

8 years ago[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
Senthil Kumaran [Wed, 7 Sep 2016 07:52:20 +0000 (00:52 -0700)]
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".

8 years agoIssue #27905: Docs for typing.Type[C], by Michael Lee.
Guido van Rossum [Wed, 7 Sep 2016 04:12:44 +0000 (21:12 -0700)]
Issue #27905: Docs for typing.Type[C], by Michael Lee.

8 years agopromote some shifts to unsigned, so as not to invoke undefined behavior
Benjamin Peterson [Wed, 7 Sep 2016 03:40:04 +0000 (20:40 -0700)]
promote some shifts to unsigned, so as not to invoke undefined behavior

8 years agodo not memcpy from NULL
Benjamin Peterson [Wed, 7 Sep 2016 02:03:40 +0000 (19:03 -0700)]
do not memcpy from NULL

8 years agoUse shorter version of Connection.isolation_level in sqlite3.rst
Berker Peksag [Wed, 7 Sep 2016 01:02:41 +0000 (04:02 +0300)]
Use shorter version of Connection.isolation_level in sqlite3.rst

8 years agomake sure to not call memcpy with a NULL second argument
Benjamin Peterson [Wed, 7 Sep 2016 00:58:25 +0000 (17:58 -0700)]
make sure to not call memcpy with a NULL second argument

8 years agoIssue #26359: Add the --with-optimizations flag.
Brett Cannon [Wed, 7 Sep 2016 00:15:21 +0000 (17:15 -0700)]
Issue #26359: Add the --with-optimizations flag.

8 years agoFixes issue26307: The profile-opt build now applys PGO to the built-in
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Tue, 6 Sep 2016 23:56:54 +0000 (23:56 +0000)]
Fixes issue26307: The profile-opt build now applys PGO to the built-in
modules.

8 years agoIssue #21250: Add tests for SQLite's ON CONFLICT clause
Berker Peksag [Tue, 6 Sep 2016 23:04:34 +0000 (02:04 +0300)]
Issue #21250: Add tests for SQLite's ON CONFLICT clause

Initial patch by Alex LordThorsen.

8 years agodo not leak addrinfo in configure test
Benjamin Peterson [Tue, 6 Sep 2016 22:54:24 +0000 (15:54 -0700)]
do not leak addrinfo in configure test

8 years agoIssue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields...
Christian Heimes [Tue, 6 Sep 2016 21:25:35 +0000 (23:25 +0200)]
Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.

8 years agoIssues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20...
Christian Heimes [Tue, 6 Sep 2016 18:06:47 +0000 (20:06 +0200)]
Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.

8 years agosuppress stderr output when checking gdb (closes #27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)]
suppress stderr output when checking gdb (closes #27969)

8 years agoIssue #27960: Merge with 3.4
Jason R. Coombs [Tue, 6 Sep 2016 02:26:19 +0000 (22:26 -0400)]
Issue #27960: Merge with 3.4

8 years agoIssue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed...
Jason R. Coombs [Tue, 6 Sep 2016 02:24:01 +0000 (22:24 -0400)]
Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885.

8 years agoexplicitly cast away constness to silence compiler warning
Benjamin Peterson [Tue, 6 Sep 2016 01:26:19 +0000 (18:26 -0700)]
explicitly cast away constness to silence compiler warning

8 years agoBacked out changeset 8b6be1341770
Benjamin Peterson [Tue, 6 Sep 2016 00:22:09 +0000 (17:22 -0700)]
Backed out changeset 8b6be1341770

8 years agoUpdate pkgutil docs to reference appropriate finder and loader object documentation.
Senthil Kumaran [Tue, 6 Sep 2016 00:11:51 +0000 (17:11 -0700)]
Update pkgutil docs to reference appropriate finder and loader object documentation.

Initial patch contributed by Jaysinh shukla.

8 years agoremove long double from ctypes value union
Benjamin Peterson [Mon, 5 Sep 2016 23:24:52 +0000 (16:24 -0700)]
remove long double from ctypes value union

It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.

8 years agoIssue #26470: Use short name rather than name for compression name to fix #27958.
Christian Heimes [Mon, 5 Sep 2016 23:10:39 +0000 (01:10 +0200)]
Issue #26470: Use short name rather than name for compression name to fix #27958.

8 years agoIssue #27748: Backed out changeset f845e24d794e
Zachary Ware [Mon, 5 Sep 2016 23:08:27 +0000 (18:08 -0500)]
Issue #27748: Backed out changeset f845e24d794e

Apparently the test succeeds on XP.

8 years agodo not pretend to support passing a fd to access()
Benjamin Peterson [Mon, 5 Sep 2016 22:29:33 +0000 (15:29 -0700)]
do not pretend to support passing a fd to access()

8 years agoIssue #27748: strengthen test_alias_nofallback
Zachary Ware [Mon, 5 Sep 2016 22:19:35 +0000 (17:19 -0500)]
Issue #27748: strengthen test_alias_nofallback

This test should always raise RuntimeError.

8 years agoIssue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.
Christian Heimes [Mon, 5 Sep 2016 21:19:05 +0000 (23:19 +0200)]
Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.

8 years agoIssue #27748: Simplify test_winsound.
Zachary Ware [Mon, 5 Sep 2016 21:06:56 +0000 (16:06 -0500)]
Issue #27748: Simplify test_winsound.

The tests no longer attempt to figure out if a soundcard or particular
system sounds are available.  Instead, it just tries everything and
accepts RuntimeError as a flavor of success.

8 years agoremove ungrammarical apostrophe (closes #27957)
Benjamin Peterson [Mon, 5 Sep 2016 21:02:59 +0000 (14:02 -0700)]
remove ungrammarical apostrophe (closes #27957)

8 years agoImprove recipe by showing results of intermediate steps
Raymond Hettinger [Mon, 5 Sep 2016 20:15:02 +0000 (13:15 -0700)]
Improve recipe by showing results of intermediate steps

8 years agoIssue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible
Zachary Ware [Mon, 5 Sep 2016 17:54:08 +0000 (12:54 -0500)]
Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible

8 years agoclear out f_gen during generator finalization (closes #27812)
Benjamin Peterson [Mon, 5 Sep 2016 17:39:57 +0000 (10:39 -0700)]
clear out f_gen during generator finalization (closes #27812)

Patch from Armin Rigo.

8 years agomerge heads
Benjamin Peterson [Mon, 5 Sep 2016 17:17:22 +0000 (10:17 -0700)]
merge heads

8 years agodo not allow _PyGen_Finalize to fail (closes #27811)
Benjamin Peterson [Mon, 5 Sep 2016 17:14:54 +0000 (10:14 -0700)]
do not allow _PyGen_Finalize to fail (closes #27811)

Patch from Armin Rigo.