Commit Graph

44638 Commits

Author SHA1 Message Date
Stefan Krah a185839862 Fix for issues #3581, #1481 and #7650:
1. The assumptions in check_node() were too restrictive:

     - Hardware addresses with universal_local_bit=1 are valid
       (locally administered).

     - Many of the tested functions (including uuid.getnode())
       may return valid RFC 4122 random node IDs. These are pretty
       much random 48-bit values with the multicast bit set to 1.

2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
   on some platforms. The resulting TypeError is now caught.
2010-04-11 15:15:54 +00:00
Andrew M. Kuchling 6d7dfa231f Add two items 2010-04-11 12:49:37 +00:00
Andrew M. Kuchling 884d0a3c27 Two typo fixes 2010-04-11 12:48:08 +00:00
Raymond Hettinger f11363dcd3 Add descriptor howto to main documentation 2010-04-11 08:14:45 +00:00
Andrew M. Kuchling 7c2ab87568 Remove distutils section 2010-04-11 01:44:13 +00:00
Andrew M. Kuchling bfe8a84ce9 name correct 2010-04-11 01:40:49 +00:00
Benjamin Peterson a11da59755 add test for class with no operations defined 2010-04-11 01:40:32 +00:00
Andrew M. Kuchling ec6393f380 Add various items 2010-04-11 01:40:30 +00:00
Andrew M. Kuchling ca2413e2ad Punctuation fix 2010-04-11 01:40:06 +00:00
Andrew M. Kuchling fced90835c Two grammar fixes 2010-04-11 01:39:36 +00:00
Raymond Hettinger e694e00ee1 Add the sorting HOWTO to the main docs. 2010-04-11 00:01:23 +00:00
Antoine Pitrou bba8f2d10a Revert temporary commit in r79937 2010-04-10 23:32:12 +00:00
Antoine Pitrou 16e026cc94 Temporary commit of fix to issue #5380 (in order to watch buildbot response) 2010-04-10 22:43:05 +00:00
Philip Jenvey cdd98fb463 fix PYTHONWARNINGS handling to not modify the original env value and improve
its tests
2010-04-10 20:27:15 +00:00
Jean-Paul Calderone b60ee469cd Refactor a couple inspect module tests to remove duplicate code
The test_classify_oldstyle and test_classify_newstyle methods of
test.test_inspect.TestClassesAndFunctions were previously almost
identical (aside from irrelevant whitespace and one semantic
difference).  They now share a single helper.

Fixes issue #8363.
2010-04-10 19:59:28 +00:00
Philip Jenvey bb66973afb adjust gc_collect for Jython 2010-04-10 19:39:07 +00:00
Benjamin Peterson 12409067c2 towards beta 2 2010-04-10 18:53:58 +00:00
Raymond Hettinger 4e45512de2 Issue 8361: Remove assert from functools.total_ordering 2010-04-10 16:57:36 +00:00
Benjamin Peterson 55b21389ef tag first 2.7b1 beta 2010-04-10 16:30:11 +00:00
Benjamin Peterson 2cab8db95e update pydoc-topics 2010-04-10 16:28:34 +00:00
Benjamin Peterson fbac6c1590 bump version to 2.7b1 2010-04-10 16:22:05 +00:00
Nick Coghlan 14459d5b1b Fix typo in comment 2010-04-10 15:01:54 +00:00
Nick Coghlan 13623662ea 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) 2010-04-10 14:24:36 +00:00
Georg Brandl 9352f1c64e #8346: update version. 2010-04-10 11:16:59 +00:00
Georg Brandl 90aae551b1 #8360: skipTest was added in 2.7. 2010-04-10 11:15:24 +00:00
Raymond Hettinger a1d61d0495 Fixup new itertools recipes. 2010-04-10 07:01:32 +00:00
Antoine Pitrou 343314a11c Revert r79915 (temporary commit to check for buildbots -> the fix was successful) 2010-04-09 22:41:31 +00:00
Antoine Pitrou 9c6cd56e91 Temporarily commit fix to issue #8108, to check for buildbot response 2010-04-09 21:00:36 +00:00
Antoine Pitrou 92719c546f SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilation
with earlier versions.
2010-04-09 20:38:39 +00:00
Martin v. Löwis 7bc26b9be6 Issue #8348: Fix test ftp url in test_urllib2net. 2010-04-08 17:40:54 +00:00
Martin v. Löwis e84089e3f1 Issue #8204: Fix test_ttk notebook test by forcing focus. 2010-04-08 17:38:32 +00:00
Martin v. Löwis 1b287c7434 Issue #8344: Fix test_ttk bug on FreeBSD. 2010-04-08 09:47:40 +00:00
Ronald Oussoren 7591285fc3 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.
2010-04-08 08:13:31 +00:00
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