Commit graph

47866 commits

Author SHA1 Message Date
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
6c3f01791b Merged revisions 88204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88204 | antoine.pitrou | 2011-01-27 00:29:28 +0100 (jeu., 27 janv. 2011) | 4 lines

  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:31:20 +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
Ned Deily
ab5dd00927 Merged revisions 88174 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88174 | ned.deily | 2011-01-24 13:46:44 -0800 (Mon, 24 Jan 2011) | 6 lines

  #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)
........
2011-01-24 22:22:06 +00:00
Raymond Hettinger
f4f0e6c7a7 Add entry for io.BytesIO.getbuffer(). 2011-01-24 22:14:42 +00:00
Ned Deily
122539e287 #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)
2011-01-24 21:46:44 +00:00
Terry Reedy
e2248f9e6d Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170) 2011-01-24 21:46:05 +00:00
Terry Reedy
feac624827 Issue #11000 ast.parse parses source, not just expressions. 2011-01-24 21:36:03 +00:00
Steven Bethard
b02701101b Issue #9509: make argarse properly handle IOErrors raised by argparse.FileType. Approved by Georg in the tracker. 2011-01-24 21:02:50 +00:00
Terry Reedy
2a6ac15f26 Update last tix code example for 3.x, as already done for previous examples. 2011-01-24 20:48:40 +00:00
Georg Brandl
009a6bd675 Fix label syntax. 2011-01-24 19:59:08 +00:00
Georg Brandl
8e490de616 Typo fix. 2011-01-24 19:53:18 +00:00
R. David Murray
7b1aae9a52 #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.

I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved.  I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger
a80ab10bc2 Typos. 2011-01-24 18:19:01 +00:00
Raymond Hettinger
ead4975b9f Missing source links. 2011-01-24 16:28:06 +00:00
Raymond Hettinger
399bf7be41 Fix markup and add todo. 2011-01-24 10:11:12 +00:00
Raymond Hettinger
e7dfe74ce3 Add entry for hash_info(). 2011-01-24 09:17:24 +00:00
Raymond Hettinger
9a236b0235 Add section for urllib.parse. 2011-01-24 09:01:27 +00:00
Raymond Hettinger
a3b7a14d16 Add entry for the html module. 2011-01-24 05:26:00 +00:00
Raymond Hettinger
d0d59b138d Add entry for hashlib and expand the GC entry. 2011-01-24 05:07:13 +00:00
Raymond Hettinger
bf1d2bc7cb Make the type consistent for hashlib algorithm constants. (Reviewed by Benjamin). 2011-01-24 04:52:27 +00:00
Raymond Hettinger
acff595a4e Add entries for dis, dbm, and ctypes. 2011-01-24 01:51:49 +00:00
Raymond Hettinger
50307b684d Add entries for array, asyncore, csv, compileall, and ast. 2011-01-24 01:18:30 +00:00
Brett Cannon
c3e8867a41 Skip a recursion depth check test when running under CPython and have a trace
function set. Otherwise a Python fatal error about hitting an unrecoverable
recursion depth gets triggered.

Closes issue #10985. Code review by Georg Brandl.
2011-01-23 23:06:05 +00:00
Raymond Hettinger
6ef18f4fa3 Fix typo. 2011-01-23 21:33:36 +00:00
Raymond Hettinger
971f48320b minor clean-up. 2011-01-23 21:32:18 +00:00
Raymond Hettinger
cbc903bc7e Add tracker references. 2011-01-23 21:13:27 +00:00
Raymond Hettinger
98b140c196 Add entry for reprlib. 2011-01-23 21:05:46 +00:00
Antoine Pitrou
0f2a61a11e Merged revisions 88147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88147 | antoine.pitrou | 2011-01-23 18:12:25 +0100 (dim., 23 janv. 2011) | 3 lines

  Issue #10987: Fix the recursion limit handling in the _pickle module.
........
2011-01-23 17:21:28 +00:00
Antoine Pitrou
e6d4c5bab8 Issue #10987: Fix the recursion limit handling in the _pickle module. 2011-01-23 17:12:25 +00:00
Raymond Hettinger
0929b1fc70 Add entry for shutil's archiving operations. 2011-01-23 11:29:08 +00:00