summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
AgeCommit message (Collapse)AuthorLines
2013-04-06Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka-21/+9
2013-04-06Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka-9/+21
(builting and in itertools module, i.e. map(), itertools.chain(), etc).
2013-04-03Issue #17619: Make input() check for Ctrl-C correctly on Windows.Richard Oudkerk-0/+1
2013-02-15#17178: merge with 3.2.Ezio Melotti-2/+4
2013-02-15#17178: update any()/all() docstrings to document their behavior with empty ↵Ezio Melotti-2/+4
iterables. Patch by Ankur Ankan.
2012-08-20Merge 3.2.Stefan Krah-0/+2
2012-08-20Issue #15741: Fix potential NULL dereference. Found by Coverity.Stefan Krah-0/+2
2012-08-15Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou-1/+3
errors correctly. Patch by Serhiy Storchaka.
2012-08-15Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou-1/+3
errors correctly. Patch by Serhiy Storchaka.
2012-08-10Fix issue #15607: Update the print builtin function docstring with the new ↵Senthil Kumaran-4/+5
flush keyword. Patch contributed by Daniel Ellis.
2012-08-06Issue #15471: Don't use mutable object as default values for theBrett Cannon-1/+1
parameters of importlib.__import__().
2012-07-30Issue #15508: Fix the docstring for __import__ to not mention negativeBrett Cannon-3/+2
'level' values and set its document default value to 0. Thanks to Arfrever Frehtes Taifersar Arahesis for filing the bug.
2012-11-21Remove unused variabile "plain" in builtin_exec.Ezio Melotti-2/+0
2012-06-23Remove outdated statementAntoine Pitrou-7/+1
2012-06-01merge 3.2Benjamin Peterson-4/+2
2012-06-01don't leak if the __class__ closure is setBenjamin Peterson-4/+2
2012-04-14Issue #2377: Make importlib the implementation of __import__().Brett Cannon-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__().
2012-04-03Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson-3/+53
2012-01-11fold into one if statementBenjamin Peterson-3/+1
2012-01-03fix formattingBenjamin Peterson-1/+1
2012-01-13Closes #13761: add a "flush" keyword argument to print().Georg Brandl-5/+19
2012-01-11merge 3.2Benjamin Peterson-3/+1
2012-01-03merge 3.2Benjamin Peterson-1/+1
2011-11-22Remove "#ifdef Py_UNICODE_WIDE": Python is now always wideVictor Stinner-9/+2
2011-11-06quote the type name for improved readabilityPhilip Jenvey-1/+1
2011-11-06Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou-42/+42
error handler in interactive mode (when calling into PyOS_Readline()).
2011-11-06Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou-42/+41
error handler in interactive mode (when calling into PyOS_Readline()).
2011-10-28Remove unused variable.Florent Xicluna-2/+1
2011-10-23Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵Nick Coghlan-2/+28
metaclass inheritance. Patch by Daniel Urban.
2011-10-28Merge 3.2 (linked to issue #1294232)Florent Xicluna-1/+1
2011-10-23Merge issue 1294232 patch from 3.2Nick Coghlan-3/+30
2011-10-14Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis-6/+6
2011-10-10Use identifier API for PyObject_GetAttrString.Martin v. Löwis-5/+9
2011-10-09Add API for static strings, primarily good for identifiers.Martin v. Löwis-5/+8
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
2011-09-28Implement PEP 393.Martin v. Löwis-18/+8
2011-08-12include header with PyAST_ValidateBenjamin Peterson-0/+3
2011-08-09add a AST validator (closes #12575)Benjamin Peterson-0/+4
2011-07-29plug refleakBenjamin Peterson-0/+1
2011-07-29bytes -> bytearrayBenjamin Peterson-1/+1
2011-07-29bytes should be verboten in sum() (fixes #12654)Benjamin Peterson-0/+5
2011-07-04Issue #9642: Uniformize the tests on the availability of the mbcs codecVictor Stinner-1/+1
Add a new HAVE_MBCS define.
2011-07-04Issue #9642: Fix filesystem encoding initialization: use the ANSI code page onVictor Stinner-4/+1
Windows if the mbcs codec is not available, and fail with a fatal error if we cannot get the locale encoding (if nl_langinfo(CODESET) is not available) instead of using UTF-8.
2011-04-07Removed 'or long integer' from bin, oct, and hex docstrings.Alexander Belopolsky-3/+3
2011-04-07Removed 'or long integer' from bin, oct, and hex docstrings.Alexander Belopolsky-3/+3
2011-03-14Issue #3080: Add PyImport_ImportModuleLevelObject() functionVictor Stinner-7/+4
Use it for the builtin __import__ function.
2011-03-02Remove useless argument of _PyUnicode_AsDefaultEncodedString()Victor Stinner-1/+1
2011-02-23Merged revisions 88530 via svnmerge fromVictor Stinner-4/+9
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88530 | victor.stinner | 2011-02-23 13:07:37 +0100 (mer., 23 févr. 2011) | 4 lines Issue #11272: Fix input() and sys.stdin for Windows newline On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n'). ........
2011-02-23Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner-4/+9
On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
2011-02-22Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon-4/+1
2010-12-04Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl-6/+13
and provide an interface to it in py_compile, compileall and PyZipFile.