Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37330: open() no longer accept 'U' in file mode (GH-16959) | Victor Stinner | 2019-10-28 | 1 | -6/+1 |
| | | | | | open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3. | ||||
* | bpo-37206: Unrepresentable default values no longer represented as None. ↵ | Serhiy Storchaka | 2019-09-14 | 1 | -2/+2 |
| | | | | | | | (GH-13933) In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values (like in the optional third parameter of getattr). "None" should be used if None is accepted as argument and passing None has the same effect as not passing the argument at all. | ||||
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 6 | -33/+33 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-36842: Implement PEP 578 (GH-12613) | Steve Dower | 2019-05-23 | 1 | -1/+43 |
| | | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs. | ||||
* | bpo-36523: Add docstring to io.IOBase.writelines (GH-12683) | Marcin Niemira | 2019-04-22 | 1 | -2/+6 |
| | |||||
* | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 7 | -43/+502 |
| | | | | (GH-12058) | ||||
* | bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) | Serhiy Storchaka | 2019-01-11 | 4 | -16/+28 |
| | | | | | Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter. | ||||
* | bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵ | Serhiy Storchaka | 2019-01-11 | 7 | -73/+356 |
| | | | | (GH-11313) | ||||
* | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 5 | -16/+75 |
| | | | | parameter. (GH-9689) | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵ | Serhiy Storchaka | 2018-11-27 | 8 | -38/+38 |
| | | | | | | | | (GH-6748) Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS in Argument Clinic generated code. | ||||
* | bpo-15216: io: TextIOWrapper.reconfigure() accepts encoding, errors and ↵ | INADA Naoki | 2017-12-21 | 1 | -10/+15 |
| | | | | newline (GH-2343) | ||||
* | bpo-32240: Add the const qualifier to declarations of PyObject* array ↵ | Serhiy Storchaka | 2017-12-15 | 8 | -38/+38 |
| | | | | arguments. (#4746) | ||||
* | bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) | Serhiy Storchaka | 2017-07-03 | 8 | -146/+38 |
| | | | | | the bare METH_FASTCALL be used for functions with positional-only parameters. | ||||
* | bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051) | Sylvain | 2017-06-10 | 7 | -92/+92 |
| | | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments". | ||||
* | Fix bpo-30526: Add TextIOWrapper.reconfigure() and a ↵ | Antoine Pitrou | 2017-06-03 | 1 | -1/+36 |
| | | | | | | | | | | TextIOWrapper.write_through attribute (#1922) * Fix bpo-30526: Add TextIOWrapper.reconfigure() * Apply Nick's improved wording * Update Misc/NEWS | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -2/+2 |
| | |||||
* | bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) | Serhiy Storchaka | 2017-03-30 | 7 | -31/+29 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606) | orenmn | 2017-03-10 | 2 | -35/+30 |
| | | | Some BytesIO methods now accept not just int subclasses but other int-like types. | ||||
* | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 5 | -38/+82 |
| | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code. | ||||
* | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 8 | -56/+120 |
| | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | ||||
* | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 2 | -2/+2 |
| | | | | Issue #29286. | ||||
* | Issue #23214: Implement optional BufferedReader, BytesIO read1() argument | Martin Panter | 2016-10-20 | 2 | -9/+30 |
| | |||||
* | Issue #27810: Regenerate Argument Clinic. | Serhiy Storchaka | 2016-09-11 | 2 | -8/+8 |
| | |||||
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -0/+331 |
| | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 6 | -26/+36 |
| | | | | implemented with using Argument Clinic. | ||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -3/+3 |
|\ | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -3/+3 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. | Serhiy Storchaka | 2016-06-09 | 7 | -61/+115 |
|/ | |||||
* | Issue #20699: Document that “io” methods accept bytes-like objects | Martin Panter | 2016-05-28 | 2 | -4/+4 |
| | | | | | | | | This matches the usage of ZipFile and BufferedWriter. This still requires return values to be bytes() objects. Also document and test that the write() methods should only access their argument before they return. | ||||
* | Fix typos in code comments and documentation | Martin Panter | 2016-04-16 | 1 | -2/+2 |
| | |||||
* | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 1 | -5/+5 |
| | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 7 | -87/+42 |
| | | | | same line as function name. | ||||
* | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 7 | -0/+2468 |