]>
granicus.if.org Git - python/log
Antoine Pitrou [Sun, 3 Jan 2010 22:37:40 +0000 (22:37 +0000)]
Merged revisions 77288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77288 | antoine.pitrou | 2010-01-03 23:29:56 +0100 (dim., 03 janv. 2010) | 5 lines
Issue #7471: Improve the performance of GzipFile's buffering mechanism,
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides.
........
Gregory P. Smith [Sun, 3 Jan 2010 15:09:32 +0000 (15:09 +0000)]
Merged revisions 77286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77286 | gregory.p.smith | 2010-01-03 07:05:52 -0800 (Sun, 03 Jan 2010) | 2 lines
Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
........
Gregory P. Smith [Sun, 3 Jan 2010 14:57:46 +0000 (14:57 +0000)]
Blocked revisions 77284 via svnmerge
........
r77284 | gregory.p.smith | 2010-01-03 06:56:28 -0800 (Sun, 03 Jan 2010) | 2 lines
remove an obsolete file that should've gone with r77252
........
Gregory P. Smith [Sun, 3 Jan 2010 14:51:13 +0000 (14:51 +0000)]
add missing hashlib.h deps.
Georg Brandl [Sun, 3 Jan 2010 14:30:52 +0000 (14:30 +0000)]
Merged revisions 77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77266 | kurt.kaiser | 2010-01-03 09:36:45 +0100 (So, 03 Jan 2010) | 6 lines
r77152 to Doc/Makefile broke doc build due to (at least some) make
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.
........
r77279 | georg.brandl | 2010-01-03 14:05:39 +0100 (So, 03 Jan 2010) | 1 line
Update doc build step.
........
Mark Dickinson [Sun, 3 Jan 2010 12:16:06 +0000 (12:16 +0000)]
Merged revisions 77275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line
Make use of PyLong_AsLongAndOverflow in math_ldexp.
........
Ezio Melotti [Sun, 3 Jan 2010 09:11:59 +0000 (09:11 +0000)]
Merged revisions 77271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77271 | ezio.melotti | 2010-01-03 11:09:55 +0200 (Sun, 03 Jan 2010) | 1 line
:stmt: -> :keyword:
........
Ezio Melotti [Sun, 3 Jan 2010 09:06:02 +0000 (09:06 +0000)]
Merged revisions 77267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line
#7618: fix highlight of code blocks
........
Gregory P. Smith [Sun, 3 Jan 2010 03:28:29 +0000 (03:28 +0000)]
Merged revisions 77263-77264 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77263 | gregory.p.smith | 2010-01-02 17:29:44 -0800 (Sat, 02 Jan 2010) | 4 lines
Adds an optional source_address parameter to socket.create_connection().
For use by issue3972.
........
r77264 | gregory.p.smith | 2010-01-02 18:06:07 -0800 (Sat, 02 Jan 2010) | 5 lines
issue3972: HTTPConnection and HTTPSConnection now support a
source_address parameter.
Also cleans up an annotation in the socket documentation.
........
Gregory P. Smith [Sun, 3 Jan 2010 00:44:10 +0000 (00:44 +0000)]
small logic cleanup, avoid duplicate openssl_ver check.
Gregory P. Smith [Sun, 3 Jan 2010 00:38:10 +0000 (00:38 +0000)]
Also fixes test_hashlib for the different extension module names in py3k.
Merged revisions 77251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77251 | gregory.p.smith | 2010-01-02 14:25:29 -0800 (Sat, 02 Jan 2010) | 6 lines
Always compile the all versions of the hashlib algorithm modules when Python
was compiled with Py_DEBUG defined. Otherwise the builtins are not compiled by
default for many developers due to OpenSSL being present, making it easier for
bugs to slip by. A future commit will add test code compare the behaviors of
all implementations when they are all available.
........
Gregory P. Smith [Sun, 3 Jan 2010 00:29:15 +0000 (00:29 +0000)]
Merged revisions 77257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77257 | gregory.p.smith | 2010-01-02 16:19:04 -0800 (Sat, 02 Jan 2010) | 8 lines
Import all implementations of the hash algorithms (OpenSSL & builtin) and run
the test suite across all that are available. Warns about extension modules
that could not be imported when python was compiled with Py_DEBUG.
That warning could be made fatal but I didn't want to do that initially as
I suspect non setup.py based build processes (windows, any others?) won't
compile them all conditionally based on the Py_DEBUG setting today.
........
Gregory P. Smith [Sat, 2 Jan 2010 22:44:17 +0000 (22:44 +0000)]
Blocked revisions 77254 via svnmerge
........
r77254 | gregory.p.smith | 2010-01-02 14:42:50 -0800 (Sat, 02 Jan 2010) | 2 lines
mention the r77252 change
........
Gregory P. Smith [Sat, 2 Jan 2010 22:32:00 +0000 (22:32 +0000)]
Blocked revisions 77252 via svnmerge
........
r77252 | gregory.p.smith | 2010-01-02 14:28:48 -0800 (Sat, 02 Jan 2010) | 5 lines
Issue #3745: Undo the requirement for new buffer API only objects to be passed
to hashlib functions in python 2.x. The module now uses the 's*' for argument
parsing which auto encodes unicode objects to the system default encoding for
us.
........
Antoine Pitrou [Sat, 2 Jan 2010 21:55:17 +0000 (21:55 +0000)]
Merged revisions 77249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77249 | antoine.pitrou | 2010-01-02 22:53:44 +0100 (sam., 02 janv. 2010) | 3 lines
Remove silly conditional.
........
Antoine Pitrou [Sat, 2 Jan 2010 21:51:33 +0000 (21:51 +0000)]
Merged revisions 77247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77247 | antoine.pitrou | 2010-01-02 22:47:10 +0100 (sam., 02 janv. 2010) | 5 lines
Add tests for issue #7458: str.rfind() would crash when called with an invalid
start value. The offending code itself was removed as part of #7462.
This patch by Victor Stinner.
........
Antoine Pitrou [Sat, 2 Jan 2010 21:40:36 +0000 (21:40 +0000)]
Merged revisions 77241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77241 | antoine.pitrou | 2010-01-02 22:12:58 +0100 (sam., 02 janv. 2010) | 4 lines
Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
`rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
........
Gregory P. Smith [Sat, 2 Jan 2010 21:32:29 +0000 (21:32 +0000)]
Merged revisions 77242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77242 | gregory.p.smith | 2010-01-02 13:29:54 -0800 (Sat, 02 Jan 2010) | 3 lines
Correct documentation for s* z* and w*, the argument that should be passed
is the address of a Py_buffer, not a Py_buffer *.
........
Mark Dickinson [Sat, 2 Jan 2010 15:33:56 +0000 (15:33 +0000)]
Merged revisions 77234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines
Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble
(the latter renamed to _PyLong_Frexp) now use the same core code. The
exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
previously used int, and no longer needs scaling by PyLong_SHIFT. This
frees the math module from having to know anything about the PyLong
implementation. This closes issue #5576.
........
Georg Brandl [Sat, 2 Jan 2010 14:51:12 +0000 (14:51 +0000)]
#7592: remove duplicate description.
Mark Dickinson [Sat, 2 Jan 2010 14:33:10 +0000 (14:33 +0000)]
Merged revisions 77230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line
Clarify that the rect, phase and polar functions work with radians.
........
Martin v. Löwis [Sat, 2 Jan 2010 10:06:19 +0000 (10:06 +0000)]
Merged revisions 77226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77226 | martin.v.loewis | 2010-01-02 10:25:21 +0100 (Sa, 02 Jan 2010) | 2 lines
Update Windows build to sqlite 3.6.21.
........
Benjamin Peterson [Sat, 2 Jan 2010 02:45:52 +0000 (02:45 +0000)]
Blocked revisions 77222 via svnmerge
........
r77222 | benjamin.peterson | 2010-01-01 20:43:04 -0600 (Fri, 01 Jan 2010) | 1 line
remove use of deprecated os.popen #7619
........
Mark Dickinson [Fri, 1 Jan 2010 19:27:32 +0000 (19:27 +0000)]
Merged revisions 77218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines
Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError. Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
........
Benjamin Peterson [Fri, 1 Jan 2010 16:04:23 +0000 (16:04 +0000)]
Merged revisions 77212-77215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77212 | benjamin.peterson | 2010-01-01 09:16:29 -0600 (Fri, 01 Jan 2010) | 1 line
use pkg-config to find the libffi headers when --with-system-ffi is used #6943
........
r77213 | benjamin.peterson | 2010-01-01 09:18:38 -0600 (Fri, 01 Jan 2010) | 1 line
add note
........
r77214 | benjamin.peterson | 2010-01-01 09:20:06 -0600 (Fri, 01 Jan 2010) | 1 line
fix indentation
........
r77215 | benjamin.peterson | 2010-01-01 09:21:13 -0600 (Fri, 01 Jan 2010) | 1 line
allow --with-dbmliborder to specify that no dbm modules will be built #6491
........
Benjamin Peterson [Fri, 1 Jan 2010 04:49:25 +0000 (04:49 +0000)]
Merged revisions 77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77204 | ezio.melotti | 2009-12-31 22:16:42 -0600 (Thu, 31 Dec 2009) | 1 line
more copyright year updates
........
Benjamin Peterson [Fri, 1 Jan 2010 04:47:54 +0000 (04:47 +0000)]
Merged revisions 77203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77203 | benjamin.peterson | 2009-12-31 22:00:55 -0600 (Thu, 31 Dec 2009) | 1 line
update copyright year
........
Brett Cannon [Fri, 1 Jan 2010 02:00:24 +0000 (02:00 +0000)]
Blocked revisions 77198 via svnmerge
........
r77198 | brett.cannon | 2009-12-31 17:44:57 -0800 (Thu, 31 Dec 2009) | 3 lines
Add some missing command-line options to the main list. All but -V were already
documented. Left -V undocumented for now (and -U was already undocumented).
........
Brett Cannon [Fri, 1 Jan 2010 01:58:39 +0000 (01:58 +0000)]
Clean up the list of allowed command-line flags.
Mark Dickinson [Thu, 31 Dec 2009 21:22:50 +0000 (21:22 +0000)]
Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line
More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........
Mark Dickinson [Thu, 31 Dec 2009 20:50:59 +0000 (20:50 +0000)]
Merged revisions 77189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77189 | mark.dickinson | 2009-12-31 20:48:04 +0000 (Thu, 31 Dec 2009) | 1 line
Add missing quotes.
........
Ezio Melotti [Thu, 31 Dec 2009 13:58:03 +0000 (13:58 +0000)]
Blocked revisions 77180 via svnmerge
........
r77180 | ezio.melotti | 2009-12-31 15:27:41 +0200 (Thu, 31 Dec 2009) | 1 line
indentation and further alignment with py3k
........
Ezio Melotti [Thu, 31 Dec 2009 13:56:50 +0000 (13:56 +0000)]
Blocked revisions 77181 via svnmerge
........
r77181 | ezio.melotti | 2009-12-31 15:47:24 +0200 (Thu, 31 Dec 2009) | 1 line
#7613: missing ) in flmodule.c
........
Ezio Melotti [Thu, 31 Dec 2009 13:22:41 +0000 (13:22 +0000)]
Merged revisions 77178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77178 | ezio.melotti | 2009-12-31 15:00:43 +0200 (Thu, 31 Dec 2009) | 1 line
cleanup and refactoring
........
Ezio Melotti [Thu, 31 Dec 2009 12:24:38 +0000 (12:24 +0000)]
#7612: typo in stdtypes.rst
Alexandre Vassalotti [Thu, 31 Dec 2009 03:56:09 +0000 (03:56 +0000)]
Issue #6687: Moved the special-case for integers out of PyBytes_FromObject.
Benjamin Peterson [Thu, 31 Dec 2009 03:35:15 +0000 (03:35 +0000)]
Merged revisions 77151-77152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77151 | georg.brandl | 2009-12-30 12:32:50 -0600 (Wed, 30 Dec 2009) | 1 line
#7487: update Pygments version.
........
r77152 | georg.brandl | 2009-12-30 12:36:09 -0600 (Wed, 30 Dec 2009) | 1 line
#7602: improve "clean" and "checkout" targets now that all tools are in externals.
........
Benjamin Peterson [Thu, 31 Dec 2009 03:31:15 +0000 (03:31 +0000)]
Merged revisions 76852,77001,77115,77127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76852 | benjamin.peterson | 2009-12-15 21:36:22 -0600 (Tue, 15 Dec 2009) | 1 line
remove type_compare, since type_richcompare does the same trick
........
r77001 | brett.cannon | 2009-12-21 20:37:37 -0600 (Mon, 21 Dec 2009) | 1 line
Make a word plural.
........
r77115 | andrew.kuchling | 2009-12-29 14:10:16 -0600 (Tue, 29 Dec 2009) | 1 line
Various additions
........
r77127 | andrew.kuchling | 2009-12-29 17:41:04 -0600 (Tue, 29 Dec 2009) | 1 line
Add various items
........
Benjamin Peterson [Thu, 31 Dec 2009 03:23:10 +0000 (03:23 +0000)]
Merged revisions 77169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77169 | benjamin.peterson | 2009-12-30 21:17:18 -0600 (Wed, 30 Dec 2009) | 2 lines
add a --with-system-expat option to build pyexpat against the system's lib #7609
........
Benjamin Peterson [Thu, 31 Dec 2009 03:16:47 +0000 (03:16 +0000)]
Blocked revisions 76912,76996,77030,77037 via svnmerge
........
r76912 | senthil.kumaran | 2009-12-20 01:29:31 -0600 (Sun, 20 Dec 2009) | 3 lines
Document the headers parameter for set_tunnel.
........
r76996 | tarek.ziade | 2009-12-21 17:31:55 -0600 (Mon, 21 Dec 2009) | 1 line
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
........
r77030 | ronald.oussoren | 2009-12-24 07:30:42 -0600 (Thu, 24 Dec 2009) | 5 lines
An update to the script that's used to build the binary installer: don't install files in
/usr/local by default. Users can still choose to install files into /usr/local, but by
default we'll only install files in /Library/Framework/Python.framework and
/Applications/Python X.Y/
........
r77037 | ronald.oussoren | 2009-12-24 08:50:35 -0600 (Thu, 24 Dec 2009) | 2 lines
Unittests and news items for the patch in r77026.
........
Benjamin Peterson [Thu, 31 Dec 2009 03:11:23 +0000 (03:11 +0000)]
Merged revisions 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096,77120,77126,77155 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line
adverb
........
r76851 | benjamin.peterson | 2009-12-15 21:28:52 -0600 (Tue, 15 Dec 2009) | 1 line
remove lib2to3 resource
........
r76869 | vinay.sajip | 2009-12-17 08:52:00 -0600 (Thu, 17 Dec 2009) | 1 line
Issue #7529: logging: Minor correction to documentation.
........
r76882 | georg.brandl | 2009-12-19 11:30:28 -0600 (Sat, 19 Dec 2009) | 1 line
#7527: use standard versionadded tags.
........
r76891 | georg.brandl | 2009-12-19 12:16:31 -0600 (Sat, 19 Dec 2009) | 1 line
#7479: add note about function availability on Unices.
........
r76892 | georg.brandl | 2009-12-19 12:20:18 -0600 (Sat, 19 Dec 2009) | 1 line
#7480: remove tautology.
........
r76924 | georg.brandl | 2009-12-20 08:28:05 -0600 (Sun, 20 Dec 2009) | 1 line
Small indentation fix.
........
r77007 | gregory.p.smith | 2009-12-23 03:31:11 -0600 (Wed, 23 Dec 2009) | 3 lines
Fix possible integer overflow in lchown and fchown functions. For issue1747858.
........
r77070 | amaury.forgeotdarc | 2009-12-27 14:06:44 -0600 (Sun, 27 Dec 2009) | 2 lines
Fix a typo in comment
........
r77092 | georg.brandl | 2009-12-28 02:48:24 -0600 (Mon, 28 Dec 2009) | 1 line
#7404: remove reference to non-existing example files.
........
r77096 | benjamin.peterson | 2009-12-28 14:51:17 -0600 (Mon, 28 Dec 2009) | 1 line
document new fix_callable behavior
........
r77120 | georg.brandl | 2009-12-29 15:09:17 -0600 (Tue, 29 Dec 2009) | 1 line
#7595: fix typo in argument default constant.
........
r77126 | amaury.forgeotdarc | 2009-12-29 17:06:17 -0600 (Tue, 29 Dec 2009) | 2 lines
#7579: Add docstrings to the msvcrt module
........
r77155 | georg.brandl | 2009-12-30 13:03:00 -0600 (Wed, 30 Dec 2009) | 1 line
We only support Windows NT derivatives now.
........
Benjamin Peterson [Wed, 30 Dec 2009 19:52:54 +0000 (19:52 +0000)]
Merged revisions 77160 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77160 | benjamin.peterson | 2009-12-30 13:44:23 -0600 (Wed, 30 Dec 2009) | 9 lines
Merged revisions 77158 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line
clean up logging's global state after the test finishes
........
................
Benjamin Peterson [Wed, 30 Dec 2009 19:44:54 +0000 (19:44 +0000)]
Merged revisions 77157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
........
Georg Brandl [Wed, 30 Dec 2009 16:24:25 +0000 (16:24 +0000)]
Merged revisions 77145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77145 | georg.brandl | 2009-12-30 17:21:26 +0100 (Mi, 30 Dez 2009) | 1 line
Use new Pygments version.
........
Mark Dickinson [Wed, 30 Dec 2009 16:22:49 +0000 (16:22 +0000)]
Merged revisions 77139-77140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77139 | mark.dickinson | 2009-12-30 12:12:23 +0000 (Wed, 30 Dec 2009) | 3 lines
Issue #7534: Fix handling of nans, infinities, and negative zero in **
operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch.
........
r77140 | mark.dickinson | 2009-12-30 12:22:49 +0000 (Wed, 30 Dec 2009) | 1 line
Add Marcos Donolo for work on issue 7534 patch.
........
Ezio Melotti [Wed, 30 Dec 2009 12:34:59 +0000 (12:34 +0000)]
Merged revisions 77136 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line
#5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
........
Benjamin Peterson [Wed, 30 Dec 2009 03:03:54 +0000 (03:03 +0000)]
Merged revisions 77130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77130 | benjamin.peterson | 2009-12-29 21:02:34 -0600 (Tue, 29 Dec 2009) | 1 line
wrap long line
........
Benjamin Peterson [Wed, 30 Dec 2009 03:02:03 +0000 (03:02 +0000)]
Merged revisions 77128 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77128 | benjamin.peterson | 2009-12-29 20:58:50 -0600 (Tue, 29 Dec 2009) | 1 line
only build the nis module when the headers are found #7589
........
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 22:24:40 +0000 (22:24 +0000)]
(issue 7413 does not concern py3k, I merge the test nonetheless)
Merged revisions 77122 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines
#7413: Passing '\0' as the separator to datetime.datetime.isoformat()
used to drop the time part of the result.
........
Georg Brandl [Tue, 29 Dec 2009 21:38:35 +0000 (21:38 +0000)]
#7590: exception classes no longer are in the "exceptions" module. Also clean up text that was written with string exceptions in mind.
Mark Dickinson [Tue, 29 Dec 2009 20:52:27 +0000 (20:52 +0000)]
Merged revisions 77116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77116 | mark.dickinson | 2009-12-29 20:51:24 +0000 (Tue, 29 Dec 2009) | 6 lines
Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel,
due to a defect in the platform's implementation of expm1. Since the issue
is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't
seem worth working around, so I'm just weakening the relevant test so that
it passes on 10.4.
........
Georg Brandl [Tue, 29 Dec 2009 11:26:30 +0000 (11:26 +0000)]
Blocked revisions 77111 via svnmerge
........
r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line
Fix wrong markup.
........
Georg Brandl [Tue, 29 Dec 2009 11:24:00 +0000 (11:24 +0000)]
Merged revisions 77108-77109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line
#7569: clarification about c_char_p.
........
r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line
Improve markup of ctypes docs.
........
Benjamin Peterson [Tue, 29 Dec 2009 00:38:47 +0000 (00:38 +0000)]
Merged revisions 77104 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77104 | benjamin.peterson | 2009-12-28 18:09:33 -0600 (Mon, 28 Dec 2009) | 1 line
enable test_main.py
........
Benjamin Peterson [Tue, 29 Dec 2009 00:37:04 +0000 (00:37 +0000)]
fix test on py3
Benjamin Peterson [Tue, 29 Dec 2009 00:06:20 +0000 (00:06 +0000)]
Merged revisions 77102 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77102 | benjamin.peterson | 2009-12-28 17:50:41 -0600 (Mon, 28 Dec 2009) | 50 lines
Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line
handle unencodable diffs gracefully #5093
........
r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line
fix emacs header
........
r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines
replace callable(x) with isinstance(x, collections.Callable) #7006
This is a more accurate translation than hasattr(x, '__call__') which failed in
the case that somebody had put __call__ in the instance dictionary.
Patch mostly by Joe Amenta.
........
r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines
deuglify imports
........
r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line
remove unused flag
........
r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines
clean up imports and whitespace
........
r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line
*** empty log message ***
........
r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended change
........
r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended changes
........
r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line
normalize whitespace
........
................
Georg Brandl [Mon, 28 Dec 2009 08:41:01 +0000 (08:41 +0000)]
Merged revisions 77088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77088 | georg.brandl | 2009-12-28 09:34:58 +0100 (Mo, 28 Dez 2009) | 1 line
#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring.
........
Georg Brandl [Mon, 28 Dec 2009 08:10:38 +0000 (08:10 +0000)]
Recorded merge of revisions 77086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77086 | georg.brandl | 2009-12-28 09:09:32 +0100 (Mo, 28 Dez 2009) | 1 line
#7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.
........
Georg Brandl [Mon, 28 Dec 2009 08:02:38 +0000 (08:02 +0000)]
Merged revisions 77084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77084 | georg.brandl | 2009-12-28 09:01:59 +0100 (Mo, 28 Dez 2009) | 1 line
#7586: fix typo.
........
Georg Brandl [Mon, 28 Dec 2009 08:00:47 +0000 (08:00 +0000)]
Merged revisions 77081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77081 | georg.brandl | 2009-12-28 08:59:05 +0100 (Mo, 28 Dez 2009) | 1 line
#7577: fix signature of PyBuffer_FillInfo().
........
Georg Brandl [Mon, 28 Dec 2009 07:59:20 +0000 (07:59 +0000)]
#7577: fix signature info for getbufferproc.
Mark Dickinson [Sun, 27 Dec 2009 21:34:05 +0000 (21:34 +0000)]
Merged revisions 77071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77071 | mark.dickinson | 2009-12-27 21:31:50 +0000 (Sun, 27 Dec 2009) | 1 line
Use a more idiomatic check in check_truediv.
........
Mark Dickinson [Sun, 27 Dec 2009 19:03:31 +0000 (19:03 +0000)]
Merged revisions 77066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77066 | mark.dickinson | 2009-12-27 16:16:02 +0000 (Sun, 27 Dec 2009) | 1 line
Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus failures on platforms with broken pow (e.g., Ubuntu/ia64).
........
Mark Dickinson [Sun, 27 Dec 2009 15:09:50 +0000 (15:09 +0000)]
Merged revisions 77062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77062 | mark.dickinson | 2009-12-27 14:55:57 +0000 (Sun, 27 Dec 2009) | 2 lines
Issue #1811: Improve accuracy and consistency of true division for integers.
........
Senthil Kumaran [Sun, 27 Dec 2009 10:13:39 +0000 (10:13 +0000)]
Merged revisions 77058 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines
Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.
This is on hosts with multiple ip addresses.
........
Ronald Oussoren [Sat, 26 Dec 2009 13:16:15 +0000 (13:16 +0000)]
Fix merge issue where I forgot to replace sys.maxint by sys.maxsize.
Ezio Melotti [Fri, 25 Dec 2009 02:16:56 +0000 (02:16 +0000)]
Merged revisions 77050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77050 | ezio.melotti | 2009-12-25 04:12:01 +0200 (Fri, 25 Dec 2009) | 1 line
Updated sys.flags table in Doc
........
Ezio Melotti [Thu, 24 Dec 2009 23:01:34 +0000 (23:01 +0000)]
Blocked revisions 77045 via svnmerge
........
r77045 | ezio.melotti | 2009-12-25 00:25:17 +0200 (Fri, 25 Dec 2009) | 1 line
#6108: unicode(exception) and str(exception) should return the same message
........
Ezio Melotti [Thu, 24 Dec 2009 22:54:06 +0000 (22:54 +0000)]
Remove test for unicode(e) converted to str(e) by 2to3
Mark Dickinson [Thu, 24 Dec 2009 16:12:49 +0000 (16:12 +0000)]
Merged revisions 77041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77041 | mark.dickinson | 2009-12-24 16:06:58 +0000 (Thu, 24 Dec 2009) | 1 line
Issue #7568: typo in docstring. Thanks Mike Putnam.
........
Benjamin Peterson [Thu, 24 Dec 2009 15:21:26 +0000 (15:21 +0000)]
Blocked revisions 77038 via svnmerge
........
r77038 | benjamin.peterson | 2009-12-24 09:19:40 -0600 (Thu, 24 Dec 2009) | 1 line
allow Process name to be unicode #7571
........
Ronald Oussoren [Thu, 24 Dec 2009 14:21:55 +0000 (14:21 +0000)]
Merged revisions 77033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77033 | ronald.oussoren | 2009-12-24 15:17:19 +0100 (Thu, 24 Dec 2009) | 2 lines
Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a
........
Ronald Oussoren [Thu, 24 Dec 2009 14:03:19 +0000 (14:03 +0000)]
Merged revisions 77031 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77031 | ronald.oussoren | 2009-12-24 14:30:58 +0100 (Thu, 24 Dec 2009) | 15 lines
Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.
The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.
I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
........
Ronald Oussoren [Thu, 24 Dec 2009 13:14:21 +0000 (13:14 +0000)]
Merged revisions 77026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77026 | ronald.oussoren | 2009-12-24 14:06:39 +0100 (Thu, 24 Dec 2009) | 8 lines
On OSX the output of "uname -m" always reflects the 32-bit architecture
for the machine ("i386" or "ppc"), even if the executable is
64-bit.
This patchs ensures that the distutils platform architecture
represents the architecture for the executable when running a
64-bit only executable on OSX.
........
Ezio Melotti [Thu, 24 Dec 2009 03:23:23 +0000 (03:23 +0000)]
Merged revisions 77022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77022 | ezio.melotti | 2009-12-24 04:54:53 +0200 (Thu, 24 Dec 2009) | 1 line
Added markup and default arg, fixed example
........
Senthil Kumaran [Thu, 24 Dec 2009 02:24:37 +0000 (02:24 +0000)]
Merged revisions 77018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77018 | senthil.kumaran | 2009-12-24 07:48:14 +0530 (Thu, 24 Dec 2009) | 3 lines
Fix for Issue7570: Error in urllib2 example.
........
Benjamin Peterson [Thu, 24 Dec 2009 01:14:05 +0000 (01:14 +0000)]
Merged revisions 77014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77014 | benjamin.peterson | 2009-12-23 19:09:53 -0600 (Wed, 23 Dec 2009) | 1 line
fix alleged refleak
........
Ezio Melotti [Wed, 23 Dec 2009 20:56:09 +0000 (20:56 +0000)]
Rephrased the introduction, added missing commas and my name for Unicode
Georg Brandl [Wed, 23 Dec 2009 10:30:45 +0000 (10:30 +0000)]
#7417: add signature to open() docstring.
Martin v. Löwis [Tue, 22 Dec 2009 08:57:39 +0000 (08:57 +0000)]
Merged revisions 76990-76991 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76990 | martin.v.loewis | 2009-12-21 20:27:15 +0100 (Mo, 21 Dez 2009) | 1 line
Switch to OpenSSL 0.9.8l.
........
r76991 | martin.v.loewis | 2009-12-21 20:29:59 +0100 (Mo, 21 Dez 2009) | 1 line
Add NEWS for OpenSSL changes.
........
Martin v. Löwis [Tue, 22 Dec 2009 08:54:52 +0000 (08:54 +0000)]
Merged revisions 76989 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76989 | martin.v.loewis | 2009-12-21 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line
Drop 2.4 compatibility.
........
Tarek Ziadé [Mon, 21 Dec 2009 23:39:47 +0000 (23:39 +0000)]
Blocked revisions 76998 via svnmerge
........
r76998 | tarek.ziade | 2009-12-22 00:37:44 +0100 (Tue, 22 Dec 2009) | 1 line
added a note about #7556 in Misc/NEWS
........
Tarek Ziadé [Mon, 21 Dec 2009 23:16:09 +0000 (23:16 +0000)]
forgot to add the win32 test in the unittest skip call
Tarek Ziadé [Mon, 21 Dec 2009 23:12:41 +0000 (23:12 +0000)]
Fixed #7556: editing the MSVC manifest file with a regexp was throwing an error
Mark Dickinson [Mon, 21 Dec 2009 16:30:51 +0000 (16:30 +0000)]
Blocked revisions 76984 via svnmerge
........
r76984 | mark.dickinson | 2009-12-21 16:29:21 +0000 (Mon, 21 Dec 2009) | 3 lines
Issue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna
for bug report and patch.
........
Mark Dickinson [Mon, 21 Dec 2009 15:42:00 +0000 (15:42 +0000)]
Merged revisions 76982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76982 | mark.dickinson | 2009-12-21 15:40:33 +0000 (Mon, 21 Dec 2009) | 2 lines
Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.
........
Mark Dickinson [Mon, 21 Dec 2009 15:27:41 +0000 (15:27 +0000)]
Merged revisions 76978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
........
R. David Murray [Mon, 21 Dec 2009 12:50:02 +0000 (12:50 +0000)]
Merged revisions 76973 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76973 | r.david.murray | 2009-12-21 07:45:41 -0500 (Mon, 21 Dec 2009) | 2 lines
Remove a leftover from a previous iteration of the issue 7376 patch.
........
Mark Dickinson [Mon, 21 Dec 2009 12:37:06 +0000 (12:37 +0000)]
Keep PyLong_AsLongAndOverflow documentation and implementation in sync
between py3k and trunk; merge new tests from trunk to py3k.
(See issue #7528.)
Mark Dickinson [Mon, 21 Dec 2009 12:18:09 +0000 (12:18 +0000)]
Blocked revisions 76967-76968 via svnmerge
........
r76967 | mark.dickinson | 2009-12-21 11:31:54 +0000 (Mon, 21 Dec 2009) | 1 line
Fix reference counts for test_long_and_overflow.
........
r76968 | mark.dickinson | 2009-12-21 12:15:48 +0000 (Mon, 21 Dec 2009) | 1 line
Additional edge-case tests for test_long_and_overflow.
........
Mark Dickinson [Mon, 21 Dec 2009 11:22:47 +0000 (11:22 +0000)]
Blocked revisions 76963 via svnmerge
........
r76963 | mark.dickinson | 2009-12-21 11:21:25 +0000 (Mon, 21 Dec 2009) | 3 lines
Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.
Thanks Case Van Horsen for the patch.
........
Tarek Ziadé [Mon, 21 Dec 2009 01:49:00 +0000 (01:49 +0000)]
Merged revisions 76956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line
massive import cleaning in Distutils
........
Tarek Ziadé [Mon, 21 Dec 2009 00:02:20 +0000 (00:02 +0000)]
Merged revisions 76952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76952 | tarek.ziade | 2009-12-21 00:23:34 +0100 (Mon, 21 Dec 2009) | 1 line
Fixed #7552: fixed distutils.command.upload failure on very long passwords
........
Mark Dickinson [Sun, 20 Dec 2009 20:37:56 +0000 (20:37 +0000)]
Merged revisions 76948 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76948 | mark.dickinson | 2009-12-20 20:34:44 +0000 (Sun, 20 Dec 2009) | 3 lines
Issue #7554: Various fixups in test_cmath.py: remove code duplication,
use new-style formatting. Thanks Florent Xicluna for the patch.
........
Mark Dickinson [Sun, 20 Dec 2009 20:24:18 +0000 (20:24 +0000)]
Blocked revisions 76945 via svnmerge
........
r76945 | mark.dickinson | 2009-12-20 20:23:01 +0000 (Sun, 20 Dec 2009) | 1 line
Silence -3 warnings. Thanks Florent Xicluna.
........
Mark Dickinson [Sun, 20 Dec 2009 19:56:09 +0000 (19:56 +0000)]
Merged revisions 76939,76941 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76939 | mark.dickinson | 2009-12-20 19:45:37 +0000 (Sun, 20 Dec 2009) | 1 line
Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna.
........
r76941 | mark.dickinson | 2009-12-20 19:52:36 +0000 (Sun, 20 Dec 2009) | 1 line
Fix for consistency with py3k keyword-only version of assertAlmostEqual
........
R. David Murray [Sun, 20 Dec 2009 17:28:31 +0000 (17:28 +0000)]
Merged revisions 76934-76935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76934 | r.david.murray | 2009-12-20 11:24:46 -0500 (Sun, 20 Dec 2009) | 2 lines
Fix comment typo.
........
r76935 | r.david.murray | 2009-12-20 11:46:06 -0500 (Sun, 20 Dec 2009) | 10 lines
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
........
Mark Dickinson [Sun, 20 Dec 2009 16:03:30 +0000 (16:03 +0000)]
Merged revisions 76930 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76930 | mark.dickinson | 2009-12-20 15:57:56 +0000 (Sun, 20 Dec 2009) | 1 line
Add missing tests for PyArg_Parse* with format 'h'
........
Benjamin Peterson [Sun, 20 Dec 2009 15:24:32 +0000 (15:24 +0000)]
Blocked revisions 76927 via svnmerge
........
r76927 | benjamin.peterson | 2009-12-20 09:23:22 -0600 (Sun, 20 Dec 2009) | 1 line
builtin-ins -> builtins
........
Georg Brandl [Sun, 20 Dec 2009 14:38:23 +0000 (14:38 +0000)]
Recorded merge of revisions 76925 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76925 | georg.brandl | 2009-12-20 15:33:20 +0100 (So, 20 Dez 2009) | 1 line
#7381: subprocess documentation and library docstring consistency fixes.
........