Commit graph

7916 commits

Author SHA1 Message Date
Andrew M. Kuchling
a04d118586 Describe startswith()/endswiith() change; add reminder about wsgiref 2006-06-09 19:03:16 +00:00
Georg Brandl
242508160e RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first argument. 2006-06-09 18:45:48 +00:00
Phillip J. Eby
5cf565ddd1 Import wsgiref into the stdlib, as of the external version 0.1-r2181. 2006-06-09 16:40:18 +00:00
Andrew M. Kuchling
7dbb1ff77d Markup fix 2006-06-09 10:22:35 +00:00
Andrew M. Kuchling
e878fe6a58 Update functools section 2006-06-09 01:10:17 +00:00
Nick Coghlan
676725db92 Add functools.update_wrapper() and functools.wraps() as described in PEP 356 2006-06-08 13:54:49 +00:00
Andrew M. Kuchling
06c5c8a4d3 Typo fix 2006-06-08 11:56:44 +00:00
Brett Cannon
ec0d6f83cd Clarify documentation for bf_getcharbuffer. 2006-06-07 21:48:17 +00:00
Andrew M. Kuchling
e275d3d4ce Mention other placeholders 2006-06-07 17:04:01 +00:00
Andrew M. Kuchling
3b336c7ced Add an item; also, escape % 2006-06-07 17:03:46 +00:00
Andrew M. Kuchling
1271f003a6 Mention other placeholders 2006-06-07 17:02:52 +00:00
Andrew M. Kuchling
12238d72a8 Add an SQLite introduction, taken from the 'What's New' text 2006-06-07 13:55:33 +00:00
Tim Peters
dba6318ae6 On python-dev Thomas Heller said these were committed
by mistake in rev 46693, so reverting this part of
rev 46693.
2006-06-06 15:52:35 +00:00
Thomas Heller
56dab85022 Specify argtypes for all test functions. Maybe that helps on strange ;-) architectures 2006-06-06 15:34:18 +00:00
Andrew M. Kuchling
5332989bda [Bug #1470026] Include link to list of classifiers 2006-06-05 19:08:25 +00:00
Andrew M. Kuchling
760872d70e Remove use of Trove name, which isn't very helpful to users 2006-06-05 19:05:32 +00:00
Tim Peters
bf0400abe9 Remove doctest.testmod's deprecated (in 2.4) isprivate
argument.  A lot of hair went into supporting that!
2006-06-05 01:43:03 +00:00
Andrew M. Kuchling
1985ff76ca Mention second encoding speedup 2006-06-05 00:08:09 +00:00
Tim Peters
28eeefe566 Revert revisions:
46640 Patch #1454481:  Make thread stack size runtime tunable.
46647 Markup fix

The first is causing many buildbots to fail test runs, and there
are multiple causes with seemingly no immediate prospects for
repairing them.  See python-dev discussion.

Note that a branch can (and should) be created for resolving these
problems, like

svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH

followed by merging rev 46647 to the new branch.
2006-06-04 23:52:47 +00:00
George Yoshida
67966bed72 Markup fix 2006-06-04 17:17:25 +00:00
George Yoshida
660a4e9c6d Remove a redundant word 2006-06-04 17:04:12 +00:00
Ronald Oussoren
fb2a169ce3 Drop Mac wrappers for the WASTE library. 2006-06-04 14:24:59 +00:00
Andrew MacIntyre
6539d2d3c7 Patch #1454481: Make thread stack size runtime tunable. 2006-06-04 12:31:09 +00:00
Andrew M. Kuchling
4094b3d08c Minor rewording 2006-06-03 18:43:24 +00:00
Andrew M. Kuchling
27ca711d20 [Bug #1441864] Clarify description of 'data' argument 2006-06-03 18:41:28 +00:00
Andrew M. Kuchling
794c89b678 [Bug #1475554] Strengthen text to say 'must' instead of 'should' 2006-06-03 18:33:35 +00:00
Andrew M. Kuchling
29d530b3ef [Bug #1472084] Fix description of do_tag 2006-06-03 18:09:41 +00:00
Tim Peters
d609b1a20e pprint functions used to sort a dict (by key) if and only if
the output required more than one line.  "Small" dicts got
displayed in seemingly random order (the hash-induced order
produced by dict.__repr__).  None of this was documented.
Now pprint functions always sort dicts by key, and the docs
promise it.

This was proposed and agreed to during the PyCon 2006 core
sprint -- I just didn't have time for it before now.
2006-06-02 23:22:51 +00:00
Andrew M. Kuchling
07cf0722b3 Mention SimpleXMLRPCServer change 2006-05-31 14:12:47 +00:00
Andrew M. Kuchling
622f144175 [Bug #1473048]
SimpleXMLRPCServer and DocXMLRPCServer don't look at
the path of the HTTP request at all; you can POST or
GET from / or /RPC2 or /blahblahblah with the same results.
Security scanners that look for /cgi-bin/phf will therefore report
lots of vulnerabilities.

Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class,
and report a 404 error if the path isn't on the allowed list.

Possibly-controversial aspect of this change: the default makes only
'/' and '/RPC2' legal.  Maybe this will break people's applications
(though I doubt it).  We could just set the default to an empty tuple,
which would exactly match the current behaviour.
2006-05-31 14:08:48 +00:00
Andrew M. Kuchling
0d272bbccf 'functional' module was renamed to 'functools' 2006-05-31 13:18:56 +00:00
Brett Cannon
14a0952a1f Clarify wording on default values for strptime(); defaults are used when better
values cannot be inferred.

Closes bug #1496315.
2006-05-31 02:19:54 +00:00
Georg Brandl
261e251df8 Patches #1497027 and #972322: try HTTP digest auth first,
and watch out for handler name collisions.
2006-05-29 20:52:54 +00:00
Nick Coghlan
c649ec5b69 Apply modified version of Collin Winter's patch #1478788
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
2006-05-29 12:43:05 +00:00
George Yoshida
f3c65de460 Patch #1080727: add "encoding" parameter to doctest.DocFileSuite
Contributed by Bjorn Tillenius.
2006-05-28 16:39:09 +00:00
George Yoshida
a2d6c8a9d3 fix typo 2006-05-27 17:09:17 +00:00
George Yoshida
3689571425 End of Ch.3 is now about "with statement".
Avoid obsolescence by directly referring to the section.
2006-05-27 16:51:43 +00:00
George Yoshida
5e0b88200e minor markup nits 2006-05-27 16:32:44 +00:00
Richard Jones
87f5471230 credit where credit is due 2006-05-27 13:50:42 +00:00
Andrew M. Kuchling
dae266ec61 Mention new-style exceptions 2006-05-27 13:44:37 +00:00
Richard Jones
7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 2006-05-27 12:29:24 +00:00
Andrew M. Kuchling
b98d65c0b7 Add Py_LOCAL macros 2006-05-27 11:26:33 +00:00
Martin v. Löwis
d004fc810a Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
Georg Brandl
a89dbec257 Patch #1492218: document None being a constant. 2006-05-26 20:14:47 +00:00
Thomas Heller
cc7570fd90 Write more docs. 2006-05-26 19:43:45 +00:00
Georg Brandl
e001816dff Exception isn't the root of all exception classes anymore. 2006-05-26 19:04:47 +00:00
Andrew M. Kuchling
afe6598732 Add rpartition() and path caching 2006-05-26 18:41:18 +00:00
Fredrik Lundh
9c0e9c089c needspeed: rpartition documentation, tests, and a bug fixes.
feel free to add more tests and improve the documentation.
2006-05-26 18:24:15 +00:00
Thomas Heller
2d6c5a868a Reordered, and wrote more docs. 2006-05-26 17:47:40 +00:00
Thomas Heller
69bfaab304 Write some docs. 2006-05-26 17:18:33 +00:00