summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Merged revisions 74046 via svnmerge fromHirokazu Yamamoto2009-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r74046 | hirokazu.yamamoto | 2009-07-17 15:55:42 +0900 | 13 lines Merged revisions 74040,74042 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line Issue #6415: Fixed warnings.warn sagfault on bad formatted string. ........ r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line NEWS about r74040. ........ ................
| | * unfortunately we can't kill compiler_new_tmpname hereBenjamin Peterson2009-06-281-0/+10
| | |
| | * Merged revisions 73623-73624 via svnmerge fromBenjamin Peterson2009-06-281-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r73623 | benjamin.peterson | 2009-06-28 12:22:03 -0500 (Sun, 28 Jun 2009) | 58 lines Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without. There's still a batch of non-prototype warnings in Xlib.h that I don't know how to fix. ........ r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line don't mask encoding errors when decoding a string #6289 ........ r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line Issue #6314: logging.basicConfig() performs extra checks on the "level" argument. ........ r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines #4490 Fix sample code run by "python -m xml.sax.xmlreader" ........ r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines Fix issue 5230 by having pydoc's safeimport check to see if the import error was thrown from itself in order to decide if the module can't be found. Thanks to Lucas Prado Melo for collaborating on the fix and tests. ........ r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines #2016 Fix a crash in function call when the **kwargs dictionary is mutated during the function call setup. This even gives a slight speedup, probably because tuple allocation is faster than PyMem_NEW. ........ r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line document is_declared_global() ........ r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line link to extensive generator docs in the reference manual ........ r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line stmt and setup can contain multiple statements, see #5896 ........ r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line Fixed a wrong apostrophe ........ r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line Remove stray pychecker directive. ........ ................ r73624 | benjamin.peterson | 2009-06-28 12:32:20 -0500 (Sun, 28 Jun 2009) | 1 line document BufferedIOBase.raw and TextIOBase.buffer ................
| * | 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'). ........
* | | Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject()Victor Stinner2011-03-041-21/+66
| | |
* | | Remove useless argument of _PyUnicode_AsDefaultEncodedString()Victor Stinner2011-03-023-3/+3
| | |
* | | Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-232-5/+19
| | | | | | | | | | | | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
* | | dynload_dl.c: replace tabs by spacesVictor Stinner2011-02-231-7/+7
| | |
* | | Issue #3080: Mark _PyImport_FindBuiltin() argument as constantVictor Stinner2011-02-231-2/+2
| | | | | | | | | | | | | | | | | | And as a consequence, mark also name argument of _PyImport_FindExtensionUnicode() constant too. But I plan to change this argument type to PyObject* later.
* | | Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()Victor Stinner2011-02-228-11/+10
| | | | | | | | | | | | The first argument, fqname, was not used.
* | | Issue #3080: Mark PyWin_FindRegisteredModule() as privateVictor Stinner2011-02-221-3/+3
| | | | | | | | | | | | | | | This function was not declared in Python public API (in any .h file) and not documented. Mark it as private to prepare a change of its API.
* | | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-227-15/+9
| | |
* | | Remove filename variable from ceval.cVictor Stinner2011-02-211-16/+0
|/ / | | | | | | | | | | | | Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx(). It encoded the Unicode filename to UTF-8, but the encoding fails on undecodable filename (on surrogate characters) which raises an unexpected UnicodeEncodeError on recursion limit.
* | #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.
* | PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() failsVictor Stinner2010-11-081-6/+14
| | | | | | | | | | | | * Add error_pos optional argument to _Py_wchar2char() * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if _Py_wchar2char() fails
* | Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah.Hirokazu Yamamoto2010-10-301-0/+3
| |
* | decrement offset when it points to a newline (#10186 followup)Benjamin Peterson2010-10-291-1/+3
| |
* | Issue #5437: A preallocated MemoryError instance should not hold tracebackAntoine Pitrou2010-10-281-23/+1
| | | | | | | | data (including local variables caught in the stack trace) alive infinitely.
* | sys_update_path(): update sys.path even if argc==0Victor Stinner2010-10-251-2/+0
| |
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵Georg Brandl2010-10-242-5/+23
| | | | | | | | | | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
* | tighten loopBenjamin Peterson2010-10-241-4/+1
| |