summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Don't define PY_WITH_KECCAKChristian Heimes2016-09-211-2/+0
|
* Fix memleak in os.getrandom()Victor Stinner2016-09-201-10/+18
| | | | | | | | Issue #27778: Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a signal and a signal handler raises a Python exception. Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a Python bytes object.
* revert expat changesBenjamin Peterson2016-09-201-1/+1
|
* merge 3.5 (#28184)Benjamin Peterson2016-09-203-8/+8
|\
| * Issue #28075: Fix test_access_denied in Python 3.5Berker Peksag2016-09-181-2/+4
| | | | | | | | I forgot there two variations of os.stat() in Python 3.5.
* | Fix memory leak in path_converter()Victor Stinner2016-09-191-1/+1
| | | | | | | | | | Issue #28200: Replace PyUnicode_AsWideCharString() with PyUnicode_AsUnicodeAndSize().
* | stop using Py_LL and Py_ULLBenjamin Peterson2016-09-192-84/+84
| |
* | Issue #28161: Opening CON for write access failsSteve Dower2016-09-171-14/+31
| | | | | | | | | | | | Issue #28162: WindowsConsoleIO readall() fails if first line starts with Ctrl+Z Issue #28163: WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle Issue #28164: _PyIO_get_console_type fails for various paths
* | Issue #28192: Don't import readline in isolated modeSteve Dower2016-09-171-1/+2
| |
* | Issue #28075: Merge from 3.5Berker Peksag2016-09-171-2/+4
|\ \ | |/
| * Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵Berker Peksag2016-09-171-2/+4
| | | | | | | | | | | | os.stat() Patch by Eryk Sun.
* | Issue #28139: Merge indentation fixes from 3.5 into 3.6Martin Panter2016-09-174-14/+16
|\ \ | |/
| * Issue #28139: Fix messed up indentationMartin Panter2016-09-175-17/+19
| | | | | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* | Issue #28145: Merge spelling fixes from 3.5 into 3.6Martin Panter2016-09-161-1/+1
|\ \ | |/
| * Issue #28145: Spelling fixesMartin Panter2016-09-161-1/+1
| |
* | Issue #28156: Export os.getpid() conditionallyBerker Peksag2016-09-152-1/+11
| | | | | | | | Patch by Ed Schouten.
* | Issue #28114: Fix a crash in parse_envlist() when env contains byte stringsBerker Peksag2016-09-151-17/+39
| | | | | | | | Patch by Eryk Sun.
* | Unicode 9.0.0Benjamin Peterson2016-09-153-23621/+25119
| | | | | | | | | | Not completely mechanical since support for East Asian Width changes—emoji codepoints became Wide—had to be added to unicodedata.
* | Issue #28153: Make kqueue()'s event filters optionalBerker Peksag2016-09-141-0/+18
| | | | | | | | Patch by Ed Schouten.
* | Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().Serhiy Storchaka2016-09-141-5/+7
|\ \ | |/
| * Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().Serhiy Storchaka2016-09-141-5/+7
| |
* | Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()Christian Heimes2016-09-141-1/+1
|\ \ | |/
| * Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()Christian Heimes2016-09-141-1/+1
| |
* | more granular configure checks for clock_* functions (closes #28081)Benjamin Peterson2016-09-141-3/+11
| |
* | Issue #28131: Merge from 3.5Berker Peksag2016-09-141-1/+1
|\ \ | |/
| * Issue #28131: Fix a regression in zipimport's compile_source()Berker Peksag2016-09-141-1/+1
| | | | | | | | zipimport should use the same optimization level as the interpreter.
* | Issue #28188: Use PyMem_Calloc() to get rid of a type-limits warning and an ↵Christian Heimes2016-09-131-3/+2
| | | | | | | | extra memset() call in _ssl.c.
* | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵Christian Heimes2016-09-134-11/+11
| | | | | | | | optimize memcpy().
* | Fix NULL check in sock_sendmsg_iovec. CID 1372885Christian Heimes2016-09-131-1/+1
| |
* | Issue #27866: Fix refleak in cipher_to_dict()Victor Stinner2016-09-121-12/+1
| |
* | socket: Fix memory leak in sendmsg() and sendmsg_afalg()Victor Stinner2016-09-121-5/+12
| | | | | | | | | | | | | | Issue #27744: * Release msg.msg_iov memory block. * Release memory on PyMem_Malloc(controllen) failure
* | Cleanup socketmodule.cVictor Stinner2016-09-121-13/+31
| | | | | | | | | | | | | | | | Issue #27744: * PEP 7: add {...} around if blocks * assign variables and then check their value in if() to make the code easier to read and to debug.
* | Revert part of 3471a3515827 that caused a performance regressionRaymond Hettinger2016-09-121-8/+44
| |
* | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵Berker Peksag2016-09-123-27/+17
| | | | | | | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad
* | Adds missing assert suppression.Steve Dower2016-09-121-0/+4
| |
* | Closes #25283: Make tm_gmtoff and tm_zone available on all platforms.Alexander Belopolsky2016-09-121-33/+81
| |
* | Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContextChristian Heimes2016-09-111-21/+59
| |
* | Issue #27810: Regenerate Argument Clinic.Serhiy Storchaka2016-09-114-28/+28
| |
* | Issue 24454: Removed unused match_getitem_doc.Eric V. Smith2016-09-111-3/+0
| |
* | Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. ↵Eric V. Smith2016-09-111-1/+0
| | | | | | | | Thanks Serhiy Storchaka.
* | Issue 24454: Improve the usability of the re match object named group APIEric V. Smith2016-09-111-1/+18
| |
* | Issue #28036: Remove unused pysqlite_flush_statement_cache functionBerker Peksag2016-09-111-20/+0
| |
* | Use uint16_t instead of short in audioop.Serhiy Storchaka2016-09-111-14/+14
| |
* | Issue #10740: sqlite3 no longer implicitly commit an open transaction before ↵Berker Peksag2016-09-114-105/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DDL statements This commit contains the following commits from ghaering/pysqlite: * https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739 * https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631 * https://github.com/ghaering/pysqlite/commit/cae87ee68613697a5f4947b4a0941f59a28da1b6 * https://github.com/ghaering/pysqlite/commit/3567b31bb5e5b226ba006213a9c69dde3f155faf With the following additions: * Fixed a refcount error * Fixed a compiler warning * Made the string comparison a little more robust * Added a whatsnew entry
* | Issue #19500: Add client-side SSL session resumption to the ssl module.Christian Heimes2016-09-101-2/+370
| |
* | #28067: Fixed another typo.Alexander Belopolsky2016-09-101-1/+1
| |
* | Issue 28043: SSLContext has improved default settingsChristian Heimes2016-09-101-0/+31
| | | | | | | | The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
* | #28067: Fixed a typo.Alexander Belopolsky2016-09-101-1/+1
| |
* | Closes #28067: Do not call localtime (gmtime) in datetime module.Alexander Belopolsky2016-09-101-42/+60
| |
* | Issue #27137: align Python & C implementations of functools.partialNick Coghlan2016-09-101-1/+1
| | | | | | | | | | | | | | | | The pure Python fallback implementation of functools.partial now matches the behaviour of its accelerated C counterpart for subclassing, pickling and text representation purposes. Patch by Emanuel Barry and Serhiy Storchaka.