summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Fix issue #15607: Update the print builtin function docstring with the new ↵Senthil Kumaran2012-08-101-4/+5
| | | | | | | | | | | | flush keyword. Patch contributed by Daniel Ellis.
* | Issue #15471: Don't use mutable object as default values for theBrett Cannon2012-08-061-1/+1
| | | | | | | | parameters of importlib.__import__().
* | Issue #15508: Fix the docstring for __import__ to not mention negativeBrett Cannon2012-07-301-3/+2
| | | | | | | | | | | | 'level' values and set its document default value to 0. Thanks to Arfrever Frehtes Taifersar Arahesis for filing the bug.
* | Remove outdated statementAntoine Pitrou2012-06-231-7/+1
| |
* | merge 3.2Benjamin Peterson2012-06-021-4/+2
|\ \ | |/
| * don't leak if the __class__ closure is setBenjamin Peterson2012-06-021-4/+2
| |
* | Issue #2377: Make importlib the implementation of __import__().Brett Cannon2012-04-141-1/+1
| | | | | | | | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__().
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-3/+53
| |