Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20404: reject non-text encodings early in TextIOWrapper. | Georg Brandl | 2014-03-02 | 1 | -21/+63 |
| | |||||
* | Issue #19619: Blacklist non-text codecs in method API | Serhiy Storchaka | 2014-02-24 | 1 | -16/+122 |
| | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57. | ||||
* | bump Python-ast.c | Benjamin Peterson | 2014-02-20 | 1 | -2/+2 |
| | |||||
* | don't put runtime values in array initializer for C89 compliance (closes #20588) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
| | |||||
* | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 3 | -12/+6 |
| | |||||
* | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 1 | -2/+12 |
| | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
* | Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H. | Stefan Krah | 2014-01-20 | 1 | -1/+2 |
| | |||||
* | update copyright year | Benjamin Peterson | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
| | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
| | |||||
* | document that compile() can take bytes (closes #19910) | Benjamin Peterson | 2013-12-07 | 1 | -1/+1 |
| | |||||
* | Issue #19638: Raise ValueError instead of crashing when converting billion ↵ | Mark Dickinson | 2013-11-26 | 1 | -12/+43 |
| | | | | character strings to float. | ||||
* | fileutils.c: use MAXPATHLEN instead of PATH_MAX | Victor Stinner | 2013-11-15 | 1 | -6/+6 |
| | | | | PATH_MAX is not declared on IRIX nor Windows. | ||||
* | sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size of | Victor Stinner | 2013-11-15 | 1 | -1/+1 |
| | | | | | the fullpath buffer, not PATH_MAX. fullpath is declared using MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on IRIX. | ||||
* | pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size of | Victor Stinner | 2013-11-15 | 1 | -2/+3 |
| | | | | | the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX. | ||||
* | make string literal const | Benjamin Peterson | 2013-10-31 | 1 | -1/+1 |
| | |||||
* | update comment | Benjamin Peterson | 2013-10-30 | 1 | -3/+3 |
| | |||||
* | Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the | Christian Heimes | 2013-10-22 | 1 | -0/+4 |
| | | | | Python executable and not removed by the linker's optimizer. | ||||
* | Issue #18776: atexit callbacks now display their full traceback when they ↵ | Antoine Pitrou | 2013-10-13 | 1 | -0/+10 |
| | | | | raise an exception. | ||||
* | Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵ | Antoine Pitrou | 2013-10-07 | 1 | -2/+2 |
| | | | | least one place so as to avoid regressions. | ||||
* | Closes #15213: update comment for _PyOS_URandom | Georg Brandl | 2013-10-06 | 1 | -2/+3 |
| | |||||
* | [issue19152] Revert 832579dbafd6. | Eric Snow | 2013-10-03 | 1 | -210/+192 |
| | |||||
* | [issue19152] Add ExtensionFileLoader.get_filename(). | Eric Snow | 2013-10-03 | 1 | -192/+210 |
| | |||||
* | [issue19151] Fix docstring and use of _get_suppported_file_loaders() to ↵ | Eric Snow | 2013-10-03 | 1 | -2613/+2611 |
| | | | | reflect 2-tuples. | ||||
* | don't scale compiler stack frames if the recursion limit is huge (closes #19098) | Benjamin Peterson | 2013-09-27 | 1 | -2/+6 |
| | |||||
* | Issue #16826: Revert fix while Windows issues are being worked out. | Meador Inge | 2013-09-04 | 1 | -4206/+4201 |
| | |||||
* | Issue #16826: Don't check for PYTHONCASEOK when using -E. | Meador Inge | 2013-09-03 | 1 | -4201/+4206 |
| | | | | | This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable. | ||||
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 4 | -6/+5 |
| | | | | error messages and comments. | ||||
* | #18839: document that sys.exit() will not accept a non-integer numeric value ↵ | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
| | | | | as exit status. | ||||
* | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵ | Antoine Pitrou | 2013-08-16 | 1 | -2/+6 |
| | | | | due to something else than /dev/urandom not existing. | ||||
* | Issue #15893: Remove dead code | Victor Stinner | 2013-07-27 | 1 | -5/+0 |
| | |||||
* | Issue #15893: frozenmain.c now handles PyMem_Malloc() failure | Victor Stinner | 2013-07-26 | 1 | -2/+9 |
| | |||||
* | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 1 | -3/+7 |
| | |||||
* | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 1 | -268/+134 |
| | |||||
* | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -5824/+5779 |
| | | | | Replace 8 spaces with 4. | ||||
* | Issue #18560: Fix potential NULL pointer dereference in sum() | Christian Heimes | 2013-07-26 | 1 | -0/+5 |
| | |||||
* | Fix potential NULL pointer dereferencing in ast module | Christian Heimes | 2013-07-24 | 1 | -1/+1 |
| | | | | CID 719690 | ||||
* | return NULL here | Benjamin Peterson | 2013-07-23 | 1 | -1/+2 |
| | |||||
* | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], | Christian Heimes | 2013-07-22 | 1 | -3/+4 |
| | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
* | fix spacing | Benjamin Peterson | 2013-07-21 | 1 | -1/+1 |
| | |||||
* | let's not return NULL from functions that should return ints | Benjamin Peterson | 2013-07-21 | 1 | -2/+2 |
| | |||||
* | Check return value of lseek() in _Py_DisplaySourceLine(). | Christian Heimes | 2013-07-21 | 1 | -1/+7 |
| | | | | | Also use portable SEEK_SET instead of 0. CID 1040639 | ||||
* | Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() ↵ | Christian Heimes | 2013-07-20 | 1 | -0/+5 |
| | | | | | | for error CID 486768 | ||||
* | Check return value of fstat() in _PyImport_GetDynLoadFunc() | Christian Heimes | 2013-07-20 | 1 | -1/+3 |
| | | | | CID 486250 | ||||
* | Add missing check of PyDict_SetItem()'s return value in ↵ | Christian Heimes | 2013-07-20 | 1 | -1/+4 |
| | | | | | | _PyImport_FindExtensionObject() CID 486649 | ||||
* | Add missing check of PyDict_SetItem()'s return value in PyEval_EvalCodeEx() | Christian Heimes | 2013-07-20 | 1 | -1/+3 |
| | | | | CID 486647 | ||||
* | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -15/+20 |
| | | | | more bytes than requested. | ||||
* | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 |
| | |||||
* | Issue #18426: improve exception message. Courtesy of Amaury | Christian Heimes | 2013-07-11 | 1 | -1/+5 |
| | |||||
* | Issue #18426: Fix NULL pointer dereference in C extension import when | Christian Heimes | 2013-07-11 | 1 | -0/+2 |
| | | | | PyModule_GetDef() returns an error. |