summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-141-14/+22
|
* Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-031-684/+31
|
* Initialize variables to prevent GCC warningsVictor Stinner2015-03-181-1/+1
|
* Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-14/+22
|\ | | | | | | and PyObject_AsWriteBuffer().
| * Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-13/+21
| | | | | | | | and PyObject_AsWriteBuffer().
* | Issue #22215: Now ValueError is raised instead of TypeError when str or bytesSerhiy Storchaka2014-09-061-2/+2
| | | | | | | | argument contains not permitted null character or byte.
* | Issue #20184: Add signature introspection for 30 of the builtinsNick Coghlan2014-08-171-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" compilerVictor Stinner2014-08-151-1/+1
|/ | | | warnings in the Python/ subdirectory.
* Issue #22146: Fix typo in __build_class__ error messageZachary Ware2014-08-051-1/+1
|
* Issue #19362: Tweek len() doc and docstring to expand the indicated range ofTerry Jan Reedy2014-06-161-1/+1
| | | | arguments. Original patch by Gareth Rees.
* Issue 20620: Update the min()/max() docs for the new default argument.Raymond Hettinger2014-05-191-6/+10
| | | | Patch provided by Berker Peksag.
* correct len signature in docstring (closes #21294)Benjamin Peterson2014-04-181-1/+1
|
* Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-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 Peterson2013-12-071-1/+1
|\
| * document that compile() can take bytes (closes #19910)Benjamin Peterson2013-12-071-1/+1
| |
* | Issue #3158: doctest can now find doctests in functions and methodsZachary Ware2013-11-241-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 theyVictor Stinner2013-11-071-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 literalVictor Stinner2013-11-061-1/+2
| | | | | | | | string "flush" to call the flush method
* | Issue #19512: __build_class() builtin now uses an identifier for the ↵Victor Stinner2013-11-061-2/+3
| | | | | | | | "metaclass" string
* | Issue #19512: add some common identifiers to only create common strings once,Victor Stinner2013-11-061-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__" stringVictor Stinner2013-11-061-6/+7
| |
* | Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handleVictor Stinner2013-10-291-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 Storchaka2013-10-191-1/+1
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-8/+6
| | | | | | | | filenames anymore on Windows.
* | Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes2013-07-261-0/+5
|\ \ | |/
| * Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes2013-07-261-0/+5
| |
* | Issue #18408: handle PySys_GetObject() failure, raise a RuntimeErrorVictor Stinner2013-07-161-0/+5
| |
* | Merge: #18424: PEP8ify the tense of the sum docstring.R David Murray2013-07-101-2/+2
|\ \ | |/
| * #18424: PEP8ify the tense of the sum docstring.R David Murray2013-07-101-2/+2
| |
* | Issue 18111: Add a default argument to min() and max()Raymond Hettinger2013-06-251-14/+26
| |
* | rather than passing locals to the class body, just execute the class body in ↵Benjamin Peterson2013-05-161-1/+8
| | | | | | | | the proper environment
* | properly lookup the __round__ special method (closes #17722)Benjamin Peterson2013-04-131-14/+11
| |
* | Revert a premature patch for issue #14010 (changeset 846bd418aee5).Serhiy Storchaka2013-04-061-21/+9
|\ \ | |/
| * Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka2013-04-061-21/+9
| |
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-9/+21
|\ \ | |/ | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
| * Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-9/+21
| | | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
* | MergeRichard Oudkerk2013-04-031-0/+1
|\ \ | |/
| * Issue #17619: Make input() check for Ctrl-C correctly on Windows.Richard Oudkerk2013-04-031-0/+1
| |
* | #17178: merge with 3.3.Ezio Melotti2013-02-151-2/+4
|\ \ | |/
| * #17178: merge with 3.2.Ezio Melotti2013-02-151-2/+4
| |\
| | * #17178: update any()/all() docstrings to document their behavior with empty ↵Ezio Melotti2013-02-151-2/+4
| | | | | | | | | | | | iterables. Patch by Ankur Ankan.
| | * Remove unused variabile "plain" in builtin_exec.Ezio Melotti2012-11-211-2/+0
| | |
* | | compile doesn't accept code objectsPhilip Jenvey2012-12-131-1/+1
| | |
* | | initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all functionBenjamin Peterson2012-10-311-0/+6
|/ /
* | Merge 3.2.Stefan Krah2012-08-201-0/+2
|\ \ | |/
| * Issue #15741: Fix potential NULL dereference. Found by Coverity.Stefan Krah2012-08-201-0/+2
| |
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-1/+3
|\ \ | |/ | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
| * Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-1/+3
| | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.