]> granicus.if.org Git - python/log
python
16 years ago#3057: Fix the MutableMapping ABC to use the 2.6 dict interface.
Georg Brandl [Sat, 7 Jun 2008 17:03:28 +0000 (17:03 +0000)]
#3057: Fix the MutableMapping ABC to use the 2.6 dict interface.

16 years agoRegister IterableUserDict as a MutableMapping.
Georg Brandl [Sat, 7 Jun 2008 16:16:12 +0000 (16:16 +0000)]
Register IterableUserDict as a MutableMapping.

16 years agoRevert unwanted changes.
Georg Brandl [Sat, 7 Jun 2008 16:04:01 +0000 (16:04 +0000)]
Revert unwanted changes.

16 years agoFactor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
Georg Brandl [Sat, 7 Jun 2008 15:59:10 +0000 (15:59 +0000)]
Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
to ease standalone use of the algorithm.

16 years agoFinished bug #2451. Fixed the retrying part to make it
Facundo Batista [Sat, 7 Jun 2008 13:36:36 +0000 (13:36 +0000)]
Finished bug #2451.  Fixed the retrying part to make it
more robust.

16 years agoRemove locking part of new buffer protocol.
Travis E. Oliphant [Fri, 6 Jun 2008 22:39:47 +0000 (22:39 +0000)]
Remove locking part of new buffer protocol.

16 years agoAdd long double check support to configure test.
Travis E. Oliphant [Fri, 6 Jun 2008 22:33:21 +0000 (22:33 +0000)]
Add long double check support to configure test.

16 years agoIssue 3501: Make heapq support both __le__ and __lt__.
Raymond Hettinger [Fri, 6 Jun 2008 21:47:51 +0000 (21:47 +0000)]
Issue 3501: Make heapq support both __le__ and __lt__.

16 years agoFix build issue on OSX 10.4
Ronald Oussoren [Fri, 6 Jun 2008 21:31:33 +0000 (21:31 +0000)]
Fix build issue on OSX 10.4

16 years agoDocument the new ctypes features.
Thomas Heller [Fri, 6 Jun 2008 20:05:15 +0000 (20:05 +0000)]
Document the new ctypes features.

It would be great if someone could review both sematics, markup, and
spelling, and correct the versionadded and versionchanges markers.

16 years agoAdd a reminder for the maintainer of whatsnew.
Thomas Heller [Fri, 6 Jun 2008 18:42:11 +0000 (18:42 +0000)]
Add a reminder for the maintainer of whatsnew.

16 years agoPerformance improvement: Use PyDict_Get/SetItem instead of
Thomas Heller [Fri, 6 Jun 2008 18:37:55 +0000 (18:37 +0000)]
Performance improvement: Use PyDict_Get/SetItem instead of
PyDict_Get/SetItemString.

16 years agoFix brackets.
Georg Brandl [Fri, 6 Jun 2008 10:43:43 +0000 (10:43 +0000)]
Fix brackets.

16 years agoIssue #1798: Add ctypes calling convention that allows safe access of errno.
Thomas Heller [Fri, 6 Jun 2008 08:33:46 +0000 (08:33 +0000)]
Issue #1798: Add ctypes calling convention that allows safe access of errno.

ctypes maintains thread-local storage that has space for two error
numbers: private copies of the system 'errno' value and, on Windows,
the system error code accessed by the GetLastError() and
SetLastError() api functions.

Foreign functions created with CDLL(..., use_errno=True), when called,
swap the system 'errno' value with the private copy just before the
actual function call, and swapped again immediately afterwards.  The
'use_errno' parameter defaults to False, in this case 'ctypes_errno'
is not touched.

On Windows, foreign functions created with CDLL(...,
use_last_error=True) or WinDLL(..., use_last_error=True) swap the
system LastError value with the ctypes private copy.

The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(...,
use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True).

New ctypes functions are provided to access the ctypes private copies
from Python:

- ctypes.set_errno(value) and ctypes.set_last_error(value) store
  'value' in the private copy and returns the previous value.

- ctypes.get_errno() and ctypes.get_last_error() returns the current
  ctypes private copies value.

16 years agoMarkup fix.
Georg Brandl [Fri, 6 Jun 2008 07:34:50 +0000 (07:34 +0000)]
Markup fix.

16 years agoAldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
Neal Norwitz [Fri, 6 Jun 2008 04:47:01 +0000 (04:47 +0000)]
Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
(I didn't regen configure, since I don't have a working autoconf.)

16 years agoGrammar fix
Andrew M. Kuchling [Thu, 5 Jun 2008 23:35:48 +0000 (23:35 +0000)]
Grammar fix

16 years agoAdd various items
Andrew M. Kuchling [Thu, 5 Jun 2008 23:35:31 +0000 (23:35 +0000)]
Add various items

16 years agoDocument 'utc' parameter
Andrew M. Kuchling [Thu, 5 Jun 2008 23:33:54 +0000 (23:33 +0000)]
Document 'utc' parameter

16 years agorevert 63965 for preformance reasons
Benjamin Peterson [Thu, 5 Jun 2008 23:02:33 +0000 (23:02 +0000)]
revert 63965 for preformance reasons

16 years agouse the more idomatic while True
Benjamin Peterson [Thu, 5 Jun 2008 22:39:34 +0000 (22:39 +0000)]
use the more idomatic while True

16 years agoBackport from py3k: Implement the new buffer interface from pep3118
Thomas Heller [Thu, 5 Jun 2008 17:52:59 +0000 (17:52 +0000)]
Backport from py3k: Implement the new buffer interface from pep3118
for ctypes instances.  Closes issue #2404.

16 years agoBackport from py3k: Implement the new buffer interface from pep3118
Thomas Heller [Thu, 5 Jun 2008 17:51:15 +0000 (17:51 +0000)]
Backport from py3k: Implement the new buffer interface from pep3118
for ctypes instances.  Closes issue #2404.

16 years agoFix preprocessor statement.
Thomas Heller [Thu, 5 Jun 2008 17:29:38 +0000 (17:29 +0000)]
Fix preprocessor statement.

16 years agoMacOS X: Enable 4-way universal builds
Ronald Oussoren [Thu, 5 Jun 2008 12:58:24 +0000 (12:58 +0000)]
MacOS X: Enable 4-way universal builds

This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.

16 years agoFixed complex.__getnewargs__() to not emit another complex object.
Alexandre Vassalotti [Wed, 4 Jun 2008 20:41:44 +0000 (20:41 +0000)]
Fixed complex.__getnewargs__() to not emit another complex object.

16 years agoRevert revisions 63943 and 63942 (Issue #1798: Add ctypes calling
Thomas Heller [Wed, 4 Jun 2008 20:22:05 +0000 (20:22 +0000)]
Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling
convention that allows safe access to errno)

This code does not yet work on OS X (__thread storage specifier not
available), so i needs a configure check plus a more portable
solution.

16 years agoFix ctypes.set_errno for gcc.
Thomas Heller [Wed, 4 Jun 2008 19:19:00 +0000 (19:19 +0000)]
Fix ctypes.set_errno for gcc.

16 years agoIssue #1798: Add ctypes calling convention that allows safe access to
Thomas Heller [Wed, 4 Jun 2008 18:59:03 +0000 (18:59 +0000)]
Issue #1798: Add ctypes calling convention that allows safe access to
errno (and LastError, on Windows).

ctypes maintains a module-global, but thread-local, variable that
contains an error number; called 'ctypes_errno' for this discussion.
This variable is a private copy of the systems 'errno' value; the copy
is swapped with the 'errno' variable on several occasions.

Foreign functions created with CDLL(..., use_errno=True), when called,
swap the values just before the actual function call, and swapped
again immediately afterwards.  The 'use_errno' parameter defaults to
False, in this case 'ctypes_errno' is not touched.

The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE)
or WINFUNCTYPE(..., use_errno=True).

Two new ctypes functions are provided to access the 'ctypes_errno'
value from Python:

- ctypes.set_errno(value) sets ctypes_errno to 'value', the previous
  ctypes_errno value is returned.

- ctypes.get_errno() returns the current ctypes_errno value.

---

On Windows, the same scheme is implemented for the error value which
is managed by the GetLastError() and SetLastError() windows api calls.

The ctypes functions are 'ctypes.set_last_error(value)' and
'ctypes.get_last_error()', the CDLL and WinDLL optional parameter is
named 'use_last_error', defaults to False.

---

On Windows, TlsSetValue and TlsGetValue calls are used to provide
thread local storage for the variables; ctypes compiled with __GNUC__
uses __thread variables.

16 years agoComplete revision of new turtle module's docs.
Georg Brandl [Wed, 4 Jun 2008 11:17:26 +0000 (11:17 +0000)]
Complete revision of new turtle module's docs.

16 years agoPatch #1513695: New turtle module, with demos.
Martin v. Löwis [Wed, 4 Jun 2008 06:29:55 +0000 (06:29 +0000)]
Patch #1513695:  New turtle module, with demos.

16 years agoFix Tkinter sequence passing. #2906.
Georg Brandl [Tue, 3 Jun 2008 10:23:15 +0000 (10:23 +0000)]
Fix Tkinter sequence passing. #2906.

16 years agomake test_mutex more elegant
Benjamin Peterson [Tue, 3 Jun 2008 01:30:37 +0000 (01:30 +0000)]
make test_mutex more elegant

16 years agoChange all functions that expect one unicode character to accept a pair of
Walter Dörwald [Mon, 2 Jun 2008 20:36:03 +0000 (20:36 +0000)]
Change all functions that expect one unicode character to accept a pair of
surrogates in narrow builds. Fixes issue #1706460.

16 years agoFix the -x flag so that is does work.
Thomas Heller [Mon, 2 Jun 2008 20:07:46 +0000 (20:07 +0000)]
Fix the -x flag so that is does work.

16 years agoFix misspelled sys.platform name and misspelled filename.
Thomas Heller [Mon, 2 Jun 2008 18:41:30 +0000 (18:41 +0000)]
Fix misspelled sys.platform name and misspelled filename.

16 years agoPatch #2125: Add GetInteger and GetString methods for
Martin v. Löwis [Mon, 2 Jun 2008 08:40:06 +0000 (08:40 +0000)]
Patch #2125: Add GetInteger and GetString methods for
msilib.Record objects.

16 years agoFix issue 2782: be less strict about the format string type in strftime.
Gregory P. Smith [Mon, 2 Jun 2008 04:05:52 +0000 (04:05 +0000)]
Fix issue 2782: be less strict about the format string type in strftime.
Accept unicode and anything else ParseTuple "s#" can deal with.  This
matches the time.strftime behavior.

16 years agoAdds a Thread.getIdent() method to provide the _get_ident() value for
Gregory P. Smith [Sun, 1 Jun 2008 23:48:47 +0000 (23:48 +0000)]
Adds a Thread.getIdent() method to provide the _get_ident() value for
any given threading.Thread object.  feature request issue 2871.

16 years agoMake the _H #define's match the header file names. Fix comments to
Gregory P. Smith [Sun, 1 Jun 2008 22:57:47 +0000 (22:57 +0000)]
Make the _H #define's match the header file names.  Fix comments to
mention the correct type names.

16 years agoDeprecate htmllib and sgmllib for 3.0.
Georg Brandl [Sun, 1 Jun 2008 21:19:14 +0000 (21:19 +0000)]
Deprecate htmllib and sgmllib for 3.0.

16 years agoGenerate pydoc's topic help from the reST docs via Sphinx'
Georg Brandl [Sun, 1 Jun 2008 20:33:55 +0000 (20:33 +0000)]
Generate pydoc's topic help from the reST docs via Sphinx'
new text writer.

16 years agoSpaces vs. tabs.
Georg Brandl [Sun, 1 Jun 2008 19:24:36 +0000 (19:24 +0000)]
Spaces vs. tabs.

16 years agoadd a warning about bgen being removed
Benjamin Peterson [Sun, 1 Jun 2008 19:01:25 +0000 (19:01 +0000)]
add a warning about bgen being removed

16 years agoFix test_sys.
Robert Schuppenies [Sun, 1 Jun 2008 17:11:09 +0000 (17:11 +0000)]
Fix test_sys.

16 years agoFix test_descrtut.
Georg Brandl [Sun, 1 Jun 2008 17:05:56 +0000 (17:05 +0000)]
Fix test_descrtut.

16 years agoSome style nits. Also clarify in the docstrings what __sizeof__ does.
Georg Brandl [Sun, 1 Jun 2008 16:42:16 +0000 (16:42 +0000)]
Some style nits. Also clarify in the docstrings what __sizeof__ does.

16 years agoAdd plain text make target.
Georg Brandl [Sun, 1 Jun 2008 16:41:31 +0000 (16:41 +0000)]
Add plain text make target.

16 years agoIssue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
Robert Schuppenies [Sun, 1 Jun 2008 16:16:17 +0000 (16:16 +0000)]
Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.

16 years agoTypo: encoding -> codeset.
Martin v. Löwis [Sun, 1 Jun 2008 08:19:02 +0000 (08:19 +0000)]
Typo: encoding -> codeset.

16 years agoMove sys_stream and sys_isatty out of the have-langinfo block.
Martin v. Löwis [Sun, 1 Jun 2008 08:06:17 +0000 (08:06 +0000)]
Move sys_stream and sys_isatty out of the have-langinfo block.

16 years agoNew environment variable PYTHONIOENCODING.
Martin v. Löwis [Sun, 1 Jun 2008 07:20:46 +0000 (07:20 +0000)]
New environment variable PYTHONIOENCODING.

16 years agoFixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2...
Gerhard Häring [Sat, 31 May 2008 21:33:27 +0000 (21:33 +0000)]
Fixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2.0 compliance.

16 years ago#3005: add explaining sentence to easydialogs docs.
Georg Brandl [Sat, 31 May 2008 14:45:55 +0000 (14:45 +0000)]
#3005: add explaining sentence to easydialogs docs.

16 years ago#3010: clarification about stdin/use_rawinput.
Georg Brandl [Sat, 31 May 2008 14:40:09 +0000 (14:40 +0000)]
#3010: clarification about stdin/use_rawinput.

16 years agoAdded a note to [] that special forms & special chars lose their meaning
Mark Summerfield [Sat, 31 May 2008 13:05:34 +0000 (13:05 +0000)]
Added a note to [] that special forms & special chars lose their meaning
and backrefs can't be used inside []

16 years agoFix bdist_wininst --user-access-control for win2k
Mark Hammond [Sat, 31 May 2008 05:11:07 +0000 (05:11 +0000)]
Fix bdist_wininst --user-access-control for win2k

16 years agoImplement heapq in terms of less-than (to match list.sort()).
Raymond Hettinger [Sat, 31 May 2008 03:24:31 +0000 (03:24 +0000)]
Implement heapq in terms of less-than (to match list.sort()).

16 years agoUpdate the locale module alias table.
Marc-André Lemburg [Fri, 30 May 2008 20:52:18 +0000 (20:52 +0000)]
Update the locale module alias table.

Closes #3011.

16 years agofix grammar
Benjamin Peterson [Fri, 30 May 2008 20:44:39 +0000 (20:44 +0000)]
fix grammar

16 years agoBetter quote with single quotes.
Georg Brandl [Fri, 30 May 2008 19:17:29 +0000 (19:17 +0000)]
Better quote with single quotes.

16 years agogetloadavg() is not available on Windows.
Georg Brandl [Fri, 30 May 2008 19:12:13 +0000 (19:12 +0000)]
getloadavg() is not available on Windows.

16 years ago* Mark intermedidate computes values (hi, lo, yr) as volatile.
Raymond Hettinger [Fri, 30 May 2008 18:20:50 +0000 (18:20 +0000)]
* Mark intermedidate computes values (hi, lo, yr) as volatile.
* Expand comments.
* Swap variable names in the sum_exact code so that x and y
  are consistently chosen as the larger and smaller magnitude
  values respectively.

16 years agoRefactor and clean up str.format() code (and helpers) in advance of optimizations.
Eric Smith [Fri, 30 May 2008 18:10:04 +0000 (18:10 +0000)]
Refactor and clean up str.format() code (and helpers) in advance of optimizations.

16 years ago#2999: fix name of third parameter in unicode.replace()'s docstring.
Georg Brandl [Fri, 30 May 2008 07:54:16 +0000 (07:54 +0000)]
#2999: fix name of third parameter in unicode.replace()'s docstring.

16 years agoIssue 2903: Add __name__ in globals for namedtuple namespace.
Raymond Hettinger [Fri, 30 May 2008 07:16:53 +0000 (07:16 +0000)]
Issue 2903:  Add __name__ in globals for namedtuple namespace.

16 years agoIssue 2855: Fix obscure crasher by slowing down the entire module. Mimics what was...
Raymond Hettinger [Fri, 30 May 2008 06:49:47 +0000 (06:49 +0000)]
Issue 2855: Fix obscure crasher by slowing down the entire module.  Mimics what was done to dictionaries in r59223.

16 years agoIssue 2784: fix leaks in exception exit.
Raymond Hettinger [Fri, 30 May 2008 06:37:27 +0000 (06:37 +0000)]
Issue 2784: fix leaks in exception exit.

16 years agoFix typo in testSum
Mark Dickinson [Fri, 30 May 2008 02:46:53 +0000 (02:46 +0000)]
Fix typo in testSum

16 years agoNote that UserList and UserString were moved to 'collections' in 3.0.
Brett Cannon [Thu, 29 May 2008 21:28:55 +0000 (21:28 +0000)]
Note that UserList and UserString were moved to 'collections' in 3.0.

16 years agoTurn off debugging output for building bsddb.
Brett Cannon [Thu, 29 May 2008 21:23:33 +0000 (21:23 +0000)]
Turn off debugging output for building bsddb.

16 years agoctypes NULL function pointers have a boolean False value now.
Thomas Heller [Thu, 29 May 2008 19:42:34 +0000 (19:42 +0000)]
ctypes NULL function pointers have a boolean False value now.

16 years agoFix compiler warning.
Thomas Heller [Thu, 29 May 2008 19:18:12 +0000 (19:18 +0000)]
Fix compiler warning.

16 years agoFixed the semantic of timeout for socket.create_connection and
Facundo Batista [Thu, 29 May 2008 16:39:26 +0000 (16:39 +0000)]
Fixed the semantic of timeout for socket.create_connection and
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)

16 years agoRevert #2990 patch; it's not necessary as Armin showed.
Georg Brandl [Thu, 29 May 2008 14:35:39 +0000 (14:35 +0000)]
Revert #2990 patch; it's not necessary as Armin showed.

16 years agoFix two typos.
Raymond Hettinger [Thu, 29 May 2008 08:38:23 +0000 (08:38 +0000)]
Fix two typos.

16 years ago#2985: allow i8 in XMLRPC responses.
Georg Brandl [Thu, 29 May 2008 07:45:26 +0000 (07:45 +0000)]
#2985: allow i8 in XMLRPC responses.

16 years ago#2988: add note about catching CookieError when parsing untrusted cookie data.
Georg Brandl [Thu, 29 May 2008 07:38:37 +0000 (07:38 +0000)]
#2988: add note about catching CookieError when parsing untrusted cookie data.

16 years ago#2906: accept lists for options, and some cosmetic fixes in Tkinter.
Georg Brandl [Thu, 29 May 2008 07:18:49 +0000 (07:18 +0000)]
#2906: accept lists for options, and some cosmetic fixes in Tkinter.

16 years agoTwo fixes in bytearray docs.
Georg Brandl [Thu, 29 May 2008 07:18:17 +0000 (07:18 +0000)]
Two fixes in bytearray docs.

16 years agoUserString.MutableString has been removed in Python 3.0.
Brett Cannon [Thu, 29 May 2008 05:08:50 +0000 (05:08 +0000)]
UserString.MutableString has been removed in Python 3.0.

Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.

16 years ago#2990: prevent inconsistent state while updating method cache.
Georg Brandl [Wed, 28 May 2008 15:41:36 +0000 (15:41 +0000)]
#2990: prevent inconsistent state while updating method cache.

16 years agofix spelling
Benjamin Peterson [Wed, 28 May 2008 11:51:41 +0000 (11:51 +0000)]
fix spelling

16 years ago#2989: add PyType_Modified().
Georg Brandl [Wed, 28 May 2008 11:21:39 +0000 (11:21 +0000)]
#2989: add PyType_Modified().

16 years agobdist_wininst now works correctly when both --skip-build and --plat-name are specified.
Mark Hammond [Wed, 28 May 2008 01:54:55 +0000 (01:54 +0000)]
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.

16 years agoupdate tutorial function with more appropiate one from Eric Smith
Benjamin Peterson [Wed, 28 May 2008 01:12:35 +0000 (01:12 +0000)]
update tutorial function with more appropiate one from Eric Smith

16 years agoBetter integration between Python testing and bsddb3
Jesus Cea [Tue, 27 May 2008 13:26:02 +0000 (13:26 +0000)]
Better integration between Python testing and bsddb3

16 years agoDo not close external file objects passed to tarfile.open(mode='w:bz2')
Lars Gustäbel [Tue, 27 May 2008 12:39:23 +0000 (12:39 +0000)]
Do not close external file objects passed to tarfile.open(mode='w:bz2')
when the TarFile is closed.

16 years agoDisable the use of BerkeleyDB 4.6 on platforms that appear to have
Gregory P. Smith [Tue, 27 May 2008 08:40:09 +0000 (08:40 +0000)]
Disable the use of BerkeleyDB 4.6 on platforms that appear to have
issues with it.

16 years agoImprovements for test_py3kwarn
Benjamin Peterson [Tue, 27 May 2008 01:42:29 +0000 (01:42 +0000)]
Improvements for test_py3kwarn
- Always show warnings so they are always catchable
- Make test_os_path_walk faster by walking a less populous directory

16 years agoremove some __getslice__
Benjamin Peterson [Tue, 27 May 2008 01:18:39 +0000 (01:18 +0000)]
remove some __getslice__

16 years agoFix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
Gregory P. Smith [Mon, 26 May 2008 22:07:28 +0000 (22:07 +0000)]
Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
passed in.  (The assert won't prevent this in non-debug builds).

16 years agoremove duplication in test module
Benjamin Peterson [Mon, 26 May 2008 21:44:26 +0000 (21:44 +0000)]
remove duplication in test module

16 years agoFix issue2589: there was a potential integer overflow leading to
Gregory P. Smith [Mon, 26 May 2008 21:16:34 +0000 (21:16 +0000)]
Fix issue2589: there was a potential integer overflow leading to
memory corruption on esoteric platforms and incorrect behavior on
normal platforms.

16 years agofix minor grammar typo
Benjamin Peterson [Mon, 26 May 2008 20:43:24 +0000 (20:43 +0000)]
fix minor grammar typo

16 years agotake Brett's advice on a few warnings
Benjamin Peterson [Mon, 26 May 2008 20:41:45 +0000 (20:41 +0000)]
take Brett's advice on a few warnings

16 years agoFixes issue2791: subprocess.Popen.communicate leaked a file descripton until
Gregory P. Smith [Mon, 26 May 2008 20:22:14 +0000 (20:22 +0000)]
Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped.  Adding explicit
close() calls fixes it.

Candidate for backport to release25-maint.

16 years agowarn about some members of the commands module
Benjamin Peterson [Mon, 26 May 2008 19:41:53 +0000 (19:41 +0000)]
warn about some members of the commands module

16 years agowrap line
Benjamin Peterson [Mon, 26 May 2008 19:37:11 +0000 (19:37 +0000)]
wrap line

16 years agoAllow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
Gregory P. Smith [Mon, 26 May 2008 19:29:14 +0000 (19:29 +0000)]
Allow BerlekeyDB up through 4.7.  I doubt any of our unixy buildbots even have
that installed yet but the module code supports it.