Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) | Serhiy Storchaka | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵ | Zackery Spytz | 2018-12-07 | 1 | -2/+4 |
| | | | | | | (GH-11015) Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks. | ||||
* | bpo-35081: Add Include/internal/pycore_object.h (GH-10640) | Victor Stinner | 2018-11-21 | 1 | -1/+2 |
| | | | | Move _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() from Include/objimpl.h to Include/internal/pycore_object.h. | ||||
* | bpo-33138: Change standard error message for non-pickleable and non-copyable ↵ | Serhiy Storchaka | 2018-10-31 | 1 | -9/+0 |
| | | | | types. (GH-6239) | ||||
* | closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) | Benjamin Peterson | 2018-09-12 | 1 | -1/+1 |
| | |||||
* | bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. ↵ | ValeriyaSinevich | 2018-07-19 | 1 | -1/+5 |
| | | | | (GH-7911) | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵ | Siddhesh Poyarekar | 2018-04-29 | 1 | -1/+1 |
| | | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument. | ||||
* | bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) | Serhiy Storchaka | 2018-02-24 | 1 | -0/+3 |
| | |||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | ||||
* | bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285) | Serhiy Storchaka | 2017-06-27 | 1 | -8/+1 |
| | | | | | Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters. | ||||
* | bpo-30601: Fix a refleak in WindowsConsoleIO (#2003) | Victor Stinner | 2017-06-08 | 1 | -3/+2 |
| | | | | | Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder() always initialize decodedname when it succeed and it doesn't clear input decodedname object. | ||||
* | bpo-30544: _io._WindowsConsoleIO.write raises the wrong error when ↵ | Segev Finer | 2017-06-02 | 1 | -1/+1 |
| | | | | | | | | WriteConsoleW fails (#1912) * bpo-30544: _io._WindowsConsoleIO.write raises the wrong error when WriteConsoleW fails * bpo-30544: _io._WindowsConsoleIO.write raises the wrong error when WriteConsoleW fails | ||||
* | bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) | Serhiy Storchaka | 2017-03-30 | 1 | -9/+2 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) | Serhiy Storchaka | 2017-03-12 | 1 | -2/+2 |
| | |||||
* | Merge from 3.6 | Steve Dower | 2017-02-05 | 1 | -1/+13 |
|\ | |||||
| * | Adds precheck for console filename to fix Windows 7. | Steve Dower | 2017-02-05 | 1 | -1/+13 |
| | | |||||
* | | Merge issue #28164 and issue #29409 | Steve Dower | 2017-02-04 | 1 | -20/+37 |
|\ \ | |/ | |||||
| * | Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -20/+47 |
| | | |||||
* | | Use _PyObject_CallMethodIdObjArgs() in _io | Victor Stinner | 2016-12-09 | 1 | -3/+3 |
|/ | | | | | | | | | Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string. | ||||
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -3/+3 |
| | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | Issue #28162: Fixes Ctrl+Z handling in console readall() | Steve Dower | 2016-10-08 | 1 | -20/+29 |
| | |||||
* | Issue #28217: Adds _testconsole module to test console input. Fixes some ↵ | Steve Dower | 2016-10-03 | 1 | -11/+43 |
| | | | | issues found by the tests. | ||||
* | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-20 | 1 | -6/+6 |
| | |||||
* | Issue #28161: Opening CON for write access fails | Steve Dower | 2016-09-17 | 1 | -14/+31 |
| | | | | | | Issue #28162: WindowsConsoleIO readall() fails if first line starts with Ctrl+Z Issue #28163: WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle Issue #28164: _PyIO_get_console_type fails for various paths | ||||
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -0/+1096 |
Closes #17602: Adds a readline implementation for the Windows console |