summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use Py_ssize_t type for number of argumentsVictor Stinner2016-08-247-90/+128
| | | | | | | | | | Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
* | Merge with 3.5Terry Jan Reedy2016-08-241-1/+1
|\ \ | |/
| * Fix misspellingTerry Jan Reedy2016-08-241-1/+1
| |
* | Merge from 3.5Berker Peksag2016-08-241-1/+1
|\ \ | |/
| * Fix typo in Cursor.execute().Berker Peksag2016-08-241-1/+1
| |
* | Issue #6057: Merge from 3.5Berker Peksag2016-08-242-2/+33
|\ \ | |/
| * Issue #6057: Document exceptions in sqlite3 moduleBerker Peksag2016-08-242-2/+33
| | | | | | | | Patch by Jaysinh Shukla and Stéphane Wirtel.
* | Closes #20124: clarified usage of the atTime parameter in ↵Vinay Sajip2016-08-241-17/+35
| | | | | | | | TimedRotatingFileHandler documentation.
* | Issue #12319: Move NEWS under beta 1 headingMartin Panter2016-08-241-8/+8
| |
* | Issue #12319: Support for chunked encoding of HTTP request bodiesMartin Panter2016-08-249-150/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the body object is a file, its size is no longer determined with fstat(), since that can report the wrong result (e.g. reading from a pipe). Instead, determine the size using seek(), or fall back to chunked encoding for unseekable files. Also, change the logic for detecting text files to check for TextIOBase inheritance, rather than inspecting the “mode” attribute, which may not exist (e.g. BytesIO and StringIO). The Content-Length for text files is no longer determined ahead of time, because the original logic could have been wrong depending on the codec and newline translation settings. Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
* | Remove expected failure from test of _product internal function.Steven D'Aprano2016-08-241-2/+2
| |
* | Remove support for nth root of negative numbers with odd powers.Steven D'Aprano2016-08-242-28/+8
| | | | | | | | | | | | | | Although nth roots of negative numbers are real for odd n, the statistics module doesn't make use of this. Remove support for negative roots from the private _nth_root function, which simplifies the test suite.
* | Add geometric_mean to __all__Steven D'Aprano2016-08-241-1/+2
| |
* | Update NEWS.Steven D'Aprano2016-08-241-1/+3
| |
* | #26907: add some missing getsockopt constants.R David Murray2016-08-243-0/+20
| | | | | | | | Patch by Christian Heimes, reviewed by Martin Panter.
* | Merge: #25916: fix a few 'string of bytes' references.R David Murray2016-08-244-4/+4
|\ \ | |/
| * #25916: fix a few 'string of bytes' references.R David Murray2016-08-244-4/+4
| | | | | | | | Patch by SilengGhost.
* | 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.
* | PyObject_CallMethodObjArgs() now uses fast callVictor Stinner2016-08-231-32/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27809: * PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a temporary tuple * Rename objargs_mktuple() to objargs_mkstack() * objargs_mkstack() now stores objects in a C array using borrowed references, instead of storing arguments into a tuple objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments or less, or allocates a buffer in the heap memory. Note: this change is different than the change 0e4f26083bbb, I fixed the test to decide if the small stack can be used or not. sizeof(PyObject**) was also replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same result).
* | Backed out changeset 0e4f26083bbb (PyObject_CallMethodObjArgs)Victor Stinner2016-08-231-71/+32
| |
* | Backed out changeset 70f88b097f60 (map_next)Victor Stinner2016-08-231-31/+15
| |
* | PyObject_CallMethodObjArgs() now uses fast callVictor Stinner2016-08-231-32/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27809: * PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a temporary tuple * Rename objargs_mktuple() to objargs_mkstack() * objargs_mkstack() now stores objects in a C array using borrowed references, instead of storing arguments into a tuple objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments or less, or allocates a buffer in the heap memory.
* | 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 1017215f5492Mark Dickinson2016-08-232-144/+0
| |
* | Issue #27834: Avoid overflow error in ZoneInfo.invert().Alexander Belopolsky2016-08-231-3/+3
| |
* | Fix markup, add versionadded tagsZachary Ware2016-08-231-3/+7
| |
* | Issue #27787: No longer call deleted test_main().Terry Jan Reedy2016-08-231-1/+1
| |
* | A new version of typing.py from https://github.com/python/typing. (Merge ↵Guido van Rossum2016-08-233-26/+61
|\ \ | |/ | | | | 3.5->3.6)
| * A new version of typing.py from https://github.com/python/typing.Guido van Rossum2016-08-233-26/+61
| |
* | Issue 27598: Add Collections to collections.abc.Guido van Rossum2016-08-235-21/+132
| | | | | | | | Patch by Ivan Levkivskyi, docs by Neil Girdhar.
* | Automated merge with ssh://hg.python.org/cpythonSteven D'Aprano2016-08-235-26/+104
|\ \
| * | Re-licence statistics.py under the standard Python licence.Steven D'Aprano2016-08-231-17/+0
| | |
| * | Add documentation for geometric and harmonic means.Steven D'Aprano2016-08-231-0/+58
| | |
| * | Issue #27573 make the exit message configurable.Steven D'Aprano2016-08-233-9/+46
| | |
* | | In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is ↵Guido van Rossum2016-08-231-1/+1
|\ \ \ | | |/ | |/| | | | in self._waiters. (Merge 3.5->3.6)
| * | In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is ↵Guido van Rossum2016-08-231-1/+1
| | | | | | | | | | | | in self._waiters.
* | | Issue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff ↵Mark Dickinson2016-08-232-0/+144
| | | | | | | | | | | | Allen.
* | | Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.Mark Dickinson2016-08-233-1/+5
| |/ |/|
* | Issue #27809: partial_call() uses fast call for positional argsVictor Stinner2016-08-231-12/+28
| |
* | Issue #27787: Remove test_main() and hard-coded list of test classesMartin Panter2016-08-231-9/+2
| | | | | | | | | | | | The @reap_threads decorator made the test wait (for up to 1 s) until background threads have finished. Calling join() with a timeout should be equivalent.
* | Issue #12713: reverted fix pending further discussion.Vinay Sajip2016-08-234-98/+32
| |
* | 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: methodcaller_reduce() uses fast callVictor Stinner2016-08-221-11/+7
| |
* | Issue #27809: _csv: _call_dialect() uses fast callVictor Stinner2016-08-221-9/+7
| |
* | Issue #27809: tzinfo_reduce() uses fast callVictor Stinner2016-08-221-14/+10
| |
* | 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-222-25/+15
| | | | | | | | | | | | | | | | | | 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.