Commit Graph

1924 Commits

Author SHA1 Message Date
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
Éric Araujo 930df31987 Add missing docs and directives related to PEP 3147 and byte-compilation 2010-12-16 06:28:48 +00:00
Éric Araujo 971dc01e8a Fix one versionchanged 2010-12-16 03:13:05 +00:00
Éric Araujo f68fa05f7b Add versionadded directive missing from r78983. 2010-12-16 02:10:11 +00:00
Éric Araujo 1d55c7ea9b Advertise “python -m test” over test.regrtest (r87296 followup) 2010-12-16 01:40:26 +00:00
Łukasz Langa 7f64c8a512 Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.
Life is beatiful once again.
2010-12-16 01:16:22 +00:00
Raymond Hettinger 48f3bd331c Nits 2010-12-16 00:30:53 +00:00
Éric Araujo 055d2e0da4 Advertise “python -m” instead of direct filename. 2010-12-16 00:23:30 +00:00
Éric Araujo d6c5f749d8 No need to generate a link for something that’s just above. 2010-12-16 00:07:01 +00:00
Antoine Pitrou 810023db3e Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads.  Patch by Reid Kleckner.
2010-12-15 22:59:16 +00:00
Éric Araujo 119cda0fd2 Mark up one missed None in pkgutil.rst (#8851) 2010-12-15 22:37:27 +00:00
Terry Reedy 17a59252e8 Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport. 2010-12-15 20:18:10 +00:00
Éric Araujo 67f0b6c5f2 Use nested method directives, rewrap long lines, fix whitespace. 2010-12-15 19:30:15 +00:00
Éric Araujo d00862ac27 Improve trace documentation (#9264). Patch by Eli Bendersky. 2010-12-15 19:09:58 +00:00
Antoine Pitrou b8eb9cbd71 Move the urllib-inherited API to a distinguished section 2010-12-15 19:07:26 +00:00
R. David Murray d89bc3ff59 #10705: document what the values of debuglevel are and mean. 2010-12-15 02:19:14 +00:00
Vinay Sajip 9a6b400a59 Logging documentation update. 2010-12-14 19:40:21 +00:00
R. David Murray ec07331eea #775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.

Patch by Bobby Impollonia.
2010-12-14 16:20:53 +00:00