]> granicus.if.org Git - python/log
python
13 years agoFix-up logging.dictConfig() example.
Raymond Hettinger [Thu, 17 Feb 2011 19:19:44 +0000 (19:19 +0000)]
Fix-up logging.dictConfig() example.

13 years agoFix an import and add a citation.
Raymond Hettinger [Thu, 17 Feb 2011 19:05:53 +0000 (19:05 +0000)]
Fix an import and add a citation.

13 years ago#730467: Another small AIX fix.
Georg Brandl [Tue, 15 Feb 2011 19:48:59 +0000 (19:48 +0000)]
#730467: Another small AIX fix.

13 years ago#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review...
Georg Brandl [Tue, 15 Feb 2011 15:44:51 +0000 (15:44 +0000)]
#941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.

13 years agoRemove editing slip.
Georg Brandl [Tue, 15 Feb 2011 12:44:43 +0000 (12:44 +0000)]
Remove editing slip.

13 years agoApply logging SocketHandler doc update by Vinay.
Georg Brandl [Tue, 15 Feb 2011 12:41:17 +0000 (12:41 +0000)]
Apply logging SocketHandler doc update by Vinay.

13 years agoFix accumulate() example. (Reported by David Murray.)
Raymond Hettinger [Mon, 14 Feb 2011 18:18:49 +0000 (18:18 +0000)]
Fix accumulate() example. (Reported by David Murray.)

13 years agoPost-release updates.
Georg Brandl [Mon, 14 Feb 2011 06:35:00 +0000 (06:35 +0000)]
Post-release updates.

13 years agoTag 3.2rc3.
Georg Brandl [Sun, 13 Feb 2011 10:03:21 +0000 (10:03 +0000)]
Tag 3.2rc3.

13 years agoBump for 3.2rc3. v3.2rc3
Georg Brandl [Sun, 13 Feb 2011 10:00:57 +0000 (10:00 +0000)]
Bump for 3.2rc3.

13 years agoFix markup error and update suspicious ignores.
Georg Brandl [Sun, 13 Feb 2011 09:59:39 +0000 (09:59 +0000)]
Fix markup error and update suspicious ignores.

13 years agoUpdate pydoc topics.
Georg Brandl [Sun, 13 Feb 2011 09:54:12 +0000 (09:54 +0000)]
Update pydoc topics.

13 years agoFix #11116 fix on Windows (close file before removing in MH code)
R. David Murray [Sat, 12 Feb 2011 00:03:31 +0000 (00:03 +0000)]
Fix #11116 fix on Windows (close file before removing in MH code)

13 years ago#11116: roll back on error during add so mailbox isn't left corrupted.
R. David Murray [Fri, 11 Feb 2011 22:47:17 +0000 (22:47 +0000)]
#11116: roll back on error during add so mailbox isn't left corrupted.

13 years agoFix argument name typo in compileall docs.
R. David Murray [Fri, 11 Feb 2011 22:37:16 +0000 (22:37 +0000)]
Fix argument name typo in compileall docs.

13 years agoIssue #11134: Add missing fields to typeslots.h.
Martin v. Löwis [Fri, 11 Feb 2011 20:50:24 +0000 (20:50 +0000)]
Issue #11134: Add missing fields to typeslots.h.
Reviewed by Georg Brandl.

13 years agoIssue #11135: Remove redundant doc field from PyType_Spec.
Martin v. Löwis [Fri, 11 Feb 2011 20:47:49 +0000 (20:47 +0000)]
Issue #11135: Remove redundant doc field from PyType_Spec.
Reviewed by Georg Brandl.

13 years agoAdd uuid for 3.2rc3.
Martin v. Löwis [Fri, 11 Feb 2011 20:44:40 +0000 (20:44 +0000)]
Add uuid for 3.2rc3.

13 years agoreverting r88395 and r88387 as per http://mail.python.org/pipermail/python-dev/2011...
Giampaolo Rodolà [Fri, 11 Feb 2011 14:01:46 +0000 (14:01 +0000)]
reverting r88395 and r88387 as per http://mail.python.org/pipermail/python-dev/2011-February/108005.html

13 years agoasyncore: introduce a new 'closed' attribute to make sure that dispatcher gets closed...
Giampaolo Rodolà [Fri, 11 Feb 2011 13:04:18 +0000 (13:04 +0000)]
asyncore: introduce a new 'closed' attribute to make sure that dispatcher gets closed only once.
In different occasions close() might be called more than once, causing problems with already disconnected sockets/dispatchers.

13 years agoFixed issue11082 - Reject str for POST data with a TypeError. Document the need to...
Senthil Kumaran [Fri, 11 Feb 2011 11:25:47 +0000 (11:25 +0000)]
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.

13 years agoMissing paren.
Raymond Hettinger [Fri, 11 Feb 2011 00:08:38 +0000 (00:08 +0000)]
Missing paren.

13 years agoInsert missing section heading (noticed by Victor Stinner).
Raymond Hettinger [Fri, 11 Feb 2011 00:03:03 +0000 (00:03 +0000)]
Insert missing section heading (noticed by Victor Stinner).

13 years agoget rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming...
Giampaolo Rodolà [Thu, 10 Feb 2011 18:42:36 +0000 (18:42 +0000)]
get rid of asyncore.dispatcher's debug attribute, which is no longer used (assuming it ever was).

13 years agoFix nits.
Raymond Hettinger [Thu, 10 Feb 2011 09:43:04 +0000 (09:43 +0000)]
Fix nits.

13 years agoAdd an entry for logging.
Raymond Hettinger [Thu, 10 Feb 2011 09:20:26 +0000 (09:20 +0000)]
Add an entry for logging.

13 years agoAdd missing source links.
Raymond Hettinger [Thu, 10 Feb 2011 08:09:36 +0000 (08:09 +0000)]
Add missing source links.

13 years agoTweak wording about equality comparison.
Brett Cannon [Wed, 9 Feb 2011 22:55:13 +0000 (22:55 +0000)]
Tweak wording about equality comparison.

13 years agoAdd 'pysqlite' before version 2.6.0
Terry Reedy [Wed, 9 Feb 2011 19:21:00 +0000 (19:21 +0000)]
Add 'pysqlite' before version 2.6.0

13 years agoTypo.
Raymond Hettinger [Wed, 9 Feb 2011 18:16:32 +0000 (18:16 +0000)]
Typo.

13 years agoIssue #11141: Fix the shelve documentation to use a list, not a range object.
Antoine Pitrou [Mon, 7 Feb 2011 23:10:33 +0000 (23:10 +0000)]
Issue #11141: Fix the shelve documentation to use a list, not a range object.
Patch by SilentGhost.

13 years ago- Issue #11079: The /Applications/Python x.x folder created by the Mac
Ned Deily [Mon, 7 Feb 2011 16:48:28 +0000 (16:48 +0000)]
- Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers now includes a link to the installed documentation
plus another in the framework share/doc directory.

13 years agoIssue #11079: The /Applications/Python x.x folder created by the Mac
Ned Deily [Mon, 7 Feb 2011 16:44:19 +0000 (16:44 +0000)]
Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers no longer includes an Extras directory.  The Tools
directory is now installed in the framework under share/doc.

13 years agoClarify that IMAP4() implicitly calls open(), and that logout() implicitly calls...
Antoine Pitrou [Mon, 7 Feb 2011 15:58:11 +0000 (15:58 +0000)]
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().

13 years agoSpelling fixes.
Georg Brandl [Mon, 7 Feb 2011 15:44:27 +0000 (15:44 +0000)]
Spelling fixes.

13 years agoConsistent heading spacing, and fix two typos.
Georg Brandl [Mon, 7 Feb 2011 15:30:45 +0000 (15:30 +0000)]
Consistent heading spacing, and fix two typos.

13 years agoIssue 10971: Make test_zipimport_support once again compatible with refleak hunting...
Nick Coghlan [Mon, 7 Feb 2011 13:43:07 +0000 (13:43 +0000)]
Issue 10971: Make test_zipimport_support once again compatible with refleak hunting (reviewed by Georg Brandl)

13 years agoAdd link to table for Tcl/Tk issues on the Mac.
Raymond Hettinger [Mon, 7 Feb 2011 12:51:05 +0000 (12:51 +0000)]
Add link to  table for Tcl/Tk issues on the Mac.

13 years ago#11132: pass optimize parameter to recursive call in compileall.compile_dir(). Revie...
Georg Brandl [Mon, 7 Feb 2011 12:36:54 +0000 (12:36 +0000)]
#11132: pass optimize parameter to recursive call in compileall.compile_dir().  Reviewed by Eric A.

13 years ago#8691: document that right alignment is default for numbers.
Georg Brandl [Mon, 7 Feb 2011 12:13:58 +0000 (12:13 +0000)]
#8691: document that right alignment is default for numbers.

13 years ago#11138: fix order of fill and align specifiers.
Georg Brandl [Mon, 7 Feb 2011 12:10:46 +0000 (12:10 +0000)]
#11138: fix order of fill and align specifiers.

13 years agoFix some typos and grammar
Eli Bendersky [Mon, 7 Feb 2011 04:44:19 +0000 (04:44 +0000)]
Fix some typos and grammar

13 years agoFix some typos and grammar
Eli Bendersky [Mon, 7 Feb 2011 04:19:57 +0000 (04:19 +0000)]
Fix some typos and grammar

[commit during RC with Brett's approval]

13 years agoTypo. Doh!
Raymond Hettinger [Mon, 7 Feb 2011 04:00:24 +0000 (04:00 +0000)]
Typo.  Doh!

13 years agoFix awkwardly rendered sentence.
Raymond Hettinger [Sun, 6 Feb 2011 21:00:38 +0000 (21:00 +0000)]
Fix awkwardly rendered sentence.

13 years agoIssue #11071: Various improvements to whatsnew.
Raymond Hettinger [Sun, 6 Feb 2011 20:08:57 +0000 (20:08 +0000)]
Issue #11071: Various improvements to whatsnew.

13 years agoSmall markup and wording tweaks for the sorting-howto.
Raymond Hettinger [Sun, 6 Feb 2011 06:11:29 +0000 (06:11 +0000)]
Small markup and wording tweaks for the sorting-howto.

13 years agoMention that people going the source compatibility route should run 2to3 to find...
Brett Cannon [Sat, 5 Feb 2011 22:22:47 +0000 (22:22 +0000)]
Mention that people going the source compatibility route should run 2to3 to find pain points.

13 years agoSoften wording on doctest.
Brett Cannon [Sat, 5 Feb 2011 22:16:40 +0000 (22:16 +0000)]
Soften wording on doctest.

13 years agoRe-arrange and clarify some __future__ import statements.
Brett Cannon [Sat, 5 Feb 2011 22:05:05 +0000 (22:05 +0000)]
Re-arrange and clarify some __future__ import statements.

The absolute_import statement got moved to a new Python 2.5 and Newer section
as it was available since then. The division statement got moved to Common
Gotchas since it has been around for so long that any modern Python program can
use it.

13 years agoissue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
Gregory P. Smith [Sat, 5 Feb 2011 21:47:25 +0000 (21:47 +0000)]
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.

13 years agoIssue #11067: Add PyType_GetFlags, to support PyUnicode_Check
Martin v. Löwis [Sat, 5 Feb 2011 20:35:29 +0000 (20:35 +0000)]
Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
in the limited ABI

13 years agoIssue #11121: Fix building with --enable-shared.
Martin v. Löwis [Sat, 5 Feb 2011 20:26:52 +0000 (20:26 +0000)]
Issue #11121: Fix building with --enable-shared.

13 years agoUse an internal reference instead of hard-coded URI.
Éric Araujo [Sat, 5 Feb 2011 16:03:12 +0000 (16:03 +0000)]
Use an internal reference instead of hard-coded URI.

13 years agoEverybody hates this one :) (bytes indexing)
Antoine Pitrou [Sat, 5 Feb 2011 12:13:38 +0000 (12:13 +0000)]
Everybody hates this one :) (bytes indexing)

13 years agoSoften the wording about tracebacks. Reference cycles *don't*
Antoine Pitrou [Sat, 5 Feb 2011 12:01:07 +0000 (12:01 +0000)]
Soften the wording about tracebacks. Reference cycles *don't*
prevent garbage collection! (fortunately)

13 years agoFix entries pertaining to file I/O
Antoine Pitrou [Sat, 5 Feb 2011 11:53:39 +0000 (11:53 +0000)]
Fix entries pertaining to file I/O

13 years agoMention -b and -bb
Antoine Pitrou [Sat, 5 Feb 2011 11:40:05 +0000 (11:40 +0000)]
Mention -b and -bb

13 years agoMention asyncore and Twisted in the library FAQ.
Antoine Pitrou [Sat, 5 Feb 2011 11:24:15 +0000 (11:24 +0000)]
Mention asyncore and Twisted in the library FAQ.

13 years agoMention concurrent.futures and update answers about the GIL.
Antoine Pitrou [Sat, 5 Feb 2011 11:18:34 +0000 (11:18 +0000)]
Mention concurrent.futures and update answers about the GIL.

13 years agoUpdate test of "why is Python installed" FAQ.
Antoine Pitrou [Sat, 5 Feb 2011 11:04:01 +0000 (11:04 +0000)]
Update test of "why is Python installed" FAQ.

13 years agoMention Cython and remove obsolete alternatives
Antoine Pitrou [Sat, 5 Feb 2011 10:57:17 +0000 (10:57 +0000)]
Mention Cython and remove obsolete alternatives

13 years agoUpdate info in the GUI FAQ
Antoine Pitrou [Sat, 5 Feb 2011 10:43:57 +0000 (10:43 +0000)]
Update info in the GUI FAQ

13 years agoThere was a possibility that the initialization of _sqlite, when it failed,
Brett Cannon [Fri, 4 Feb 2011 20:24:02 +0000 (20:24 +0000)]
There was a possibility that the initialization of _sqlite, when it failed,
would lead to a decref of a NULL.

Fixes issue #11110.

13 years agoMention that seek and tell over a TextIOWrapper can be very slow.
Antoine Pitrou [Fri, 4 Feb 2011 20:11:11 +0000 (20:11 +0000)]
Mention that seek and tell over a TextIOWrapper can be very slow.

13 years agoIssue #11118: Fix bogus export of None in python3.dll.
Martin v. Löwis [Fri, 4 Feb 2011 19:09:02 +0000 (19:09 +0000)]
Issue #11118: Fix bogus export of None in python3.dll.

13 years agouse 3-space indents.
Brett Cannon [Thu, 3 Feb 2011 22:14:58 +0000 (22:14 +0000)]
use 3-space indents.

13 years agoAdd a HOWTO on how to port from Python 2 to Python 3.
Brett Cannon [Thu, 3 Feb 2011 22:01:54 +0000 (22:01 +0000)]
Add a HOWTO on how to port from Python 2 to Python 3.

13 years agoRemove lots of spaces within exception message.
Georg Brandl [Thu, 3 Feb 2011 07:46:41 +0000 (07:46 +0000)]
Remove lots of spaces within exception message.

13 years agoPunctuation typos.
Georg Brandl [Thu, 3 Feb 2011 07:08:25 +0000 (07:08 +0000)]
Punctuation typos.

13 years agoPunctuation typo.
Raymond Hettinger [Wed, 2 Feb 2011 21:12:39 +0000 (21:12 +0000)]
Punctuation typo.

13 years agoGet command-line doctest of Lib/decimal.py to work again.
Raymond Hettinger [Tue, 1 Feb 2011 23:54:43 +0000 (23:54 +0000)]
Get command-line doctest of Lib/decimal.py to work again.

If tested as '__main__' instead 'decimal', the tracebacks would
abbreviate 'decimal.Inexact' as 'Inexact', breaking the doctests.

(Reviewed by Antoine.)

13 years agoAdd a svn:ignore for PC/python3dll.obj
Antoine Pitrou [Tue, 1 Feb 2011 23:43:46 +0000 (23:43 +0000)]
Add a svn:ignore for PC/python3dll.obj

13 years agoWording fix.
Eric Smith [Tue, 1 Feb 2011 21:31:22 +0000 (21:31 +0000)]
Wording fix.

13 years agoIssue #8275: Fix passing of callback arguments with ctypes under Win64.
Antoine Pitrou [Mon, 31 Jan 2011 21:08:57 +0000 (21:08 +0000)]
Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai. Ok'ed by Georg.

13 years ago#11083 typo: RuntimeException -> RuntimeError
Brian Curtin [Mon, 31 Jan 2011 19:35:02 +0000 (19:35 +0000)]
#11083 typo: RuntimeException -> RuntimeError

13 years agoIssue #11081: Fixed struct.__all__. Reviewed by Georg Brandl.
Alexander Belopolsky [Mon, 31 Jan 2011 19:27:55 +0000 (19:27 +0000)]
Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl.

13 years agoPost-release updates.
Georg Brandl [Mon, 31 Jan 2011 10:39:57 +0000 (10:39 +0000)]
Post-release updates.

13 years agoRecommend use of the tracker during the RC phase or just before a beta.
Raymond Hettinger [Mon, 31 Jan 2011 06:34:47 +0000 (06:34 +0000)]
Recommend use of the tracker during the RC phase or just before a beta.

13 years agoFix minor grammar nits.
Raymond Hettinger [Mon, 31 Jan 2011 06:14:48 +0000 (06:14 +0000)]
Fix minor grammar nits.
Revert r88272 -- the examples are more readable with spacing.
Add todos for difflib and logging.

13 years agoMention new parameter and attributes of the difflib.SequenceMatcher class added in...
Eli Bendersky [Mon, 31 Jan 2011 04:21:40 +0000 (04:21 +0000)]
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)

13 years agoFix PEP-8 violation in argparse usage example (similar examples in argparse.rst do...
Eli Bendersky [Mon, 31 Jan 2011 04:10:23 +0000 (04:10 +0000)]
Fix PEP-8 violation in argparse usage example (similar examples in argparse.rst do follow PEP-8)

13 years agoFix some grammar and typos
Eli Bendersky [Mon, 31 Jan 2011 04:05:52 +0000 (04:05 +0000)]
Fix some grammar and typos

13 years agoTagging release 3.2 rc 2.
Georg Brandl [Sun, 30 Jan 2011 14:05:04 +0000 (14:05 +0000)]
Tagging release 3.2 rc 2.

13 years agoBump version. v3.2rc2
Georg Brandl [Sun, 30 Jan 2011 14:03:33 +0000 (14:03 +0000)]
Bump version.

13 years agoUpdate suspicious ignore file.
Georg Brandl [Sun, 30 Jan 2011 14:02:36 +0000 (14:02 +0000)]
Update suspicious ignore file.

13 years agoUpdate pydoc topics.
Georg Brandl [Sun, 30 Jan 2011 14:00:32 +0000 (14:00 +0000)]
Update pydoc topics.

13 years ago#10680: fix mutually exclusive arguments in argument groups.
Georg Brandl [Sun, 30 Jan 2011 12:19:35 +0000 (12:19 +0000)]
#10680: fix mutually exclusive arguments in argument groups.

13 years ago#10961: fix exception handling in new pydoc server code.
Georg Brandl [Sun, 30 Jan 2011 08:37:19 +0000 (08:37 +0000)]
#10961: fix exception handling in new pydoc server code.
Patch by Ron Adam, reviewed by Eric Araujo.

13 years agoClarify the status of get_string() and recommend using the binary API.
Raymond Hettinger [Sun, 30 Jan 2011 08:20:37 +0000 (08:20 +0000)]
Clarify the status of get_string() and recommend using the binary API.

13 years ago#11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.
Georg Brandl [Sun, 30 Jan 2011 08:16:07 +0000 (08:16 +0000)]
#11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.
Original patch by Brian Curtin, reviewed by me.

13 years agoAdd entry for the mailbox fixups.
Raymond Hettinger [Sun, 30 Jan 2011 07:56:03 +0000 (07:56 +0000)]
Add entry for the mailbox fixups.

13 years ago#9124: mailbox now accepts binary input and uses binary internally
R. David Murray [Sun, 30 Jan 2011 06:21:28 +0000 (06:21 +0000)]
#9124: mailbox now accepts binary input and uses binary internally

Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.

The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later.  Binary
is used internally for reading and writing the mailbox files.  StringIO
and Text file input are deprecated.

Initial patch by Victor Stinner, validated and expanded by R. David Murray.

13 years agoList known build/install problems for OS X.
Raymond Hettinger [Sun, 30 Jan 2011 05:37:16 +0000 (05:37 +0000)]
List known build/install problems for OS X.

13 years agoIssue #10845: Improve compatibility between multiprocessing on Windows and package...
Nick Coghlan [Sun, 30 Jan 2011 01:24:08 +0000 (01:24 +0000)]
Issue #10845: Improve compatibility between multiprocessing on Windows and package, zipfile and directory execution (Reviewed by Antoine Pitrou and approved by Georg Brandl)

13 years agoMarkup nits.
Raymond Hettinger [Sun, 30 Jan 2011 01:10:07 +0000 (01:10 +0000)]
Markup nits.

13 years agoAdd section for http.client.
Raymond Hettinger [Sun, 30 Jan 2011 00:55:47 +0000 (00:55 +0000)]
Add section for http.client.
Link to OS X build instructions.
Add back issue references for datetime.

13 years agoTypos.
Raymond Hettinger [Sun, 30 Jan 2011 00:39:00 +0000 (00:39 +0000)]
Typos.

13 years agoProtect logging call against None argument (fixes #11045).
Éric Araujo [Sat, 29 Jan 2011 20:32:11 +0000 (20:32 +0000)]
Protect logging call against None argument (fixes #11045).

Initial patch by Kelsey Hightower.  Approved by Raymond.  A test was
non-trivial to write without calling the private function directly, so
we moved that for later.

13 years agoIssue #10939: Make Internaldate2tuple test more robust.
Alexander Belopolsky [Sat, 29 Jan 2011 19:49:40 +0000 (19:49 +0000)]
Issue #10939: Make Internaldate2tuple test more robust.