]> granicus.if.org Git - python/log
python
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.

13 years agoIssue 11052: Correct IDLE menu accelerators on Mac OS X for Save
Ned Deily [Sat, 29 Jan 2011 19:10:26 +0000 (19:10 +0000)]
Issue 11052: Correct IDLE menu accelerators on Mac OS X for Save
commands.  (with release manager approval for 3.2rc2)

13 years agoIssue #11054: Allow Mac OS X installer builds to again work on 10.5 with
Ned Deily [Sat, 29 Jan 2011 18:56:28 +0000 (18:56 +0000)]
Issue #11054: Allow Mac OS X installer builds to again work on 10.5 with
the system-provided Python.  Also, properly guard a new Python 3 only
installer build step so that build-installer.py can stay compatible
with the 2.7 version.  (with release manager approval for 3.2rc2)

13 years agoIssue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
Ned Deily [Sat, 29 Jan 2011 18:43:56 +0000 (18:43 +0000)]
Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
preventing a confusing hung appearance on OS X with the windows
obscured.  (with release manager approval for 3.2rc2)

13 years agoIssue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
Ned Deily [Sat, 29 Jan 2011 18:29:01 +0000 (18:29 +0000)]
Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
menu accelerators for Open Module, Go to Line, and New Indent Width.
The accelerators still work but no longer appear in the menu items.

13 years agoIssue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe Peterson
Alexander Belopolsky [Sat, 29 Jan 2011 17:19:08 +0000 (17:19 +0000)]
Issue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe Peterson
for the report and the patch.  Reviewed by Georg Brandl.

13 years agofix reference to issue where the addition of select.PIPE_BUF was discussed
Giampaolo Rodolà [Sat, 29 Jan 2011 13:24:33 +0000 (13:24 +0000)]
fix reference to issue where the addition of select.PIPE_BUF was discussed

13 years agoIssue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).
Victor Stinner [Sat, 29 Jan 2011 11:31:20 +0000 (11:31 +0000)]
Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).

Patch reviewed by Antoine Pitrou, okayed by Georg Brandl.

13 years agoIssue #11302: missing type check on _string.formatter_field_name_split and _string...
Eric Smith [Sat, 29 Jan 2011 11:15:35 +0000 (11:15 +0000)]
Issue #11302: missing type check on _string.formatter_field_name_split and _string.formatter_parser caused crash.

Originial patch by haypo, reviewed by me, okayed by Georg.

13 years agoAdd entry for str.format_map().
Raymond Hettinger [Sat, 29 Jan 2011 08:51:57 +0000 (08:51 +0000)]
Add entry for str.format_map().
Add bullet list and reference to documentation section.

13 years agoAdded a placeholder for str.format_map, as discussed with Raymond. My prose is horrib...
Eric Smith [Fri, 28 Jan 2011 20:23:25 +0000 (20:23 +0000)]
Added a placeholder for str.format_map, as discussed with Raymond. My prose is horrible, some cleanup is required.

13 years agoIssue 10573: revert unittest docs to first / second
Michael Foord [Fri, 28 Jan 2011 19:51:48 +0000 (19:51 +0000)]
Issue 10573: revert unittest docs to first / second
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray

13 years ago#11027: documented how to override SECTCRE
Łukasz Langa [Fri, 28 Jan 2011 11:57:30 +0000 (11:57 +0000)]
#11027: documented how to override SECTCRE

13 years agoMore source links
Raymond Hettinger [Thu, 27 Jan 2011 20:38:46 +0000 (20:38 +0000)]
More source links

13 years agoIssue 11008: docs updated to show versionadded for dictConfig.
Vinay Sajip [Thu, 27 Jan 2011 19:14:16 +0000 (19:14 +0000)]
Issue 11008: docs updated to show versionadded for dictConfig.

13 years agoMore typical sample invocation of tarfile.
Raymond Hettinger [Thu, 27 Jan 2011 07:34:45 +0000 (07:34 +0000)]
More typical sample invocation of tarfile.

13 years agoAdd missing attributions.
Raymond Hettinger [Thu, 27 Jan 2011 06:46:54 +0000 (06:46 +0000)]
Add missing attributions.

13 years agoUpdate todo list.
Raymond Hettinger [Thu, 27 Jan 2011 06:10:18 +0000 (06:10 +0000)]
Update todo list.

13 years agoAdd an entry for tarfile.
Raymond Hettinger [Thu, 27 Jan 2011 05:48:56 +0000 (05:48 +0000)]
Add an entry for tarfile.

13 years agoMore source links.
Raymond Hettinger [Thu, 27 Jan 2011 01:20:32 +0000 (01:20 +0000)]
More source links.

13 years agoIssue #11020: Command-line pyclbr was broken because of missing 2-to-3
Raymond Hettinger [Thu, 27 Jan 2011 00:06:54 +0000 (00:06 +0000)]
Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.

(Patch reviewed by David Murray.)

13 years agoIssue #11018: fix a test to not be a no-op in test_bz2.
Antoine Pitrou [Wed, 26 Jan 2011 23:29:28 +0000 (23:29 +0000)]
Issue #11018: fix a test to not be a no-op in test_bz2.
Found by Nadeem Vawda, reviewed by Brett.

13 years ago#11019: Make BytesGenerator handle Message with None body.
R. David Murray [Wed, 26 Jan 2011 21:21:32 +0000 (21:21 +0000)]
#11019: Make BytesGenerator handle Message with None body.

Bug discovery and initial patch by Victor Stinner.

13 years agoIssue #11014: Make 'filter' argument in tarfile.Tarfile.add() into a
Raymond Hettinger [Wed, 26 Jan 2011 20:34:14 +0000 (20:34 +0000)]
Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into a
keyword-only argument.  The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.

(Patch reviewed by Brian Curtin and Anthony Long.)

13 years agoMarkup nits.
Raymond Hettinger [Wed, 26 Jan 2011 19:36:13 +0000 (19:36 +0000)]
Markup nits.

14 years agoRevert r88197. I'll refix correctly once there is a test.
R. David Murray [Wed, 26 Jan 2011 02:31:37 +0000 (02:31 +0000)]
Revert r88197.  I'll refix correctly once there is a test.

14 years agoAdd a few imports to examples.
Raymond Hettinger [Wed, 26 Jan 2011 01:13:26 +0000 (01:13 +0000)]
Add a few imports to examples.

14 years agoFix BytesGenerator._handle_text() if the message has no payload (None)
Victor Stinner [Wed, 26 Jan 2011 00:39:19 +0000 (00:39 +0000)]
Fix BytesGenerator._handle_text() if the message has no payload (None)

14 years agofix import in email.message_from_binary_file()
Victor Stinner [Tue, 25 Jan 2011 23:15:47 +0000 (23:15 +0000)]
fix import in email.message_from_binary_file()

Parser => BytesParser

14 years agoIssue #11004: Repair edge case in deque.count().
Raymond Hettinger [Tue, 25 Jan 2011 21:32:39 +0000 (21:32 +0000)]
Issue #11004:  Repair edge case in deque.count().
(Reviewed by Georg Brandl.)

Also made similar changes to deque.reverse() though this wasn't
strictly necessary (the edge case cannot occur with two pointers
moving to meet in the middle).  Making the change in reverse()
was more a matter of future-proofing.

14 years agoTighten the restrictions on the test_sys test which triggers a fatal error when
Brett Cannon [Tue, 25 Jan 2011 18:26:35 +0000 (18:26 +0000)]
Tighten the restrictions on the test_sys test which triggers a fatal error when
run with tracing turned on.

14 years agoFix the description of PIPE_BUF
Antoine Pitrou [Tue, 25 Jan 2011 17:24:57 +0000 (17:24 +0000)]
Fix the description of PIPE_BUF

14 years agoFix the doc for PIPE_BUF
Antoine Pitrou [Tue, 25 Jan 2011 16:28:44 +0000 (16:28 +0000)]
Fix the doc for PIPE_BUF

14 years agoTypo.
Raymond Hettinger [Tue, 25 Jan 2011 08:01:01 +0000 (08:01 +0000)]
Typo.

14 years agoAdd entries for select and site.
Raymond Hettinger [Tue, 25 Jan 2011 07:46:07 +0000 (07:46 +0000)]
Add entries for select and site.

14 years agoAdd math.erfc and turtledemo.
Raymond Hettinger [Tue, 25 Jan 2011 06:58:01 +0000 (06:58 +0000)]
Add math.erfc and turtledemo.

14 years agoTypo.
Raymond Hettinger [Tue, 25 Jan 2011 05:53:27 +0000 (05:53 +0000)]
Typo.

14 years agoNits.
Raymond Hettinger [Tue, 25 Jan 2011 02:38:59 +0000 (02:38 +0000)]
Nits.

14 years agoAdd entry for the math module.
Raymond Hettinger [Tue, 25 Jan 2011 02:35:58 +0000 (02:35 +0000)]
Add entry for the math module.

14 years agoIgnore the gdb.py file under OS X.
Brett Cannon [Tue, 25 Jan 2011 00:56:18 +0000 (00:56 +0000)]
Ignore the gdb.py file under OS X.

14 years agoanother pretty crasher served up by pypy
Benjamin Peterson [Tue, 25 Jan 2011 00:00:28 +0000 (00:00 +0000)]
another pretty crasher served up by pypy

14 years agoAdd entry for io.BytesIO.getbuffer().
Raymond Hettinger [Mon, 24 Jan 2011 22:14:42 +0000 (22:14 +0000)]
Add entry for io.BytesIO.getbuffer().

14 years ago#10974: IDLE no longer crashes if its recent files list includes files
Ned Deily [Mon, 24 Jan 2011 21:46:44 +0000 (21:46 +0000)]
#10974: IDLE no longer crashes if its recent files list includes files
        with non-ASCII characters in their path names.

        (with approval of release manager for 3.2rc2)

14 years agoIssue #11000 ast.parse parses source, not just expressions.
Terry Reedy [Mon, 24 Jan 2011 21:36:03 +0000 (21:36 +0000)]
Issue #11000 ast.parse parses source, not just expressions.