Benjamin Peterson
36e0d0efd8
isinstance(f, collections.Callable) is more correct
2009-10-03 15:13:15 +00:00
Benjamin Peterson
5850389a10
revert r75090
2009-10-03 15:06:21 +00:00
Mark Dickinson
36cea39b22
Merged revisions 75205 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines
Issue #7028 : Add note to hex() builtin docs pointing to float.hex().
........
2009-10-03 10:18:40 +00:00
Tarek Ziadé
05b303443b
Merged revisions 75192 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75192 | tarek.ziade | 2009-10-03 01:49:48 +0200 (Sat, 03 Oct 2009) | 1 line
#6516 added owner/group support for tarfiles in Distutils
........
2009-10-02 23:56:02 +00:00
Mark Dickinson
574b1d6a60
More versionadded/versionchanged fixes
2009-10-01 20:20:09 +00:00
Mark Dickinson
4035aace1a
Remove outdated versionchanged entry
2009-10-01 20:11:11 +00:00
Antoine Pitrou
78ddbe69af
Issue #7022 : clarification of RawIOBase.read(), suggested by Pascal Chambon.
2009-10-01 16:24:45 +00:00
Mark Dickinson
56e0966afa
Fix versionadded for py3k math.gamma
2009-10-01 16:13:29 +00:00
Benjamin Peterson
da18125ae1
more stable url
2009-10-01 00:57:32 +00:00
Benjamin Peterson
51e491000d
fix opensearch version
2009-10-01 00:10:13 +00:00
Raymond Hettinger
b8b0ba1fa0
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
2009-09-29 06:22:28 +00:00
Mark Dickinson
12c4bdb0e8
Merged revisions 75117 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75117 | mark.dickinson | 2009-09-28 19:54:55 +0100 (Mon, 28 Sep 2009) | 3 lines
Issue #3366 : Add gamma function to math module.
(lgamma, erf and erfc to follow).
........
2009-09-28 19:21:11 +00:00
Benjamin Peterson
5770847da6
use more correct callable replacement
2009-09-27 16:32:56 +00:00
Georg Brandl
10430ad7aa
fix default value
2009-09-26 20:59:11 +00:00
Georg Brandl
9c3b7dc3c0
use new style optional args
2009-09-26 20:52:12 +00:00
Ezio Melotti
a40bdda937
Merged revisions 75070 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line
#7000 : document "sep" in capwords. Add a few tests
........
2009-09-26 12:33:22 +00:00
Ezio Melotti
b297e714e2
#6998 : fix missing () on a print
2009-09-25 20:14:02 +00:00
Ezio Melotti
ec5c8b8e9b
Merged revisions 75039 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line
improved phrasing, markup and example
........
2009-09-23 21:42:25 +00:00
Mark Dickinson
3e124ae739
Issue #1766304 : Optimize membership testing for ranges: 'n in range(...)'
...
does an O(1) check, if n is an integer. Non-integers aren't affected.
Thanks Robert Lehmann.
2009-09-22 21:47:24 +00:00
Brett Cannon
2df8113622
Merged revisions 75024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line
Fix a minor doc syntax typo.
........
2009-09-22 20:08:09 +00:00
Georg Brandl
73753d354b
#6969 : make it explicit that configparser writes/reads text files, and fix the example.
2009-09-22 13:53:14 +00:00
Doug Hellmann
eb097fca52
Merged revisions 74984 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines
Fix markup for external links.
........
2009-09-20 20:56:56 +00:00
Ronald Oussoren
2efd924754
Merged revisions 74970 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines
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:53:22 +00:00
Ezio Melotti
bb43a05807
Merged revisions 74958 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74958 | ezio.melotti | 2009-09-20 10:10:39 +0300 (Sun, 20 Sep 2009) | 1 line
#6881 - fixed wrong return type; improved the formatting
........
2009-09-20 07:19:57 +00:00
Benjamin Peterson
e8ee03dbc6
adjust signature
2009-09-18 21:57:33 +00:00
Benjamin Peterson
308d637c94
Merged revisions 74929 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74929 | benjamin.peterson | 2009-09-18 16:14:55 -0500 (Fri, 18 Sep 2009) | 1 line
add keyword arguments support to str/unicode encode and decode #6300
........
2009-09-18 21:42:35 +00:00
Georg Brandl
a17487b321
#6935 : update version.
2009-09-18 07:27:51 +00:00
Georg Brandl
15a515f514
Merged revisions 74868,74877-74878 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines
String values should be shown with quotes, to avoid confusion with constants.
........
r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line
Remove duplicate doc of enable/disable_interspersed_args.
........
r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line
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 22:11:49 +00:00
Antoine Pitrou
497a767c59
Issue #6929 : fix a couple of statements and clarify a lot of things in the IO docs.
2009-09-17 17:18:01 +00:00
Brett Cannon
7f98a6c0b6
Merged revisions 74862 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74862 | brett.cannon | 2009-09-16 20:24:45 -0700 (Wed, 16 Sep 2009) | 1 line
Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
........
2009-09-17 03:39:33 +00:00
Georg Brandl
ee8783d0fc
Merged revisions 74817-74820,74822-74824 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line
Make deprecation notices as visible as warnings are right now.
........
r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line
#6880 : add reference to classes section in exceptions section, which comes earlier.
........
r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line
#6876 : fix base class constructor invocation in example.
........
r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line
#6891 : comment out dead link to Unicode article.
........
r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line
#5621 : refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
........
r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line
Remove strange trailing commas.
........
r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line
#6892 : fix optparse example involving help option.
........
2009-09-16 16:00:31 +00:00
Georg Brandl
7f01a13e7c
Last round of adapting style of documenting argument default values.
2009-09-16 15:58:14 +00:00
Georg Brandl
45bb63fd75
#6885 : run python 3 as python3.
2009-09-16 09:42:19 +00:00
Ezio Melotti
4bbfa2a099
#6910 - for->or typo
2009-09-16 01:18:27 +00:00
Ezio Melotti
6e9b1df499
updated the doc to match the module docstring, fixed a couple of errors in the doc markup and in the module
2009-09-16 00:49:03 +00:00
Georg Brandl
277b6f91c3
Do not document the most important (at least for Guido) future import.
2009-09-15 19:55:15 +00:00
Ronald Oussoren
bea37aee6b
Merged revisions 74806 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines
Finish support for --with-universal-archs=intel
and --with-universal-archs=3-way (issue6245)
........
2009-09-15 19:16:02 +00:00
Ezio Melotti
2d352d05ac
Merged revisions 74799 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line
#6917 - typo in method name
........
2009-09-15 18:51:37 +00:00
Benjamin Peterson
2ded55f79b
Py_(Set|Get)PythonHome use wchar_t #6913
2009-09-15 03:34:15 +00:00
Georg Brandl
225f169933
Recorded merge of revisions 74791 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74791 | georg.brandl | 2009-09-14 16:08:54 +0200 (Mo, 14 Sep 2009) | 1 line
#6574 : list the future features in a table.
........
2009-09-14 14:49:30 +00:00
Ezio Melotti
85232bbee7
Merged revisions 74787 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line
#6904 - fix broken link
........
2009-09-14 00:51:48 +00:00
Ezio Melotti
dc2b8ec3a0
typo: string values *have* to be
2009-09-13 08:01:06 +00:00
Ezio Melotti
985e24dcf7
fixed more examples that were using u"", print without () and unicode/str instead of str/bytes
2009-09-13 07:54:02 +00:00
Ezio Melotti
b5845056da
small fixes in the examples and in the markup
2009-09-13 05:49:25 +00:00
Ezio Melotti
8f7649eae4
more list()s on dictviews
2009-09-13 04:48:45 +00:00
Lars Gustäbel
049d2aa952
Merged revisions 74750 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines
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:44:00 +00:00
R. David Murray
01054d7f89
Fix typo.
2009-09-12 03:09:02 +00:00
Ezio Melotti
c53a894a21
d.items() -> list(d.items()) in the examples
2009-09-12 01:52:05 +00:00
Benjamin Peterson
8719ad5dde
Merged revisions 74277,74321,74323,74326,74355,74465,74467,74488,74492,74513,74531,74549,74553,74625,74632,74643-74644,74647,74652,74666,74671,74727,74739 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74277 | sean.reifschneider | 2009-08-01 18:54:55 -0500 (Sat, 01 Aug 2009) | 3 lines
- Issue #6624 : yArg_ParseTuple with "s" format when parsing argument with
NUL: Bogus TypeError detail string.
........
r74321 | guilherme.polo | 2009-08-05 11:51:41 -0500 (Wed, 05 Aug 2009) | 1 line
Easier reference to find (at least while svn continues being used).
........
r74323 | guilherme.polo | 2009-08-05 18:48:26 -0500 (Wed, 05 Aug 2009) | 1 line
Typo.
........
r74326 | jesse.noller | 2009-08-05 21:05:56 -0500 (Wed, 05 Aug 2009) | 1 line
Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address
........
r74355 | gregory.p.smith | 2009-08-12 12:02:37 -0500 (Wed, 12 Aug 2009) | 2 lines
comment typo fix
........
r74465 | vinay.sajip | 2009-08-15 18:23:12 -0500 (Sat, 15 Aug 2009) | 1 line
Added section on logging to one file from multiple processes.
........
r74467 | vinay.sajip | 2009-08-15 18:34:47 -0500 (Sat, 15 Aug 2009) | 1 line
Refined section on logging to one file from multiple processes.
........
r74488 | vinay.sajip | 2009-08-17 08:14:37 -0500 (Mon, 17 Aug 2009) | 1 line
Further refined section on logging to one file from multiple processes.
........
r74492 | r.david.murray | 2009-08-17 14:26:49 -0500 (Mon, 17 Aug 2009) | 2 lines
Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
........
r74513 | skip.montanaro | 2009-08-18 09:37:52 -0500 (Tue, 18 Aug 2009) | 1 line
missing module ref (issue6723)
........
r74531 | vinay.sajip | 2009-08-20 17:04:32 -0500 (Thu, 20 Aug 2009) | 1 line
Added section on exceptions raised during logging.
........
r74549 | benjamin.peterson | 2009-08-24 12:42:36 -0500 (Mon, 24 Aug 2009) | 1 line
fix pdf building by teaching latex the right encoding package
........
r74553 | r.david.murray | 2009-08-26 20:04:59 -0500 (Wed, 26 Aug 2009) | 2 lines
Remove leftover text from end of sentence.
........
r74625 | benjamin.peterson | 2009-09-01 17:27:57 -0500 (Tue, 01 Sep 2009) | 1 line
remove the check that classmethod's argument is a callable
........
r74632 | georg.brandl | 2009-09-03 02:27:26 -0500 (Thu, 03 Sep 2009) | 1 line
#6828 : fix wrongly highlighted blocks.
........
r74643 | georg.brandl | 2009-09-04 01:59:20 -0500 (Fri, 04 Sep 2009) | 2 lines
Issue #2666 : Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
r74644 | georg.brandl | 2009-09-04 02:55:14 -0500 (Fri, 04 Sep 2009) | 1 line
#5047 : remove Monterey support from configure.
........
r74647 | georg.brandl | 2009-09-04 03:17:04 -0500 (Fri, 04 Sep 2009) | 2 lines
Issue #5275 : In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
r74652 | georg.brandl | 2009-09-04 06:25:37 -0500 (Fri, 04 Sep 2009) | 1 line
#6756 : add some info about the "acct" parameter.
........
r74666 | georg.brandl | 2009-09-05 04:04:09 -0500 (Sat, 05 Sep 2009) | 1 line
#6841 : remove duplicated word.
........
r74671 | georg.brandl | 2009-09-05 11:47:17 -0500 (Sat, 05 Sep 2009) | 1 line
#6843 : add link from filterwarnings to where the meaning of the arguments is covered.
........
r74727 | benjamin.peterson | 2009-09-08 18:04:22 -0500 (Tue, 08 Sep 2009) | 1 line
#6865 fix ref counting in initialization of pwd module
........
r74739 | georg.brandl | 2009-09-11 02:55:20 -0500 (Fri, 11 Sep 2009) | 1 line
Move function back to its section.
........
2009-09-11 22:24:02 +00:00
Benjamin Peterson
1f316975ac
kill reference to default encoding #6889
2009-09-11 20:42:29 +00:00