Commit graph

97420 commits

Author SHA1 Message Date
Benjamin Peterson
ef537db688 improve grammar 2016-09-06 14:32:40 -07:00
Christian Heimes
fe3c9c1ee9 Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. 2016-09-06 23:27:06 +02:00
Christian Heimes
87bf0febcb Issue #26798: for loop initial declarations are only allowed in C99 or C11 mode 2016-09-06 23:18:03 +02:00
Serhiy Storchaka
90493ab30c Issue #25761: Improved error reporting about truncated pickle data in
C implementation of unpickler.  UnpicklingError is now raised instead of
AttributeError and ValueError in some cases.
2016-09-06 23:55:11 +03:00
Benjamin Peterson
df6ff7bcca add back SIZEOF_UINTPTR_T 2016-09-06 13:53:14 -07:00
Benjamin Peterson
ca47063998 replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
Christian Heimes
3c397e4c39 Fix out-of-tree builds for blake2 2016-09-06 22:35:14 +02:00
Benjamin Peterson
b9d9eeda2a require uintptr_t to exist 2016-09-06 13:33:56 -07:00
Benjamin Peterson
d982c8f51e properly introduce reST literal blocks 2016-09-06 13:28:29 -07:00
Benjamin Peterson
9b3d77052f replace Python aliases for standard integer types with the standard integer types (#17884) 2016-09-06 13:24:00 -07:00
Benjamin Peterson
88bd3edb3e only include inttypes.h (#17884) 2016-09-06 13:05:58 -07:00
Christian Heimes
121b9487d1 Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
Benjamin Peterson
5d75f441ef dtoa.c: remove code for platforms with 64-bit integers (#17884) 2016-09-06 12:44:21 -07:00
Benjamin Peterson
bbeedc261f include (now) int standard headers 2016-09-06 12:41:06 -07:00
Serhiy Storchaka
f6b8c350d3 Merge heads 2016-09-06 22:35:03 +03:00
Serhiy Storchaka
28ab634fa6 Issue #25596: Optimized glob() and iglob() functions in the
glob module; they are now about 3--6 times faster.
2016-09-06 22:33:41 +03:00
Benjamin Peterson
ae3869c71e do not need vcstdint.h anymore 2016-09-06 12:07:53 -07:00
Serhiy Storchaka
ea525a2d1a Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. 2016-09-06 22:07:53 +03:00
Benjamin Peterson
620bb277f8 remove an unanswered question 2016-09-06 11:59:24 -07:00
Benjamin Peterson
4fe55106d1 require standard int types to be defined (#17884) 2016-09-06 11:58:01 -07:00
Christian Heimes
39093e9e68 Issue #27928: Add scrypt (password-based key derivation function) to hashlib module (requires OpenSSL 1.1.0). 2016-09-06 20:22:28 +02:00
Christian Heimes
ac041c0aa7 Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305. 2016-09-06 20:07:58 +02:00
Benjamin Peterson
d953f8e10b remove some silly defined() tests 2016-09-06 10:51:19 -07:00
Steve Dower
003e929cdb Prevents unnecessary help text appearing in doc build. 2016-09-06 10:49:17 -07:00
Benjamin Peterson
af580dff4a replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
Benjamin Peterson
45c7514de4 merge 3.5 (#27969) 2016-09-06 10:06:51 -07:00
Christian Heimes
582282b7d0 Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE 2016-09-06 11:27:25 +02:00
Christian Heimes
407380f63f Issue 27744: skip test if AF_ALG socket bind fails 2016-09-06 11:14:09 +02:00
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
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
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
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
Benjamin Peterson
63604032af merge 3.5 2016-09-05 16:27:08 -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
Zachary Ware
7eacdcc3b8 Issue #27748: Merge with 3.5 2016-09-05 18:10:32 -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