]>
granicus.if.org Git - python/log
Raymond Hettinger [Sat, 10 Apr 2010 16:57:36 +0000 (16:57 +0000)]
Issue 8361: Remove assert from functools.total_ordering\ 1
Benjamin Peterson [Sat, 10 Apr 2010 16:30:11 +0000 (16:30 +0000)]
tag first 2.7b1 beta
Benjamin Peterson [Sat, 10 Apr 2010 16:28:34 +0000 (16:28 +0000)]
update pydoc-topics
Benjamin Peterson [Sat, 10 Apr 2010 16:22:05 +0000 (16:22 +0000)]
bump version to 2.7b1
Nick Coghlan [Sat, 10 Apr 2010 15:01:54 +0000 (15:01 +0000)]
Fix typo in comment
Nick Coghlan [Sat, 10 Apr 2010 14:24:36 +0000 (14:24 +0000)]
Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system)
Georg Brandl [Sat, 10 Apr 2010 11:16:59 +0000 (11:16 +0000)]
#8346: update version.
Georg Brandl [Sat, 10 Apr 2010 11:15:24 +0000 (11:15 +0000)]
#8360: skipTest was added in 2.7.
Raymond Hettinger [Sat, 10 Apr 2010 07:01:32 +0000 (07:01 +0000)]
Fixup new itertools recipes.
Antoine Pitrou [Fri, 9 Apr 2010 22:41:31 +0000 (22:41 +0000)]
Revert r79915 (temporary commit to check for buildbots -> the fix was successful)
Antoine Pitrou [Fri, 9 Apr 2010 21:00:36 +0000 (21:00 +0000)]
Temporarily commit fix to issue #8108, to check for buildbot response
Antoine Pitrou [Fri, 9 Apr 2010 20:38:39 +0000 (20:38 +0000)]
SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilation
with earlier versions.
Martin v. Löwis [Thu, 8 Apr 2010 17:40:54 +0000 (17:40 +0000)]
Issue #8348: Fix test ftp url in test_urllib2net.
Martin v. Löwis [Thu, 8 Apr 2010 17:38:32 +0000 (17:38 +0000)]
Issue #8204: Fix test_ttk notebook test by forcing focus.
Martin v. Löwis [Thu, 8 Apr 2010 09:47:40 +0000 (09:47 +0000)]
Issue #8344: Fix test_ttk bug on FreeBSD.
Ronald Oussoren [Thu, 8 Apr 2010 08:13:31 +0000 (08:13 +0000)]
This check-in fixes two problems:
1) A non-critical off-by-one error in pythonw
2) A problem in the configure script that caused
builds with '--enable-framework --enable-universalsdk=/'
to fail on OSX 10.6.
Michael Foord [Thu, 8 Apr 2010 04:33:20 +0000 (04:33 +0000)]
Correction of unittest documentation typos and omissions
Michael Foord [Thu, 8 Apr 2010 00:04:24 +0000 (00:04 +0000)]
Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.
Michael Foord [Wed, 7 Apr 2010 23:04:22 +0000 (23:04 +0000)]
unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.
Martin v. Löwis [Wed, 7 Apr 2010 19:11:32 +0000 (19:11 +0000)]
Issue #8337: Disable the remaining test also for now.
Jeroen Ruigrok van der Werven [Wed, 7 Apr 2010 16:34:08 +0000 (16:34 +0000)]
Document the libffi FreeBSD fix.
Jeroen Ruigrok van der Werven [Wed, 7 Apr 2010 14:33:37 +0000 (14:33 +0000)]
FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is
also the case in FreeBSD's port of libffi).
Reviewed by: dickinsm
Martin v. Löwis [Wed, 7 Apr 2010 11:01:46 +0000 (11:01 +0000)]
Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.
Mark Dickinson [Wed, 7 Apr 2010 10:18:27 +0000 (10:18 +0000)]
Use some more interesting test values for (unsigned) long long ctypes tests,
in the hope of getting more information about the test_ctypes failures
on Sparc (see issue #8314).
Vinay Sajip [Wed, 7 Apr 2010 09:40:52 +0000 (09:40 +0000)]
Issue #8331: logging: fixed some grammatical errors in documentation.
Stefan Krah [Wed, 7 Apr 2010 08:24:44 +0000 (08:24 +0000)]
Issue #8328: Silence Visual Studio warnings.
Philip Jenvey [Tue, 6 Apr 2010 23:38:57 +0000 (23:38 +0000)]
document new PYTHONWARNINGS env var
Benjamin Peterson [Tue, 6 Apr 2010 23:32:27 +0000 (23:32 +0000)]
tell people to update python.man, too
Philip Jenvey [Tue, 6 Apr 2010 23:24:45 +0000 (23:24 +0000)]
#7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin
Michael Foord [Tue, 6 Apr 2010 23:18:16 +0000 (23:18 +0000)]
Fix module directory finding logic for dotted paths in unittest test discovery.
Vinay Sajip [Tue, 6 Apr 2010 22:32:37 +0000 (22:32 +0000)]
Issue #8327: logging: Clarification of propagation functionality in documentation.
Mark Dickinson [Tue, 6 Apr 2010 22:18:23 +0000 (22:18 +0000)]
More NaN consistency doc fixes.
Mark Dickinson [Tue, 6 Apr 2010 22:10:55 +0000 (22:10 +0000)]
Use consistent spelling for nans (thanks Georg for noticing).
Benjamin Peterson [Tue, 6 Apr 2010 21:50:00 +0000 (21:50 +0000)]
remove a optimization that resulted in unexpected behavior #8929
Benjamin Peterson [Tue, 6 Apr 2010 21:37:06 +0000 (21:37 +0000)]
use skip decorator
Georg Brandl [Tue, 6 Apr 2010 20:27:59 +0000 (20:27 +0000)]
Fix syntax.
Mark Dickinson [Tue, 6 Apr 2010 19:50:03 +0000 (19:50 +0000)]
Issue #7947: Clarify math module behaviour for IEEE 754 special cases, along
with a number of additional minor edits and typo corrections.
Mark Dickinson [Tue, 6 Apr 2010 18:58:54 +0000 (18:58 +0000)]
Silence a 'comparison between signed and unsigned integer expressions' gcc warning.
Mark Dickinson [Tue, 6 Apr 2010 18:20:11 +0000 (18:20 +0000)]
Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.
Antoine Pitrou [Tue, 6 Apr 2010 17:21:09 +0000 (17:21 +0000)]
Issue #8193: Fix test_zlib failure with zlib 1.2.4.
Mark Dickinson [Tue, 6 Apr 2010 16:47:55 +0000 (16:47 +0000)]
Misc/NEWS entry for r79843.
Mark Dickinson [Tue, 6 Apr 2010 16:46:09 +0000 (16:46 +0000)]
Issue #8259: Get rid of 'outrageous left shift count' error when
left-shifting an integer by more than 2**31 on a 64-bit machine. Also
convert shift counts to a Py_ssize_t instead of a C long.
Antoine Pitrou [Tue, 6 Apr 2010 15:38:25 +0000 (15:38 +0000)]
14 years later, we still don't know what it's for.
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).
Eric Smith [Tue, 6 Apr 2010 15:17:33 +0000 (15:17 +0000)]
Note that PEP 378 also applies to int.
Georg Brandl [Tue, 6 Apr 2010 14:33:44 +0000 (14:33 +0000)]
Add JP.
Eric Smith [Tue, 6 Apr 2010 14:30:15 +0000 (14:30 +0000)]
Fixed PEP 378 example.
Georg Brandl [Tue, 6 Apr 2010 08:18:15 +0000 (08:18 +0000)]
#8320: document return value of recv_into().
Benjamin Peterson [Tue, 6 Apr 2010 03:34:09 +0000 (03:34 +0000)]
ready _sre types
Ezio Melotti [Tue, 6 Apr 2010 03:26:49 +0000 (03:26 +0000)]
Fix several links and other mistakes.
Senthil Kumaran [Tue, 6 Apr 2010 03:23:33 +0000 (03:23 +0000)]
Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once"
Antoine Pitrou [Mon, 5 Apr 2010 21:35:07 +0000 (21:35 +0000)]
Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
Brian Curtin [Mon, 5 Apr 2010 19:04:23 +0000 (19:04 +0000)]
Fix a failing test on an apparently slow Windows buildbot.
On slower Windows machines, waiting 0.1 seconds can sometimes not be
enough for a subprocess to start and be ready to accept signals, causing
the test to fail. One buildbot is also choking on input()/EOFError so
that was changed to not depend on input.
Mark Dickinson [Mon, 5 Apr 2010 18:54:51 +0000 (18:54 +0000)]
Use a better NaN test in _Py_HashDouble as well.
Raymond Hettinger [Mon, 5 Apr 2010 18:53:43 +0000 (18:53 +0000)]
Classes that override __eq__ also need to define __hash__.
Mark Dickinson [Mon, 5 Apr 2010 18:07:51 +0000 (18:07 +0000)]
Use a more robust infinity check in _Py_HashDouble.
This fixes a test_decimal failure on FreeBSD 8.0. (modf apparently
doesn't follow C99 Annex F on FreeBSD.)
R. David Murray [Mon, 5 Apr 2010 16:28:49 +0000 (16:28 +0000)]
Issue 8316: make test_gdb robust in the face of differing terminal
widths. Patch by Dave Malcolm.
Tarek Ziadé [Mon, 5 Apr 2010 14:58:14 +0000 (14:58 +0000)]
added a note for Andrew, about distutils2
Ezio Melotti [Mon, 5 Apr 2010 12:51:45 +0000 (12:51 +0000)]
Fix some broken URLs.
Ronald Oussoren [Mon, 5 Apr 2010 11:21:21 +0000 (11:21 +0000)]
Ensure that the gdb hooks can be installed when
srcdir != builddir.
Without this patch it is no longer possible to
build python when you don't run configure from
the root of the source tree.
Michael Foord [Mon, 5 Apr 2010 10:30:14 +0000 (10:30 +0000)]
Further documentation fix for unittest.rst
Michael Foord [Mon, 5 Apr 2010 10:28:27 +0000 (10:28 +0000)]
Furterh documentation fix for unittest.rst
Michael Foord [Mon, 5 Apr 2010 10:26:26 +0000 (10:26 +0000)]
Documentation fixes for unittest
Ezio Melotti [Mon, 5 Apr 2010 08:16:41 +0000 (08:16 +0000)]
Fix markup errors.
Ezio Melotti [Mon, 5 Apr 2010 08:02:54 +0000 (08:02 +0000)]
Fix markup, punctuation and whitespaces in _winreg.rst.
Ezio Melotti [Mon, 5 Apr 2010 03:51:38 +0000 (03:51 +0000)]
#8212: rephrase the webservers howto and fix some mistakes.
Philip Jenvey [Mon, 5 Apr 2010 02:51:51 +0000 (02:51 +0000)]
fix escape_encode to return the correct consumed size
R. David Murray [Mon, 5 Apr 2010 01:34:50 +0000 (01:34 +0000)]
Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD. Patch by Dave Malcolm.
Michael Foord [Mon, 5 Apr 2010 00:39:50 +0000 (00:39 +0000)]
Document signal handling functions in unittest.rst
Michael Foord [Sun, 4 Apr 2010 23:28:44 +0000 (23:28 +0000)]
Adding documentation for new unittest.main() parameters
Benjamin Peterson [Sun, 4 Apr 2010 23:23:22 +0000 (23:23 +0000)]
fix dis on new style classes #8310
Ezio Melotti [Sun, 4 Apr 2010 23:21:53 +0000 (23:21 +0000)]
Fix markup in decimal.rst.
Benjamin Peterson [Sun, 4 Apr 2010 23:03:22 +0000 (23:03 +0000)]
fix tabs
Benjamin Peterson [Sun, 4 Apr 2010 23:01:03 +0000 (23:01 +0000)]
tabify
Michael Foord [Sun, 4 Apr 2010 22:41:54 +0000 (22:41 +0000)]
unittest documentation formatting changes
Raymond Hettinger [Sun, 4 Apr 2010 22:24:03 +0000 (22:24 +0000)]
Add tests for functools.total_ordering.
Mark Dickinson [Sun, 4 Apr 2010 22:09:21 +0000 (22:09 +0000)]
Add versionchanged entry for Decimal(float) construction.
Also add an example of constructing a Decimal directly from a float,
update the quickstart tutorial, and tweak another couple of
sentences.
Raymond Hettinger [Sun, 4 Apr 2010 21:45:01 +0000 (21:45 +0000)]
Add tests for cmp_to_key.
Adopt PEP 8 compliant function name.
Factor-out existing uses cmp_to_key.
Update documentation to use internal pointers instead of external resource.
Mark Dickinson [Sun, 4 Apr 2010 21:19:35 +0000 (21:19 +0000)]
A handful of whitespace fixes in Modules/_struct.c.
Raymond Hettinger [Sun, 4 Apr 2010 18:34:45 +0000 (18:34 +0000)]
Add functools.CmpToKey()
Mark Dickinson [Sun, 4 Apr 2010 08:43:04 +0000 (08:43 +0000)]
Issue #8300 (__index__ handling in struct.pack): Remove redundant check
and improve test coverage. Thanks Meador Inge for the patch.
Raymond Hettinger [Sun, 4 Apr 2010 07:33:46 +0000 (07:33 +0000)]
Documentation nit
Ezio Melotti [Sun, 4 Apr 2010 07:00:02 +0000 (07:00 +0000)]
Use more specific assert* methods in test_struct.
Ezio Melotti [Sun, 4 Apr 2010 06:50:58 +0000 (06:50 +0000)]
Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo.
Ezio Melotti [Sun, 4 Apr 2010 06:41:27 +0000 (06:41 +0000)]
Add a versionadded to Counter.subtract() doc.
Raymond Hettinger [Sun, 4 Apr 2010 01:24:59 +0000 (01:24 +0000)]
Issue 5479: Add functools.total_ordering class decorator.
Benjamin Peterson [Sat, 3 Apr 2010 23:03:35 +0000 (23:03 +0000)]
use our own locale independent ctype macros
requires building pyctype.o into pgen
Benjamin Peterson [Sat, 3 Apr 2010 22:48:51 +0000 (22:48 +0000)]
ensure that the locale does not affect the tokenization of identifiers
Raymond Hettinger [Sat, 3 Apr 2010 22:34:15 +0000 (22:34 +0000)]
Expand test coverage for deque.count().
Benjamin Peterson [Sat, 3 Apr 2010 21:50:40 +0000 (21:50 +0000)]
import bsddb more robustly
Antoine Pitrou [Sat, 3 Apr 2010 21:42:18 +0000 (21:42 +0000)]
Remove useless (?) import from r79706
Antoine Pitrou [Sat, 3 Apr 2010 21:22:38 +0000 (21:22 +0000)]
Fix wording / typography, and a slightly misleading statement
(memoryviews don't support complex structures right now)
Martin v. Löwis [Sat, 3 Apr 2010 18:54:07 +0000 (18:54 +0000)]
Don't install python-gdb.py as an executable.
Mark Dickinson [Sat, 3 Apr 2010 18:17:54 +0000 (18:17 +0000)]
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
Raymond Hettinger [Sat, 3 Apr 2010 18:10:37 +0000 (18:10 +0000)]
Add count() method to collections.deque().
Raymond Hettinger [Sat, 3 Apr 2010 17:10:05 +0000 (17:10 +0000)]
Silence a compiler warning.
Michael Foord [Sat, 3 Apr 2010 17:03:11 +0000 (17:03 +0000)]
Documenting new features in unittest
Mark Dickinson [Sat, 3 Apr 2010 16:54:02 +0000 (16:54 +0000)]
Replace backquotes with repr(), to silence a SyntaxWarning.
Mark Dickinson [Sat, 3 Apr 2010 16:41:20 +0000 (16:41 +0000)]
Ensure 'module removed' warning messages contain the word 'module' or 'package'.
This should fix the test_py3kwarn failure on OS X. test_support.import_module
also requires this.
Benjamin Peterson [Sat, 3 Apr 2010 16:06:42 +0000 (16:06 +0000)]
stop CObject deprecation warnings in test___all__
Benjamin Peterson [Sat, 3 Apr 2010 15:58:15 +0000 (15:58 +0000)]
remove deprecation warnings silence attempting