]> granicus.if.org Git - python/log
python
14 years agoImprove the ContextDecorator example.
Raymond Hettinger [Thu, 16 Dec 2010 02:24:12 +0000 (02:24 +0000)]
Improve the ContextDecorator example.

14 years agoAdd versionadded directive missing from r78983.
Éric Araujo [Thu, 16 Dec 2010 02:10:11 +0000 (02:10 +0000)]
Add versionadded directive missing from r78983.

14 years agoAcknowledged renaming of SafeConfigParser to ConfigParser.
Łukasz Langa [Thu, 16 Dec 2010 01:42:36 +0000 (01:42 +0000)]
Acknowledged renaming of SafeConfigParser to ConfigParser.

14 years agoAdvertise “python -m test” over test.regrtest (r87296 followup)
Éric Araujo [Thu, 16 Dec 2010 01:40:26 +0000 (01:40 +0000)]
Advertise “python -m test” over test.regrtest (r87296 followup)

14 years agoBroken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
Łukasz Langa [Thu, 16 Dec 2010 01:16:22 +0000 (01:16 +0000)]
Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
Life is beatiful once again.

14 years agoThank you ispell.
Raymond Hettinger [Thu, 16 Dec 2010 00:53:05 +0000 (00:53 +0000)]
Thank you ispell.

14 years agoNits
Raymond Hettinger [Thu, 16 Dec 2010 00:30:53 +0000 (00:30 +0000)]
Nits

14 years agoAdvertise “python -m” instead of direct filename.
Éric Araujo [Thu, 16 Dec 2010 00:23:30 +0000 (00:23 +0000)]
Advertise “python -m” instead of direct filename.

14 years agoEntries for ElementTree, collectionsm, functools and ZipFile.
Raymond Hettinger [Thu, 16 Dec 2010 00:21:08 +0000 (00:21 +0000)]
Entries for ElementTree, collectionsm, functools and ZipFile.

14 years agoNo need to generate a link for something that’s just above.
Éric Araujo [Thu, 16 Dec 2010 00:07:01 +0000 (00:07 +0000)]
No need to generate a link for something that’s just above.

14 years agoMake test_threadsignals more lax, and add notes
Antoine Pitrou [Wed, 15 Dec 2010 23:38:50 +0000 (23:38 +0000)]
Make test_threadsignals more lax, and add notes

14 years agoIssue #8844: Regular and recursive lock acquisitions can now be interrupted
Antoine Pitrou [Wed, 15 Dec 2010 22:59:16 +0000 (22:59 +0000)]
Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads.  Patch by Reid Kleckner.

14 years agoMark up one missed None in pkgutil.rst (#8851)
Éric Araujo [Wed, 15 Dec 2010 22:37:27 +0000 (22:37 +0000)]
Mark up one missed None in pkgutil.rst (#8851)

14 years agoEntry for decimal and fractions.
Raymond Hettinger [Wed, 15 Dec 2010 22:35:03 +0000 (22:35 +0000)]
Entry for decimal and fractions.

14 years agoAdd entries for structseq, ContextDecorator, and various C-API changes.
Raymond Hettinger [Wed, 15 Dec 2010 22:07:15 +0000 (22:07 +0000)]
Add entries for structseq, ContextDecorator, and various C-API changes.

14 years agoAdd disclaimer about MinGW compat in distutils docs (#6007). Patch by Chris Lambacher.
Éric Araujo [Wed, 15 Dec 2010 22:06:35 +0000 (22:06 +0000)]
Add disclaimer about MinGW compat in distutils docs (#6007).  Patch by Chris Lambacher.

14 years agoFix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).
Éric Araujo [Wed, 15 Dec 2010 21:07:22 +0000 (21:07 +0000)]
Fix build_ext with VS 8.0.  Patch by Hirokazu Yamamoto (#9558).

14 years agoFix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.
Éric Araujo [Wed, 15 Dec 2010 20:26:30 +0000 (20:26 +0000)]
Fix wrong name in docstring and doc (#10693).  Original patch by Eli Bendersky.

14 years agoIssue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid...
Terry Reedy [Wed, 15 Dec 2010 20:18:10 +0000 (20:18 +0000)]
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.

14 years agoUse sentence case in section titles consistently
Alexander Belopolsky [Wed, 15 Dec 2010 19:47:37 +0000 (19:47 +0000)]
Use sentence case in section titles consistently

14 years agoElaborate on the calculation used in the random module.
Raymond Hettinger [Wed, 15 Dec 2010 19:33:49 +0000 (19:33 +0000)]
Elaborate on the calculation used in the random module.

14 years agoUse nested method directives, rewrap long lines, fix whitespace.
Éric Araujo [Wed, 15 Dec 2010 19:30:15 +0000 (19:30 +0000)]
Use nested method directives, rewrap long lines, fix whitespace.

14 years agoAdd intro to the changed modules section.
Raymond Hettinger [Wed, 15 Dec 2010 19:20:01 +0000 (19:20 +0000)]
Add intro to the changed modules section.

14 years agoImprove trace documentation (#9264). Patch by Eli Bendersky.
Éric Araujo [Wed, 15 Dec 2010 19:09:58 +0000 (19:09 +0000)]
Improve trace documentation (#9264).  Patch by Eli Bendersky.

14 years agoMove the urllib-inherited API to a distinguished section
Antoine Pitrou [Wed, 15 Dec 2010 19:07:26 +0000 (19:07 +0000)]
Move the urllib-inherited API to a distinguished section

14 years agoMove email section in with other modules. Fix markup.
Raymond Hettinger [Wed, 15 Dec 2010 19:00:38 +0000 (19:00 +0000)]
Move email section in with other modules.  Fix markup.

14 years agoMinor regroupings.
Raymond Hettinger [Wed, 15 Dec 2010 18:31:57 +0000 (18:31 +0000)]
Minor regroupings.

14 years agoAdopt Antoine's suggestion to improve readability with module subsections.
Raymond Hettinger [Wed, 15 Dec 2010 18:20:19 +0000 (18:20 +0000)]
Adopt Antoine's suggestion to improve readability with module subsections.

14 years agoAdd entries for the random module and the collections module.
Raymond Hettinger [Wed, 15 Dec 2010 17:54:13 +0000 (17:54 +0000)]
Add entries for the random module and the collections module.

14 years agoIssue 10667: Fast path for collections.Counter
Raymond Hettinger [Wed, 15 Dec 2010 16:30:37 +0000 (16:30 +0000)]
Issue 10667: Fast path for collections.Counter

14 years agoI don't think we need to ship the comp.lang.python RFD these days.
Antoine Pitrou [Wed, 15 Dec 2010 15:48:20 +0000 (15:48 +0000)]
I don't think we need to ship the comp.lang.python RFD these days.

14 years agoEncourage --with-pydebug rather than individual setting of debug options.
Antoine Pitrou [Wed, 15 Dec 2010 15:47:34 +0000 (15:47 +0000)]
Encourage --with-pydebug rather than individual setting of debug options.

14 years agoRemove outdated compatibility file.
Antoine Pitrou [Wed, 15 Dec 2010 15:42:59 +0000 (15:42 +0000)]
Remove outdated compatibility file.

14 years agoIssue #10706: Remove outdated script runtests.sh. Either `make test`
Antoine Pitrou [Wed, 15 Dec 2010 15:33:18 +0000 (15:33 +0000)]
Issue #10706: Remove outdated script runtests.sh.  Either `make test`
or `python -m test` should be used instead.

14 years agoTIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
Senthil Kumaran [Wed, 15 Dec 2010 04:02:45 +0000 (04:02 +0000)]
TIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
socket timeout of 30 when it checks for resource.  Explicit overrding (like
setting the 10) wont exhibit consistent behavior when tests are outside context
manager. So, settting it 30.

14 years agoTypo fix
Andrew M. Kuchling [Wed, 15 Dec 2010 02:37:01 +0000 (02:37 +0000)]
Typo fix

14 years ago#10705: document what the values of debuglevel are and mean.
R. David Murray [Wed, 15 Dec 2010 02:19:14 +0000 (02:19 +0000)]
#10705: document what the values of debuglevel are and mean.

14 years ago#4236: avoid possible Fatal Error when import is called from __del__
R. David Murray [Tue, 14 Dec 2010 23:06:25 +0000 (23:06 +0000)]
#4236: avoid possible Fatal Error when import is called from __del__

Patch by Simon Cross, crasher test code by Martin von Löwis.

14 years agoMore comprehensive compileall cli tests, and fixes.
R. David Murray [Tue, 14 Dec 2010 22:32:50 +0000 (22:32 +0000)]
More comprehensive compileall cli tests, and fixes.

14 years agoFreshen README contents
Antoine Pitrou [Tue, 14 Dec 2010 22:06:10 +0000 (22:06 +0000)]
Freshen README contents

14 years agoNits
Raymond Hettinger [Tue, 14 Dec 2010 21:12:03 +0000 (21:12 +0000)]
Nits

14 years agoLogging documentation update.
Vinay Sajip [Tue, 14 Dec 2010 19:40:21 +0000 (19:40 +0000)]
Logging documentation update.

14 years agoSIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
Gregory P. Smith [Tue, 14 Dec 2010 18:18:49 +0000 (18:18 +0000)]
SIGCHLD is a more portable name than SIGCLD.  (OSX has no SIGCLD)

14 years ago#775964: skip YP/NIS entries instead of failing the test
R. David Murray [Tue, 14 Dec 2010 16:20:53 +0000 (16:20 +0000)]
#775964: skip YP/NIS entries instead of failing the test

Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.

Patch by Bobby Impollonia.

14 years agoFix "BytesWarning: str() on a bytes instance"
Gregory P. Smith [Tue, 14 Dec 2010 15:23:02 +0000 (15:23 +0000)]
Fix "BytesWarning: str() on a bytes instance"

14 years agoIssue #1731717: Fixed the problem where subprocess.wait() could cause an
Gregory P. Smith [Tue, 14 Dec 2010 14:38:00 +0000 (14:38 +0000)]
Issue #1731717: Fixed the problem where subprocess.wait() could cause an
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.

14 years ago#10695: use %s not %d so that a string 'port' does not cause a debug traceback
R. David Murray [Tue, 14 Dec 2010 14:16:20 +0000 (14:16 +0000)]
#10695: use %s not %d so that a string 'port' does not cause a debug traceback

Passing the port as a string value works fine in regular mode, but
if you turned debug on it would throw an error trying to print the
port number, which is surprising and confusing.

14 years agoIssue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.
Gregory P. Smith [Tue, 14 Dec 2010 13:43:30 +0000 (13:43 +0000)]
Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.
Issue #7213: Change the close_fds default on Windows to better match the new
default on POSIX.  True when possible (False if stdin/stdout/stderr are
supplied).

Update the documentation to reflect all of the above.

14 years agoTurn on regrtest -W (rerun immediately) option for Windows, too.
R. David Murray [Tue, 14 Dec 2010 02:25:43 +0000 (02:25 +0000)]
Turn on regrtest -W (rerun immediately) option for Windows, too.

14 years ago9162: fix license in multiprocessing files
R. David Murray [Tue, 14 Dec 2010 01:38:16 +0000 (01:38 +0000)]
9162: fix license in multiprocessing files

14 years agoUse skipIf instead of a return when attribute doesn't exist.
R. David Murray [Tue, 14 Dec 2010 01:22:50 +0000 (01:22 +0000)]
Use skipIf instead of a return when attribute doesn't exist.

14 years ago#10699: fix docstring for tzset: it does not take a parameter
R. David Murray [Tue, 14 Dec 2010 00:55:46 +0000 (00:55 +0000)]
#10699: fix docstring for tzset: it does not take a parameter

Thanks to Garrett Cooper for the fix.

14 years ago#1078919: make add_header automatically do RFC2231 encoding when needed.
R. David Murray [Mon, 13 Dec 2010 23:51:19 +0000 (23:51 +0000)]
#1078919: make add_header automatically do RFC2231 encoding when needed.

Also document the use of three-tuples if control of the charset
and language is desired.

14 years ago#10698: fix typo in example.
R. David Murray [Mon, 13 Dec 2010 22:50:30 +0000 (22:50 +0000)]
#10698: fix typo in example.

14 years agoLogging documentation update.
Vinay Sajip [Mon, 13 Dec 2010 18:49:08 +0000 (18:49 +0000)]
Logging documentation update.

14 years agoLogging documentation update.
Vinay Sajip [Mon, 13 Dec 2010 18:43:57 +0000 (18:43 +0000)]
Logging documentation update.

14 years agoIssue 10687. When --without-pymalloc is given, $VERSION is the same as
Barry Warsaw [Mon, 13 Dec 2010 18:04:23 +0000 (18:04 +0000)]
Issue 10687.  When --without-pymalloc is given, $VERSION is the same as
$LDVERSION, which screws up the sym/hard-links.  This avoids those games when
$VERSION == $LDVERSION.

Also, include a drive-by fix for an obvious syntax error.

14 years agoCaptured IO streams with embedded backslashes are always such a fun combination...
Nick Coghlan [Mon, 13 Dec 2010 16:32:51 +0000 (16:32 +0000)]
Captured IO streams with embedded backslashes are always such a fun combination...

14 years agoLogging documentatio update.
Vinay Sajip [Mon, 13 Dec 2010 08:54:02 +0000 (08:54 +0000)]
Logging documentatio update.

14 years agoMention the subprocess.Popen close_fds default change. Fixup *s to -s.
Gregory P. Smith [Mon, 13 Dec 2010 08:07:14 +0000 (08:07 +0000)]
Mention the subprocess.Popen close_fds default change.  Fixup *s to -s.

14 years agoregenerate configure based on r87207.
Gregory P. Smith [Mon, 13 Dec 2010 08:00:52 +0000 (08:00 +0000)]
regenerate configure based on r87207.

14 years agoissue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
Gregory P. Smith [Mon, 13 Dec 2010 07:59:39 +0000 (07:59 +0000)]
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available.  Adds unittests for close_fds and
cloexec behaviors.

14 years agoGet rid of the close_fds DeprecationWarning. Changes the default on a per
Gregory P. Smith [Mon, 13 Dec 2010 06:45:02 +0000 (06:45 +0000)]
Get rid of the close_fds DeprecationWarning.  Changes the default on a per
platform basis.  It remains False on Windows and changes to True on all
other platforms (POSIX).  Based on python-dev discussion and
http://bugs.python.org/issue7213.

14 years agoissue 10683
Kristján Valur Jónsson [Mon, 13 Dec 2010 03:32:10 +0000 (03:32 +0000)]
issue 10683
When the solution is converted to Visual Studio 2010, the command line to invoke make_buildinfo changes from:
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
to
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
If the final backslash is omitted, the backslash in IntDir will escape the quote, thus passing the quote in as part of the path name.

This solution is a hack-fix to that problem by skipping any trailing quote from the path name.  It works as long as we don't need any additional arguments to make_buildinfo.exe.  This will help all those sould that are going to run this project through the visual studio autoconverter and get the same error.

14 years agoActually finish the tests for r87182
Nick Coghlan [Mon, 13 Dec 2010 03:02:43 +0000 (03:02 +0000)]
Actually finish the tests for r87182

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:47:13 +0000 (22:47 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:45:35 +0000 (22:45 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:30:17 +0000 (22:30 +0000)]
Logging documentation - further update.

14 years agoImprove readability of the socket docs
Antoine Pitrou [Sun, 12 Dec 2010 20:57:12 +0000 (20:57 +0000)]
Improve readability of the socket docs

14 years agoHomogenize the "optional OS services" menu
Antoine Pitrou [Sun, 12 Dec 2010 20:34:49 +0000 (20:34 +0000)]
Homogenize the "optional OS services" menu

14 years agoConsistent ordering of availability statements
Antoine Pitrou [Sun, 12 Dec 2010 20:17:29 +0000 (20:17 +0000)]
Consistent ordering of availability statements

14 years agoFix heading level
Antoine Pitrou [Sun, 12 Dec 2010 20:13:31 +0000 (20:13 +0000)]
Fix heading level

14 years agoRemove redundant sentence, and fix markup
Antoine Pitrou [Sun, 12 Dec 2010 20:09:18 +0000 (20:09 +0000)]
Remove redundant sentence, and fix markup

14 years ago#243654: only create a new MIME boundary if we don't already have one.
R. David Murray [Sun, 12 Dec 2010 20:06:19 +0000 (20:06 +0000)]
#243654: only create a new MIME boundary if we don't already have one.

The rearranged code should do exactly what the old code did, but
the new code avoids a potentially costly re computation in the case
where a boundary already exists.

14 years agoAdd link to the buffer protocol description from the memory description.
Antoine Pitrou [Sun, 12 Dec 2010 20:01:43 +0000 (20:01 +0000)]
Add link to the buffer protocol description from the memory description.

14 years agoBetter explain the buffer interface (hopefully)
Antoine Pitrou [Sun, 12 Dec 2010 19:59:47 +0000 (19:59 +0000)]
Better explain the buffer interface (hopefully)

14 years agoMake this a warning and fix indentation
Antoine Pitrou [Sun, 12 Dec 2010 18:25:25 +0000 (18:25 +0000)]
Make this a warning and fix indentation

14 years agoObsolete aliases needn't be documented
Antoine Pitrou [Sun, 12 Dec 2010 18:14:34 +0000 (18:14 +0000)]
Obsolete aliases needn't be documented

14 years agoRemove reference to stuff which is already obsolete in 2.x.
Antoine Pitrou [Sun, 12 Dec 2010 18:12:40 +0000 (18:12 +0000)]
Remove reference to stuff which is already obsolete in 2.x.

14 years agoSET_LINENO was removed in 2.3
Antoine Pitrou [Sun, 12 Dec 2010 18:09:53 +0000 (18:09 +0000)]
SET_LINENO was removed in 2.3

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 17:37:27 +0000 (17:37 +0000)]
Logging documentation - further update.

14 years agoIssue #10188 (partial resolution): tidy up some behaviour in the new tempfile.Tempora...
Nick Coghlan [Sun, 12 Dec 2010 15:24:21 +0000 (15:24 +0000)]
Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 13:49:39 +0000 (13:49 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 13:25:29 +0000 (13:25 +0000)]
Logging documentation - further update.

14 years agoLogging documentation update.
Vinay Sajip [Sun, 12 Dec 2010 13:20:55 +0000 (13:20 +0000)]
Logging documentation update.

14 years agohaving three copies of the same test is surely a bit excessive
Benjamin Peterson [Sun, 12 Dec 2010 01:46:43 +0000 (01:46 +0000)]
having three copies of the same test is surely a bit excessive

14 years agoremove (un)transform methods
Benjamin Peterson [Sun, 12 Dec 2010 01:33:04 +0000 (01:33 +0000)]
remove (un)transform methods

14 years agoFix markup.
Georg Brandl [Sat, 11 Dec 2010 22:19:34 +0000 (22:19 +0000)]
Fix markup.

14 years agoCreate the hardlink between python-3.2m and python-3.2 in altbininstall target
Barry Warsaw [Sat, 11 Dec 2010 21:32:01 +0000 (21:32 +0000)]
Create the hardlink between python-3.2m and python-3.2 in altbininstall target
instead of bininstall target so it shows up when you do 'make altinstall'.
Closes issue 10677.

14 years agoAdd versionchanged for parameter type changes.
Martin v. Löwis [Sat, 11 Dec 2010 19:22:04 +0000 (19:22 +0000)]
Add versionchanged for parameter type changes.

14 years agoAvoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp...
Georg Brandl [Sat, 11 Dec 2010 19:10:30 +0000 (19:10 +0000)]
Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.

14 years agoAdjust PySlice_GetIndices documentation to signature change.
Martin v. Löwis [Sat, 11 Dec 2010 18:17:22 +0000 (18:17 +0000)]
Adjust PySlice_GetIndices documentation to signature change.

14 years agoFix typo.
Georg Brandl [Fri, 10 Dec 2010 19:22:11 +0000 (19:22 +0000)]
Fix typo.

14 years agoReverted accidental commit (from r87159)
Alexander Belopolsky [Fri, 10 Dec 2010 18:14:16 +0000 (18:14 +0000)]
Reverted accidental commit (from r87159)

14 years agoUpdated UCD version and unicode.org links to Unicode 6.0.0
Alexander Belopolsky [Fri, 10 Dec 2010 18:11:24 +0000 (18:11 +0000)]
Updated UCD version and unicode.org links to Unicode 6.0.0

14 years agoMove nntp entry back to changed modules section and add entry for non-ascii import...
Raymond Hettinger [Fri, 10 Dec 2010 17:45:13 +0000 (17:45 +0000)]
Move nntp entry back to changed modules section and add entry for non-ascii import directories.

14 years agologging: added handler of last resort.
Vinay Sajip [Fri, 10 Dec 2010 11:42:57 +0000 (11:42 +0000)]
logging: added handler of last resort.

14 years ago#10668: fix wrong call of __init__.
Georg Brandl [Fri, 10 Dec 2010 10:01:44 +0000 (10:01 +0000)]
#10668: fix wrong call of __init__.

14 years agoFied typo
Vinay Sajip [Fri, 10 Dec 2010 09:11:23 +0000 (09:11 +0000)]
Fied typo

14 years agotest.support: Added TestHandler and Matcher classes for better support of assertions...
Vinay Sajip [Fri, 10 Dec 2010 08:19:38 +0000 (08:19 +0000)]
test.support: Added TestHandler and Matcher classes for better support of assertions about logging.