Commit graph

45337 commits

Author SHA1 Message Date
Georg Brandl
d163c2c57b #11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.
Original patch by Brian Curtin, reviewed by me.
2011-01-30 08:16:07 +00:00
Raymond Hettinger
994d38059a Add entry for the mailbox fixups. 2011-01-30 07:56:03 +00:00
R. David Murray
b7deff1ddc #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.
2011-01-30 06:21:28 +00:00
Raymond Hettinger
b02f7c00ae List known build/install problems for OS X. 2011-01-30 05:37:16 +00:00
Nick Coghlan
793ee1f8a8 Issue #10845: Improve compatibility between multiprocessing on Windows and package, zipfile and directory execution (Reviewed by Antoine Pitrou and approved by Georg Brandl) 2011-01-30 01:24:08 +00:00
Raymond Hettinger
c7bb159acd Markup nits. 2011-01-30 01:10:07 +00:00
Raymond Hettinger
62399747a5 Add section for http.client.
Link to OS X build instructions.
Add back issue references for datetime.
2011-01-30 00:55:47 +00:00
Raymond Hettinger
519c308939 Typos. 2011-01-30 00:39:00 +00:00
Éric Araujo
ac4e58eb61 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.
2011-01-29 20:32:11 +00:00
Alexander Belopolsky
7dabf16f69 Issue #10939: Make Internaldate2tuple test more robust. 2011-01-29 19:49:40 +00:00
Ned Deily
5c2d330662 Issue 11052: Correct IDLE menu accelerators on Mac OS X for Save
commands.  (with release manager approval for 3.2rc2)
2011-01-29 19:10:26 +00:00
Ned Deily
e59e4c5e56 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)
2011-01-29 18:56:28 +00:00
Ned Deily
806c944edb 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)
2011-01-29 18:43:56 +00:00
Ned Deily
70063937ec 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.
2011-01-29 18:29:01 +00:00
Alexander Belopolsky
19e0a9e511 Issue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe Peterson
for the report and the patch.  Reviewed by Georg Brandl.
2011-01-29 17:19:08 +00:00
Giampaolo Rodolà
ac039aee4d fix reference to issue where the addition of select.PIPE_BUF was discussed 2011-01-29 13:24:33 +00:00
Victor Stinner
80f75e684e Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).
Patch reviewed by Antoine Pitrou, okayed by Georg Brandl.
2011-01-29 11:31:20 +00:00
Eric Smith
a1eac7218b 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.
2011-01-29 11:15:35 +00:00
Raymond Hettinger
08d4293013 Add entry for str.format_map().
Add bullet list and reference to documentation section.
2011-01-29 08:51:57 +00:00
Eric Smith
598b513a5d Added a placeholder for str.format_map, as discussed with Raymond. My prose is horrible, some cleanup is required. 2011-01-28 20:23:25 +00:00
Michael Foord
e180d3953f Issue 10573: revert unittest docs to first / second
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa
66c908e6bf #11027: documented how to override SECTCRE 2011-01-28 11:57:30 +00:00
Raymond Hettinger
469271d4ea More source links 2011-01-27 20:38:46 +00:00
Vinay Sajip
1a90f9c52f Issue 11008: docs updated to show versionadded for dictConfig. 2011-01-27 19:14:16 +00:00
Raymond Hettinger
e6f0abf34a More typical sample invocation of tarfile. 2011-01-27 07:34:45 +00:00
Raymond Hettinger
712d2b4f4b Add missing attributions. 2011-01-27 06:46:54 +00:00
Raymond Hettinger
8d09cb2127 Update todo list. 2011-01-27 06:10:18 +00:00
Raymond Hettinger
7626ef93b7 Add an entry for tarfile. 2011-01-27 05:48:56 +00:00
Raymond Hettinger
a199368b23 More source links. 2011-01-27 01:20:32 +00:00
Raymond Hettinger
8b5eb2f813 Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.

(Patch reviewed by David Murray.)
2011-01-27 00:06:54 +00:00
Antoine Pitrou
528d9f6ead Issue #11018: fix a test to not be a no-op in test_bz2.
Found by Nadeem Vawda, reviewed by Brett.
2011-01-26 23:29:28 +00:00
R. David Murray
7372a07fd0 #11019: Make BytesGenerator handle Message with None body.
Bug discovery and initial patch by Victor Stinner.
2011-01-26 21:21:32 +00:00
Raymond Hettinger
a63a312a3f 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.)
2011-01-26 20:34:14 +00:00
Raymond Hettinger
e3b8f7c0fa Markup nits. 2011-01-26 19:36:13 +00:00
R. David Murray
bdd2d93bfe Revert r88197. I'll refix correctly once there is a test. 2011-01-26 02:31:37 +00:00
Raymond Hettinger
14eb4c356e Add a few imports to examples. 2011-01-26 01:13:26 +00:00
Victor Stinner
3a7ee3ab5a Fix BytesGenerator._handle_text() if the message has no payload (None) 2011-01-26 00:39:19 +00:00
Victor Stinner
0c4cc559cb fix import in email.message_from_binary_file()
Parser => BytesParser
2011-01-25 23:15:47 +00:00
Raymond Hettinger
512d2cc643 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.
2011-01-25 21:32:39 +00:00
Brett Cannon
5543e81352 Tighten the restrictions on the test_sys test which triggers a fatal error when
run with tracing turned on.
2011-01-25 18:26:35 +00:00
Antoine Pitrou
cfad97b3ca Fix the description of PIPE_BUF 2011-01-25 17:24:57 +00:00
Antoine Pitrou
da7be3e7b7 Fix the doc for PIPE_BUF 2011-01-25 16:28:44 +00:00
Raymond Hettinger
902f320232 Typo. 2011-01-25 08:01:01 +00:00
Raymond Hettinger
da4a05de7e Add entries for select and site. 2011-01-25 07:46:07 +00:00
Raymond Hettinger
2f707c98fb Add math.erfc and turtledemo. 2011-01-25 06:58:01 +00:00
Raymond Hettinger
f9b8a19d75 Typo. 2011-01-25 05:53:27 +00:00
Raymond Hettinger
2c63906283 Nits. 2011-01-25 02:38:59 +00:00
Raymond Hettinger
a4cfb4292a Add entry for the math module. 2011-01-25 02:35:58 +00:00
Brett Cannon
ad81f2bee6 Ignore the gdb.py file under OS X. 2011-01-25 00:56:18 +00:00
Benjamin Peterson
d454249a36 another pretty crasher served up by pypy 2011-01-25 00:00:28 +00:00