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
Georg Brandl
a59750f4d6
Merged revisions 74737 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74737 | georg.brandl | 2009-09-09 18:49:13 +0200 (Mi, 09 Sep 2009) | 1 line
Properly document copy and deepcopy as functions.
........
2009-09-09 16:51:05 +00:00
Georg Brandl
35ac3a8169
Merged revisions 74633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line
#6757 : complete the list of types that marshal can serialize.
........
2009-09-03 12:34:10 +00:00
Georg Brandl
1824415470
Switch more function arguments docs to new-style.
2009-09-02 20:34:52 +00:00
Georg Brandl
5dbb84a234
#6819 : fix typo.
2009-09-02 20:31:26 +00:00
Georg Brandl
a6053b4846
Merged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616-74618,74621 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74542 | georg.brandl | 2009-08-23 23:28:56 +0200 (So, 23 Aug 2009) | 1 line
Restore alphabetic order.
........
r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line
#6775 : fix python.org URLs in README.
........
r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line
#6772 : mention utf-8 as utf8 alias.
........
r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6725 : spell "namespace" consistently.
........
r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line
#6718 : fix example.
........
r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : mention "deleting" as an alias for removing files.
........
r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : note that rmdir only removes empty directories.
........
r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line
Typo fix.
........
r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line
#6787 : reference fix.
........
r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sa, 29 Aug 2009) | 1 line
fixed #6801 : symmetric_difference_update also accepts pipe
........
r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line
#6803 : fix old name.
........
r74590 | georg.brandl | 2009-08-30 13:51:53 +0200 (So, 30 Aug 2009) | 1 line
#6801 : fix copy-paste oversight.
........
r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line
other -> others where multiple arguments are accepted.
........
r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line
#6808 : clarification.
........
r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line
#6765 : hint that log(x, base) is not very sophisticated.
........
r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line
#6810 : add a link to the section about frame objects instead of just a description where to find it.
........
r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line
#6638 : fix wrong parameter name and markup a class.
........
2009-09-01 08:11:14 +00:00
Georg Brandl
2c52e2fa85
#6732 : fix return value of module init function in example.
2009-09-01 08:03:26 +00:00
Georg Brandl
11b6a64ea9
#6754 : remove old struct member nb_inplace_divide.
2009-09-01 08:02:03 +00:00
Georg Brandl
2f3ed6808e
Recorded merge of revisions 74614 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line
#6813 : better documentation for numberless string formats.
........
2009-09-01 07:42:40 +00:00
Georg Brandl
c9a5a0e165
#6814 : remove traces of xrange().
2009-09-01 07:34:27 +00:00
Senthil Kumaran
8aa8bbe611
Doc fix for issue2637.
2009-08-31 16:43:45 +00:00
Brett Cannon
757df6e4cd
Document the import semantics that if None is found in sys.modules for a module then ImportError is raised.
2009-08-30 04:00:12 +00:00
Benjamin Peterson
0f46ffdbbc
the old buffer object doesn't exist in Python 3 #6659
2009-08-26 07:35:45 +00:00
Tarek Ziadé
f3b3322104
Merged revisions 74533 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line
Fixed #6556 : Corrected doc on how Distutils looks for its user configuration file under Windows
........
2009-08-21 14:22:45 +00:00
Vinay Sajip
3ee22ece59
Added section on exceptions raised during logging.
2009-08-20 22:05:10 +00:00
Tarek Ziadé
4a608c0619
Merged revisions 74526 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74526 | tarek.ziade | 2009-08-20 23:23:13 +0200 (Thu, 20 Aug 2009) | 1 line
#6693 : New functions in site.py to get user/global site packages paths.
........
2009-08-20 21:28:05 +00:00
Brett Cannon
6253871910
Clean up a minor bit of wording.
2009-08-18 23:54:07 +00:00
Skip Montanaro
f290cb5b1d
missing module ref (issue6723)
2009-08-18 14:37:42 +00:00
Vinay Sajip
8c6b0a5bcb
Further refined section on logging to one file from multiple processes.
2009-08-17 13:17:47 +00:00