summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Document absoluteness of sys.executablePetri Lehtinen2012-02-021-1/+1
| | | | Closes #13402.
* Remove debug output, fix assert (hopefully) and exercise signedness issues a ↵Antoine Pitrou2012-01-251-7/+2
| | | | bit more.
* Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)Antoine Pitrou2012-01-251-1/+1
|
* Temporary debug for Windows buildbots.Antoine Pitrou2012-01-251-0/+5
|
* Make guard more dynamic (apparently the size of a filesystem timestamp may ↵Antoine Pitrou2012-01-251-8/+8
| | | | vary under Windows).
* Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-7/+4
| | | | modification time doesn't fit in a 32-bit timestamp.
* add another year to glorious PSF IPBenjamin Peterson2011-12-311-1/+1
|
* Issue #13546: Fixed an overflow issue that could crash the intepreter whenAmaury Forgeot d'Arc2011-12-071-2/+4
| | | | | | calling sys.setrecursionlimit((1<<31)-1). 2.7 only.
* remove py3k warning for callableBenjamin Peterson2011-11-061-3/+0
|
* don't let a tuple msg be interpreted as arguments to AssertionError (closes ↵Benjamin Peterson2011-10-271-4/+2
| | | | #13268)
* Merge.Charles-François Natali2011-10-121-17/+0
|\
| * Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for nativeCharles-François Natali2011-10-121-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).
* | Issue #7732: Fix a crash on importing a module if a directory has the same nameVictor Stinner2011-09-231-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).
* | Fix the import machinery if there is an error on sys.path or sys.meta_pathVictor Stinner2011-09-151-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.
* | Remove unused variable if Python is build without threadsVictor Stinner2011-09-021-0/+2
| |
* | Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.Antoine Pitrou2011-07-241-1/+1
| |
* | allow None identifiersBenjamin Peterson2011-07-221-3/+3
| |
* | verify the types of AST strings and identifiers (closes #12609 and #12610)Benjamin Peterson2011-07-221-4/+21
| |
* | Improve docstring for divmod()Raymond Hettinger2011-07-191-1/+1
| |
* | port 8d05f697acd4 (#11627)Benjamin Peterson2011-07-151-2/+10
| |
* | Close #12501: Adjust callable() warning: callable() is only not supported inVictor Stinner2011-07-081-1/+1
| | | | | | | | Python 3.1. callable() is again supported in Python 3.2.
* | start out this branch always with filename NULLBenjamin Peterson2011-07-041-1/+1
| |
* | plug refleakBenjamin Peterson2011-07-031-0/+1
| |
* | Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-1/+1
| | | | | | | | shutdown, if globals()['__file__'] is None.
* | sys.checkinterval() now refreshes the current countdown ticker.Raymond Hettinger2011-06-011-0/+1
| |
* | Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-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)
* | Port #6498 fix: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl2011-05-151-1/+1
| |
* | Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner2011-05-031-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).
* | Issue #8651: Fix "z#" format of PyArg_Parse*() function: the size was notVictor Stinner2011-05-031-4/+5
|/ | | | written if PY_SSIZE_T_CLEAN is defined.
* Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-0/+17
| | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
* Issue #5057: fix a bug in the peepholer that led to non-portable pyc files ↵Ezio Melotti2011-04-151-0/+18
| | | | between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).
* Issue9670: Back out changeset b0d2b696da19; test fails on other platformsNed Deily2011-04-091-12/+0
| | | | and on OS X with pydebug.
* Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-04-091-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)
* remove this dead subversion codeBenjamin Peterson2011-03-251-62/+5
|
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-163-4/+4
|
* #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-152-2/+2
|
* Port build identification from default branch.Georg Brandl2011-03-061-0/+3
|
* Merged revisions 88430,88438,88440 via svnmerge fromGeorg Brandl2011-02-251-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. ........
* Merged revisions 87796 via svnmerge fromDavid Malcolm2011-01-061-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. ........
* Merged revisions 87607 via svnmerge fromBenjamin Peterson2011-01-011-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 ........
* Merged revisions 87251 via svnmerge fromR. David Murray2010-12-151-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. ........
* remove dictmaker rule; it's unusedBenjamin Peterson2010-12-111-215/+188
|
* Merged revisions 85904 via svnmerge fromBenjamin Peterson2010-10-291-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) ........
* Merged revisions 85814 via svnmerge fromBenjamin Peterson2010-10-241-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 ........
* Merged revisions 85757 via svnmerge fromBenjamin Peterson2010-10-201-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85757 | benjamin.peterson | 2010-10-20 16:25:23 -0500 (Wed, 20 Oct 2010) | 1 line fix uninitialized struct member #10152 ........
* Merged revisions 85562 via svnmerge fromBenjamin Peterson2010-10-161-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85562 | benjamin.peterson | 2010-10-15 22:45:45 -0500 (Fri, 15 Oct 2010) | 1 line don't identify the toplevel namespace by name #9997 ........
* Merged revisions 85236 via svnmerge fromAmaury Forgeot d'Arc2010-10-051-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85236 | amaury.forgeotdarc | 2010-10-06 00:15:37 +0200 (mer., 06 oct. 2010) | 2 lines #9060 Let platforms without dup2() compile the replacement fonction without error. ........
* Rolled back revisions 85003 via svnmerge fromBenjamin Peterson2010-09-251-1/+1
| | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k
* Merged revisions 85003 via svnmerge fromBenjamin Peterson2010-09-251-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85003 | benjamin.peterson | 2010-09-24 22:14:33 -0500 (Fri, 24 Sep 2010) | 1 line don't count keyword arguments as positional #9943 ........
* Merged revisions 84623 via svnmerge fromAntoine Pitrou2010-09-081-8/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84623 | antoine.pitrou | 2010-09-08 14:37:10 +0200 (mer., 08 sept. 2010) | 4 lines Issue #9797: pystate.c wrongly assumed that zero couldn't be a valid thread-local storage key. ........