Ezio Melotti
021f334b9f
Fix several links and other mistakes.
2010-04-06 03:26:49 +00:00
Senthil Kumaran
b02b311592
Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once"
2010-04-06 03:23:33 +00:00
Antoine Pitrou
f9de534c21
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`.
2010-04-05 21:35:07 +00:00
Brian Curtin
fce1d31d47
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.
2010-04-05 19:04:23 +00:00
Mark Dickinson
56506a6ed2
Use a better NaN test in _Py_HashDouble as well.
2010-04-05 18:54:51 +00:00
Raymond Hettinger
e1d665a90e
Classes that override __eq__ also need to define __hash__.
2010-04-05 18:53:43 +00:00
Mark Dickinson
5e0c2748fb
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.)
2010-04-05 18:07:51 +00:00
R. David Murray
0c08009708
Issue 8316: make test_gdb robust in the face of differing terminal
...
widths. Patch by Dave Malcolm.
2010-04-05 16:28:49 +00:00
Tarek Ziadé
0b93a6b19a
added a note for Andrew, about distutils2
2010-04-05 14:58:14 +00:00
Ezio Melotti
425aa2e11b
Fix some broken URLs.
2010-04-05 12:51:45 +00:00
Ronald Oussoren
891cd83413
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.
2010-04-05 11:21:21 +00:00
Michael Foord
d341ec82c7
Further documentation fix for unittest.rst
2010-04-05 10:30:14 +00:00
Michael Foord
c5ff3f6ff0
Furterh documentation fix for unittest.rst
2010-04-05 10:28:27 +00:00
Michael Foord
3165503b4a
Documentation fixes for unittest
2010-04-05 10:26:26 +00:00
Ezio Melotti
9ccc58113e
Fix markup errors.
2010-04-05 08:16:41 +00:00
Ezio Melotti
01fa86a0bd
Fix markup, punctuation and whitespaces in _winreg.rst.
2010-04-05 08:02:54 +00:00
Ezio Melotti
c0deec1839
#8212 : rephrase the webservers howto and fix some mistakes.
2010-04-05 03:51:38 +00:00
Philip Jenvey
034b0acdd3
fix escape_encode to return the correct consumed size
2010-04-05 02:51:51 +00:00
R. David Murray
dd194ab37b
Issue 8287: try to fix the gdb-python install errors on Solaris
...
and FreeBSD. Patch by Dave Malcolm.
2010-04-05 01:34:50 +00:00
Michael Foord
554303530c
Document signal handling functions in unittest.rst
2010-04-05 00:39:50 +00:00
Michael Foord
ddb20df018
Adding documentation for new unittest.main() parameters
2010-04-04 23:28:44 +00:00
Benjamin Peterson
76a23c17bc
fix dis on new style classes #8310
2010-04-04 23:23:22 +00:00
Ezio Melotti
6f65d2dd1b
Fix markup in decimal.rst.
2010-04-04 23:21:53 +00:00
Benjamin Peterson
f5e7b3e826
fix tabs
2010-04-04 23:03:22 +00:00
Benjamin Peterson
51fd586baa
tabify
2010-04-04 23:01:03 +00:00
Michael Foord
09e2980c15
unittest documentation formatting changes
2010-04-04 22:41:54 +00:00
Raymond Hettinger
06bc0b6d2e
Add tests for functools.total_ordering.
2010-04-04 22:24:03 +00:00
Mark Dickinson
b1affc517f
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.
2010-04-04 22:09:21 +00:00
Raymond Hettinger
bb006cf26c
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.
2010-04-04 21:45:01 +00:00
Mark Dickinson
4f185228b0
A handful of whitespace fixes in Modules/_struct.c.
2010-04-04 21:19:35 +00:00
Raymond Hettinger
a551f31d48
Add functools.CmpToKey()
2010-04-04 18:34:45 +00:00
Mark Dickinson
fdaaa9c9d8
Issue #8300 (__index__ handling in struct.pack): Remove redundant check
...
and improve test coverage. Thanks Meador Inge for the patch.
2010-04-04 08:43:04 +00:00
Raymond Hettinger
0d57caa267
Documentation nit
2010-04-04 07:33:46 +00:00
Ezio Melotti
a28eb1c429
Use more specific assert* methods in test_struct.
2010-04-04 07:00:02 +00:00
Ezio Melotti
4edfe96381
Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo.
2010-04-04 06:50:58 +00:00
Ezio Melotti
0cee3794c7
Add a versionadded to Counter.subtract() doc.
2010-04-04 06:41:27 +00:00
Raymond Hettinger
20ae90d887
Issue 5479: Add functools.total_ordering class decorator.
2010-04-04 01:24:59 +00:00
Benjamin Peterson
88623d76b4
use our own locale independent ctype macros
...
requires building pyctype.o into pgen
2010-04-03 23:03:35 +00:00
Benjamin Peterson
4ceeeb09d8
ensure that the locale does not affect the tokenization of identifiers
2010-04-03 22:48:51 +00:00
Raymond Hettinger
ab8b9cae7e
Expand test coverage for deque.count().
2010-04-03 22:34:15 +00:00
Benjamin Peterson
a44f393c93
import bsddb more robustly
2010-04-03 21:50:40 +00:00
Antoine Pitrou
47b1d02d85
Remove useless (?) import from r79706
2010-04-03 21:42:18 +00:00
Antoine Pitrou
945d4ccdd9
Fix wording / typography, and a slightly misleading statement
...
(memoryviews don't support complex structures right now)
2010-04-03 21:22:38 +00:00
Martin v. Löwis
60fccd2f79
Don't install python-gdb.py as an executable.
2010-04-03 18:54:07 +00:00
Mark Dickinson
a3a505076e
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
2010-04-03 18:17:54 +00:00
Raymond Hettinger
5f516edd77
Add count() method to collections.deque().
2010-04-03 18:10:37 +00:00
Raymond Hettinger
30583e3f38
Silence a compiler warning.
2010-04-03 17:10:05 +00:00
Michael Foord
ba097ec1be
Documenting new features in unittest
2010-04-03 17:03:11 +00:00
Mark Dickinson
74c5c2b2a1
Replace backquotes with repr(), to silence a SyntaxWarning.
2010-04-03 16:54:02 +00:00
Mark Dickinson
920fd66ac6
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.
2010-04-03 16:41:20 +00:00