summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-311-0/+18
| | | | Closes #17602: Adds a readline implementation for the Windows console
* Issue #23524: Finish removing _PyVerify_fd from sourcesSteve Dower2016-09-082-125/+5
|
* Issue #28026: Raise ImportError when exec_module() exists but ↵Eric Snow2016-09-081-899/+895
| | | | create_module() is missing.
* Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529)Steve Dower2016-09-083-5/+73
|
* Issue #26667: Add path-like object support to importlib.util.Brett Cannon2016-09-081-2164/+2168
|
* Issue #27911: Remove some unnecessary error checks in import.c.Brett Cannon2016-09-081-6/+2
| | | | Thanks to Xiang Zhang for the patch.
* Issue #15767: Use ModuleNotFoundError.Eric Snow2016-09-073-258/+274
|
* Add the co_extra field and accompanying APIs to code objects.Brett Cannon2016-09-072-0/+15
| | | | This completes PEP 523.
* replace PY_SIZE_MAX with SIZE_MAXBenjamin Peterson2016-09-073-7/+7
|
* os.urandom() now blocks on LinuxVictor Stinner2016-09-061-31/+46
| | | | | | | Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524.
* Issue #27974: Remove importlib._bootstrap._ManageReload.Brett Cannon2016-09-061-1799/+1746
| | | | Class was dead code. Thanks to Xiang Zhang for the patch.
* replace Py_(u)intptr_t with the c99 standard typesBenjamin Peterson2016-09-063-6/+6
|
* replace Python aliases for standard integer types with the standard integer ↵Benjamin Peterson2016-09-061-28/+25
| | | | types (#17884)
* dtoa.c: remove code for platforms with 64-bit integers (#17884)Benjamin Peterson2016-09-061-104/+0
|
* Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.Serhiy Storchaka2016-09-065-334/+329
|
* require standard int types to be defined (#17884)Benjamin Peterson2016-09-061-12/+3
|
* replace PY_LONG_LONG with long longBenjamin Peterson2016-09-066-31/+31
|
* Avoid calling functions with an empty string as format stringVictor Stinner2016-09-064-15/+15
| | | | Directly pass NULL rather than an empty string.
* Avoid inefficient way to call functions without argumentVictor Stinner2016-09-061-1/+1
| | | | | | Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument.
* require a long long data type (closes #27961)Benjamin Peterson2016-09-064-24/+3
|
* Implement the frame evaluation API aspect of PEP 523.Brett Cannon2016-09-052-0/+8
|
* Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-052-27/+3
| | | | and Windows CE is no longer a relevant platform for Python.
* Issue #24254: Preserve class attribute definition order.Eric Snow2016-09-051-1/+1
|
* Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵Eric V. Smith2016-09-031-0/+10
| | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.
* MergeRaymond Hettinger2016-09-031-1/+1
|\
| * Issue 27936: Fix inconsistent round() behavior between float and intRaymond Hettinger2016-09-031-1/+1
| |
* | MergeRaymond Hettinger2016-08-311-1/+1
|\ \ | |/
| * Issue #27909: Fix INCREF for possible NULL valueRaymond Hettinger2016-08-311-1/+1
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-303-8/+8
| |
* | Issue #27818: Speed up parsing width and precision in format() strings forSerhiy Storchaka2016-08-291-9/+16
| | | | | | | | numbers. Patch by Stefan Behnel.
* | MergeRaymond Hettinger2016-08-261-2/+2
|\ \ | |/
| * Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-261-2/+2
| |
* | Issue #27830: Revert, remove _PyFunction_FastCallKeywords()Victor Stinner2016-08-251-6/+6
| |
* | Add _PyObject_FastCallKeywords()Victor Stinner2016-08-241-9/+14
| | | | | | | | | | | | Issue #27830: Similar to _PyObject_FastCallDict(), but keyword arguments are also passed in the same C array than positional arguments, rather than being passed as a Python dict.
* | Use Py_ssize_t type for number of argumentsVictor Stinner2016-08-242-84/+115
| | | | | | | | | | Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
* | Issue #27809: map_next() uses fast callVictor Stinner2016-08-231-15/+31
| | | | | | | | | | Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory.
* | Backed out changeset 70f88b097f60 (map_next)Victor Stinner2016-08-231-31/+15
| |
* | Issue #27809: map_next() uses fast callVictor Stinner2016-08-231-15/+31
| | | | | | | | | | Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory.
* | Issue #27809: builtin___build_class__() uses fast callVictor Stinner2016-08-221-6/+2
| |
* | PyEval_CallObjectWithKeywords() doesn't inc/decrefVictor Stinner2016-08-221-7/+1
| | | | | | | | | | | | Issue #27809: PyEval_CallObjectWithKeywords() doesn't increment temporary the reference counter of the args tuple (positional arguments). The caller already holds a strong reference to it.
* | Issue #27809: PyErr_SetImportError() uses fast callVictor Stinner2016-08-221-14/+8
| |
* | Add _PyErr_CreateException()Victor Stinner2016-08-221-30/+29
| | | | | | | | | | Issue #27809: Helper function optimized to create an exception: use fastcall whenever possible.
* | Issue #27809: Use _PyObject_FastCallDict()Victor Stinner2016-08-221-10/+2
| | | | | | | | | | | | | | | | | | Modify: * init_subclass() * builtin___build_class__() Fix also a bug in init_subclass(): check for super() failure.
* | PyEval_CallObjectWithKeywords() uses fast call with kwargsVictor Stinner2016-08-221-12/+4
| | | | | | | | | | Issue #27809. _PyObject_FastCallDict() now supports keyword arguments, and so the args==NULL fast-path can also be used when kwargs is not NULL.
* | Issue #27809: Use _PyObject_FastCallDict()Victor Stinner2016-08-221-10/+5
| | | | | | | | | | | | | | | | | | Modify: * builtin_sorted() * classmethoddescr_call() * methoddescr_call() * wrapperdescr_call()
* | Issue #27809: Cleanup _PyEval_EvalCodeWithName()Victor Stinner2016-08-221-15/+13
| | | | | | | | | | * Rename nm to name * PEP 7: add { ... } to if/else blocks
* | _PyFunction_FastCallDict() supports keyword argsVictor Stinner2016-08-221-9/+41
| | | | | | | | | | | | | | | | Issue #27809: * Rename _PyFunction_FastCall() to _PyFunction_FastCallDict() * Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict() * _PyFunction_FastCallDict() now supports keyword arguments
* | Rename _PyObject_FastCall() to _PyObject_FastCallDict()Victor Stinner2016-08-223-5/+5
| | | | | | | | | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict()
* | Issue #27587: Merge from 3.5Berker Peksag2016-08-221-2/+4
|\ \ | |/
| * Issue #27587: Move null pointer check earlier in _PyState_AddModule()Berker Peksag2016-08-221-2/+4
| | | | | | | | | | | | | | | | | | This was found by PVS-Studio: V595 The 'def' pointer was utilized before it was verified against nullptr. Check lines: 286, 292. pystate.c 286 Initial patch by Christian Heimes.