Commit Graph

44505 Commits

Author SHA1 Message Date
Michael Foord efc2f497fd Correction of unittest documentation typos and omissions 2010-04-08 04:33:20 +00:00
Michael Foord 91a2c89288 Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333. 2010-04-08 00:04:24 +00:00
Michael Foord f6ff26c486 unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333. 2010-04-07 23:04:22 +00:00
Martin v. Löwis 9a39eccfe1 Issue #8337: Disable the remaining test also for now. 2010-04-07 19:11:32 +00:00
Jeroen Ruigrok van der Werven 6d22cfcee4 Document the libffi FreeBSD fix. 2010-04-07 16:34:08 +00:00
Jeroen Ruigrok van der Werven 422c7423b8 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
2010-04-07 14:33:37 +00:00
Martin v. Löwis 16ea548f69 Issue #8314: Fix unsigned long long bug in libffi on Sparc v8. 2010-04-07 11:01:46 +00:00
Mark Dickinson 65605f7a5f 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).
2010-04-07 10:18:27 +00:00
Vinay Sajip 497256ba18 Issue #8331: logging: fixed some grammatical errors in documentation. 2010-04-07 09:40:52 +00:00
Stefan Krah ef7590e943 Issue #8328: Silence Visual Studio warnings. 2010-04-07 08:24:44 +00:00
Philip Jenvey 5a5a37c346 document new PYTHONWARNINGS env var 2010-04-06 23:38:57 +00:00
Benjamin Peterson f3a8c6675f tell people to update python.man, too 2010-04-06 23:32:27 +00:00
Philip Jenvey aebbaeb962 #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin
2010-04-06 23:24:45 +00:00
Michael Foord c1bf677e28 Fix module directory finding logic for dotted paths in unittest test discovery. 2010-04-06 23:18:16 +00:00
Vinay Sajip ccd8bc8a83 Issue #8327: logging: Clarification of propagation functionality in documentation. 2010-04-06 22:32:37 +00:00
Mark Dickinson ad971d62ee More NaN consistency doc fixes. 2010-04-06 22:18:23 +00:00
Mark Dickinson e07acb5f15 Use consistent spelling for nans (thanks Georg for noticing). 2010-04-06 22:10:55 +00:00
Benjamin Peterson 3a1dfa21c2 remove a optimization that resulted in unexpected behavior #8929 2010-04-06 21:50:00 +00:00
Benjamin Peterson 22c62dd345 use skip decorator 2010-04-06 21:37:06 +00:00
Georg Brandl fb12044392 Fix syntax. 2010-04-06 20:27:59 +00:00
Mark Dickinson 99e73f9145 Issue #7947: Clarify math module behaviour for IEEE 754 special cases, along
with a number of additional minor edits and typo corrections.
2010-04-06 19:50:03 +00:00
Mark Dickinson ea7e5510aa Silence a 'comparison between signed and unsigned integer expressions' gcc warning. 2010-04-06 18:58:54 +00:00
Mark Dickinson a5db4310f3 Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator. 2010-04-06 18:20:11 +00:00
Antoine Pitrou 3b4c989cfd Issue #8193: Fix test_zlib failure with zlib 1.2.4. 2010-04-06 17:21:09 +00:00
Mark Dickinson 8279167af9 Misc/NEWS entry for r79843. 2010-04-06 16:47:55 +00:00
Mark Dickinson 3ec9b942b5 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.
2010-04-06 16:46:09 +00:00
Antoine Pitrou 72ec2e2bdf 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).
2010-04-06 15:38:25 +00:00
Eric Smith 6a92860a3e Note that PEP 378 also applies to int. 2010-04-06 15:17:33 +00:00
Georg Brandl 2b051d7459 Add JP. 2010-04-06 14:33:44 +00:00
Eric Smith c4663856d9 Fixed PEP 378 example. 2010-04-06 14:30:15 +00:00
Georg Brandl abe448c49b #8320: document return value of recv_into(). 2010-04-06 08:18:15 +00:00
Benjamin Peterson e266d3e804 ready _sre types 2010-04-06 03:34:09 +00:00
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