| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
........
|
| |
|
| |
|
|
|
|
| |
Of course, whoever used the wrong indentation rules needs to be spanked.
|
| |
|
| |
|
| |
|
|
|
|
| |
error handler, instead of writing to the C stderr file in utf-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>`_.
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
Regenerate (reindent) Python/graminit.c
|
| |
|
| |
|
|
|
|
| |
future.
|
|
|
|
| |
Found using Clang's static analyzer.
|
|
|
|
| |
Found using Clang's static analyzer.
|
|
|
|
| |
Found using Clang's static analyzer.
|
|
|
|
| |
Found using Clang's static analyzer.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Found using Clang's static analyzer.
|
|
|
|
| |
Found using Clang's static analyzer.
|
| |
|
| |
|
|
|
|
| |
Found using Clang's static analyzer.
|
| |
|
|
|
|
|
|
|
|
|
| |
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method. Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.
Patch by Alexander Belopolsky (with minor modifications).
|
|
|
|
|
|
|
| |
by default as well. This change fixes that by treating -Q like -3 when it comes
to DeprecationWarning; using it causes the silencing to not occur.
Fixes issue #7319.
|
|
|
|
|
|
| |
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback. Patch by
Charles-François Natali.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Spotted by the PyPy developers.
Original commit is:
branch: trunk
user: guido
date: Mon Aug 19 21:32:04 1996 +0200
files: Python/getargs.c
description:
[svn r6499] Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by
Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me).
Also a little change to make the file acceptable to K&R C compilers
(HPUX, SunOS 4.x).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
function declaration, which was kept for backwards compatibility reasons,
is now removed (the macro was introduced in 1997!).
|
| |
|
|
|
|
| |
CObject to PyCapsule.
|
| |
|
|
|
|
| |
Note this removes the "non-keyword" or "keyword" phrases from these messages.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
|
| |
|
|
|
|
| |
fatal error in low memory condition.
|
| |
|
|
|
|
|
| |
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
In Python 2.x, exceptions in finally blocks are not normalized. Since with
statements are implemented using finally blocks, ceval.c had to be tweaked to
distinguish between with finally blocks and normal ones.
A test for the finalization of generators containing with statements was also
added.
|