Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). ↵ | Serhiy Storchaka | 2017-10-03 | 1 | -9/+9 |
| | | | | | (GH-3864). (#3873) (cherry picked from commit 929b40a601db868530d6beaafb3256822103a7fb) | ||||
* | [3.6] bpo-30622: Change NPN detection: (GH-2079) (#3314) | Christian Heimes | 2017-09-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change NPN detection: Version breakdown, support disabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will be defined -> True/False Version breakdown support enabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True * Refine NPN guard: - If NPN is disabled, but ALPN is available we need our callback - Make clinic's ssl behave the same way This created a working ssl module for me, with NPN disabled and ALPN enabled for OpenSSL 1.1.0f. Concerns to address: The initial commit for NPN support into OpenSSL [1], had the OPENSSL_NPN_* variables defined inside the OPENSSL_NO_NEXTPROTONEG guard. The question is if that ever made it into a release. This would need an ugly hack, something like: GH-if defined(OPENSSL_NO_NEXTPROTONEG) && \ !defined(OPENSSL_NPN_NEGOTIATED) GH- define OPENSSL_NPN_UNSUPPORTED 0 GH- define OPENSSL_NPN_NEGOTIATED 1 GH- define OPENSSL_NPN_NO_OVERLAP 2 GH-endif [1] https://github.com/openssl/openssl/commit/68b33cc5c7 (cherry picked from commit b2d096b) | ||||
* | bpo-31185: Fixed miscellaneous errors in asyncio speedup module. (#3076) (#3269) | Serhiy Storchaka | 2017-09-03 | 1 | -4/+4 |
| | | | (cherry picked from commit bca4939d806170c3ca5d05f23710d11a8f1669cf) | ||||
* | [3.6] Regenerate Argument Clinic code for bpo-19180. (GH-2073). (#2077) | Serhiy Storchaka | 2017-06-10 | 1 | -1/+1 |
| | | | | (cherry picked from commit 5f31d5cf6efa8c304d352e34f9f2a1ed0074298e) | ||||
* | [3.6] bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366 | Nick Coghlan | 2017-06-09 | 1 | -1/+1 |
| | | | | | | * RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066. (cherry picked from commit 63c2c8ac17750ba2be2cfc4e339cae1f4edee54f) | ||||
* | bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406) | Yury Selivanov | 2017-03-03 | 1 | -3/+3 |
| | |||||
* | Issue #29092: Sync os.stat's doc and docstring on path type. | Xiang Zhang | 2017-01-22 | 1 | -2/+3 |
|\ | |||||
* \ | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -1/+31 |
|\ \ | |/ | | | | | WeakValueDictionary when collecting from another thread. | ||||
| * | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -1/+30 |
| | | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
* | | Issue #29004: Merge crc_hqx() doc from 3.5 | Martin Panter | 2016-12-24 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT | Martin Panter | 2016-12-24 | 1 | -2/+2 |
| | | |||||
* | | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -2/+3 |
| | | |||||
* | | Issue #28544: Implement asyncio.Task in C. | Yury Selivanov | 2016-10-28 | 1 | -0/+520 |
| | | | | | | | | | | | | | | | | This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5). | ||||
* | | Issue #28156: Export os.getpid() conditionally | Berker Peksag | 2016-09-15 | 1 | -1/+9 |
| | | | | | | | | Patch by Ed Schouten. | ||||
* | | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 20 | -390/+391 |
| | | |||||
* | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 2 | -32/+90 |
| | | |||||
* | | clinic: PY_LONG_LONG -> long long | Benjamin Peterson | 2016-09-08 | 1 | -49/+1 |
| | | |||||
* | | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 1 | -1/+80 |
| | | | | | | | | lookup | ||||
* | | Add os.getrandom() | Victor Stinner | 2016-09-06 | 1 | -1/+40 |
| | | | | | | | | | | | | | | Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom() function. This change is part of the PEP 524. | ||||
* | | Run Argument Clinic on posixmodule.c | Victor Stinner | 2016-09-06 | 1 | -7/+7 |
| | | | | | | | | Issue #17884. | ||||
* | | Issue #27928: Add scrypt (password-based key derivation function) to hashlib ↵ | Christian Heimes | 2016-09-06 | 1 | -0/+60 |
| | | | | | | | | module (requires OpenSSL 1.1.0). | ||||
* | | merge 3.5 | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | do not pretend to support passing a fd to access() | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
| | | |||||
* | | Issue #27866: Add SSLContext.get_ciphers() method to get a list of all ↵ | Christian Heimes | 2016-09-05 | 1 | -1/+26 |
| | | | | | | | | enabled ciphers. | ||||
* | | Issue #16764: Support keyword arguments to zlib.decompress(). Patch by | Serhiy Storchaka | 2016-08-15 | 1 | -9/+13 |
| | | | | | | | | Xiang Zhang. | ||||
* | | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 19 | -267/+391 |
| | | | | | | | | implemented with using Argument Clinic. | ||||
* | | Issue #27130: Merge zlib 64-bit fixes from 3.5 | Martin Panter | 2016-07-23 | 1 | -10/+10 |
|\ \ | |/ | |||||
| * | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -10/+10 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 28 | -756/+746 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 28 | -754/+744 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | merge 3.5 (#24557) | Benjamin Peterson | 2016-07-07 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes ↵ | Benjamin Peterson | 2016-07-07 | 1 | -3/+3 |
| | | | | | | | | #24557) | ||||
* | | Issue #26243: Only the level argument to zlib.compress() is keyword argument | Serhiy Storchaka | 2016-06-25 | 1 | -3/+3 |
| | | | | | | | | now. The first argument is positional-only. | ||||
* | | Clarify documentation for os.fspath(). | Brett Cannon | 2016-06-09 | 1 | -4/+4 |
| | | |||||
* | | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. | Serhiy Storchaka | 2016-06-09 | 33 | -604/+1175 |
| | | |||||
* | | issue27186: add C version of os.fspath(); patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -1/+33 |
| | | |||||
* | | Issue #5784: Merge zlib from 3.5 | Martin Panter | 2016-05-27 | 1 | -4/+7 |
|\ \ | |/ | |||||
| * | Issue #5784: Expand documentation and tests for zlib wbits parameter | Martin Panter | 2016-05-27 | 1 | -4/+7 |
| | | | | | | | | Based on documentation by AM Kuchling. | ||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -4/+4 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | Issues #26716, #26057: Regenerate Argument Clinic code. | Serhiy Storchaka | 2016-04-14 | 2 | -18/+18 |
|\ \ | |/ | |||||
| * | Issue #26716: Regenerate Argument Clinic code. | Serhiy Storchaka | 2016-04-14 | 1 | -2/+2 |
| | | |||||
* | | Issue 26243: Forgot to update zlib doc strings in Argument Clinic | Martin Panter | 2016-02-10 | 1 | -2/+2 |
| | | |||||
* | | Issue #26243: zlib.compress() keyword argument support by Aviv Palivoda | Martin Panter | 2016-02-10 | 1 | -13/+14 |
| | | |||||
* | | Issue #26244: Merge zlib documentation from 3.5 | Martin Panter | 2016-02-03 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | Issue #26244: Clarify default zlib compression level in documentation | Martin Panter | 2016-02-03 | 1 | -3/+4 |
| | | | | | | | | Based on patch by Aviv Palivoda. | ||||
* | | Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster. | Serhiy Storchaka | 2015-12-07 | 1 | -3/+4 |
| | | | | | | | | | | ElementTree.XMLParser._setevents now accepts any objects with the append method, not just a list. | ||||
* | | Issue #25626: Merge zlib fix from 3.5 | Martin Panter | 2015-11-21 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. |