........
r77983 | benjamin.peterson | 2010-02-04 20:12:14 -0600 (Thu, 04 Feb 2010) | 9 lines
normalize exceptions passed to the __exit__ method #7853
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.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77980 | benjamin.peterson | 2010-02-04 19:53:27 -0600 (Thu, 04 Feb 2010) | 1 line
add a test for #7853; the exception must be normalized for with
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line
Use correct assert* methods in the examples.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines
Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
specified, rather than fall through to AF_PACKET (in the `socket` module).
Also, raise ValueError rather than TypeError when an unknown TIPC address
type is specified. Patch by Brian Curtin.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77956 | brett.cannon | 2010-02-03 14:11:54 -0800 (Wed, 03 Feb 2010) | 1 line
Update a docstring to suggest using importlib.import_module instead of calling __import__ directly.
........
r77957 | brett.cannon | 2010-02-03 14:13:44 -0800 (Wed, 03 Feb 2010) | 1 line
Fix a typo in a docstring introduced in r77956.
........
........
r77944 | eric.smith | 2010-02-03 09:17:50 -0500 (Wed, 03 Feb 2010) | 1 line
Corrected list of attributes exposed by sys.getwindowsversion.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77712 | tarek.ziade | 2010-01-23 11:52:57 -0600 (Sat, 23 Jan 2010) | 1 line
fixed the 64bits tests for get_platform() - mac osx
........
r77740 | benjamin.peterson | 2010-01-24 21:58:21 -0600 (Sun, 24 Jan 2010) | 1 line
compare types with is not ==
........
r77741 | facundo.batista | 2010-01-25 00:15:01 -0600 (Mon, 25 Jan 2010) | 3 lines
Added a note about Event.is_set() syntax being new to 2.6
........
r77756 | tarek.ziade | 2010-01-26 11:20:37 -0600 (Tue, 26 Jan 2010) | 1 line
fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
........
r77886 | benjamin.peterson | 2010-01-31 12:09:34 -0600 (Sun, 31 Jan 2010) | 1 line
move distutils.rst to different toc
........
r77902 | andrew.kuchling | 2010-01-31 20:04:26 -0600 (Sun, 31 Jan 2010) | 1 line
Add various items
........
r77936 | andrew.kuchling | 2010-02-02 20:19:14 -0600 (Tue, 02 Feb 2010) | 1 line
Add various items
........
........
r77575 | ronald.oussoren | 2010-01-17 06:38:11 -0600 (Sun, 17 Jan 2010) | 3 lines
Add text to Mac/README to warn about non-universal libraries when
building a universal Python. Based on issue7679.
........
r77585 | ronald.oussoren | 2010-01-17 10:25:57 -0600 (Sun, 17 Jan 2010) | 12 lines
- Issue #7658: Ensure that the new pythonw executable works on OSX 10.4
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
MacOSX.
- Make configure look for util.h as well as libutil.h. The former
is the header file that on OSX contains the defition of openpty.
(Needed to compile for OSX 10.4 on OSX 10.6)
- Use the correct definition of CC to compile the pythonw executable
........
r77587 | ronald.oussoren | 2010-01-17 13:27:57 -0600 (Sun, 17 Jan 2010) | 8 lines
This patch ensures that the configure-script mentions checking for --enable-universalsdk
and that it doesn't default to the 10.4u SDK when that SDK does not exist.
(This affects OSX)
This patch should fix most of issue 4834, although I haven't gotten enough
information from the user to be sure.
........
r77588 | ronald.oussoren | 2010-01-17 13:32:00 -0600 (Sun, 17 Jan 2010) | 2 lines
Explicitly use /usr/bin/arch on OSX, fixes issue 7715
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77484 | skip.montanaro | 2010-01-13 19:12:34 -0600 (Wed, 13 Jan 2010) | 4 lines
Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done
partially before. Also add a comment describing how this might have to work
with different versions of the interpreter.
........
r77487 | ezio.melotti | 2010-01-14 05:34:10 -0600 (Thu, 14 Jan 2010) | 1 line
Fixed typo
........
r77561 | georg.brandl | 2010-01-17 02:42:30 -0600 (Sun, 17 Jan 2010) | 1 line
#7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such.
........
r77570 | georg.brandl | 2010-01-17 06:14:42 -0600 (Sun, 17 Jan 2010) | 1 line
Add note about usage of STRINGLIB_EMPTY.
........
r77593 | georg.brandl | 2010-01-17 17:33:53 -0600 (Sun, 17 Jan 2010) | 1 line
Fix internal reference.
........
r77603 | benjamin.peterson | 2010-01-18 17:07:56 -0600 (Mon, 18 Jan 2010) | 8 lines
data descriptors do not override the class dictionary if __get__ is not defined
Adjust documentation and add a test to verify this behavior.
See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
discussion.
........
r77608 | gregory.p.smith | 2010-01-19 02:19:03 -0600 (Tue, 19 Jan 2010) | 6 lines
Do not compile stubs for the sha2 series hashes in the openssl hashlib
module when the openssl version is too old to support them. That
leads both compiled code bloat and to unittests attempting to test
implementations that don't exist for comparison purposes on such
platforms.
........
r77667 | mark.dickinson | 2010-01-21 12:32:27 -0600 (Thu, 21 Jan 2010) | 1 line
Add two more test_strtod test values.
........
r77702 | georg.brandl | 2010-01-23 02:43:31 -0600 (Sat, 23 Jan 2010) | 1 line
#7762: fix refcount annotation of PyUnicode_Tailmatch().
........
r77703 | georg.brandl | 2010-01-23 02:47:54 -0600 (Sat, 23 Jan 2010) | 1 line
#7725: fix referencing issue.
........
r77739 | benjamin.peterson | 2010-01-24 21:52:52 -0600 (Sun, 24 Jan 2010) | 1 line
mention from_float() in error message
........
r77858 | georg.brandl | 2010-01-30 11:57:48 -0600 (Sat, 30 Jan 2010) | 1 line
#7802: fix invalid example (heh).
........
r77887 | georg.brandl | 2010-01-31 12:51:49 -0600 (Sun, 31 Jan 2010) | 5 lines
Fix-up ftplib documentation:
move exception descriptions to toplevel, not inside a class
remove attribution in "versionadded"
spell and grammar check docstring of FTP_TLS
........
r77889 | michael.foord | 2010-01-31 13:59:26 -0600 (Sun, 31 Jan 2010) | 1 line
Minor modification to unittest documentation.
........
........
r77401 | brett.cannon | 2010-01-09 20:48:50 -0600 (Sat, 09 Jan 2010) | 3 lines
Update the version # of Python-ast.c based on the backport of set literals from
r77400.
........
r77420 | benjamin.peterson | 2010-01-10 14:42:03 -0600 (Sun, 10 Jan 2010) | 1 line
fix test_popen when the path to python has spaces #7671
........
r77423 | alexandre.vassalotti | 2010-01-11 16:46:43 -0600 (Mon, 11 Jan 2010) | 2 lines
Update version information for AST changes in r77422.
........
r77426 | alexandre.vassalotti | 2010-01-11 17:13:49 -0600 (Mon, 11 Jan 2010) | 2 lines
Add missing NEWS entry for r77422.
........
r77486 | benjamin.peterson | 2010-01-13 20:40:10 -0600 (Wed, 13 Jan 2010) | 1 line
use more robust quoting
........
r77511 | benjamin.peterson | 2010-01-14 20:26:07 -0600 (Thu, 14 Jan 2010) | 1 line
try to fix for windows
........
r77513 | vinay.sajip | 2010-01-15 17:27:05 -0600 (Fri, 15 Jan 2010) | 1 line
Fixed issue-number mistake in NEWS update.
........
r77515 | sean.reifschneider | 2010-01-15 22:27:58 -0600 (Fri, 15 Jan 2010) | 1 line
issue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.
........
r77544 | ezio.melotti | 2010-01-16 12:38:01 -0600 (Sat, 16 Jan 2010) | 1 line
typo: use one instead instead of two
........
r77733 | ezio.melotti | 2010-01-24 15:47:59 -0600 (Sun, 24 Jan 2010) | 1 line
#7269: fix failures in test_bsddb3. Patch by Florent Xicluna.
........
r77755 | ezio.melotti | 2010-01-26 09:57:21 -0600 (Tue, 26 Jan 2010) | 1 line
#7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd.
........
r77841 | ezio.melotti | 2010-01-30 01:22:54 -0600 (Sat, 30 Jan 2010) | 1 line
#7092: silence py3k warnings for deprecated modules
........
r77871 | ezio.melotti | 2010-01-31 05:46:54 -0600 (Sun, 31 Jan 2010) | 1 line
#7092: silence more -3 and -Wd warnings
........
r77885 | benjamin.peterson | 2010-01-31 12:02:35 -0600 (Sun, 31 Jan 2010) | 1 line
fix windows buildbot
........
r77910 | ezio.melotti | 2010-02-02 02:37:35 -0600 (Tue, 02 Feb 2010) | 1 line
#7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.
........
r77911 | ezio.melotti | 2010-02-02 09:12:42 -0600 (Tue, 02 Feb 2010) | 1 line
Silence a couple of -3 warnings
........
r77912 | ezio.melotti | 2010-02-02 09:57:45 -0600 (Tue, 02 Feb 2010) | 1 line
Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.
........
r77913 | ezio.melotti | 2010-02-02 11:34:37 -0600 (Tue, 02 Feb 2010) | 1 line
#7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by Florent Xicluna.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77866 | benjamin.peterson | 2010-01-30 17:26:05 -0600 (Sat, 30 Jan 2010) | 1 line
move test outside WITH_THREAD section
........
r77867 | benjamin.peterson | 2010-01-30 17:28:38 -0600 (Sat, 30 Jan 2010) | 1 line
be robust against test being run over and over (such as -R)
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77930 | tarek.ziade | 2010-02-03 00:39:40 +0100 (Wed, 03 Feb 2010) | 1 line
added a note in the whatsnew file for sysconfig
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77914 | tarek.ziade | 2010-02-02 23:27:58 +0100 (Tue, 02 Feb 2010) | 1 line
first version of the sysconfig module documentation
........
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77898 | martin.v.loewis | 2010-02-01 02:15:39 +0100 (Mo, 01 Feb 2010) | 17 lines
Merged revisions 77855-77856,77870 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line
don't return node if it is not changed
........
r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line
return None to indicate no change
........
r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line
never return the original node given to transform()
........
................
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines
- Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
........
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines
see http://bugs.python.org/issue1006238 this merges in the following
patch to make cross compilation of the chflags check easier:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
................
r77704 | tarek.ziade | 2010-01-23 03:23:15 -0600 (Sat, 23 Jan 2010) | 1 line
taking sysconfig out of distutils
................
r77752 | tarek.ziade | 2010-01-25 17:19:56 -0600 (Mon, 25 Jan 2010) | 1 line
switched the call order so this call works without suffering from issue #7774
................
r77759 | tarek.ziade | 2010-01-26 15:21:54 -0600 (Tue, 26 Jan 2010) | 1 line
reintroduced the names in Distutils for APIs that were relocated
................
r77761 | tarek.ziade | 2010-01-26 16:46:15 -0600 (Tue, 26 Jan 2010) | 1 line
added local get_platform/set_platform APIs in distutils.sysconfig
................
r77815 | r.david.murray | 2010-01-28 15:16:33 -0600 (Thu, 28 Jan 2010) | 3 lines
Change error report when the object passed to suite.addTest is not
callable to include the repr of the invalid object.
................
r77821 | mark.dickinson | 2010-01-29 11:11:39 -0600 (Fri, 29 Jan 2010) | 3 lines
Issue #7788: Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
................
r77828 | r.david.murray | 2010-01-29 13:35:39 -0600 (Fri, 29 Jan 2010) | 2 lines
Fix typo in assertSequenceEqual docstring.
................
r77834 | martin.v.loewis | 2010-01-29 18:15:44 -0600 (Fri, 29 Jan 2010) | 2 lines
Add Victor Stinner.
................
r77842 | mark.dickinson | 2010-01-30 04:08:33 -0600 (Sat, 30 Jan 2010) | 4 lines
Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
long long variant of PyLong_AsLongAndOverflow. Patch by Case Van
Horsen.
................
r77846 | martin.v.loewis | 2010-01-30 04:56:23 -0600 (Sat, 30 Jan 2010) | 13 lines
Merged revisions 77419,77435 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line
enclose path in quotes to handle paths with spaces correctly #7666
........
r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines
Issue #1967: Add fixer for dictionary views.
........
................
r77850 | ezio.melotti | 2010-01-30 07:08:54 -0600 (Sat, 30 Jan 2010) | 1 line
Relocate a couple of stars and remove redundant backticks
................
r77851 | ezio.melotti | 2010-01-30 07:27:05 -0600 (Sat, 30 Jan 2010) | 1 line
Use the correct markup for args
................
r77875 | matthias.klose | 2010-01-31 10:05:13 -0600 (Sun, 31 Jan 2010) | 3 lines
- Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
................
r77879 | matthias.klose | 2010-01-31 10:46:26 -0600 (Sun, 31 Jan 2010) | 2 lines
- Fix typo in os.execvp docstring.
................
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77850 | ezio.melotti | 2010-01-30 15:08:54 +0200 (Sat, 30 Jan 2010) | 1 line
Relocate a couple of stars and remove redundant backticks
........
r77851 | ezio.melotti | 2010-01-30 15:27:05 +0200 (Sat, 30 Jan 2010) | 1 line
Use the correct markup for args
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77842 | mark.dickinson | 2010-01-30 10:08:33 +0000 (Sat, 30 Jan 2010) | 4 lines
Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
long long variant of PyLong_AsLongAndOverflow. Patch by Case Van
Horsen.
........
........
r77836 | victor.stinner | 2010-01-30 03:00:26 +0100 (sam., 30 janv. 2010) | 2 lines
#7801: fix xmlrpclib binary example, open the picture in binary mode
........
I wrote a different patch for the py3k (r77838).
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77815 | r.david.murray | 2010-01-28 16:16:33 -0500 (Thu, 28 Jan 2010) | 3 lines
Change error report when the object passed to suite.addTest is not
callable to include the repr of the invalid object.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines
Issue #7788: Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line
reintroduced the names in Distutils for APIs that were relocated
........
r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line
added local get_platform/set_platform APIs in distutils.sysconfig
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line
taking sysconfig out of distutils
........
r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line
switched the call order so this call works without suffering from issue #7774
........
........
r77811 | benjamin.peterson | 2010-01-27 20:15:02 -0600 (Wed, 27 Jan 2010) | 1 line
an -> a
........
r77812 | benjamin.peterson | 2010-01-27 20:18:25 -0600 (Wed, 27 Jan 2010) | 1 line
avoid a py3k warning from __hash__
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77809 | ezio.melotti | 2010-01-28 03:41:30 +0200 (Thu, 28 Jan 2010) | 1 line
avoid to use zlib when the compress type is not ZIP_DEFLATED
........