]> granicus.if.org Git - python/log
python
14 years agoSmall comment documentation change to clarify "ident" selection.
Sean Reifscheider [Fri, 23 Apr 2010 08:38:24 +0000 (08:38 +0000)]
Small comment documentation change to clarify "ident" selection.

14 years agoissue8451: Making syslog module use sys.argv[0] for "ident".
Sean Reifscheider [Fri, 23 Apr 2010 08:31:55 +0000 (08:31 +0000)]
issue8451: Making syslog module use sys.argv[0] for "ident".

14 years agoIssue #8108: Fix the unwrap() method of SSL objects when the socket has
Antoine Pitrou [Thu, 22 Apr 2010 23:33:02 +0000 (23:33 +0000)]
Issue #8108: Fix the unwrap() method of SSL objects when the socket has
a non-infinite timeout.  Also make that method friendlier with applications
wanting to continue using the socket in clear-text mode, by disabling
OpenSSL's internal readahead.  Thanks to Darryl Miles for guidance.

Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.

14 years agoAdd "report a bug" links in some prominent places. Make it clear that doc bugs can...
Georg Brandl [Thu, 22 Apr 2010 22:15:33 +0000 (22:15 +0000)]
Add "report a bug" links in some prominent places.  Make it clear that doc bugs can be mailed to docs@python.org.  Clarify tracker usage.

14 years agoSkip test on old versions of OpenSSL
Antoine Pitrou [Thu, 22 Apr 2010 18:00:41 +0000 (18:00 +0000)]
Skip test on old versions of OpenSSL

14 years agoTemporarily display OpenSSL version in verbose run -- trying to diagnose failure...
Antoine Pitrou [Thu, 22 Apr 2010 17:44:41 +0000 (17:44 +0000)]
Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.

14 years agoChanged tests to only urlparse one, which was enough, addressed Ezio's comment
Senthil Kumaran [Thu, 22 Apr 2010 12:10:13 +0000 (12:10 +0000)]
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.

14 years agoRephrase comment.
Ezio Melotti [Thu, 22 Apr 2010 11:53:21 +0000 (11:53 +0000)]
Rephrase comment.

14 years agoIssue #8475: Pass absolute interpreter path to
Martin v. Löwis [Thu, 22 Apr 2010 11:34:36 +0000 (11:34 +0000)]
Issue #8475: Pass absolute interpreter path to
"make html".

14 years ago#8474: fix duplicate test in test_email.
Ezio Melotti [Thu, 22 Apr 2010 11:23:31 +0000 (11:23 +0000)]
#8474: fix duplicate test in test_email.

14 years agoUpdated the RFCs list in the See Also section of urlparse.rst
Senthil Kumaran [Thu, 22 Apr 2010 05:48:35 +0000 (05:48 +0000)]
Updated the RFCs list in the See Also section of urlparse.rst

14 years agoIssue #7332: Remove the 16KB stack-based buffer in
Antoine Pitrou [Wed, 21 Apr 2010 22:53:29 +0000 (22:53 +0000)]
Issue #7332: Remove the 16KB stack-based buffer in
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback.  Patch by
Charles-François Natali.

14 years ago- Build the ossaudio extension on GNU/kFreeBSD.
Matthias Klose [Wed, 21 Apr 2010 22:18:52 +0000 (22:18 +0000)]
- Build the ossaudio extension on GNU/kFreeBSD.

14 years agosetup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty.
Matthias Klose [Wed, 21 Apr 2010 21:45:30 +0000 (21:45 +0000)]
setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty.

14 years agoForgot to add the sample certificate (followup to r80314)
Antoine Pitrou [Wed, 21 Apr 2010 19:36:23 +0000 (19:36 +0000)]
Forgot to add the sample certificate (followup to r80314)

14 years agoIssue #8484: Load all ciphers and digest algorithms when initializing
Antoine Pitrou [Wed, 21 Apr 2010 19:28:03 +0000 (19:28 +0000)]
Issue #8484: Load all ciphers and digest algorithms when initializing
the _ssl extension, such that verification of some SSL certificates
doesn't fail because of an "unknown algorithm".

14 years agoshutil: removed unused import and fixed attributes names in _call_external_zip
Tarek Ziadé [Wed, 21 Apr 2010 13:32:26 +0000 (13:32 +0000)]
shutil: removed unused import and fixed attributes names in _call_external_zip

14 years agoAdd Tim Golden.
Martin v. Löwis [Wed, 21 Apr 2010 06:37:48 +0000 (06:37 +0000)]
Add Tim Golden.

14 years agoSync test_plistlib.py with plistlib.py
Ronald Oussoren [Wed, 21 Apr 2010 06:00:35 +0000 (06:00 +0000)]
Sync test_plistlib.py with plistlib.py

14 years agoIssue #8437: Fix test_gdb failures, patch written by Dave Malcolm
Victor Stinner [Tue, 20 Apr 2010 22:28:31 +0000 (22:28 +0000)]
Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm

14 years agoremoved ztar support in shutil.make_archive
Tarek Ziadé [Tue, 20 Apr 2010 21:09:06 +0000 (21:09 +0000)]
removed ztar support in shutil.make_archive

14 years agoFix for issue 7852: the DTD for OSX Plists has changed due
Ronald Oussoren [Tue, 20 Apr 2010 20:59:37 +0000 (20:59 +0000)]
Fix for issue 7852: the DTD for OSX Plists has changed due
to a change in the company name for Apple.

14 years agoIssue2987 - Added additional Invalid URL and changed the Invalid URL checking code...
Senthil Kumaran [Tue, 20 Apr 2010 20:37:59 +0000 (20:37 +0000)]
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.

14 years agofix typo in r79533, introduced by the fix for issue #8233
Matthias Klose [Tue, 20 Apr 2010 19:45:34 +0000 (19:45 +0000)]
fix typo in r79533, introduced by the fix for issue #8233

14 years ago#8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools...
Ezio Melotti [Tue, 20 Apr 2010 16:49:48 +0000 (16:49 +0000)]
#8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse

14 years agoAdd version info for os.kill and signal changes from #1220212.
Brian Curtin [Tue, 20 Apr 2010 15:23:18 +0000 (15:23 +0000)]
Add version info for os.kill and signal changes from #1220212.

14 years agoThis patch fixes the handling of a weak-linked
Ronald Oussoren [Tue, 20 Apr 2010 08:54:48 +0000 (08:54 +0000)]
This patch fixes the handling of a weak-linked
variable and should fix issue #8095.

14 years agoThe PythonLauncher change is needed due
Ronald Oussoren [Tue, 20 Apr 2010 08:53:12 +0000 (08:53 +0000)]
The PythonLauncher change is needed due
to changes in how the BASECFLAGS and CFLAGS
variables get filled by configure.

The Mac/Makefile.in change ensures that
pythonw gets build with the rigth deployment
targets.

14 years ago1) The timeout in the itimer tests was too low for slow or heavily
Stefan Krah [Tue, 20 Apr 2010 07:59:10 +0000 (07:59 +0000)]
1) The timeout in the itimer tests was too low for slow or heavily
   loaded machines.

2) Even with the increased timeout, the OS does not guarantee that
   a process will get a certain amount of virtual time in 60s, so
   the failure is changed to a diagnostic.

14 years agoFix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
Senthil Kumaran [Tue, 20 Apr 2010 06:54:59 +0000 (06:54 +0000)]
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.

14 years agoExplicitly set system default for $PATH to
Ronald Oussoren [Tue, 20 Apr 2010 05:50:44 +0000 (05:50 +0000)]
Explicitly set system default for $PATH to
ensure we have a clean build environment (OSX installer)

14 years agoFix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT...
Giampaolo Rodolà [Mon, 19 Apr 2010 21:46:28 +0000 (21:46 +0000)]
Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands

14 years agoFixed #8463: added missing reference to bztar in shutil's documentation.
Tarek Ziadé [Mon, 19 Apr 2010 21:28:21 +0000 (21:28 +0000)]
Fixed #8463: added missing reference to bztar in shutil's documentation.

14 years agofew pep8 fixes
Tarek Ziadé [Mon, 19 Apr 2010 21:13:03 +0000 (21:13 +0000)]
few pep8 fixes

14 years agoIssue #8438: Remove reference to the missing "surrogateescape" encoding
Antoine Pitrou [Mon, 19 Apr 2010 18:52:43 +0000 (18:52 +0000)]
Issue #8438: Remove reference to the missing "surrogateescape" encoding
error handler from the new IO library.

14 years agoIssue 8436: set.__init__ accepts keyword args
Raymond Hettinger [Sun, 18 Apr 2010 22:57:57 +0000 (22:57 +0000)]
Issue 8436: set.__init__ accepts keyword args

14 years agoFix catastrophic file opening and closing logic in test_linecache
Antoine Pitrou [Sun, 18 Apr 2010 19:14:38 +0000 (19:14 +0000)]
Fix catastrophic file opening and closing logic in test_linecache

14 years agoRevert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in...
Victor Stinner [Sun, 18 Apr 2010 18:22:25 +0000 (18:22 +0000)]
Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py

14 years agoAdd the OSX universal binary related options
Ronald Oussoren [Sun, 18 Apr 2010 17:59:37 +0000 (17:59 +0000)]
Add the OSX universal binary related options
to CFLAGS instead of BASECFLAGS.

This fixes issue 8366 and is needed due to
changes introduced in the fix for issue 1628484.

14 years agoAdd check to build-installer.py to ensure that
Ronald Oussoren [Sun, 18 Apr 2010 14:01:05 +0000 (14:01 +0000)]
Add check to build-installer.py to ensure that
the right version of Tcl/Tk is available (on OSX)

Fixes issue #5651

14 years agoFix for issue #7072
Ronald Oussoren [Sun, 18 Apr 2010 13:47:49 +0000 (13:47 +0000)]
Fix for issue #7072

14 years agoFix Issue #3817: 225 is now considered a valid response code for ABOR
Giampaolo Rodolà [Sun, 18 Apr 2010 12:55:03 +0000 (12:55 +0000)]
Fix Issue #3817: 225 is now considered a valid response code for ABOR

14 years agoFix bootstrap after r80166
Antoine Pitrou [Sun, 18 Apr 2010 11:16:24 +0000 (11:16 +0000)]
Fix bootstrap after r80166

14 years agoplatform: use subprocess.Popen() instead of os.popen() in _syscmd_file()
Victor Stinner [Sun, 18 Apr 2010 09:07:49 +0000 (09:07 +0000)]
platform: use subprocess.Popen() instead of os.popen() in _syscmd_file()

 * Popen() avoids ugly shell escape: target.replace('"', '\\"')
 * Use proc.communicate() instead of f.stdout.read()
 * Get output from stdout by splitting with ": " instead of splitting by spaces
   to support filename with spaces

14 years agoIssue #8279: Fix test_gdb failures.
Martin v. Löwis [Sat, 17 Apr 2010 22:40:40 +0000 (22:40 +0000)]
Issue #8279: Fix test_gdb failures.

14 years agoIssue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it.
R. David Murray [Sat, 17 Apr 2010 21:59:26 +0000 (21:59 +0000)]
Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it.

This is presumably related to issue 3864, and appears to be due
to a platform bug on freebsd6.

14 years agoAdd Giampaolo.
Martin v. Löwis [Sat, 17 Apr 2010 17:10:55 +0000 (17:10 +0000)]
Add Giampaolo.

14 years agoIssue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
Antoine Pitrou [Sat, 17 Apr 2010 17:10:38 +0000 (17:10 +0000)]
Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list.  Helps fix test_ssl with OpenSSL 1.0.0.

14 years agoUpdate link to Apple Publication Style guide.
R. David Murray [Sat, 17 Apr 2010 15:45:38 +0000 (15:45 +0000)]
Update link to Apple Publication Style guide.

14 years agoFix Issue5650 - Update the RFC List in the urlparse module.
Senthil Kumaran [Sat, 17 Apr 2010 14:30:53 +0000 (14:30 +0000)]
Fix Issue5650 - Update the RFC List in the urlparse module.

14 years agoIssue #3864: Skip three test_signal tests on freebsd6 due to platform bug.
R. David Murray [Sat, 17 Apr 2010 05:26:26 +0000 (05:26 +0000)]
Issue #3864: Skip three test_signal tests on freebsd6 due to platform bug.

Two itimer tests and an interprocess signal test fail on FreeBSD 6 if
any test that starts a thread runs before test_signal.  Since FreeBSD7
does not show this behavior, the bug is most likely a platform bug,
so this patch just skips the failing tests on freebsd6.

14 years agotiny simplification
Benjamin Peterson [Fri, 16 Apr 2010 22:52:44 +0000 (22:52 +0000)]
tiny simplification

14 years agohave a clear error when passing something > sys.maxsize to bytearray
Benjamin Peterson [Fri, 16 Apr 2010 22:35:38 +0000 (22:35 +0000)]
have a clear error when passing something > sys.maxsize to bytearray

14 years agofix typo
Benjamin Peterson [Fri, 16 Apr 2010 22:25:57 +0000 (22:25 +0000)]
fix typo

14 years agobytearray -> type2test
Benjamin Peterson [Fri, 16 Apr 2010 22:24:16 +0000 (22:24 +0000)]
bytearray -> type2test

14 years agoremove check for unicode
Benjamin Peterson [Fri, 16 Apr 2010 21:55:10 +0000 (21:55 +0000)]
remove check for unicode

14 years agoIgnore jinja2
Antoine Pitrou [Fri, 16 Apr 2010 21:34:02 +0000 (21:34 +0000)]
Ignore jinja2

14 years agoFix issue2987: RFC2732 support for urlparse (IPv6 addresses)
Senthil Kumaran [Fri, 16 Apr 2010 02:46:46 +0000 (02:46 +0000)]
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)

14 years agoadd space
Benjamin Peterson [Thu, 15 Apr 2010 21:42:16 +0000 (21:42 +0000)]
add space

14 years agoAdd various items
Andrew M. Kuchling [Thu, 15 Apr 2010 01:42:27 +0000 (01:42 +0000)]
Add various items

14 years agoFix os.kill tests to be more robust and work with slower machines.
Brian Curtin [Thu, 15 Apr 2010 00:40:40 +0000 (00:40 +0000)]
Fix os.kill tests to be more robust and work with slower machines.

Rather than depending on some sleep value, start up an interpreter
as a subprocess and communicate with it. Because subprocess pipes
can't be read from until EOF and I want to read from them before that,
use ctypes to peek by using PeekNamedPipe. Once the subprocess has
written the message, then it is ready to roll and accept signals.
After that, kill it.

14 years agoAdd various items; correct argparse output
Andrew M. Kuchling [Wed, 14 Apr 2010 23:55:17 +0000 (23:55 +0000)]
Add various items; correct argparse output

14 years agoFix missing.
Georg Brandl [Wed, 14 Apr 2010 21:46:45 +0000 (21:46 +0000)]
Fix missing.

14 years ago#8370: fix module name in backported doc addition.
Georg Brandl [Wed, 14 Apr 2010 21:36:49 +0000 (21:36 +0000)]
#8370: fix module name in backported doc addition.

14 years ago#5250: document __instancecheck__ and __subclasscheck__. I hope the part about the...
Georg Brandl [Wed, 14 Apr 2010 21:34:44 +0000 (21:34 +0000)]
#5250: document __instancecheck__ and __subclasscheck__.  I hope the part about the class/metaclass distinction is understandable.

14 years ago#8399: add note about Windows and O_BINARY.
Georg Brandl [Wed, 14 Apr 2010 19:16:38 +0000 (19:16 +0000)]
#8399: add note about Windows and O_BINARY.

14 years agoAdd some text
Andrew M. Kuchling [Wed, 14 Apr 2010 14:28:31 +0000 (14:28 +0000)]
Add some text

14 years agoAdd an x-ref to where the O_ constants are documented and move the SEEK_ constants...
Georg Brandl [Wed, 14 Apr 2010 13:50:31 +0000 (13:50 +0000)]
Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().

14 years ago#5341: fix typo and adapt docstring syntax.
Georg Brandl [Wed, 14 Apr 2010 08:56:01 +0000 (08:56 +0000)]
#5341: fix typo and adapt docstring syntax.

14 years ago#5341: typo.
Georg Brandl [Wed, 14 Apr 2010 08:53:38 +0000 (08:53 +0000)]
#5341: typo.

14 years agoAdd a small sleep to let a subprocess start before terminating it.
Brian Curtin [Wed, 14 Apr 2010 02:24:24 +0000 (02:24 +0000)]
Add a small sleep to let a subprocess start before terminating it.

David Bolen's buildbot isn't know for it's speed, and it seems that we
may have been trying to kill the subprocess before it was fully
initialized. I ran with this change on the bot itself and it seemed to work.

14 years agoAdd argparse example
Andrew M. Kuchling [Wed, 14 Apr 2010 01:14:59 +0000 (01:14 +0000)]
Add argparse example

14 years agoIssue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
R. David Murray [Tue, 13 Apr 2010 20:57:40 +0000 (20:57 +0000)]
Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.

14 years agoFix overzealous patterns in .hgignore, which used to hide files containing e.g. ...
Antoine Pitrou [Tue, 13 Apr 2010 17:36:07 +0000 (17:36 +0000)]
Fix overzealous patterns in .hgignore, which used to hide files containing e.g. "python".

(also an occasional source of bugs on the hgsvn-generated hg mirrors)

14 years agoIn test_winsound, don't try to import _winreg until after checking that winsound...
Mark Dickinson [Tue, 13 Apr 2010 11:37:23 +0000 (11:37 +0000)]
In test_winsound, don't try to import _winreg until after checking that winsound is supported.

14 years agoGet rid of multi-row cells.
Georg Brandl [Tue, 13 Apr 2010 06:43:54 +0000 (06:43 +0000)]
Get rid of multi-row cells.

14 years agoFix #7306. Add skips to test_winsound when no default sound is configured.
Brian Curtin [Tue, 13 Apr 2010 02:25:20 +0000 (02:25 +0000)]
Fix #7306. Add skips to test_winsound when no default sound is configured.

These failures occur on a Windows Server 2003 machine I test on.

14 years agoAdd an item; stray edit
Andrew M. Kuchling [Tue, 13 Apr 2010 01:32:51 +0000 (01:32 +0000)]
Add an item; stray edit

14 years agoFix #8364. Update the setquit docstring and change a built-in to builtin.
Brian Curtin [Mon, 12 Apr 2010 23:30:49 +0000 (23:30 +0000)]
Fix #8364. Update the setquit docstring and change a built-in to builtin.

14 years agoAdd usage notes for collections.Counter().
Raymond Hettinger [Mon, 12 Apr 2010 21:12:06 +0000 (21:12 +0000)]
Add usage notes for collections.Counter().

14 years agoMore struct doc tweaks.
Mark Dickinson [Mon, 12 Apr 2010 20:38:36 +0000 (20:38 +0000)]
More struct doc tweaks.

14 years agoRewrap some long lines in struct module doc source.
Mark Dickinson [Mon, 12 Apr 2010 19:46:20 +0000 (19:46 +0000)]
Rewrap some long lines in struct module doc source.

14 years agoIssue #7355: Various improvements to struct module documentation.
Mark Dickinson [Mon, 12 Apr 2010 19:25:32 +0000 (19:25 +0000)]
Issue #7355: Various improvements to struct module documentation.

 - note early on that the result of struct.pack includes padding
   bytes by default

 - add examples showing how order of struct fields can affect size
   (due to padding)

 - better headers and references; introduction to format strings

 - integrate packing notes into table

Many thanks to Meador Inge for the patch.

14 years agoUpdate the Windows FAQ's text about os.kill (#1220212).
Brian Curtin [Mon, 12 Apr 2010 18:07:21 +0000 (18:07 +0000)]
Update the Windows FAQ's text about os.kill (#1220212).

14 years agoIssue #7585: use tab between components in unified and context diff headers.
R. David Murray [Mon, 12 Apr 2010 16:35:19 +0000 (16:35 +0000)]
Issue #7585: use tab between components in unified and context diff headers.

Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs.  This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs.  This improves compatibility with
patch tools.  The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.

Patch by Anatoly Techtonik.

14 years agoIssue #8367: Fix spurious test failure on systems without a sound card.
Stefan Krah [Mon, 12 Apr 2010 15:21:25 +0000 (15:21 +0000)]
Issue #8367: Fix spurious test failure on systems without a sound card.

14 years agotypo
Barry Warsaw [Mon, 12 Apr 2010 14:40:49 +0000 (14:40 +0000)]
typo

14 years agoIssue #7472: ISO-2022 charsets now consistently use 7bit CTE.
R. David Murray [Mon, 12 Apr 2010 14:26:06 +0000 (14:26 +0000)]
Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.

Fixed a typo in the email.encoders module so that messages output using
an ISO-2022 character set will use a content-transfer-encoding of
7bit consistently.  Previously if the input data had any eight bit
characters the output data would get marked as 8bit even though it
was actually 7bit.

14 years agoAdding additional examples of valid urls as per RFC 3986 (for issue8339)
Senthil Kumaran [Mon, 12 Apr 2010 06:50:24 +0000 (06:50 +0000)]
Adding additional examples of valid urls as per RFC 3986 (for issue8339)

14 years agoRe-enable all tests, to see which ones fail on the buildbots.
Martin v. Löwis [Mon, 12 Apr 2010 05:22:25 +0000 (05:22 +0000)]
Re-enable all tests, to see which ones fail on the buildbots.

14 years agoIssue #8330: Fix expected output in test_gdb.
Martin v. Löwis [Mon, 12 Apr 2010 05:18:16 +0000 (05:18 +0000)]
Issue #8330: Fix expected output in test_gdb.

14 years agoIt is possible to add extra testing options using EXTRATESTOPTS.
Antoine Pitrou [Mon, 12 Apr 2010 00:10:46 +0000 (00:10 +0000)]
It is possible to add extra testing options using EXTRATESTOPTS.
When such extra options include "-x testname", subsequent arguments
are all taken as test names to ignore. Therefore, standard options
must be passed before *TESTOPTS.

(witnessed on the ARM buildbots)

14 years agoFix misplaced items and incorrect title.
Antoine Pitrou [Sun, 11 Apr 2010 22:45:47 +0000 (22:45 +0000)]
Fix misplaced items and incorrect title.

14 years agoIssue #8374: Update the internal alias table in the :mod:`locale` module
Antoine Pitrou [Sun, 11 Apr 2010 22:32:39 +0000 (22:32 +0000)]
Issue #8374: Update the internal alias table in the :mod:`locale` module
to cover recent locale changes and additions.

14 years agoAdd several items
Andrew M. Kuchling [Sun, 11 Apr 2010 20:40:09 +0000 (20:40 +0000)]
Add several items

14 years agoMinor factoring
Raymond Hettinger [Sun, 11 Apr 2010 20:39:28 +0000 (20:39 +0000)]
Minor factoring

14 years agoFix for issues #3581, #1481 and #7650:
Stefan Krah [Sun, 11 Apr 2010 15:15:54 +0000 (15:15 +0000)]
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.

14 years agoAdd two items
Andrew M. Kuchling [Sun, 11 Apr 2010 12:49:37 +0000 (12:49 +0000)]
Add two items

14 years agoTwo typo fixes
Andrew M. Kuchling [Sun, 11 Apr 2010 12:48:08 +0000 (12:48 +0000)]
Two typo fixes

14 years agoAdd descriptor howto to main documentation
Raymond Hettinger [Sun, 11 Apr 2010 08:14:45 +0000 (08:14 +0000)]
Add descriptor howto to main documentation