Commit Graph

95531 Commits

Author SHA1 Message Date
Christian Heimes ea9b2dc9e3 Issue 27866: relax test case for set_cipher() and allow more cipher suites 2016-09-06 10:45:44 +02:00
Victor Stinner 3466bde1cc Avoid calling functions with an empty string as format string
Directly pass NULL rather than an empty string.
2016-09-05 18:16:01 -07:00
Victor Stinner ad8c83ad6b Avoid inefficient way to call functions without argument
Don't pass "()" format to PyObject_CallXXX() to call a function without
argument: pass NULL as the format string instead. It avoids to have to parse a
string to produce 0 argument.
2016-09-05 17:53:15 -07:00
Jason R. Coombs ca08301ae0 Issue #27960: Merge with 3.5 2016-09-05 22:29:29 -04:00
Jason R. Coombs c5c83d6b7d Issue #27960: Merge with 3.4 2016-09-05 22:26:19 -04:00
Jason R. Coombs 1f5fd648b1 Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885. 2016-09-05 22:24:01 -04:00
Martin Panter b745f920c9 Issue #27355: Import no longer needed 2016-09-06 02:18:16 +00:00
Benjamin Peterson 9d1e4a54f7 merge 3.5 2016-09-05 18:26:26 -07:00
Benjamin Peterson 1bb0c0bd30 explicitly cast away constness to silence compiler warning 2016-09-05 18:26:19 -07:00
Benjamin Peterson ed4aa83ff7 require a long long data type (closes #27961) 2016-09-05 17:44:18 -07:00
Ned Deily b3b0767861 Update OS X installer to use SQlite 3.14.1 and XZ 5.2.2. 2016-09-05 17:31:14 -07:00
Zachary Ware bd63353b74 Deprecate Tix
When building it breaks, we won't be fixing it.
2016-09-05 17:22:24 -07:00
Benjamin Peterson f3dd32950b merge 3.5 2016-09-05 17:22:22 -07:00
Benjamin Peterson 5130a4d5d7 Backed out changeset 8b6be1341770 2016-09-05 17:22:09 -07:00
Senthil Kumaran 56b4872ff5 [merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:16:06 -07:00
Senthil Kumaran 4672060d86 Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Benjamin Peterson 63604032af merge 3.5 2016-09-05 16:27:08 -07:00
Benjamin Peterson 6d999803a0 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.
2016-09-05 16:24:52 -07:00
Zachary Ware dd2afe9edc Closes #20366: Build full text search support into SQLite on Windows 2016-09-05 18:19:13 -05:00
Zachary Ware f584656003 Move NEWS entry to correct section. 2016-09-05 18:17:52 -05:00
Christian Heimes 0061bf5892 Issue #26470: Use short name rather than name for compression name to fix #27958. 2016-09-06 01:14:34 +02:00
Christian Heimes 281e5f8839 Issue #26470: Use short name rather than name for compression name to fix #27958. 2016-09-06 01:10:39 +02:00
Zachary Ware 7eacdcc3b8 Issue #27748: Merge with 3.5 2016-09-05 18:10:32 -05:00
Zachary Ware f4a7381719 Issue #27748: Backed out changeset f845e24d794e
Apparently the test succeeds on XP.
2016-09-05 18:08:27 -05:00
Christian Heimes 04960a21fb Issue 27744: AES-CBC and DRBG need Kernel 3.19+ 2016-09-06 00:58:47 +02:00
Victor Stinner 942889aae2 Issue #27938: Add a fast-path for us-ascii encoding
Other changes:

* Rewrite _Py_normalize_encoding() as a C implementation of
  encodings.normalize_encoding(). For example, " utf-8 " is now normalized to
  "utf_8". So the fast path is now used for more name variants of the same
  encoding.
* Avoid strcpy() when encoding is NULL: call directly the UTF-8 codec
2016-09-05 15:40:10 -07:00
Benjamin Peterson a9ab165cd2 os.access does not allow a fd 2016-09-05 15:40:59 -07:00
Benjamin Peterson b1cb8b2872 merge 3.5 2016-09-05 15:35:45 -07:00
Christian Heimes 4837141def Issue 27744: Check for AF_ALG support in Kernel 2016-09-06 00:37:46 +02:00
Brett Cannon 3cebf93872 Implement the frame evaluation API aspect of PEP 523. 2016-09-05 15:33:46 -07:00
Zachary Ware 625cb379f7 Issue #25387: Check return value of winsound.MessageBeep 2016-09-05 17:32:28 -05:00
Benjamin Peterson 768f3b4492 do not pretend to support passing a fd to access() 2016-09-05 15:29:33 -07:00
Zachary Ware cefebf3cbe Issue #27748: Merge with 3.5 2016-09-05 17:24:45 -05:00
Zachary Ware 9ed756bc21 Issue #27748: strengthen test_alias_nofallback
This test should always raise RuntimeError.
2016-09-05 17:19:35 -05:00
Larry Hastings 10108a7b9a Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Christian Heimes 8c21ab0ab9 Issue #27744: correct comment and markup 2016-09-06 00:07:02 +02:00
Christian Heimes 25bfcd5d9e Issue #27866: Add SSLContext.get_ciphers() method to get a list of all enabled ciphers. 2016-09-06 00:04:45 +02:00
Christian Heimes dffa3949c7 Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. 2016-09-05 23:54:41 +02:00
Eric Snow 92a6c170e6 Issue #24254: Preserve class attribute definition order. 2016-09-05 14:50:11 -07:00
Steve Dower 4565986138 Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon 2016-09-05 14:51:41 -07:00
Christian Heimes 01113faef9 Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. 2016-09-05 23:23:24 +02:00
Zachary Ware ae8298bfb7 Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound.
Based on a patch by Tim Lesher.
2016-09-05 16:31:21 -05:00
Christian Heimes 598894ff48 Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. 2016-09-05 23:19:05 +02:00
Zachary Ware 0e76e67246 Closes #27748: Merge with 3.5 2016-09-05 16:15:20 -05:00
Zachary Ware b3b7a5a16b 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.
2016-09-05 16:06:56 -05:00
Steve Dower c7d1cf4de9 Issue #27756: Adds new icons for Python files and processes on Windows. Designs by Cherry Wang. 2016-09-05 14:05:17 -07:00
Benjamin Peterson 942dd9f3f7 merge 3.5 (#27957) 2016-09-05 14:03:08 -07:00
Benjamin Peterson f7e2ea2f33 remove ungrammarical apostrophe (closes #27957) 2016-09-05 14:02:59 -07:00
Raymond Hettinger c7fac12f19 Merge 2016-09-05 13:15:20 -07:00
Raymond Hettinger f5b7c7bfc1 Improve recipe by showing results of intermediate steps 2016-09-05 13:15:02 -07:00