Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup import.c | Victor Stinner | 2016-05-20 | 1 | -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 Stinner | 2016-05-19 | 1 | -2/+7 |
|\ | |||||
| * | Fix os.set_inheritable() on Android | Victor Stinner | 2016-05-19 | 1 | -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 bytecode | Benjamin Peterson | 2016-05-17 | 1 | -103/+103 |
| | | |||||
* | | Issue #23275: Allow () = iterable assignment syntax | Berker Peksag | 2016-05-18 | 1 | -7/+2 |
| | | | | | | | | Documentation updates by Martin Panter. | ||||
* | | merge 3.5 (#26991) | Benjamin Peterson | 2016-05-17 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | fix possible refleak in MAKE_FUNCTION (closes #26991) | Benjamin Peterson | 2016-05-17 | 1 | -1/+3 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | Issue #27039: Fixed bytearray.remove() for values greater than 127. | Serhiy Storchaka | 2016-05-16 | 1 | -103/+103 |
|\ \ | |/ | | | | | Based on patch by Joe Jevnik. | ||||
* | | Issue #18531: Single var-keyword argument of dict subtype was passed | Serhiy Storchaka | 2016-05-08 | 1 | -1/+1 |
| | | | | | | | | unscathed to the C-defined function. Now it is converted to exact dict. | ||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-05-08 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Corrections for a/an in code comments and documentation | Martin Panter | 2016-05-08 | 1 | -2/+2 |
| | | |||||
* | | Restored parameter name "self" since gdb needs exact specific parameter names. | Serhiy Storchaka | 2016-05-05 | 1 | -2/+3 |
| | | |||||
* | | Issue #26932: Fixed support of RTLD_* constants defined as enum values, | Serhiy Storchaka | 2016-05-04 | 1 | -2/+2 |
| | | | | | | | | not via macros (in particular on Android). Patch by Chi Hsuan Yen. | ||||
* | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -3/+2 |
| | | | | | | | | Argument Clinic is now able to infer all needed information. | ||||
* | | Regenerate Argument Clinic code for issue #26874. | Serhiy Storchaka | 2016-05-01 | 2 | -3/+3 |
|\ \ | |/ | |||||
| * | Regenerate Argument Clinic code for issue #26874. | Serhiy Storchaka | 2016-05-01 | 2 | -3/+3 |
| | | |||||
* | | Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError | Berker Peksag | 2016-05-01 | 1 | -3/+3 |
|\ \ | |/ | | | | | Patch by Ofer Schwarz. | ||||
| * | Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError | Berker Peksag | 2016-05-01 | 1 | -3/+3 |
| | | | | | | | | Patch by Ofer Schwarz. | ||||
* | | Closes #26874: Merge with 3.5 | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26874: Simplify the divmod docstring | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | | |||||
* | | Closes #26874: Merge with 3.5 | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26874: Fix divmod docstring | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | | |||||
* | | Issue #22747: Workaround for systems without langinfo.h. | Stefan Krah | 2016-04-25 | 1 | -0/+2 |
| | | |||||
* | | Issue #17905: Do not guard locale include with HAVE_LANGINFO_H. | Stefan Krah | 2016-04-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #26802: Optimized calling a function with *args only positional arguments. | Serhiy Storchaka | 2016-04-19 | 1 | -0/+15 |
| | | | | | | | | Patch by Joe Jevnik. | ||||
* | | Avoid fcntl() if possible in set_inheritable() | Victor Stinner | 2016-04-17 | 1 | -5/+13 |
| | | | | | | | | | | | | Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC is already set/cleared. This change only impacts platforms using the fcntl() implementation of set_inheritable() (not Linux nor Windows). | ||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #15984: Merge PyUnicode doc from 3.5 | Martin Panter | 2016-04-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -2/+2 |
| | | | | | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | | fs_unicode_converter is no longer used. | Serhiy Storchaka | 2016-04-14 | 1 | -8/+0 |
| | | |||||
* | | Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject(). | Serhiy Storchaka | 2016-04-13 | 2 | -21/+10 |
| | | |||||
* | | Merge 3.5 (os.urandom) | Victor Stinner | 2016-04-12 | 1 | -5/+12 |
|\ \ | |/ | |||||
| * | Fix os.urandom() on Solaris 11.3 | Victor Stinner | 2016-04-12 | 1 | -5/+12 |
| | | | | | | | | | | | | Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than 1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per call. | ||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 3 | -5/+5 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 3 | -5/+5 |
| | | | | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 1 | -10/+9 |
|\ \ | |/ | | | | | error handler for stdin and stdout. | ||||
| * | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 1 | -10/+9 |
| | | | | | | | | error handler for stdin and stdout. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 7 | -11/+11 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 4 | -7/+7 |
| | | |||||
| * | Use Py_uintptr_t for atomic pointers | Victor Stinner | 2016-01-22 | 2 | -27/+28 |
| | | | | | | | | | | | | | | | | Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used. | ||||
| * | Py_FatalError: disable faulthandler earlier | Victor Stinner | 2016-03-16 | 1 | -5/+5 |
| | | | | | | | | | | Issue #26563: Py_FatalError: disable faulthandler before trying to flush sys.stdout and sys.stderr. | ||||
| * | Fix Py_FatalError() if called without the GIL | Victor Stinner | 2016-03-14 | 1 | -34/+50 |
| | | | | | | | | | | | | Issue #26558: If Py_FatalError() is called without the GIL, don't try to print the current exception, nor try to flush stdout and stderr: only dump the traceback of Python threads. | ||||
* | | Minor code cleanup for PyArg_UnpackTuple. | Raymond Hettinger | 2016-03-26 | 1 | -9/+8 |
| | | |||||
* | | makeopcodetargets.py: we need to import Lib/opcode.py | Victor Stinner | 2016-03-26 | 1 | -1/+21 |
| | | | | | | | | | | | | | | | | | | Issue #20021: use importlib.machinery to import Lib/opcode.py and not an opcode module coming from somewhere else. makeopcodetargets.py is part of the Python build process and it is run by an external Python program, not the built Python program. Patch written by Serhiy Storchaka. | ||||
* | | Modernize Python/makeopcodetargets.py | Victor Stinner | 2016-03-25 | 1 | -19/+11 |
| | | | | | | | | | | | | | | | | | | * Simply use "import opcode" to import the opcode module instead of tricks using the imp module * Use context manager for the output file * Move code into a new main() function * Replace assert with a regular if to check the number of arguments * Import modules at top level | ||||
* | | Fix bug in __import__ during Python shutdown | Victor Stinner | 2016-03-24 | 1 | -439/+445 |
| | | | | | | | | | | | | Issue #26637: The importlib module now emits an ImportError rather than a TypeError if __import__() is tried during the Python shutdown process but sys.path is already cleared (set to None). | ||||
* | | get_warnings_attr(): Fix coverity warning | Victor Stinner | 2016-03-23 | 1 | -4/+3 |
| | | | | | | | | | | Don't check if the dict key exists before getting the key. Instead get the key and handle error. | ||||
* | | Rework _Py_DumpASCII() to make Coverity happy | Victor Stinner | 2016-03-23 | 1 | -8/+8 |
| | | |||||
* | | compiler.c: fix compiler warnings on Windows | Victor Stinner | 2016-03-23 | 1 | -7/+9 |
| | |