summaryrefslogtreecommitdiff
path: root/Python
AgeCommit message (Collapse)AuthorLines
2017-01-01ring in 2017 for PythonBenjamin Peterson-1/+1
2016-01-012016 will be another year of writing copyrighted codeBenjamin Peterson-1/+1
2015-06-02Issue 24366: Indent code (thanks to li4ick for reporting).Yury Selivanov-1/+1
2015-05-03be more robust against the filters list changing under us (closes #24096)Benjamin Peterson-6/+16
2015-04-19Issue #23998: PyImport_ReInitLock() now checks for lock allocation errorChristian Heimes-1/+5
2015-01-04merge 3.2 (closes #23165)Benjamin Peterson-3/+13
2015-01-04add some overflow checks before multiplying (closes #23165)Benjamin Peterson-3/+13
2014-12-31merge 3.2Benjamin Peterson-1/+1
2014-12-31update for copyright for 2015Benjamin Peterson-1/+1
2014-10-04Copyright year update, add version to licenses.v3.2.6rc1Georg Brandl-1/+1
2014-10-04Issue #22518: Fixed integer overflow issues in "backslashreplace",v3.3.6rc1Serhiy Storchaka-2/+6
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-05-08The PyCOND_TIMEDWAIT must use microseconds for the timeout argumentKristján Valur Jónsson-7/+7
in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737
2014-03-02Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl-21/+63
2014-02-24Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka-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.
2014-02-19bump Python-ast.cBenjamin Peterson-2/+2
2014-02-10don't put runtime values in array initializer for C89 compliance (closes #20588)Benjamin Peterson-2/+6
2014-02-09Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka-12/+6
2014-01-21Issue #2382: SyntaxError cursor "^" now is written at correct position in mostSerhiy Storchaka-2/+12
cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters.
2014-01-20Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.Stefan Krah-1/+2
2013-12-31update copyright yearBenjamin Peterson-1/+1
2013-12-17Issue #16404: Add checks for return value of PyLong_FromLong() inSerhiy Storchaka-0/+4
sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
2013-12-17Fixed leak in sys.flags initialization.Serhiy Storchaka-0/+1
2013-12-06document that compile() can take bytes (closes #19910)Benjamin Peterson-1/+1
2013-11-26Issue #19638: Raise ValueError instead of crashing when converting billion ↵Mark Dickinson-12/+43
character strings to float.
2013-11-15fileutils.c: use MAXPATHLEN instead of PATH_MAXVictor Stinner-6/+6
PATH_MAX is not declared on IRIX nor Windows.
2013-11-15sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size ofVictor Stinner-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.
2013-11-15pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size ofVictor Stinner-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.
2013-10-31make string literal constBenjamin Peterson-1/+1
2013-10-29update commentBenjamin Peterson-3/+3
2013-10-22Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in theChristian Heimes-0/+4
Python executable and not removed by the linker's optimizer.
2013-10-13Issue #18776: atexit callbacks now display their full traceback when they ↵Antoine Pitrou-0/+10
raise an exception.
2013-10-07Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou-2/+2
least one place so as to avoid regressions.
2013-10-06Closes #15213: update comment for _PyOS_URandomGeorg Brandl-2/+3
2013-10-03[issue19152] Revert 832579dbafd6.Eric Snow-210/+192
2013-10-03[issue19152] Add ExtensionFileLoader.get_filename().Eric Snow-192/+210
2013-10-03[issue19151] Fix docstring and use of _get_suppported_file_loaders() to ↵Eric Snow-2613/+2611
reflect 2-tuples.
2013-09-26don't scale compiler stack frames if the recursion limit is huge (closes #19098)Benjamin Peterson-2/+6
2013-09-03Issue #16826: Revert fix while Windows issues are being worked out.Meador Inge-4206/+4201
2013-09-03Issue #16826: Don't check for PYTHONCASEOK when using -E.Meador Inge-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.
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-6/+5
error messages and comments.
2013-08-26#18839: document that sys.exit() will not accept a non-integer numeric value ↵Ezio Melotti-1/+1
as exit status.
2013-08-16Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou-2/+6
due to something else than /dev/urandom not existing.
2013-07-27Issue #15893: Remove dead codeVictor Stinner-5/+0
2013-07-27Issue #15893: frozenmain.c now handles PyMem_Malloc() failureVictor Stinner-2/+9
2013-07-27Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes-3/+7
2013-07-27Parser/asdl_c.py: use Py_CLEAR()Victor Stinner-268/+134
2013-07-27According to the PEP 7, C code must "use 4-space indents"Victor Stinner-5739/+5694
Replace 8 spaces with 4.
2013-07-26Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes-0/+5
2013-07-24Fix potential NULL pointer dereferencing in ast moduleChristian Heimes-1/+1
CID 719690
2013-07-22return NULL hereBenjamin Peterson-1/+2