summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | Closes #13761: add a "flush" keyword argument to print().Georg Brandl2012-01-131-5/+19
| |
* | merge 3.2Benjamin Peterson2012-01-121-3/+1
|\ \ | |/
| * fold into one if statementBenjamin Peterson2012-01-121-3/+1
| |
* | merge 3.2Benjamin Peterson2012-01-031-1/+1
|\ \ | |/
| * fix formattingBenjamin Peterson2012-01-031-1/+1
| |
* | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wideVictor Stinner2011-11-221-9/+2
| |
* | quote the type name for improved readabilityPhilip Jenvey2011-11-071-1/+1
| |
* | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-42/+42
|\ \ | |/ | | | | error handler in interactive mode (when calling into PyOS_Readline()).
| * Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-42/+41
| | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()).
* | Merge 3.2 (linked to issue #1294232)Florent Xicluna2011-10-281-1/+1
|\ \ | |/
| * Remove unused variable.Florent Xicluna2011-10-281-2/+1
| |
* | Merge issue 1294232 patch from 3.2Nick Coghlan2011-10-231-3/+30
|\ \ | |/
| * Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵Nick Coghlan2011-10-231-2/+28
| | | | | | | | metaclass inheritance. Patch by Daniel Urban.
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-6/+6
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-5/+9
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-5/+8
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Implement PEP 393.Martin v. Löwis2011-09-281-18/+8
| |
* | include header with PyAST_ValidateBenjamin Peterson2011-08-131-0/+3
| |
* | add a AST validator (closes #12575)Benjamin Peterson2011-08-091-0/+4
| |
* | plug refleakBenjamin Peterson2011-07-301-0/+1
| |
* | bytes -> bytearrayBenjamin Peterson2011-07-291-1/+1
| |
* | bytes should be verboten in sum() (fixes #12654)Benjamin Peterson2011-07-291-0/+5
| |
* | Issue #9642: Uniformize the tests on the availability of the mbcs codecVictor Stinner2011-07-041-1/+1
| | | | | | | | Add a new HAVE_MBCS define.
* | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page onVictor Stinner2011-07-041-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.
* | Removed 'or long integer' from bin, oct, and hex docstrings.Alexander Belopolsky2011-04-071-3/+3
|\ \ | |/
| * Removed 'or long integer' from bin, oct, and hex docstrings.Alexander Belopolsky2011-04-071-3/+3
| |
| * Merged revisions 88530 via svnmerge fromVictor Stinner2011-02-231-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'). ........
* | Issue #3080: Add PyImport_ImportModuleLevelObject() functionVictor Stinner2011-03-141-7/+4
| | | | | | | | Use it for the builtin __import__ function.
* | Remove useless argument of _PyUnicode_AsDefaultEncodedString()Victor Stinner2011-03-021-1/+1
| |
* | Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-231-4/+9
| | | | | | | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
* | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-221-4/+1
|/
* Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-041-6/+13
| | | | and provide an interface to it in py_compile, compileall and PyZipFile.
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-2/+2
|
* Remove redundant includes of headers that are already included by Python.h.Georg Brandl2010-11-301-1/+0
|
* Issue #10518: Bring back the callable() builtin.Antoine Pitrou2010-11-271-0/+15
| | | | Approved by Guido (BDFL) and Georg (RM).
* make hashes always the size of pointers; introduce Py_hash_t #9778Benjamin Peterson2010-10-171-2/+2
|
* Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expectsVictor Stinner2010-10-161-11/+22
| | | | | filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode.
* Since __import__ is not designed for general use, have its docstring pointBrett Cannon2010-09-271-2/+6
| | | | | | people towards importlib.import_module(). Closes issue #7397.
* Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODINGVictor Stinner2010-09-101-23/+0
| | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
* only catch AttributeError in hasattr() #9666Benjamin Peterson2010-08-241-8/+5
|
* Issue #6697: Fix a crash if sys.stdin or sys.stdout encoding contain a surrogateVictor Stinner2010-05-191-7/+16
| | | | This is *very* unlikely :-)
* Issue #8610: Load file system codec at startup, and display a fatal error onVictor Stinner2010-05-151-2/+9
| | | | | failure. Set the file system encoding to utf-8 (instead of None) if getting the locale encoding failed, or if nl_langinfo(CODESET) function is missing.