summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.3Benjamin Peterson2015-01-011-1/+1
|\
| * merge 3.2Benjamin Peterson2015-01-011-1/+1
| |\
| | * update for copyright for 2015Benjamin Peterson2015-01-011-1/+1
| | |
| | * Copyright year update, add version to licenses.v3.2.6rc1Georg Brandl2014-10-041-1/+1
| | |
| | * Copyright update to 2013.Georg Brandl2013-03-231-1/+1
| | |
| * | Issue #22518: Fixed integer overflow issues in "backslashreplace",v3.3.6rc1Serhiy Storchaka2014-10-041-2/+6
| | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers.
* | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-7/+41
| | | | | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes.
* | | pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson2014-12-131-3/+2
| | |
* | | Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64,Victor Stinner2014-12-121-3/+5
| | | | | | | | | | | | when Python is configure with --with-tsc. Patch written by Christian Heimes.
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-052-8/+8
| | |
* | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-011-3611/+3612
|\ \ \ | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
| * | | - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile isBarry Warsaw2014-12-011-3611/+3612
| | | | | | | | | | | | | | | | | | | | asked to compile a source file containing multiple dots in the source file name.
* | | | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-013-3/+3
|/ / /
* | | Issue #22453: Warn against the use of leaking macro PyObject_REPR().Serhiy Storchaka2014-11-181-10/+10
| | |
* | | Issue #22193: Fixed integer overflow error in sys.getsizeof().Serhiy Storchaka2014-11-151-5/+10
| | | | | | | | | | | | Fixed an error in _PySys_GetSizeOf declaration.
* | | Issue #22762: Fix _Py_DisplaySourceLine(), clear the exception ifVictor Stinner2014-10-301-0/+1
| | | | | | | | | | | | PyFile_GetLine() failed. Patch written by Xavier de Gaye.
* | | Issue #21715: Extracted shared complicated code in the _io module to newSerhiy Storchaka2014-10-081-0/+24
| | | | | | | | | | | | _PyErr_ChainExceptions() function.
* | | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-0/+33
| | | | | | | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
* | | Issue #22518: Fixed integer overflow issues in "backslashreplace",Serhiy Storchaka2014-10-041-2/+8
| | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers.
* | | Fixed reference leak in the "backslashreplace" error handler.Serhiy Storchaka2014-09-231-1/+3
| | |
* | | Issue #4180: The warnings registries are now reset when the filters are ↵Antoine Pitrou2014-09-181-6/+35
| | | | | | | | | | | | modified.
* | | Issue #22166: clear codec caches in test_codecsNick Coghlan2014-09-151-0/+26
| | |
* | | Closes #22258: Fix the the internal function set_inheritable() on Illumos.Victor Stinner2014-09-021-14/+34
| | | | | | | | | | | | | | | | | | This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
* | | Issue #22193: Added private function _PySys_GetSizeOf() needed to implementSerhiy Storchaka2014-08-141-32/+40
| | | | | | | | | | | | some __sizeof__() methods.
* | | Issue #22146: Fix typo in __build_class__ error messageZachary Ware2014-08-051-1/+1
| | |
* | | Issue #21925: PyImport_Cleanup(): Remove unused parameter inVictor Stinner2014-07-071-1/+1
| | | | | | | | | | | | PySys_FormatStderr() call
* | | Issue #21891: remove extraneous semicolon.Ned Deily2014-07-011-1/+1
| | |
* | | revert tstate_delete_common, since it's pretty much wrongBenjamin Peterson2014-06-171-8/+1
| | |
* | | remove extra call to tstate_delete_common (merge artifact)Benjamin Peterson2014-06-171-3/+2
| | |
* | | avoid a deadlock with the interpreter head lock and the GIL during finalizationBenjamin Peterson2014-06-171-0/+8
| | |
* | | check if the thread is finalizing after retaking the GILBenjamin Peterson2014-06-171-0/+7
| | |
* | | 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 #21226: fix a ref leak.Eric Snow2014-05-291-0/+1
| | |
* | | Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-2/+6
| | | | | | | | | | | | | | | | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators.
* | | Issue 20620: Update the min()/max() docs for the new default argument.Raymond Hettinger2014-05-191-6/+10
| | | | | | | | | | | | Patch provided by Berker Peksag.
* | | Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.Eric Snow2014-05-122-4268/+4287
| | |
* | | Issue #21425: Fix flushing of standard streams in the interactive interpreter.Antoine Pitrou2014-05-111-1/+2
| | |
* | | Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout ↵Kristján Valur Jónsson2014-05-082-7/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | argument 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
| * | The PyCOND_TIMEDWAIT must use microseconds for the timeout argumentKristján Valur Jónsson2014-05-082-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
| * | Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl2014-03-021-21/+63
| | |
| * | Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-241-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.cBenjamin Peterson2014-02-201-2/+2
| | |
* | | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-3/+10
| | | | | | | | | | | | raises a TypeError.
* | | Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-10/+39
| | | | | | | | | | | | replaced, and open it anew.
* | | correct len signature in docstring (closes #21294)Benjamin Peterson2014-04-181-1/+1
| | |
* | | Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* | | Reverted 16efa8d27e4c after discussion with Eric.Vinay Sajip2014-04-151-7/+0
| | |
* | | Closed issue #8931: Make alternate formatting for 'c' raise an exception. ↵Eric V. Smith2014-04-151-0/+7
| | | | | | | | | | | | Patch by Torsten Landschoff.
* | | Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-11/+8
| | | | | | | | | | | | methods.
* | | fix sending tuples to custom generator objects with yield from (closes #21209)Benjamin Peterson2014-04-141-1/+1
| | | | | | | | | | | | Debugged by Victor.