Vinay Sajip
1c77b7f84c
Issue #7086 : Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
2009-10-10 20:32:36 +00:00
Mark Dickinson
d5a713ec30
Issue #7051 : Clarify behaviour of 'g' and 'G'-style formatting.
2009-10-08 20:02:25 +00:00
Andrew M. Kuchling
fa6a4271c1
Backport r73983: Document the thousands separator.
2009-10-05 22:42:56 +00:00
Andrew M. Kuchling
f6e3d7d585
Document 'skip' parameter to constructor
2009-10-05 21:25:03 +00:00
Andrew M. Kuchling
f5852f59d9
Fix narkup
2009-10-05 21:24:35 +00:00
Andrew M. Kuchling
3fab04078d
Wording fix
2009-10-05 21:24:20 +00:00
Mark Dickinson
530df33eac
Issue #7028 : Add note to hex() builtin docs pointing to float.hex().
2009-10-03 10:14:34 +00:00
Georg Brandl
f895cf5d33
#7031 : Add TestCase.assertIsInstance and negated method.
2009-10-01 20:59:31 +00:00
Antoine Pitrou
c9062ca308
Sync the 2.x `io` docs with py3k, with a small note as to the distinction
...
between bytes streams and text streams.
2009-10-01 17:08:03 +00:00
Gregory P. Smith
657024cd26
Mention issue6972 in extractall docs about overwriting things outside of
...
the supplied path.
2009-09-29 21:56:31 +00:00
Philip Jenvey
8b9020458a
#5329 : fix os.popen* regression from 2.5: don't execute commands as a sequence
...
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Raymond Hettinger
13305f681b
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
2009-09-29 18:53:24 +00:00
Mark Dickinson
b93fff0a57
Issue #3366 : Add gamma function to math module.
...
(lgamma, erf and erfc to follow).
2009-09-28 18:54:55 +00:00
Michael Foord
17565e5b7b
Documentation improvement for load_tests protocol in unittest. Issue 6515.
2009-09-27 20:08:23 +00:00
Vinay Sajip
4780c9a0e0
Tidied up name of parameter in StreamHandler
2009-09-26 14:53:32 +00:00
Ezio Melotti
9aac2455ab
#7000 : document "sep" in capwords. Add a few tests
2009-09-26 11:20:53 +00:00
Benjamin Peterson
afdbe3d661
comment out ugly xxx
2009-09-26 02:57:59 +00:00
Ezio Melotti
2fd3592e70
improved phrasing, markup and example
2009-09-23 21:36:39 +00:00
Benjamin Peterson
ca66cb5ce0
fix typos/rephrase
2009-09-22 22:15:28 +00:00
Brett Cannon
2f75572f44
Fix a minor doc syntax typo.
2009-09-22 20:04:24 +00:00
Vinay Sajip
f778bec8ed
Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
2009-09-22 17:23:41 +00:00
Georg Brandl
ac87077b37
Fix encoding name.
2009-09-22 10:55:08 +00:00
Doug Hellmann
1d18b5b929
Fix markup for external links.
2009-09-20 20:44:13 +00:00
Ronald Oussoren
9f20d9d0ee
Issue 6877: this patch makes it possible to link the readline extension
...
to the libedit emulation of the readline API on OSX 10.5 or later.
This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Georg Brandl
f4da666880
Fix references to threading.enumerate().
2009-09-19 12:04:16 +00:00
Georg Brandl
592c58d356
#6946 : fix duplicate index entries for datetime classes.
2009-09-19 10:42:34 +00:00
Georg Brandl
54967d994a
#6925 : rewrite docs for locals() and vars() a bit.
2009-09-18 21:21:41 +00:00
Benjamin Peterson
332d721750
add keyword arguments support to str/unicode encode and decode #6300
2009-09-18 21:14:55 +00:00
Georg Brandl
b926ebb896
Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
2009-09-17 17:14:04 +00:00
Georg Brandl
7842a41f5c
Remove duplicate doc of enable/disable_interspersed_args.
2009-09-17 16:26:06 +00:00
Georg Brandl
304d3966ee
#6932 : remove paragraph that advises relying on __del__ being called.
2009-09-17 16:15:53 +00:00
Georg Brandl
bc3777d85e
String values should be shown with quotes, to avoid confusion with constants.
2009-09-17 10:23:02 +00:00
Benjamin Peterson
fd1fcffced
pep 8 defaults
2009-09-17 03:18:28 +00:00
Georg Brandl
a50d20a5b1
Rewrap long lines.
2009-09-16 15:57:46 +00:00
Georg Brandl
718b221e06
#6892 : fix optparse example involving help option.
2009-09-16 13:11:06 +00:00
Georg Brandl
d7226ffe0b
Remove strange trailing commas.
2009-09-16 13:06:22 +00:00
Georg Brandl
b29709adc8
#6876 : fix base class constructor invocation in example.
2009-09-16 09:24:57 +00:00
Ezio Melotti
038f38d3ac
#6917 - typo in method name
2009-09-15 18:41:43 +00:00
Georg Brandl
58d23fbb6c
#6908 : fix association of hashlib hash attributes.
2009-09-14 14:50:47 +00:00
Georg Brandl
7eb43b7c70
#6574 : list the future features in a table.
2009-09-14 14:08:54 +00:00
Michael Foord
dc0460a309
Remove an extraneous space in unittest documentation.
2009-09-13 19:08:18 +00:00
Michael Foord
e91ea56b30
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
2009-09-13 19:07:03 +00:00
Georg Brandl
6848d82a7c
Typo fix.
2009-09-13 18:15:07 +00:00
Michael Foord
668be589ef
Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
2009-09-13 16:46:19 +00:00
Michael Foord
c3f79373e8
Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
2009-09-13 16:40:02 +00:00
Lars Gustäbel
21121e64b4
Issue #6856 : Add a filter keyword argument to TarFile.add().
...
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl
ffdde9e959
Properly document copy and deepcopy as functions.
2009-09-09 16:49:13 +00:00
Georg Brandl
f01697014f
#6843 : add link from filterwarnings to where the meaning of the arguments is covered.
2009-09-05 16:47:17 +00:00
Georg Brandl
609910c210
#6841 : remove duplicated word.
2009-09-05 09:04:09 +00:00
Georg Brandl
601ee7f847
#6756 : add some info about the "acct" parameter.
2009-09-04 11:25:37 +00:00