Commit graph

1941 commits

Author SHA1 Message Date
Antoine Pitrou
a83878e693 Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing. 2011-01-05 18:37:22 +00:00
R. David Murray
477efb3944 #10790: make append work when output codec is different from input codec
There's still a bug here (the encode call shouldn't use the 'errors'
paramter), but I'll fix that later.
2011-01-05 01:39:32 +00:00
Alexander Belopolsky
b9588b528a Issue #8013: time.asctime and time.ctime no longer call system asctime
and ctime functions.  The year range for time.asctime is now 1900
through maxint.  The range for time.ctime is the same as for
time.localtime.  The string produced by these functions is longer than
24 characters when year is greater than 9999.
2011-01-04 16:34:30 +00:00
Michael Foord
32e1d8340c Enable unittest.TestCase to be instantiated without providing a method name.
Changed unittestgui to show number of discovered tests in the status bar.
2011-01-03 17:00:11 +00:00
Michael Foord
90efac7f37 Issue 10502: addition of unittestgui to Tools/ 2011-01-03 15:39:49 +00:00
Michael Foord
d218e956d2 Issue 10786: unittest documentation update. 2011-01-03 12:55:11 +00:00
Antoine Pitrou
e1bc898216 Some nits. 2011-01-02 22:12:22 +00:00
Antoine Pitrou
b205d58d0d Add a shutdown() call in the server example. 2011-01-02 22:09:27 +00:00
Antoine Pitrou
4a67a46543 Clarify behaviour of close() and shutdown() on sockets. 2011-01-02 22:06:53 +00:00
Georg Brandl
8a7e5daab2 Fix code indentation. 2011-01-02 19:07:51 +00:00
Georg Brandl
121ff8235b #1665333: add more docs for optparse.OptionGroup. 2011-01-02 14:23:43 +00:00
Georg Brandl
59b44721e3 Remove mentions of the Demo directory. 2010-12-30 22:12:40 +00:00
Georg Brandl
4cf83f4d12 Remove some of the old demos. (Put a few somewhere else.) 2010-12-30 17:22:33 +00:00
Senthil Kumaran
627284c67f Fix Issue10793 - hashlib documentation issue on return type of digest 2010-12-30 07:07:58 +00:00
R. David Murray
ef1a8b62bc Fix same typo in docs. 2010-12-29 19:06:48 +00:00
Georg Brandl
8aa7e999b5 Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833. 2010-12-28 18:30:18 +00:00
Brian Curtin
9624559d12 Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.
2010-12-28 17:08:22 +00:00
Victor Stinner
da9ec995f6 Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8
* Replace "bytes" by "bytes object" in struct error messages
 * Document the API change in What's new in Python 3.2
 * Fix test_wave
 * Remove also ugly implicit conversions in test_struct
2010-12-28 13:26:42 +00:00
Georg Brandl
e398da9ad0 #10609: fix non-working dbm example. 2010-12-28 11:53:25 +00:00
Georg Brandl
e9e8c9bda4 #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. 2010-12-28 11:49:41 +00:00
Georg Brandl
2c39c77285 #10781: clarify that *encoding* is not a parameter for Node objects in general. 2010-12-28 11:15:49 +00:00
Georg Brandl
c28036b532 #10742: document readonly attribute of memoryviews. 2010-12-28 11:08:17 +00:00
Georg Brandl
2a39b71ecc Replace sys.maxint mention by sys.maxsize. 2010-12-28 09:16:12 +00:00
Victor Stinner
301e956686 Issue #8966: Remove the documentation of ctypes.set_conversion_mode()
Function removed by r83195.
2010-12-28 00:59:02 +00:00
Éric Araujo
0d4bcf4c71 Fix typo (#10770) 2010-12-26 17:53:27 +00:00
Éric Araujo
2908765ffd Remove unexistent parameter (#3216) 2010-12-26 02:38:05 +00:00
Raymond Hettinger
57bd00a15b Adopt symmetric names for arguments (actual/expected --> first/second). 2010-12-24 21:51:48 +00:00
Raymond Hettinger
6518f5e780 Fix docs and comment for r87454. 2010-12-24 00:52:54 +00:00
Alexander Belopolsky
0d26798bbc Issue #10587: Document the meaning of str methods. 2010-12-23 02:58:25 +00:00
Vinay Sajip
689b68ad2d Logging documentation updates. 2010-12-22 15:04:15 +00:00
Raymond Hettinger
8ebe27f300 Deprecate assertDictContainsSubset() 2010-12-21 19:24:26 +00:00
Antoine Pitrou
f259076790 Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.
(part of #10735)
2010-12-21 18:49:01 +00:00
Vinay Sajip
01094e1fe4 Logging documentation updates. 2010-12-19 13:41:26 +00:00
Vinay Sajip
c63619bcf2 Logging documentation reorganised. 2010-12-19 12:56:57 +00:00
Georg Brandl
09a7df8301 #3243 follow-up: remove debugging print and fix docs; data is a bytes object. 2010-12-19 12:33:52 +00:00
Senthil Kumaran
7bc0d872dd Issue3243 - Support iterable bodies in httplib. Patch contributions by Xuanji Li and Chris AtLee. 2010-12-19 10:49:52 +00:00
Georg Brandl
c88435023c Fix markup error and update suspicious file. 2010-12-19 10:28:46 +00:00
Vinay Sajip
7504302875 Logging documentation update. 2010-12-19 06:02:31 +00:00
Ezio Melotti
addc6f5a21 #10573: use actual/expected consistently in unittest methods. The order of the args of assertCountEqual is also changed. 2010-12-18 20:00:04 +00:00
Georg Brandl
0bdfbfa276 #10723: add missing builtin exceptions. 2010-12-18 17:51:28 +00:00
R. David Murray
32e1771daf #10728: the default for printing help is sys.stdout, not stderr. 2010-12-18 16:39:06 +00:00
Georg Brandl
77570e2d0e Fix typo. 2010-12-18 16:21:58 +00:00
Antoine Pitrou
197c9c945e Make this a note again. 2010-12-18 12:33:06 +00:00
Steven Bethard
fd311a712d Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg for beta2 on the tracker. 2010-12-18 11:19:23 +00:00
Raymond Hettinger
c539a2a88e Add link to a sample solution to a common problem. 2010-12-17 23:31:30 +00:00
Łukasz Langa
71b37a5d6d 100% test coverage, better mapping protocol compatibility, some minor bugfixes 2010-12-17 21:56:32 +00:00
Daniel Stutzbach
2a1e3e67b3 Issue2690: Update docs to reflect the change made by issue2690. 2010-12-17 20:53:03 +00:00
Antoine Pitrou
988dbd7bc2 Issue #10711: Remove HTTP 0.9 support from http.client. The strict
parameter to HTTPConnection and friends is deprecated.
2010-12-17 17:35:56 +00:00
R. David Murray
94f58c3a65 #10454: clarify the compileall docs and help messages. 2010-12-17 16:29:07 +00:00
Łukasz Langa
b25a791802 configparser API cleanup: default values now sensible, slightly incompatible.
Backwards compatible alternative values possible as documented.
Done by Łukasz Langa, approved by Raymond and Fred.
2010-12-17 01:32:29 +00:00