Commit graph

55848 commits

Author SHA1 Message Date
Georg Brandl
96acb73dd5 Small whitespace fixes for shutil.rmtree() docs. 2012-06-24 17:39:05 +02:00
Georg Brandl
4a7e25f4df #444582: fix example and rewrap docs a bit. 2012-06-24 17:37:07 +02:00
Georg Brandl
4168764c1a Add 3.2.3 version to the license table. 2012-06-24 17:31:06 +02:00
Antoine Pitrou
0b40a0b102 Merge 2012-06-24 17:23:12 +02:00
Georg Brandl
c645c6ada1 Closes #15162: the meaning of "online" has shifted a bit in recent years, use "interactive" instead. 2012-06-24 17:24:26 +02:00
Antoine Pitrou
92c9757973 Use -W on the Windows 64 buildbots 2012-06-24 17:22:50 +02:00
Georg Brandl
dbab58fdeb Refactor the venv API docs into a real API doc style. 2012-06-24 16:37:59 +02:00
Antoine Pitrou
1f5d2a087c Fix test to really run behind a NNTP virus checker 2012-06-24 16:28:18 +02:00
Antoine Pitrou
5f762af3bc Remove a detailed discussion of content-based short circuiting, off topic for library docs. 2012-06-24 16:23:54 +02:00
Antoine Pitrou
f61e7910ea Simplify wording. 2012-06-24 16:21:10 +02:00
Hynek Schlawack
cf343532a2 Remove debug output from test_shutil 2012-06-24 16:21:22 +02:00
Antoine Pitrou
1524d7556d Formatting 2012-06-24 16:18:48 +02:00
Georg Brandl
db99dd0605 Small wording update from Larry. 2012-06-24 16:15:46 +02:00
Hynek Schlawack
1729b8f45b Fix doc of os.fwalk: example used now non-existing os.fstatat() 2012-06-24 16:11:08 +02:00
Georg Brandl
ae64b4d8e2 Merge heads. 2012-06-24 16:11:23 +02:00
Georg Brandl
3b44d81cf9 Merge heads. 2012-06-24 16:10:47 +02:00
Georg Brandl
a1bc35f07f Improve hmac.compare_digest() docstring and documentation, courtesy of Larry H. 2012-06-24 16:07:33 +02:00
Antoine Pitrou
4f9946874b The buffer protocol doesn't exist (in the glossary anyway). 2012-06-24 16:04:38 +02:00
Antoine Pitrou
9df73dac84 Larry's suggested rewording of the compare_digest() docs. 2012-06-24 16:03:50 +02:00
Stefan Krah
39e810eb6c Make the benchmark more fair for _decimal/decimal.py by setting context.prec
only once (float obviously doesn't set any context at all).
2012-06-24 14:10:49 +02:00
Georg Brandl
6cff9ffab0 Fix use of class markup. 2012-06-24 14:05:40 +02:00
Georg Brandl
f78755968a Whitespace cleanup. 2012-06-24 13:58:31 +02:00
Georg Brandl
9dcbfc353d Remove unused variable. 2012-06-24 13:55:35 +02:00
Georg Brandl
93b7d7e4b9 Fix a refleak in c82451eeb595. 2012-06-24 13:54:51 +02:00
Christian Heimes
6cea65555c Issue #15061: Re-implemented hmac.compare_digest() in C 2012-06-24 13:48:32 +02:00
Larry Hastings
605a62ddb1 Issue #15118: Change return value of os.uname() and os.times() from
plain tuples to immutable iterable objects with named attributes
(structseq objects).
2012-06-24 04:33:36 -07:00
Georg Brandl
f62445ad30 Fix casing of Unix. 2012-06-24 13:31:20 +02:00
Georg Brandl
8a5555f792 Make the style of the "Availability" sections consistent. 2012-06-24 13:29:09 +02:00
Georg Brandl
a570e98e7b Actually it is just one function. 2012-06-24 13:26:22 +02:00
Georg Brandl
b2462e2b8c Minor clarification about fdopen(). 2012-06-24 13:24:56 +02:00
Georg Brandl
b8f2d29ea9 Remove attribution; this is for the whatsnew. 2012-06-24 13:06:44 +02:00
Stefan Krah
d725de9d13 Issue #15102: Try setting HOST_PYTHON in build-amd64.bat as a temporary
measure.
2012-06-24 13:03:59 +02:00
Georg Brandl
306336bcda Closes #15161: add support for giving path as a fd for truncate() and pathconf(). 2012-06-24 12:55:33 +02:00
Georg Brandl
8ccadaafe6 Restore mostly-alphabetic sorting of os functions. 2012-06-24 12:50:06 +02:00
Georg Brandl
b9df00cc00 Note that equivalents are valid for 3.3+ only. 2012-06-24 12:38:14 +02:00
Vinay Sajip
dd7987382d Merged upstream changes. 2012-06-24 11:24:05 +01:00
Vinay Sajip
d89dae18e8 Added Windows launcher documentation. 2012-06-24 11:23:07 +01:00
Stefan Krah
78f075636c Speed up _decimal by another 10-15% by caching the thread local context
that was last accessed. In the pi benchmark (64-bit platform, prec=9),
_decimal is now only 1.5x slower than float.
2012-06-24 12:20:03 +02:00
Mark Dickinson
95aeae01e2 In random's test_seedargs: Make sure to include at least one seed object with a negative hash. 2012-06-24 11:05:30 +01:00
Georg Brandl
b9831ab63c Move Linux-only *xattr() functions to their own subheading. 2012-06-24 11:57:07 +02:00
Georg Brandl
7ac2af78a2 Fix typo. 2012-06-24 11:56:47 +02:00
Georg Brandl
b1a1ac0b67 Small nits in os doc. 2012-06-24 11:54:07 +02:00
Larry Hastings
d60cd4295c Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned. 2012-06-24 02:52:21 -07:00
Georg Brandl
50c4000685 "Refactor" docs for the new dir_fd, follow_symlinks, path-as-fd APIs: document the options at a central place and link to it. 2012-06-24 11:45:20 +02:00
Vinay Sajip
6aed5fe532 Closes #15157: pydoc script added to venvs. 2012-06-24 10:35:40 +01:00
R David Murray
97f43c019f #15160: Extend the new email parser to handle MIME headers.
This code passes all the same tests that the existing RFC mime header
parser passes, plus a bunch of additional ones.

There are a couple of commented out tests where there are issues with the
folding.  The folding doesn't normally get invoked for headers parsed from
source, and the cases are marginal anyway (headers with invalid binary data)
so I'm not worried about them, but will fix them after the beta.

There are things that can be done to make this API even more convenient, but I
think this is a solid foundation worth having.  And the parser is a full RFC
parser, so it handles cases that the current parser doesn't.  (There are also
probably cases where it fails when the current parser doesn't, but I haven't
found them yet ;)

Oh, yeah, and there are some really ugly bits in the parser for handling some
'postel' cases that are unfortunately common.

I hope/plan to to eventually refactor a lot of the code in the parser which
should reduce the line count...but there is no escaping the fact that the
error recovery is welter of special cases.
2012-06-24 05:03:27 -04:00
Larry Hastings
49c15d4a5f Issue #14815: Use Py_ssize_t instead of long for the object hash, to
preserve all 64 bits of hash on Win64.
2012-06-24 01:54:21 -07:00
Ned Deily
1bc276d7ab Update OS X installer build target compilers. 2012-06-24 01:27:51 -07:00
Ned Deily
99ac2f1d06 Packaging removal: remove pysetup3 install from Makefile. 2012-06-24 01:20:58 -07:00
Hynek Schlawack
f841e42a98 Fix whitespace 2012-06-24 09:51:46 +02:00