summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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. ........
* Merged revisions 84209, 84214 via svnmerge fromAmaury Forgeot d'Arc2010-08-191-26/+20
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84209 | amaury.forgeotdarc | 2010-08-19 19:43:15 +0200 (jeu., 19 août 2010) | 5 lines Check the return values for all functions returning an ast node. Failure to do it may result in strange error messages or even crashes, in admittedly convoluted cases that are normally syntax errors, like: def f(*xx, __debug__): pass ........ r84214 | amaury.forgeotdarc | 2010-08-19 23:32:38 +0200 (jeu., 19 août 2010) | 3 lines Add tests for r84209 (crashes in the Ast builder) Also remove one tab, and move a check closer to the possible failure. ........
* sys.stderr and sys.excepthook can be None at interpreter shutdown,Antoine Pitrou2010-08-081-2/+2
| | | | | in which case display the appropriate error message. (part of #5319)
* Merged revisions 83352,83356-83358,83362,83366,83368-83369 via svnmerge fromGeorg Brandl2010-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83352 | georg.brandl | 2010-07-31 20:11:07 +0200 (Sa, 31 Jul 2010) | 1 line #9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags. ........ r83356 | georg.brandl | 2010-07-31 21:29:15 +0200 (Sa, 31 Jul 2010) | 1 line Remove trailing whitespace. ........ r83357 | georg.brandl | 2010-07-31 21:59:55 +0200 (Sa, 31 Jul 2010) | 1 line #5778: document that sys.version can contain a newline. ........ r83358 | georg.brandl | 2010-07-31 22:05:31 +0200 (Sa, 31 Jul 2010) | 1 line #9442: do not document a specific format for sys.version; rather refer to version_info and the platform module. ........ r83362 | georg.brandl | 2010-07-31 23:12:15 +0200 (Sa, 31 Jul 2010) | 1 line #8910: add a file explaining why Lib/test/data is there. ........ r83366 | georg.brandl | 2010-07-31 23:26:40 +0200 (Sa, 31 Jul 2010) | 1 line There always is a False and True now. ........ r83368 | georg.brandl | 2010-07-31 23:40:15 +0200 (Sa, 31 Jul 2010) | 1 line #7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them. See http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx for details. ........ r83369 | georg.brandl | 2010-07-31 23:41:42 +0200 (Sa, 31 Jul 2010) | 1 line Fix "Berkeley" name. ........
* prevent assignment to set literalsBenjamin Peterson2010-06-241-0/+1
|
* Issue #8930: Remaining indentation fixes after the Grand Unified Indenting.Stefan Krah2010-06-231-57/+57
|
* Fix misindents in compile.c (for Benjamin).Antoine Pitrou2010-06-221-11/+11
| | | | Of course, whoever used the wrong indentation rules needs to be spanked.
* bump revisionBenjamin Peterson2010-06-221-2/+2
|
* different spellings are just unacceptableBenjamin Peterson2010-06-111-1/+1
|
* fix code formattingBenjamin Peterson2010-06-091-2/+3
|
* Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding andVictor Stinner2010-05-251-1/+7
| | | | error handler, instead of writing to the C stderr file in utf-8
* Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allowsAntoine Pitrou2010-05-211-2/+8
| | | | | | embedders of the interpreter to set sys.argv without also modifying sys.path. This helps fix `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
* Turned out that if you used explicit relative import syntaxBrett Cannon2010-05-201-1/+2
| | | | | | | | | (e.g. from .os import sep) and it failed, import would still try the implicit relative import semantics of an absolute import (from os import sep). That's not right, so when level is negative, only do explicit relative import semantics. Fixes issue #7902. Thanks to Meador Inge for the patch.
* Use 4-spaces for indentation (instead of tabs) in pgen outputsVictor Stinner2010-05-151-1287/+1287
| | | | Regenerate (reindent) Python/graminit.c
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-0954-25074/+25074
|
* Skip signal handler re-installation if it is not necessary. Issue 8354.Jean-Paul Calderone2010-05-081-0/+4
|
* Revert a change where an expression is not needed now, but could be in the ↵Brett Cannon2010-05-051-0/+1
| | | | future.
* Remove an unneeded variable assignment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Explicitly add stdio.h and string.h to make strtod.c work standalone.Brett Cannon2010-05-051-6/+9
| | | | Found using Clang's static analyzer.
* Change to a Py_XDECREF and fix some whitespace.Brett Cannon2010-05-051-8/+8
| | | | Found using Clang's static analyzer.
* Remove an unnecessary variable assignment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Remove two unneeded branches to an 'if' statement by applying De Morgan's LawBrett Cannon2010-05-051-73/+68
| | | | | | | | | and creating a single 'if' statement along with a NULL default value for a variable. Also clean up a bunch of whitespace. Found using Clang's static analyzer.
* Remove an unneeded variable increment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable and fix a little whitespace.Brett Cannon2010-05-051-3/+2
| | | | Found using Clang's static analyzer.
* Fix whitespace.Brett Cannon2010-05-051-8/+8
|
* Partially revert the over-reaching r80813.Brett Cannon2010-05-054-78/+85
|
* Remove three unneeded variable assignments.Brett Cannon2010-05-055-89/+79
| | | | Found using Clang's static analyzer.