Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.5] bpo-8256: Fixed possible failing or crashing input() (#642) | Serhiy Storchaka | 2017-03-12 | 1 | -5/+16 |
| | | | | | | | if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings. (cherry picked from commit c2cf12857187aa147c268651f10acd6da2c9cb74) | ||||
* | Issue #26729: Fixed __text_signature__ for sorted(). | Serhiy Storchaka | 2017-01-23 | 1 | -1/+1 |
| | | | | Patch by Erik Welch. | ||||
* | Issue 27936: Fix inconsistent round() behavior between float and int | Raymond Hettinger | 2016-09-03 | 1 | -1/+1 |
| | |||||
* | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-26 | 1 | -2/+2 |
| | |||||
* | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -59/+58 |
| | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | Regenerate Argument Clinic code for issue #26874. | Serhiy Storchaka | 2016-05-01 | 1 | -1/+1 |
| | |||||
* | Issue #26874: Simplify the divmod docstring | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Issue #26874: Fix divmod docstring | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Issue #24802: Merge null termination fixes from 3.4 into 3.5 | Martin Panter | 2015-11-07 | 1 | -16/+32 |
|\ | |||||
| * | Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary | Martin Panter | 2015-11-07 | 1 | -16/+32 |
| | | | | | | | | | | | | | | | | This avoids possible buffer overreads when int(), float(), compile(), exec() and eval() are passed bytes-like objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch by John Leitch, Serhiy Storchaka and Martin Panter. | ||||
* | | Issue #24402: Merge input() fix from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun | Martin Panter | 2015-10-10 | 1 | -1/+3 |
| | | | | | | | | Also factored out some test cases into a new PtyTests class. | ||||
* | | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 1 | -4/+4 |
| | | | | | | | | signatures as booleans. | ||||
* | | Use converter names instead of format units in Argument Clinic descriptions | Serhiy Storchaka | 2015-05-30 | 1 | -72/+72 |
| | | | | | | | | in builtin and _crypt modules. | ||||
* | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -14/+22 |
| | | |||||
* | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -684/+31 |
| | | |||||
* | | Initialize variables to prevent GCC warnings | Victor Stinner | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -14/+22 |
|\ \ | |/ | | | | | and PyObject_AsWriteBuffer(). | ||||
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -13/+21 |
| | | | | | | | | and PyObject_AsWriteBuffer(). | ||||
* | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -2/+2 |
| | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | Issue #20184: Add signature introspection for 30 of the builtins | Nick Coghlan | 2014-08-17 | 1 | -373/+1188 |
| | | | | | | | | | | Also adds a test to test_inspect to track progress on builtin introspection support, to ensure it doesn't regress in the future. | ||||
* | | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
|/ | | | | warnings in the Python/ subdirectory. | ||||
* | Issue #22146: Fix typo in __build_class__ error message | Zachary Ware | 2014-08-05 | 1 | -1/+1 |
| | |||||
* | Issue #19362: Tweek len() doc and docstring to expand the indicated range of | Terry Jan Reedy | 2014-06-16 | 1 | -1/+1 |
| | | | | arguments. Original patch by Gareth Rees. | ||||
* | Issue 20620: Update the min()/max() docs for the new default argument. | Raymond Hettinger | 2014-05-19 | 1 | -6/+10 |
| | | | | Patch provided by Berker Peksag. | ||||
* | correct len signature in docstring (closes #21294) | Benjamin Peterson | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -1/+1 |
| | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | merge 3.3 (#19910) | Benjamin Peterson | 2013-12-07 | 1 | -1/+1 |
|\ | |||||
| * | document that compile() can take bytes (closes #19910) | Benjamin Peterson | 2013-12-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #3158: doctest can now find doctests in functions and methods | Zachary Ware | 2013-11-24 | 1 | -3/+15 |
| | | | | | | | | | | | | | | | | written in C. As a part of this, a few doctests have been added to the builtins module (on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all platforms) on float, and test_builtins now runs doctests in builtins. | ||||
* | | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 1 | -13/+15 |
| | | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | ||||
* | | Issue #19512: builtin print() function uses an identifier instead of literal | Victor Stinner | 2013-11-06 | 1 | -1/+2 |
| | | | | | | | | string "flush" to call the flush method | ||||
* | | Issue #19512: __build_class() builtin now uses an identifier for the ↵ | Victor Stinner | 2013-11-06 | 1 | -2/+3 |
| | | | | | | | | "metaclass" string | ||||
* | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 1 | -4/+4 |
| | | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | ||||
* | | Issue #19512: eval() and exec() now use an identifier for "__builtins__" string | Victor Stinner | 2013-11-06 | 1 | -6/+7 |
| | | |||||
* | | Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle | Victor Stinner | 2013-10-29 | 1 | -8/+9 |
| | | | | | | | | | | exceptions when merging fast locals into f_locals of a frame. PyEval_GetLocals() now raises an exception and return NULL on failure. | ||||
* | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 1 | -1/+1 |
| | | |||||
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
|\ \ | |/ | | | | | error messages and comments. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
| | | | | | | | | error messages and comments. | ||||
* | | Close #11619: The parser and the import machinery do not encode Unicode | Victor Stinner | 2013-08-26 | 1 | -8/+6 |
| | | | | | | | | filenames anymore on Windows. | ||||
* | | Issue #18560: Fix potential NULL pointer dereference in sum() | Christian Heimes | 2013-07-26 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #18560: Fix potential NULL pointer dereference in sum() | Christian Heimes | 2013-07-26 | 1 | -0/+5 |
| | | |||||
* | | Issue #18408: handle PySys_GetObject() failure, raise a RuntimeError | Victor Stinner | 2013-07-16 | 1 | -0/+5 |
| | | |||||
* | | Merge: #18424: PEP8ify the tense of the sum docstring. | R David Murray | 2013-07-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #18424: PEP8ify the tense of the sum docstring. | R David Murray | 2013-07-10 | 1 | -2/+2 |
| | | |||||
* | | Issue 18111: Add a default argument to min() and max() | Raymond Hettinger | 2013-06-25 | 1 | -14/+26 |
| | | |||||
* | | rather than passing locals to the class body, just execute the class body in ↵ | Benjamin Peterson | 2013-05-16 | 1 | -1/+8 |
| | | | | | | | | the proper environment | ||||
* | | properly lookup the __round__ special method (closes #17722) | Benjamin Peterson | 2013-04-13 | 1 | -14/+11 |
| | | |||||
* | | Revert a premature patch for issue #14010 (changeset 846bd418aee5). | Serhiy Storchaka | 2013-04-06 | 1 | -21/+9 |
|\ \ | |/ | |||||
| * | Revert a premature patch for issue #14010 (changeset aaaf36026511). | Serhiy Storchaka | 2013-04-06 | 1 | -21/+9 |
| | |