summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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-272-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-271-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-2047-3732/+4747
|\ \ | |/ |/|
| * #5057: Merge with 3.1.Ezio Melotti2011-04-151-0/+18
| |\
| * \ merge 3.1Benjamin Peterson2011-04-121-0/+1
| |\ \
| * \ \ Issue9670: Merge backout to 3.2.Ned Deily2011-04-0947-3732/+4747
| |\ \ \
| | * \ \ Issue #9670: merge with 3.2Ned Deily2011-04-091-0/+12
| | |\ \ \
| | * | | | 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-311-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-1647-3671/+4746
| | |\ \ \ \
| | | * | | | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
| | | | | | |
| | | * | | | #11515: Merge with 3.1.Ezio Melotti2011-03-152-2/+2
| | | |\ \ \ \
| | | * \ \ \ \ Merge build identification to 3.2 branch.Georg Brandl2011-03-0647-3670/+4744
| | | |\ \ \ \ \
| | | | * | | | | Merged revisions 88530 via svnmerge fromVictor Stinner2011-02-232-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88530 | victor.stinner | 2011-02-23 13:07:37 +0100 (mer., 23 févr. 2011) | 4 lines Issue #11272: Fix input() and sys.stdin for Windows newline On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n'). ........
| | | | * | | | | #730467: Another small AIX fix.Georg Brandl2011-02-151-1/+1
| | | | | | | | |
| | | | * | | | | Fix the GIL with subinterpreters. Hopefully this will allow mod_wsgi to work ↵Antoine Pitrou2011-01-151-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with 3.2. (we need some tests for this)
| | | | * | | | | Issue #10655: Fix the build on PowerPC on Linux with GCC when building withDavid Malcolm2011-01-061-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | * | | | | Fix count of flag fields. Being one short caused the 'quiet' option not to ↵Raymond Hettinger2011-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | print.
| | | | * | | | | Issue #9566: use Py_ssize_t instead of intVictor Stinner2011-01-041-1/+2
| | | | | | | | |
| | | | * | | | | Issue #8992: convertsimple() doesn't need to fill msgbuf if an error occurredVictor Stinner2011-01-041-38/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return msgbug on error is enough.
| | | | * | | | | Issue #8992: Simplify addcleanup() APIVictor Stinner2011-01-041-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't need to handle unknown destructor anymore.
| | | | * | | | | Issue #8651: PyArg_Parse*() functions raise an OverflowError if the fileVictor Stinner2011-01-041-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).
| | | | * | | | | update copyright to 2011Benjamin Peterson2011-01-011-1/+1
| | | | | | | | |
| | | | * | | | | Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵Georg Brandl2010-12-282-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eric in #1772833.
| | | | * | | | | Issue #10780: PyErr_SetFromWindowsErrWithFilename() andVictor Stinner2010-12-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the filesystem encoding instead of UTF-8.
| | | | * | | | | Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystemVictor Stinner2010-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encoding instead of UTF-8.
| | | | * | | | | Issue #8844: Regular and recursive lock acquisitions can now be interruptedAntoine Pitrou2010-12-152-50/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by signals on platforms using pthreads. Patch by Reid Kleckner.
| | | | * | | | | Issue #10601: sys.displayhook uses 'backslashreplace' error handler onVictor Stinner2010-12-041-2/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnicodeEncodeError.
| | | | * | | | | Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-043-20/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and provide an interface to it in py_compile, compileall and PyZipFile.
| | | | * | | | | Merge branches/pep-0384.Martin v. Löwis2010-12-036-9/+32
| | | | | | | | |
| | | | * | | | | import: use PyUnicode_FSConverter to support bytes path and PEP 383Victor Stinner2010-12-031-28/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (instead of PyArg_Parse*() with "es" format and Py_FileSystemDefaultEncoding)
| | | | * | | | | Issue #9573: os.fork now works when triggered as a side effect of import ↵Nick Coghlan2010-12-021-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (the wisdom of actually relying on this remains questionable!)
| | | | * | | | | Remove redundant includes of headers that are already included by Python.h.Georg Brandl2010-11-3011-19/+0
| | | | | | | | |
| | | | * | | | | Include structseq.h in Python.h, and remove now-redundant includes in ↵Georg Brandl2010-11-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | individual sources.
| | | | * | | | | Issue #10518: Bring back the callable() builtin.Antoine Pitrou2010-11-271-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by Guido (BDFL) and Georg (RM).
| | | | * | | | | fix refleakBenjamin Peterson2010-11-211-0/+5
| | | | | | | | |
| | | | * | | | | Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by NeilAntoine Pitrou2010-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Schemenauer.
| | | | * | | | | new plan: functions that want 'tmp' can declare itBenjamin Peterson2010-11-201-20/+5
| | | | | | | | |
| | | | * | | | | c89 declarationsBenjamin Peterson2010-11-201-10/+10
| | | | | | | | |
| | | | * | | | | use %R format code; fixes invalid dereferencing #10391Benjamin Peterson2010-11-201-50/+25
| | | | | | | | |
| | | | * | | | | handle dict subclasses gracefully in PyArg_ValidateKeywordArgumentsBenjamin Peterson2010-11-171-1/+1
| | | | | | | | |
| | | | * | | | | Issue #10372: Import the warnings module only after the IO library isAntoine Pitrou2010-11-101-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialized, so as to avoid bootstrap issues with the '-W' option.
| | | | * | | | | Issue #10359: Remove ";" after function definition, invalid in ISO CVictor Stinner2010-11-091-1/+1
| | | | | | | | |
| | | | * | | | | _Py_char2wchar() frees the memory on conversion errorVictor Stinner2010-11-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explain in the documentation that conversion errors should never happen.