summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs.Serhiy Storchaka2016-06-181-2/+2
| | | | Patch by Xiang Zhang.
* Issue #27336: Fix compilation on WindowsVictor Stinner2016-06-171-2/+2
| | | | Replace "#if WITH_THREAD" with "#ifdef WITH_THREAD".
* Issue #27336: Fix compilation failures --without-threadsBerker Peksag2016-06-172-1/+3
|
* Merge 3.5Victor Stinner2016-06-161-2/+2
|\
| * py_getrandom(): use long type for the syscall() resultVictor Stinner2016-06-161-2/+2
| | | | | | | | | | | | | | Issue #27278. It should fix a conversion warning. In practice, the Linux kernel doesn't return more than 32 MB per call to the getrandom() syscall.
* | Issue #27301: Fixed incorrect return codes for errors in compile.c.Serhiy Storchaka2016-06-151-24/+38
|\ \ | |/
| * Issue #27301: Fixed incorrect return codes for errors in compile.c.Serhiy Storchaka2016-06-151-16/+20
| |
* | Merge 3.5Victor Stinner2016-06-141-1/+1
|\ \ | |/
| * cleanup random.cVictor Stinner2016-06-141-1/+1
| | | | | | | | Casting Py_ssize_t to Py_ssize_t is useless.
* | Merge 3.5 (os.urandom, issue #27278)Victor Stinner2016-06-141-1/+1
|\ \ | |/
| * Fix os.urandom() using getrandom() on LinuxVictor Stinner2016-06-141-1/+1
| | | | | | | | | | | | Issue #27278: Fix os.urandom() implementation using getrandom() on Linux. Truncate size to INT_MAX and loop until we collected enough random bytes, instead of casting a directly Py_ssize_t to int.
* | - Issue #23968: Rename the platform directory from plat-$(MACHDEP) todoko@ubuntu.com2016-06-141-0/+10
| | | | | | | | | | | | | | | | plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the platform specifc _sysconfigdata module into the platform directory and rename it to include the ABIFLAGS.
* | Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.Serhiy Storchaka2016-06-125-4084/+4034
| | | | | | | | Patch by Demur Rumed.
* | Comment fixes extracted from patch by Demur Rumed.Serhiy Storchaka2016-06-121-103/+103
| |
* | Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. CallingSerhiy Storchaka2016-06-122-104/+104
|\ \ | |/ | | | | | | function with generalized unpacking (PEP 448) and conflicting keyword names could cause undefined behavior.
| * Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. CallingSerhiy Storchaka2016-06-122-105/+105
| | | | | | | | | | function with generalized unpacking (PEP 448) and conflicting keyword names could cause undefined behavior.
* | Issue #27140: Added BUILD_CONST_KEY_MAP opcode.Serhiy Storchaka2016-06-114-1185/+1345
| |
* | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now supportSerhiy Storchaka2016-06-091-42/+79
| | | | | | | | positional-only and keyword parameters in the same function.
* | Merge comment fix from 3.5Martin Panter2016-06-101-2/+2
|\ \ | |/
| * Fix typo and move comment to appropriate conditionMartin Panter2016-06-101-2/+2
| |
* | Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-2/+38
|\ \ | |/
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-2/+38
| |
* | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7.Serhiy Storchaka2016-06-092-25/+48
| |
* | py_getrandom(): use char* instead of void* for the destinationVictor Stinner2016-06-081-5/+8
| | | | | | | | Fix a "gcc -pedantic" warning on "buffer += n" because buffer type is void*.
* | Merge 3.5 (os.urandom)Victor Stinner2016-06-071-3/+21
|\ \ | |/
| * os.urandom() doesn't block on Linux anymoreVictor Stinner2016-06-071-3/+21
| | | | | | | | | | | | Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK to fall back on reading /dev/urandom if the urandom entropy pool is not initialized yet. Patch written by Colm Buckley.
* | Merge typo fixes from 3.5Martin Panter2016-06-041-1/+1
|\ \ | |/
| * Fix typos in code comment and documentationMartin Panter2016-06-041-1/+1
| |
* | Issue #27138: Regenerate Python/importlib_external.h.Serhiy Storchaka2016-05-281-324/+323
|\ \ | |/
| * Issue #27138: Regenerate Python/importlib_external.h.Serhiy Storchaka2016-05-281-344/+343
| |
* | Issue #27076: Merge spelling from 3.5Martin Panter2016-05-264-149/+149
|\ \ | |/
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-264-157/+157
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Fixed the use of _Py_IS_ALIGNED (issue #27097).Serhiy Storchaka2016-05-251-1/+1
| |
* | Issue #27097: Python interpreter is now about 7% faster due to optimizedSerhiy Storchaka2016-05-251-29/+45
| | | | | | | | instruction decoding. Based on patch by Demur Rumed.
* | Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-247-4721/+4456
| | | | | | | | Patch by Demur Rumed.
* | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"Serhiy Storchaka2016-05-201-53/+70
|\ \ | |/ | | | | format unit.
| * Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"Serhiy Storchaka2016-05-201-53/+70
| | | | | | | | format unit.
* | Cleanup import.cVictor Stinner2016-05-201-39/+28
| | | | | | | | | | | | | | | | | | * Replace PyUnicode_RPartition() with PyUnicode_FindChar() and PyUnicode_Substring() to avoid the creation of a temporary tuple. * Use PyUnicode_FromFormat() to build a string and avoid the single_dot ('.') singleton Thanks Serhiy Storchaka for your review.
* | Merge 3.5 (issue #27057)Victor Stinner2016-05-191-2/+7
|\ \ | |/
| * Fix os.set_inheritable() on AndroidVictor Stinner2016-05-191-2/+7
| | | | | | | | | | | | | | Issue #27057: Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails with EACCESS. The function now falls back to fcntl(). Patch written by Michał Bednarski.
| * regen importlib bytecodeBenjamin Peterson2016-05-171-103/+103
| |
* | Issue #23275: Allow () = iterable assignment syntaxBerker Peksag2016-05-181-7/+2
| | | | | | | | Documentation updates by Martin Panter.
* | merge 3.5 (#26991)Benjamin Peterson2016-05-171-1/+3
|\ \ | |/
| * fix possible refleak in MAKE_FUNCTION (closes #26991)Benjamin Peterson2016-05-171-1/+3
| | | | | | | | Patch by Xiang Zhang.
* | Issue #27039: Fixed bytearray.remove() for values greater than 127.Serhiy Storchaka2016-05-161-103/+103
|\ \ | |/ | | | | Based on patch by Joe Jevnik.
* | Issue #18531: Single var-keyword argument of dict subtype was passedSerhiy Storchaka2016-05-081-1/+1
| | | | | | | | unscathed to the C-defined function. Now it is converted to exact dict.
* | Merge typo fixes from 3.5Martin Panter2016-05-081-2/+2
|\ \ | |/
| * Corrections for a/an in code comments and documentationMartin Panter2016-05-081-2/+2
| |
* | Restored parameter name "self" since gdb needs exact specific parameter names.Serhiy Storchaka2016-05-051-2/+3
| |
* | Issue #26932: Fixed support of RTLD_* constants defined as enum values,Serhiy Storchaka2016-05-041-2/+2
| | | | | | | | not via macros (in particular on Android). Patch by Chi Hsuan Yen.