summaryrefslogtreecommitdiff
path: root/Python
AgeCommit message (Collapse)AuthorLines
2012-02-21Fix crash at startup with -W options.Antoine Pitrou-2/+9
2012-02-21merge 2.6Benjamin Peterson-4/+8
2012-02-21ensure no one tries to hash things before the random seed is foundBenjamin Peterson-4/+8
2012-02-20merge 2.6 with hash randomization fixBenjamin Peterson-2/+314
2012-02-20- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEEDBarry Warsaw-2/+314
environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner.
2012-02-02Document absoluteness of sys.executablePetri Lehtinen-1/+1
Closes #13402.
2012-01-25Remove debug output, fix assert (hopefully) and exercise signedness issues a ↵Antoine Pitrou-7/+2
bit more.
2012-01-25Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)Antoine Pitrou-1/+1
2012-01-25Temporary debug for Windows buildbots.Antoine Pitrou-0/+5
2012-01-25Make guard more dynamic (apparently the size of a filesystem timestamp may ↵Antoine Pitrou-8/+8
vary under Windows).
2012-01-24Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou-7/+4
modification time doesn't fit in a 32-bit timestamp.
2011-12-31add another year to glorious PSF IPBenjamin Peterson-1/+1
2011-12-07Issue #13546: Fixed an overflow issue that could crash the intepreter whenAmaury Forgeot d'Arc-2/+4
calling sys.setrecursionlimit((1<<31)-1). 2.7 only.
2011-11-06remove py3k warning for callableBenjamin Peterson-3/+0
2011-10-27don't let a tuple msg be interpreted as arguments to AssertionError (closes ↵Benjamin Peterson-4/+2
#13268)
2011-10-12Merge.Charles-François Natali-17/+0
2011-10-12Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for nativeCharles-François Natali-17/+0
TLS implementations, and fails with the ad-hoc TLS implementation when a thread doesn't have an auto thread state (e.g. a thread created outside of Python calling into a subinterpreter).
2011-09-23Issue #7732: Fix a crash on importing a module if a directory has the same nameVictor Stinner-3/+1
than a Python module (e.g. "__init__.py"): don't close the file twice. PyFile_FromFile() does also close the file if PyString_FromString() failed. It did already close the file on fill_file_fields() error (e.g. if the file is a directory).
2011-09-15Fix the import machinery if there is an error on sys.path or sys.meta_pathVictor Stinner-4/+4
find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred.
2011-09-02Remove unused variable if Python is build without threadsVictor Stinner-0/+2
2011-07-24Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.Antoine Pitrou-1/+1
2011-07-22allow None identifiersBenjamin Peterson-3/+3
2011-07-22verify the types of AST strings and identifiers (closes #12609 and #12610)Benjamin Peterson-4/+21
2011-07-19Improve docstring for divmod()Raymond Hettinger-1/+1
2011-07-15port 8d05f697acd4 (#11627)Benjamin Peterson-2/+10
2011-07-08Close #12501: Adjust callable() warning: callable() is only not supported inVictor Stinner-1/+1
Python 3.1. callable() is again supported in Python 3.2.
2011-07-04start out this branch always with filename NULLBenjamin Peterson-1/+1
2011-07-03plug refleakBenjamin Peterson-0/+1
2011-07-04Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner-1/+1
shutdown, if globals()['__file__'] is None.
2011-06-01sys.checkinterval() now refreshes the current countdown ticker.Raymond Hettinger-0/+1
2011-05-28Issue #9670: Increase the default stack size for secondary threads onNed Deily-0/+12
Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
2011-05-23Replay changeset 70238:03e488b5c009 from fubar branch. Original commitBarry Warsaw-3/+3
message: Reconcile with the 2.6svn branch. The 2.6.7 release will be made from Subversion, but there were differences, so this brings them in sync. These changes should *not* propagate to any newer versions.
2011-05-15Port #6498 fix: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl-1/+1
2011-05-03Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner-1/+11
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1 bytes).
2011-05-03Issue #8651: Fix "z#" format of PyArg_Parse*() function: the size was notVictor Stinner-4/+5
written if PY_SSIZE_T_CLEAN is defined.
2011-04-27Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou-0/+17
APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
2011-04-15Issue #5057: fix a bug in the peepholer that led to non-portable pyc files ↵Ezio Melotti-0/+18
between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).
2011-04-09Issue9670: Back out changeset b0d2b696da19; test fails on other platformsNed Deily-12/+0
and on OS X with pydebug.
2011-04-09Issue #9670: Increase the default stack size for secondary threads onNed Deily-0/+12
Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (Patch by Ronald Oussoren)
2011-03-25remove this dead subversion codeBenjamin Peterson-62/+5
2011-03-16#11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-4/+4
2011-03-15#11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-2/+2
2011-03-06Port build identification from default branch.Georg Brandl-0/+3
2011-02-25Merged revisions 88430,88438,88440 via svnmerge fromGeorg Brandl-1/+1
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line #730467: Another small AIX fix. ........ r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line #10709: add back an updated AIX-NOTES (as README.AIX). ........ r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line #11184: Fix large file support on AIX. ........
2011-01-06Merged revisions 87796 via svnmerge fromDavid Malcolm-4/+5
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87796 | david.malcolm | 2011-01-06 12:01:36 -0500 (Thu, 06 Jan 2011) | 6 lines Issue #10655: Fix the build on PowerPC on Linux with GCC when building with timestamp profiling (--with-tsc): the preprocessor test for the PowerPC support now looks for "__powerpc__" as well as "__ppc__": the latter seems to only be present on OS X; the former is the correct one for Linux with GCC. ........
2011-01-01Merged revisions 87607 via svnmerge fromBenjamin Peterson-1/+1
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87607 | benjamin.peterson | 2011-01-01 08:28:31 -0600 (Sat, 01 Jan 2011) | 1 line update copyright to 2011 ........
2010-12-15Merged revisions 87251 via svnmerge fromR. David Murray-2/+3
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines #4236: avoid possible Fatal Error when import is called from __del__ Patch by Simon Cross, crasher test code by Martin von Löwis. ........
2010-12-11remove dictmaker rule; it's unusedBenjamin Peterson-213/+186
2010-10-29Merged revisions 85904 via svnmerge fromBenjamin Peterson-0/+2
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85904 | benjamin.peterson | 2010-10-28 22:28:14 -0500 (Thu, 28 Oct 2010) | 1 line decrement offset when it points to a newline (#10186 followup) ........
2010-10-24Merged revisions 85814 via svnmerge fromBenjamin Peterson-2/+0
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85814 | benjamin.peterson | 2010-10-23 21:52:05 -0500 (Sat, 23 Oct 2010) | 1 line remove broken code accounting an offset the size of the line #10186 ........