Commit graph

9605 commits

Author SHA1 Message Date
Brett Cannon
672237dc6c warnings.catch_warnings() now returns a list or None instead of the custom
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.

Closes issue 3781.
Review by Benjamin Peterson.
2008-09-09 00:49:16 +00:00
Bill Janssen
61c001a939 incorporate fixes from issue 3162; SSL doc patch 2008-09-08 16:37:24 +00:00
Mark Summerfield
ffde3cfcb1 Added xrefs to each other. 2008-09-08 14:45:37 +00:00
Georg Brandl
0f3629d913 Add a new howto about Python and the web, by Marek Kubica. 2008-09-07 17:00:17 +00:00
Andrew M. Kuchling
fe38e44123 #1317: describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes 2008-09-06 21:26:02 +00:00
Andrew M. Kuchling
cd52023e6f #3669 from Robert Lehmann: simplify use of iterator in example 2008-09-06 20:28:01 +00:00
Benjamin Peterson
6ac7d7c80b #1638033: add support for httponly on Cookie.Morsel
Reviewer: Benjamin
2008-09-06 19:28:11 +00:00
Andrew M. Kuchling
810f807b1b #3040: include 'dest' argument in example; trim some trailing whitespace 2008-09-06 13:04:02 +00:00
Andrew M. Kuchling
48a937ab41 Various corrections 2008-09-06 12:50:05 +00:00
Benjamin Peterson
ad2a9e72f1 actually tell the name of the flag to use 2008-09-06 03:00:00 +00:00
Jesse Noller
d5ff5b2ec4 Fix typo in multiprocessing doc, cancel_join_thread was missing _thread 2008-09-06 01:20:11 +00:00
Brett Cannon
32476fc5a8 Deprecate bsddb for removal in Python 3.0.
Closes issue 3776.
Review by Nick Coghlan.
2008-09-05 18:33:51 +00:00
Andrew M. Kuchling
6024834ed9 #3671: Typo fix 2008-09-05 15:15:56 +00:00
Brett Cannon
3dffcd1a72 Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only. 2008-09-05 03:52:59 +00:00
Benjamin Peterson
15ad6c0f2b flesh out the documentation on using 2to3 2008-09-04 23:31:27 +00:00
Andrew M. Kuchling
3ff2275628 #3671: various corrections and markup fixes noted by Kent Johnson 2008-09-04 13:26:24 +00:00
Facundo Batista
c585df9476 Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
to the urlparse one.  Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future.  Docs and tests updated.
2008-09-03 22:35:50 +00:00
Benjamin Peterson
cde6dc9a86 3.0 still has the old threading names 2008-09-03 21:48:20 +00:00
Benjamin Peterson
eb55fd8d2f Merged revisions 66173 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines

  A little 2to3 refactoring #3637

  This moves command line logic from refactor.py to a new file called
  main.py.  RefactoringTool now merely deals with the actual fixers and
  refactoring; options processing for example is abstracted out.

  This patch was reviewed by Gregory P. Smith.
........
2008-09-03 00:21:32 +00:00
Andrew M. Kuchling
3e75d2336d Add e-mail address 2008-09-02 13:08:11 +00:00
Andrew M. Kuchling
8315da4c17 Clarify example; add imports 2008-09-02 13:06:00 +00:00
Mark Summerfield
0792cbf5e1 a typo 2008-09-02 07:23:16 +00:00
Andrew M. Kuchling
2dd647b8fc typo fix 2008-09-02 01:39:18 +00:00
Brett Cannon
1eaf0742d8 Move test.test_support.catch_warning() to the warnings module, rename it
catch_warnings(), and clean up the API.

While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.

Closes issue 3602.
Code review by Benjamin Peterson.
2008-09-02 01:25:16 +00:00
Andrew M. Kuchling
86533776c2 Describe the __hash__ changes 2008-09-02 01:13:42 +00:00
Benjamin Peterson
973e6c2cf3 remove py3k warnings about the threading api; update docs
Reviewer: Benjamin Peterson
2008-09-01 23:12:58 +00:00
Vinay Sajip
aa5f873980 Bug #3738: Documentation is now more accurate in describing handler close methods. 2008-09-01 17:44:14 +00:00
Vinay Sajip
34bfda55d2 Added section about configuring logging in a library. Thanks to Thomas Heller for the idea. 2008-09-01 15:08:07 +00:00
Georg Brandl
2ba93210e2 #3749: fix c'n'p errors. 2008-09-01 14:15:55 +00:00
Andrew M. Kuchling
51eb7a9daa Update patch/bug count 2008-08-31 15:48:44 +00:00
Andrew M. Kuchling
ba40fb467d Last batch of edits; remove the 'other changes' section 2008-08-31 15:41:48 +00:00
Andrew M. Kuchling
fa881f2bd4 Edit the library section, rearranging items to flow better and making lots of edits 2008-08-31 14:29:31 +00:00
Nick Coghlan
82358691f7 Issue 2235: document the ability to block inheritance of __hash__ in the language reference 2008-08-31 13:10:50 +00:00
Andrew M. Kuchling
4d028570c7 More edits 2008-08-31 02:24:08 +00:00
Andrew M. Kuchling
eaa29bb238 More edits; markup fixes 2008-08-30 22:56:54 +00:00
Georg Brandl
9481ba33ff Fix markup. 2008-08-30 22:00:28 +00:00
Andrew M. Kuchling
5f2dc0bf7b Edit four more sections 2008-08-30 16:44:54 +00:00
Andrew M. Kuchling
3ffe56398a Correction from Antoine Pitrou: BufferedWriter and Reader support seek() 2008-08-30 15:25:47 +00:00
Andrew M. Kuchling
bf0a5951c9 Tidy up some sentences 2008-08-30 15:21:23 +00:00
Andrew M. Kuchling
e496493dd8 Partial edits from revision and tidying pass 2008-08-30 15:19:57 +00:00
Georg Brandl
f5a3fb730f super() actually returns a super object. 2008-08-30 13:17:39 +00:00
Georg Brandl
6140651d93 #3569: eval() also accepts "exec"able code objects. 2008-08-30 10:03:09 +00:00
Georg Brandl
c176814d82 #3716: fix typo. 2008-08-30 09:52:44 +00:00
Georg Brandl
cff0b46edc #3730: mention "server" attribute explicitly. 2008-08-30 09:49:36 +00:00
Georg Brandl
a27e89bd04 #3711: .dll isn't a valid Python extension anymore. 2008-08-28 09:40:18 +00:00
Andrew M. Kuchling
488a4f0118 Add various items 2008-08-27 02:12:18 +00:00
Andrew M. Kuchling
c9b41106e8 Add an item and a note 2008-08-27 00:45:02 +00:00
Andrew M. Kuchling
d207e230e1 Trim whitespace; add a few updates 2008-08-27 00:27:18 +00:00
Benjamin Peterson
14cb6bcf2b sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str 2008-08-26 17:08:40 +00:00
Brett Cannon
971f10210e Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API. 2008-08-24 23:15:19 +00:00