summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch writtenVictor Stinner2011-05-161-8/+11
|\ | | | | | | by Andreas Stührk.
| * Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner2011-05-161-8/+11
| | | | | | | | Stührk.
* | Merge #6498 fix from 3.1.Georg Brandl2011-05-151-1/+1
|\ \ | |/
| * Closes #6498: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl2011-05-151-1/+1
| |
* | Issue #1856: Avoid crashes and lockups when daemon threads run while theAntoine Pitrou2011-05-043-6/+19
| | | | | | | | | | interpreter is shutting down; instead, these threads are now killed when they try to take the GIL.
* | Issue #10914: Initialize correctly the filesystem codec when creating a newVictor Stinner2011-04-262-8/+16
| | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure.
* | Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)Victor Stinner2011-04-261-1/+1
| | | | | | | | | | ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error.
* | 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.
* | MERGE: Up-port changeset 5cf8f6da8743 (closes #11890)Jesus Cea2011-04-201-56/+4
|\ \ | |/
| * Up-port changeset 5cf8f6da8743 (closes #11890)Jesus Cea2011-04-201-56/+4
| |
* | #5057: Merge with 3.1.Ezio Melotti2011-04-151-0/+18
|\ \ | |/
| * 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. "\U00012345"[0]).
* | merge 3.1Benjamin Peterson2011-04-121-0/+1
|\ \ | |/
| * make assigning to a bytes literal a syntax error (closes #11506)Benjamin Peterson2011-04-121-0/+1
| |
* | Issue9670: Merge backout to 3.2.Ned Deily2011-04-091-12/+0
|\ \ | |/
| * Issue9670: Back out changeset 378b40d71175; test fails on other platformsNed Deily2011-04-091-12/+0
| | | | | | | | and on OS X with pydebug.
* | Issue #9670: merge with 3.2Ned Deily2011-04-091-0/+12
|\ \ | |/
| * 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)
| * Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner2011-03-211-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).
* | Removed 'or long integer' from bin, oct, and hex docstrings.Alexander Belopolsky2011-04-071-3/+3
| |
* | sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was notVictor Stinner2011-03-311-2/+3
| | | | | | | | called yet: detect bootstrap (startup) issues earlier.
* | Issue #11618: Fix the timeout logic in threading.Lock.acquire() underAntoine Pitrou2011-03-301-59/+8
| | | | | | | | Windows.
* | Fix #11586: typo in initfsencoding()Victor Stinner2011-03-201-1/+1
| | | | | | | | Patch written by Ray Allen.
* | #11565: Merge with 3.1.Ezio Melotti2011-03-163-4/+4
|\ \ | |/
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-163-4/+4
| |
* | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
| |
* | #11515: Merge with 3.1.Ezio Melotti2011-03-152-2/+2
|\ \ | |/
| * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
| |
* | Merge build identification to 3.2 branch.Georg Brandl2011-03-061-0/+3
|\ \ | |/
| * Commit the hg build identification patch from the pymigr repo.Georg Brandl2011-03-051-0/+3
| |
| * Merged revisions 88430 via svnmerge fromGeorg Brandl2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://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. ........
| * 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 86545 via svnmerge fromBenjamin Peterson2010-11-201-20/+5
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86545 | benjamin.peterson | 2010-11-19 22:31:07 -0600 (Fri, 19 Nov 2010) | 1 line new plan: functions that want 'tmp' can declare it ........
| * Merged revisions 86540 via svnmerge fromBenjamin Peterson2010-11-201-10/+10
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86540 | benjamin.peterson | 2010-11-19 20:01:45 -0600 (Fri, 19 Nov 2010) | 1 line c89 declarations ........
| * Merged revisions 86538 via svnmerge fromBenjamin Peterson2010-11-201-50/+25
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86538 | benjamin.peterson | 2010-11-19 19:38:49 -0600 (Fri, 19 Nov 2010) | 1 line use %R format code; fixes invalid dereferencing #10391 ........
| * Merged revisions 85980 via svnmerge fromHirokazu Yamamoto2010-10-301-0/+3
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85980 | hirokazu.yamamoto | 2010-10-31 00:08:15 +0900 | 1 line Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah. ........
| * Merged revisions 85817,85904 via svnmerge fromBenjamin Peterson2010-10-291-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85817 | benjamin.peterson | 2010-10-23 22:41:46 -0500 (Sat, 23 Oct 2010) | 1 line tighten loop ........ 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 85896 via svnmerge fromAntoine Pitrou2010-10-281-23/+1
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85896 | antoine.pitrou | 2010-10-29 00:56:58 +0200 (ven., 29 oct. 2010) | 4 lines Issue #5437: A preallocated MemoryError instance should not hold traceback data (including local variables caught in the stack trace) alive infinitely. ........
| * 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 ........
| * Issue #10077: Fix logging of site module errors at startup.Victor Stinner2010-10-231-1/+4
| |
| * 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 ........
| * Recorded merge of revisions 85569-85570 via svnmerge fromVictor Stinner2010-10-195-26/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85569 | victor.stinner | 2010-10-16 15:14:10 +0200 (sam., 16 oct. 2010) | 4 lines Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode. ........ r85570 | victor.stinner | 2010-10-16 15:42:53 +0200 (sam., 16 oct. 2010) | 4 lines Fix ast_error_finish() and err_input(): filename can be NULL Fix my previous commit (r85569). ........
| * 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 85497 via svnmerge fromAntoine Pitrou2010-10-141-0/+6
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85497 | antoine.pitrou | 2010-10-14 23:15:17 +0200 (jeu., 14 oct. 2010) | 3 lines Explicitly close some files (from issue #10093) ........
| * 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. ........
| * Merged revisions 84655 via svnmerge fromAntoine Pitrou2010-09-091-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84655 | antoine.pitrou | 2010-09-09 22:30:23 +0200 (jeu., 09 sept. 2010) | 6 lines Issue #9804: ascii() now always represents unicode surrogate pairs as a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds. ........
| * 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 84214 via svnmerge fromAmaury Forgeot d'Arc2010-08-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ 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. ........
| * Merged revisions 84209 via svnmerge fromAmaury Forgeot d'Arc2010-08-191-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 ........