summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16191: Merge comment fixes from 3.5Martin Panter2016-07-181-6/+6
|\
| * Issue #16191: Fix up references to renamed variablesMartin Panter2016-07-181-6/+6
| |
* | Issue #27419: Added temporary workaround for subinterpreters.Serhiy Storchaka2016-07-171-1/+4
|\ \ | |/
| * Issue #27419: Added temporary workaround for subinterpreters.Serhiy Storchaka2016-07-171-1/+4
| |
* | Issue #27419: Standard __import__() no longer look up "__import__" in globalsSerhiy Storchaka2016-07-171-8/+4
|\ \ | |/ | | | | | | | | or builtins for importing submodules or "from import". Fixed a crash if raise a warning about unabling to resolve package from __spec__ or __package__.
| * Issue #27419: Standard __import__() no longer look up "__import__" in globalsSerhiy Storchaka2016-07-171-8/+4
| | | | | | | | | | or builtins for importing submodules or "from import". Fixed handling an error of non-string package name.
| * Fix regressions introduced by fixes for issue #27083.Brett Cannon2016-07-161-2551/+2561
| |
* | Check in update for importlib_external.hBrett Cannon2016-07-161-2404/+2412
| |
* | Merge for #27083Brett Cannon2016-07-151-2339/+2341
|\ \ | |/
* | merge 3.5 (#27514)Benjamin Peterson2016-07-141-1/+1
|\ \ | |/
| * make too many nested blocks be a SyntaxError instead of a SystemError ↵Benjamin Peterson2016-07-141-1/+1
| | | | | | | | | | | | (closes #27514) Patch by Ammar Askar.
* | Update frozen importlib codeBrett Cannon2016-07-082-1440/+1440
| |
* | Issue #26896: Disambiguate uses of "importer" with "finder".Brett Cannon2016-07-081-3/+4
| | | | | | | | Thanks to Oren Milman for the patch.
* | - Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-074-150/+148
|\ \ | |/ | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-074-150/+148
| | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
* | Issue #23034: The output of a special Python build with defined COUNT_ALLOCS,Serhiy Storchaka2016-07-031-1/+1
| | | | | | | | | | | | SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can be re-enabled using the "-X showalloccount" option. It now outputs to stderr instead of stdout.
* | Issue #27352: Correct the validation of the ImportFrom AST node and simplifySerhiy Storchaka2016-06-272-11/+3
| | | | | | | | the implementation of the IMPORT_NAME opcode.
* | Issue #27255: Added more predictions in ceval.c.Serhiy Storchaka2016-06-271-2/+12
| |
* | 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-171-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-124-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ä.