Raymond Hettinger
dbb677a894
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:00 -07:00
Victor Stinner
cfa7123ef1
faulthandler: fix unregister() if it is called before register()
...
Fix a crash: don't read from NULL.
2011-04-08 12:48:15 +02:00
Vinay Sajip
d35d64b54c
Merged whitespace fix.
2011-04-08 01:35:04 +01:00
Vinay Sajip
77f8d2962c
Normalised whitespace.
2011-04-08 01:34:20 +01:00
Vinay Sajip
bfd463c57d
Merged doc fix in 3.2.
2011-04-08 01:32:27 +01:00
Vinay Sajip
c46102c98a
Updated Formatter documentation.
2011-04-08 01:30:51 +01:00
R David Murray
8debacb51c
#1690608 : make formataddr RFC2047 aware.
...
Patch by Torsten Becker.
2011-04-06 09:35:57 -04:00
Antoine Pitrou
6b4be36cfd
Clarify that GzipFile.read1() is now implemented
2011-04-04 21:09:05 +02:00
Antoine Pitrou
e88604755c
Clarify that GzipFile.read1() isn't implemented.
2011-04-04 21:06:20 +02:00
Antoine Pitrou
5bfa0622ec
Issue #11688 : Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff.
2011-04-04 00:12:04 +02:00
Antoine Pitrou
37dc5f85b8
Issue #5863 : Rewrite BZ2File in pure Python, and allow it to accept
...
file-like objects using a new `fileobj` constructor argument. Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Ezio Melotti
b7af620747
#11282 : merge with 3.2.
2011-04-03 17:39:19 +03:00
Ezio Melotti
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
c9a5272e8d
Merge with 3.2
2011-04-03 16:25:49 +03:00
Ezio Melotti
9481e41741
Merge with 3.1
2011-04-03 16:24:22 +03:00
Ezio Melotti
b5ff3e4ce5
Fix typo noticed by Sandro Tosi.
2011-04-03 16:20:21 +03:00
Victor Stinner
d727e23243
Issue #11393 : The fault handler handles also SIGABRT
2011-04-01 12:13:55 +02:00
Georg Brandl
7098685bdb
Fix markup.
2011-04-01 09:19:57 +02:00
Raymond Hettinger
d6056b7d8d
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:39 -07:00
Raymond Hettinger
6c94e6fb42
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:06 -07:00
Raymond Hettinger
112226f962
Fix markup and wording.
2011-03-31 13:59:52 -07:00
Raymond Hettinger
12e6c256ca
Fix markup and wording.
2011-03-31 13:59:24 -07:00
Raymond Hettinger
6604662616
Add links to make the math docs more usable.
2011-03-31 12:06:47 -07:00
Raymond Hettinger
1081d48889
Add links to make the math docs more usable.
2011-03-31 12:04:53 -07:00
Victor Stinner
702624ecf7
Issue #11393 : Fix the documentation (cancel_dump_traceback_later)
...
* dump_traceback_later() => dump_tracebacks_later()
* cancel_dump_traceback_later() => cancel_dump_tracebacks_later()
2011-03-31 03:42:34 +02:00
Victor Stinner
024e37adcc
Issue #11393 : Add the new faulthandler module
2011-03-31 01:31:06 +02:00
Guido van Rossum
20d2ab435e
Merge issue 11662.
2011-03-29 12:58:29 -07:00
Guido van Rossum
acb63092b7
Merge issue 11662.
2011-03-29 12:55:41 -07:00
guido@google.com
69cfcabae3
Merge.
2011-03-29 12:09:45 -07:00
guido@google.com
2008a8f8c0
Merge Issue 11662 from 3.2 branch.
2011-03-29 12:02:49 -07:00
guido@google.com
c768ff5d4f
Merge Issue 11662 from 3.1 branch.
2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
R David Murray
86cc82e36f
Remove the 'strict' argument to Parser, deprecated since 2.4.
2011-03-29 11:32:35 -04:00
Ezio Melotti
c831a91931
#10617 : merge with 3.2.
2011-03-28 19:27:09 +03:00
Ezio Melotti
7ef2b46a0a
#10617 : merge with 3.1.
2011-03-28 13:53:40 +03:00
Ezio Melotti
9b2e67c4fa
#10617 : add class directives to collections ABCs.
2011-03-28 13:50:41 +03:00
Raymond Hettinger
5d44613e3b
Add optional *func* argument to itertools.accumulate().
2011-03-27 18:52:10 -07:00
Steven Bethard
b04d70d993
Issue #9343 : Document that argparse parent parsers must be configured before their children. (Merge from 3.2.)
2011-03-26 21:51:56 +01:00
Steven Bethard
d186f99d00
Issue #9343 : Document that argparse parent parsers must be configured before their children.
2011-03-26 21:49:00 +01:00
Steven Bethard
0a3a7d35ca
Issue #8982 : Improve the documentation for the argparse Namespace object. (Merge from 3.2.)
2011-03-26 19:55:36 +01:00
Steven Bethard
d8f2d50c20
Issue #8982 : Improve the documentation for the argparse Namespace object.
2011-03-26 19:50:06 +01:00
Steven Bethard
0331e906d6
Issue #11174 : Add argparse.MetavarTypeHelpFormatter, which uses type names
...
for the names of optional and positional arguments in help messages.
2011-03-26 14:48:04 +01:00
Éric Araujo
b9a1c5662b
Merge #10553 followup from 3.2
2011-03-26 03:23:43 +01:00
Éric Araujo
01606dea3d
#10553 : Explain why compileall has no command-line argument to control optimization
2011-03-26 03:22:55 +01:00
Éric Araujo
b3a591bf06
Branch merge
2011-03-26 02:01:33 +01:00
Éric Araujo
5c1da90f8c
Merge 3.2
2011-03-26 02:00:51 +01:00
Éric Araujo
722bec4210
Merge 3.1
2011-03-26 01:59:47 +01:00
Éric Araujo
be3bd57ba2
Remove traces of division_warning left over from Python 2 ( #10998 )
2011-03-26 01:55:15 +01:00
Éric Araujo
5ab477695c
Tweaks to sys.flags description table.
...
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998 .
2011-03-26 00:47:04 +01:00
Éric Araujo
4dcf50250c
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
2011-03-25 20:31:50 +01:00
Raymond Hettinger
2ebea41d31
Expose the namedtuple source with a _source attribute.
2011-03-23 12:52:23 -07:00
Raymond Hettinger
ba7b560c1d
Fix set representation in an example.
2011-03-22 22:57:49 -07:00
Raymond Hettinger
b2d0945c87
Minor named tuple clean-ups.
2011-03-22 22:36:21 -07:00
Éric Araujo
c09fca67e7
Do not touch sys.path when site is imported and python was started with -S.
...
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly. Fixes #11591 .
2011-03-23 02:06:24 +01:00
Raymond Hettinger
f59c7b2bdd
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:34:28 -07:00
Raymond Hettinger
b1aef23316
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -07:00
Antoine Pitrou
36920354c7
Merge
2011-03-22 18:33:33 +01:00
Raymond Hettinger
608aba301e
Issue #11625 : Fix Typo
2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00
Georg Brandl
7878020035
Merge to default.
2011-03-21 08:55:42 +01:00
Georg Brandl
2f5cac6ab4
Merge to 3.2.
2011-03-21 08:55:31 +01:00
Georg Brandl
82d8ec5eef
Fix duplicate word.
2011-03-21 08:55:16 +01:00
Éric Araujo
7582385887
Merge from 3.1
2011-03-20 18:32:51 +01:00
Éric Araujo
d40248777b
Merge from 3.1
2011-03-20 18:31:42 +01:00
Éric Araujo
09eb980e3e
Fix typo in class name
2011-03-20 18:30:37 +01:00
R David Murray
3d81d3e0d3
Markup fixes for #7198 patch.
...
Also corrected the indentation of one of the examples.
2011-03-20 11:33:17 -04:00
R David Murray
38a04e51f6
Merge markup fixes for #7198 patch.
2011-03-20 11:19:20 -04:00
R David Murray
9c0d5eaa70
Markup fixes for #7198 patch.
2011-03-20 11:18:21 -04:00
R David Murray
a50549b845
Fix footnote reference.
2011-03-20 11:08:10 -04:00
Skip Montanaro
5b5394c6df
mention newline= in write doc
2011-03-20 09:50:43 -05:00
R David Murray
fb8b067360
Really merge #7198
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray
f453debb45
#7198 : really add newline='' to csv.writer docs.
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou
7b98d02302
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Raymond Hettinger
15aded8b73
Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable.
2011-03-15 17:25:51 -07:00
Michael Foord
dcebe0f2dc
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
2011-03-15 19:20:44 -04:00
R David Murray
729c5e203d
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:42:50 -04:00
R David Murray
e3d09ff269
#11216 : document all possible set_charset execution paths.
2011-03-15 17:41:13 -04:00
R David Murray
4a0b60c527
Merge #11555 as_string doc fix from 3.1.
2011-03-15 14:02:53 -04:00
R David Murray
7dedcb4644
#11555 : update doc for 3.x change to as_string mangle_from default.
2011-03-15 14:01:18 -04:00
R David Murray
c48c19afe0
Merge redundant __contains__ doc fix from 3.1.
2011-03-14 22:53:29 -04:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04:00
Ross Lagerwall
13312638b3
Merge from 3.1
2011-03-14 10:41:58 +02:00
Ross Lagerwall
8fea2e6a50
Issue #10885 : Fix multiprocessing docs typo
2011-03-14 10:40:15 +02:00
Ezio Melotti
77845ce55a
Fix typo.
2011-03-12 22:25:06 +02:00
Benjamin Peterson
62e0b90be2
merge 3.1
2011-03-12 11:58:40 -06:00
Benjamin Peterson
ab2b71699c
trunc -> math.trunc ( closes #11475 )
2011-03-12 11:58:15 -06:00
Senthil Kumaran
e858bca356
forward merge from 3.1
2011-03-12 11:42:33 +08:00
Senthil Kumaran
abd4a05561
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 11:40:25 +08:00
Eli Bendersky
a7a1c15111
merge from 3.1
2011-03-11 16:39:04 +02:00
Eli Bendersky
9cc6249dee
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 16:33:36 +02:00
R David Murray
5647c473bc
Merge #10999 fix.
2011-03-10 17:22:33 -05:00
R David Murray
30178068d9
#10999 : Add missing documentation for chflags constants to stat module docs
...
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a
Use simpler assert in basic example.
2011-03-10 23:38:18 +02:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
R David Murray
9188702a75
#7198 : add newlines='' to csv.writer docs.
2011-03-19 22:30:14 -04:00
Skip Montanaro
c9b49f8759
untab
2011-03-19 13:07:10 -05:00
Skip Montanaro
b7d1aebb66
*sigh* - i don't like this workflow at all
2011-03-19 13:05:58 -05:00
Skip Montanaro
482e7e061b
merge from upstream
2011-03-19 13:03:33 -05:00
Antoine Pitrou
1679f4daa1
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:06:22 +01:00
Skip Montanaro
b61efd0a68
commit merge
2011-03-19 09:15:28 -05:00
Skip Montanaro
b40dea7499
Mention RFC 4180. Based on input by Tony Wallace in issue 11456.
2011-03-19 09:09:30 -05:00
Ross Lagerwall
7807c3545d
Issue #10812 : Add some extra posix functions to the os module.
2011-03-17 20:20:30 +02:00
Ross Lagerwall
ba102ec10d
Issue #5870 : Add subprocess.DEVNULL constant.
2011-03-16 18:40:25 +02:00
Ronald Oussoren
c1577902c6
Fix typo in subprocess documentation.
2011-03-16 10:03:10 -04:00
Raymond Hettinger
a2e7814b2d
Forward port doc update.
2011-03-15 18:19:52 -07:00
Michael Foord
ed1fce2ee5
merge 3.2
2011-03-15 19:22:19 -04:00
R David Murray
31f218bc6b
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:43:21 -04:00
Barry Warsaw
5b2c876842
Merged
2011-03-15 15:23:30 -04:00
Barry Warsaw
1f5c958721
- Issue #11289 : `smtp.SMTP` class becomes a context manager so it can be used
...
in a `with` statement. Contributed by Giampaolo Rodola.
2011-03-15 15:04:44 -04:00
R David Murray
ab1dfd68e1
Merge #11555 as_string doc fix from 3.2.
2011-03-15 14:04:00 -04:00
R David Murray
deaa678952
Merge redundant __contains__ doc fix from 3.2.
2011-03-14 22:54:19 -04:00
Michael Foord
1341bb0019
Closes issue 11407. TestCase.run returns the result object used or created
2011-03-14 19:01:46 -04:00
Gregory P. Smith
54d412edcc
Add a SubprocessError base class for exceptions in the subprocess module.
2011-03-14 14:08:43 -04:00
Reid Kleckner
28f130320b
Change versionchanged for timeout to 3.3, not 3.2.
2011-03-14 12:36:53 -04:00
Reid Kleckner
31aa7dd141
Add a 'timeout' argument to subprocess.Popen.
...
If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception. When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
2011-03-14 12:02:10 -04:00
Ross Lagerwall
41b1228525
Merge with 3.2
2011-03-14 10:42:24 +02:00
Benjamin Peterson
6cb2b923e0
convert ast versioning to mercurial
2011-03-12 18:28:16 -06:00
Benjamin Peterson
32b0127007
merge 3.2
2011-03-12 11:59:10 -06:00
Éric Araujo
e4f6a80ed8
Fix example in atexit doc: Both open and read could raise the IOError ( #10461 follow-up).
...
Thanks to SilenGhost for catching this.
2011-03-12 15:56:09 +01:00
orsenthil@gmail.com
476021b3d0
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 10:46:25 +08:00
Éric Araujo
a3dd56b6cf
Use with statement where it improves the documentation ( closes #10461 )
2011-03-11 17:42:48 +01:00
Eli Bendersky
6860a92be0
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 15:47:36 +02:00
R David Murray
ee30a0be35
Merge #10999 fix.
2011-03-10 17:38:50 -05:00
Ezio Melotti
a2087d0a5a
Merge from 3.2.
2011-03-10 13:54:21 +02:00
Ezio Melotti
684d78cfb0
#11298 : merge from 3.2.
2011-03-08 16:49:57 +02:00
Georg Brandl
1ebca48030
Merge doc fixes.
2011-03-06 11:12:54 +01:00
Georg Brandl
891391bf68
Merge doc fixes.
2011-03-06 11:12:42 +01:00
Georg Brandl
1d0a0f5060
#11294 : add missing ERA_T_FMT to locale docs.
2011-03-06 11:09:51 +01:00
Georg Brandl
931e5c1038
#11292 : add missing A_REVERSE to curses attribute table.
2011-03-06 11:08:35 +01:00
Georg Brandl
45ec333c72
#11227 : use Host header in asyncore example.
2011-03-06 11:05:03 +01:00
Georg Brandl
12a6153aee
#11373 : fix spelling.
2011-03-06 10:57:52 +01:00
Georg Brandl
da2271939a
#11392 : you can trust the computer, but you have to know what it does.
2011-03-06 10:53:55 +01:00
Georg Brandl
776e586114
Remove sys.subversion and svn build identification leftovers.
2011-03-06 10:35:42 +01:00
Eli Bendersky
0716a579a4
Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods
2011-03-04 10:38:14 +00:00
Giampaolo Rodolà
424298a155
Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement.
2011-03-03 18:34:06 +00:00
Eli Bendersky
4db28d3343
Issue #10516 : added copy() and clear() methods to bytearrays as well
2011-03-03 18:21:02 +00:00
Victor Stinner
1dfd380306
Issue #11377 : Deprecate platform.popen() and reimplement it with os.popen().
2011-03-03 12:54:07 +00:00
Fred Drake
c7eb7894d3
Merged revisions 88717 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines
issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Fred Drake
446230664b
issue 11372: use range instead of xrange
2011-03-03 05:27:17 +00:00
Éric Araujo
c613b6bce1
Remove outdated pointer to optparse ( fixes #11360 ).
...
The doc already points to argparse.
2011-03-01 18:26:56 +00:00
Antoine Pitrou
6120d87d32
Merged revisions 88686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
........
2011-02-28 23:03:28 +00:00
Antoine Pitrou
f06576dc2b
Recommend inspecting the errno attribute of socket.error objects,
...
and improve wording.
2011-02-28 22:38:07 +00:00
Antoine Pitrou
061cfb5258
Issue #10866 : Add socket.sethostname(). Initial patch by Ross Lagerwall.
2011-02-28 22:25:22 +00:00
Antoine Pitrou
d6d17c58af
No need to put this at top
2011-02-28 22:04:51 +00:00
Antoine Pitrou
fcf81fd031
Issue #11140 : Lock.release() now raises a RuntimeError when attempting
...
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.
2011-02-28 22:03:34 +00:00
Giampaolo Rodolà
396ff06051
Fix issue 8594: adds a source_address parameter to ftplib module.
2011-02-28 19:19:51 +00:00
Benjamin Peterson
f3352e7c1f
Merged revisions 88668 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line
make this a link #11345
........
2011-02-27 15:15:06 +00:00
Benjamin Peterson
d0f89f3247
make this a link #11345
2011-02-27 15:06:44 +00:00
Raymond Hettinger
94ca211372
Make Py3.x style "import builtins"
2011-02-26 02:48:44 +00:00
Raymond Hettinger
9fe1ccfb5a
Issue #11297 : Add collections.ChainMap()
2011-02-26 01:02:51 +00:00
Antoine Pitrou
8250e23abd
Issue #10755 : Add the posix.fdlistdir() function. Patch by Ross Lagerwall.
2011-02-25 23:41:16 +00:00
Antoine Pitrou
f65132de3d
Issue #4761 : Add the *at() family of functions (openat(), etc.) to the posix
...
module. Patch by Ross Lagerwall.
2011-02-25 23:25:17 +00:00
Giampaolo Rodolà
103a6d6cd6
Issue 11177: asyncore's create_socket() arguments can now be omitted.
2011-02-25 22:21:22 +00:00
Antoine Pitrou
0bd4deba38
Issue #6064 : Add a `daemon` keyword argument to the threading.Thread
...
and multiprocessing.Process constructors in order to override the
default behaviour of inheriting the daemonic property from the current
thread/process.
2011-02-25 22:07:43 +00:00
Giampaolo Rodolà
18e8bcb289
Issue 10784: adds os.getpriority() and os.setpriority() functions.
2011-02-25 20:57:54 +00:00
Alexander Belopolsky
1d52146a25
Issue #11303 : Added shortcuts for utf8 and latin1 encodings.
...
Documented the list of optimized encodings as CPython implementation
detail.
2011-02-25 19:19:57 +00:00
Vinay Sajip
a29a9dd156
Documented QueueListener change.
2011-02-25 16:05:26 +00:00
Giampaolo Rodolà
fb9a9c8f2f
Merged revisions 88581 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line
(issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +00:00
Giampaolo Rodolà
61a0bf5864
(issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
2011-02-25 14:50:57 +00:00
Giampaolo Rodolà
c9c2c8b034
Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)
2011-02-25 14:39:16 +00:00
Georg Brandl
bd65e7fa46
Markup backport fix.
2011-02-25 11:27:55 +00:00
Georg Brandl
2774310c27
Merged revisions 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line
#1665333 : add more docs for optparse.OptionGroup.
........
r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line
Fix code indentation.
........
r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line
Fix exception catching.
........
r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line
Fix duplicate end tag.
........
r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line
On Py3k, -tt and -3 are no-op and unsupported respectively.
........
r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line
Remove doc for nonexisting parameter.
........
r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line
Add semicolon for consistency.
........
r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line
Fix the example output of count().
........
r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line
Suppress trailing spaces in table paragraphs.
........
r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line
#10944 : add c_bool to types table.
........
r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line
#10983 : fix several bugs in the _tunnel implementation that seem to have missed while porting between branches. A unittest is needed!
........
r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line
Typo fix.
........
r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line
Punctuation typos.
........
r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line
#11138 : fix order of fill and align specifiers.
........
r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line
#8691 : document that right alignment is default for numbers.
........
r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line
Consistent heading spacing, and fix two typos.
........
r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line
Spelling fixes.
........
r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line
Apply logging SocketHandler doc update by Vinay.
........
r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line
Remove editing slip.
........
2011-02-25 10:18:11 +00:00
Georg Brandl
d98934c483
Merged revisions 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line
Remove visible XXX comments.
........
r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line
Fix "seperate".
........
r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line
#10668 : fix wrong call of __init__.
........
r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line
Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line
Fix markup.
........
r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line
Fix typo.
........
r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line
#10723 : add missing builtin exceptions.
........
r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line
Replace sys.maxint mention by sys.maxsize.
........
r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line
Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line
#10777 : fix iteration over dict keys while mutating the dict.
........
r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line
#10768 : fix ScrolledText widget construction, and make the example work from the interactive shell.
........
r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line
Add news entry and clarify another.
........
r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line
#10767 : update README in crashers; not all may have a bug entry and/or be fixed.
........
r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line
#10742 : document readonly attribute of memoryviews.
........
r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line
#10781 : clarify that *encoding* is not a parameter for Node objects in general.
........
r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line
Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line
Rewrap.
........
r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line
#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.
........
r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line
#10609 : fix non-working dbm example.
........
r87581 | georg.brandl | 2010-12-30 18:36:17 +0100 (Do, 30 Dez 2010) | 1 line
Fix NameErrors.
........
2011-02-25 10:03:34 +00:00
Georg Brandl
f6c8fd62b9
Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line
Do not put a raw REPLACEMENT CHARACTER in the document.
........
r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line
Fix indentation bug.
........
r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line
Fix heading style inconsistencies.
........
r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line
#10584 : fix bad links.
........
r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line
Fix typo.
........
r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line
Add missing word, and add a better reference to the actual function.
........
r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line
#10594 : fix parameter names in PyList API docs.
........
r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line
Fix some markup and style in the unittest docs.
........
r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line
Fix-up documentation of makedirs().
........
r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines
Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line
#10597 : fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line
#10360 : catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line
#10549 : fix interface of docclass() for text documenter.
........
r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line
Markup consistency fixes.
........
r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line
Fix punctuation.
........
r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line
Fix indentation.
........
r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
2011-02-25 09:48:21 +00:00
Eli Bendersky
cbbaa96036
Issue #10516 : adding list.clear() and list.copy() methods
2011-02-25 05:47:53 +00:00
Éric Araujo
6c3787cb70
Allow usage of SomeABC.register as a class decorator. Patch by Edoardo Spadolini ( #10868 ).
2011-02-24 18:03:10 +00:00
Benjamin Peterson
edf5132dfe
Merged revisions 88540-88541 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line
this seems to be pointlessly nested
........
r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line
rewrite
........
2011-02-24 03:03:46 +00:00
Benjamin Peterson
5390d00cc6
rewrite
2011-02-24 02:53:05 +00:00
Benjamin Peterson
634ef9cb81
this seems to be pointlessly nested
2011-02-24 02:46:00 +00:00
Georg Brandl
08f5cf51dc
Indent "versionadded" properly.
2011-02-23 07:31:24 +00:00
Brett Cannon
daa5799cb8
Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API
...
by making methods() into a module attribute as it is statically calculated.
2011-02-22 21:48:06 +00:00
Sean Reifscheider
e2dfefbe85
Issue #10924 : Adding salt and Modular Crypt Format to crypt library.
2011-02-22 10:55:44 +00:00
Raymond Hettinger
158c9c26fc
Issue #11085 : Moved collections abstract base classes into a separate module
...
called collections.abc, following the pattern used by importlib.abc. For
backwards compatibility, the names continue to also be imported into the
collections module.
2011-02-22 00:41:50 +00:00
Raymond Hettinger
d8de5415c8
Issue 11263: Fix link to source code.
2011-02-21 19:58:37 +00:00
Raymond Hettinger
540b636077
Issue 11263: Fix link to source code.
2011-02-21 19:56:24 +00:00
Raymond Hettinger
8f0ae9a17f
Doc fixups.
2011-02-18 00:53:55 +00:00
Georg Brandl
08e278a562
Remove editing slip.
2011-02-15 12:44:43 +00:00
Georg Brandl
dbb958561d
Apply logging SocketHandler doc update by Vinay.
2011-02-15 12:41:17 +00:00
Raymond Hettinger
725cb96d8a
Fix example for count().
2011-02-14 06:01:56 +00:00
Georg Brandl
c60e306a80
Fix markup problems.
2011-02-12 07:32:02 +00:00
R. David Murray
8b24aac936
Fix argument name typo in compileall docs.
2011-02-11 22:37:16 +00:00
Senthil Kumaran
2933312fe7
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.
2011-02-11 11:25:47 +00:00
R. David Murray
43b2f457a0
Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines
Have script_helper._assert_python strip refcount strings from stderr.
This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.
........
r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines
#10699 : fix docstring for tzset: it does not take a parameter
Thanks to Garrett Cooper for the fix.
........
r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines
#10705 : document what the values of debuglevel are and mean.
........
r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines
#10559 : provide instructions for accessing sys.argv when first mentioned.
........
r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines
#10454 : clarify the compileall docs and help messages.
[compileall.py changes not backported.]
........
r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines
Fix same typo in docs.
........
r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines
Fix formatting of values with embedded newlines when rfc2047 encoding
Before this patch if a value being encoded had an embedded newline,
the line following the newline would have no leading whitespace,
and the whitespace it did have was encoded into the word. Now
the existing whitespace gets turned into a blank, the way it does
in other header reformatting, and the _continuation_ws gets added
at the beginning of the encoded line.
........
r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
........
2011-02-11 03:13:19 +00:00
Raymond Hettinger
3029affc85
Add missing source links.
2011-02-10 08:09:36 +00:00
Antoine Pitrou
ddcacf3156
Merged revisions 88377 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88377 | antoine.pitrou | 2011-02-08 00:10:33 +0100 (mar., 08 févr. 2011) | 4 lines
Issue #11141 : Fix the shelve documentation to use a list, not a range object.
Patch by SilentGhost.
........
2011-02-07 23:18:52 +00:00
Antoine Pitrou
631507d1c6
Issue #11141 : Fix the shelve documentation to use a list, not a range object.
...
Patch by SilentGhost.
2011-02-07 23:10:33 +00:00
Antoine Pitrou
b248bdca96
Merged revisions 88371 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
........
2011-02-07 16:03:24 +00:00
Antoine Pitrou
fdded56a46
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
2011-02-07 15:58:11 +00:00
Georg Brandl
ca583b66c8
#8691 : document that right alignment is default for numbers.
2011-02-07 12:13:58 +00:00
Georg Brandl
a5770aa9ca
#11138 : fix order of fill and align specifiers.
2011-02-07 12:10:46 +00:00
Raymond Hettinger
833ad0eede
Fix awkwardly rendered sentence.
2011-02-06 21:00:38 +00:00
Gregory P. Smith
8095b6548b
Merged revisions 88352 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.
........
2011-02-05 21:51:27 +00:00
Gregory P. Smith
e09d2f1614
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
...
happens when the end exits before the beginning.
2011-02-05 21:47:25 +00:00
Antoine Pitrou
8e0ef58f30
Merged revisions 88334 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88334 | antoine.pitrou | 2011-02-04 21:11:11 +0100 (ven., 04 févr. 2011) | 3 lines
Mention that seek and tell over a TextIOWrapper can be very slow.
........
2011-02-04 20:17:40 +00:00
Antoine Pitrou
eefb97cb57
Mention that seek and tell over a TextIOWrapper can be very slow.
2011-02-04 20:11:11 +00:00
Georg Brandl
e951e917c6
Punctuation typos.
2011-02-03 07:08:25 +00:00
Éric Araujo
b344dd06c8
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
The missing NEWS entries correspond to changes that were made before 3.1.3, but
I think it’s not usual to edit entries of released versions, so I put them at
the top.
........
r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines
Prevent ResourceWarnings in test_gettext
........
r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
........
r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines
This was actually fixed for the previous alpha.
........
r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines
Improve trace documentation (#9264 ). Patch by Eli Bendersky.
........
r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines
Use nested method directives, rewrap long lines, fix whitespace.
........
r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines
Fix typo in superclass method name
........
2011-02-02 21:38:37 +00:00
Raymond Hettinger
0446b21a51
Punctuation typo.
2011-02-02 21:12:39 +00:00
Eric Smith
7b5011b4a3
Wording fix.
2011-02-01 21:31:22 +00:00
Brian Curtin
070f050c3a
Merged revisions 88281 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88281 | brian.curtin | 2011-01-31 13:35:02 -0600 (Mon, 31 Jan 2011) | 2 lines
#11083 typo: RuntimeException -> RuntimeError
........
2011-01-31 19:41:53 +00:00
Brian Curtin
bd0c897332
#11083 typo: RuntimeException -> RuntimeError
2011-01-31 19:35:02 +00:00
R. David Murray
b7deff1ddc
#9124 : mailbox now accepts binary input and uses binary internally
...
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.
The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later. Binary
is used internally for reading and writing the mailbox files. StringIO
and Text file input are deprecated.
Initial patch by Victor Stinner, validated and expanded by R. David Murray.
2011-01-30 06:21:28 +00:00
Raymond Hettinger
519c308939
Typos.
2011-01-30 00:39:00 +00:00
Michael Foord
e180d3953f
Issue 10573: revert unittest docs to first / second
...
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa
66c908e6bf
#11027 : documented how to override SECTCRE
2011-01-28 11:57:30 +00:00
Raymond Hettinger
469271d4ea
More source links
2011-01-27 20:38:46 +00:00
Vinay Sajip
1a90f9c52f
Issue 11008: docs updated to show versionadded for dictConfig.
2011-01-27 19:14:16 +00:00
Raymond Hettinger
a199368b23
More source links.
2011-01-27 01:20:32 +00:00
Raymond Hettinger
a63a312a3f
Issue #11014 : Make 'filter' argument in tarfile.Tarfile.add() into a
...
keyword-only argument. The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.
(Patch reviewed by Brian Curtin and Anthony Long.)
2011-01-26 20:34:14 +00:00
Antoine Pitrou
cfad97b3ca
Fix the description of PIPE_BUF
2011-01-25 17:24:57 +00:00
Antoine Pitrou
da7be3e7b7
Fix the doc for PIPE_BUF
2011-01-25 16:28:44 +00:00
Terry Reedy
e2248f9e6d
Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170)
2011-01-24 21:46:05 +00:00
Terry Reedy
feac624827
Issue #11000 ast.parse parses source, not just expressions.
2011-01-24 21:36:03 +00:00
Terry Reedy
2a6ac15f26
Update last tix code example for 3.x, as already done for previous examples.
2011-01-24 20:48:40 +00:00
Georg Brandl
009a6bd675
Fix label syntax.
2011-01-24 19:59:08 +00:00
Georg Brandl
8e490de616
Typo fix.
2011-01-24 19:53:18 +00:00
R. David Murray
7b1aae9a52
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
...
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger
ead4975b9f
Missing source links.
2011-01-24 16:28:06 +00:00
Raymond Hettinger
9a236b0235
Add section for urllib.parse.
2011-01-24 09:01:27 +00:00
Raymond Hettinger
971f48320b
minor clean-up.
2011-01-23 21:32:18 +00:00
Raymond Hettinger
98b140c196
Add entry for reprlib.
2011-01-23 21:05:46 +00:00
Raymond Hettinger
0929b1fc70
Add entry for shutil's archiving operations.
2011-01-23 11:29:08 +00:00
Antoine Pitrou
a970e62258
Merged revisions 88137 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88137 | antoine.pitrou | 2011-01-21 22:37:32 +0100 (ven., 21 janv. 2011) | 3 lines
Fix JSON docs about loads() accepting only str objects, not bytes.
........
2011-01-21 21:39:56 +00:00
Antoine Pitrou
00d650baaa
Fix JSON docs about loads() accepting only str objects, not bytes.
2011-01-21 21:37:32 +00:00
Raymond Hettinger
a275c989c9
Add more examples
2011-01-20 04:03:19 +00:00
Georg Brandl
ecdd63f56c
#10944 : add c_bool to types table.
2011-01-19 20:05:49 +00:00
Alexander Belopolsky
41a99bc20d
Issue #10934 : Fixed and expanded Internaldate2tuple() and
...
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00
Georg Brandl
375aec2315
Fix a few doc errors, mostly undefined keywords.
2011-01-15 17:03:02 +00:00
Victor Stinner
c58be2ddc0
urllib doc: add versionchanged sections for parse_qs() and parse_qsl()
2011-01-14 13:31:45 +00:00
Victor Stinner
ac71c54b88
Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()
2011-01-14 12:52:12 +00:00
Eli Bendersky
39be2a5210
Merged revisions 87993 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87993 | eli.bendersky | 2011-01-14 10:25:03 +0200 (Fri, 14 Jan 2011) | 2 lines
Issue #10902 : Fix reference to run* methods
........
2011-01-14 08:55:38 +00:00
Eli Bendersky
489f392a0e
Issue #10902 : Fix reference to run* methods
2011-01-14 08:25:03 +00:00
Alexander Belopolsky
cc75a86123
Issue #9268 : Documented -m pickletools usage.
...
Also added a source code link.
2011-01-13 21:58:44 +00:00
Georg Brandl
37a80dc7bc
Fix the example output of count().
2011-01-13 07:31:18 +00:00
Alexander Belopolsky
287d1fdd3f
Issue #10225 : Fixed the simple mistakes in doctests.
2011-01-12 16:37:14 +00:00
Raymond Hettinger
5cee47f321
Add entry for Barrier objects.
2011-01-11 19:59:46 +00:00
Alexander Belopolsky
5fc850b455
Improved footnote for the %Y directive slightly.
2011-01-10 23:31:51 +00:00
Alexander Belopolsky
085556ae89
Improved description of %Y directive.
2011-01-10 23:28:33 +00:00
Alexander Belopolsky
9971e001ef
Issue #2568 : Removed bogus rationale for supporting tm_sec=61.
2011-01-10 22:56:14 +00:00
Raymond Hettinger
05ce079a1c
Missed two source links
2011-01-10 21:16:07 +00:00
Raymond Hettinger
4f707fd316
Separate source link from main text.
2011-01-10 19:54:11 +00:00
Alexander Belopolsky
04da1e013a
Fixed a footnote reference
2011-01-10 19:14:38 +00:00
Raymond Hettinger
1048094037
Move source links to consistent location and remove wordy, big yellow boxes.
2011-01-10 03:26:08 +00:00
Georg Brandl
04536b0edf
#10871 : "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects.
2011-01-09 09:31:01 +00:00
Georg Brandl
c9007081ef
Wrap some long examples and signatures.
2011-01-09 09:04:08 +00:00
Georg Brandl
41d0815a65
Merged revisions 87789-87790 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line
Add acks where acks are due.
........
2011-01-09 08:01:46 +00:00
Georg Brandl
ec78b8b170
Merged revisions 87807,87820,87831,87859,87870 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87807 | georg.brandl | 2011-01-06 20:28:18 +0100 (Do, 06 Jan 2011) | 1 line
#10846 : fix typo.
........
r87820 | georg.brandl | 2011-01-07 19:28:45 +0100 (Fr, 07 Jan 2011) | 1 line
#10856 : document (Base)Exception.args better.
........
r87831 | georg.brandl | 2011-01-07 21:58:25 +0100 (Fr, 07 Jan 2011) | 1 line
Fix indent.
........
r87859 | georg.brandl | 2011-01-08 10:45:43 +0100 (Sa, 08 Jan 2011) | 1 line
#10855 : document close() semantics of wave objects.
........
r87870 | georg.brandl | 2011-01-08 22:04:25 +0100 (Sa, 08 Jan 2011) | 1 line
zlib only works with bytes objects.
........
2011-01-09 07:59:02 +00:00
Georg Brandl
7fdc746a81
Merged revisions 87876-87877 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line
#10869 : do not visit root node twice in ast.increment_lineno().
........
r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line
Add missing line.
........
2011-01-09 07:55:46 +00:00
Georg Brandl
619e7ba814
#10869 : do not visit root node twice in ast.increment_lineno().
2011-01-09 07:38:51 +00:00
Georg Brandl
4ad934f63c
zlib only works with bytes objects.
2011-01-08 21:04:25 +00:00
Alexander Belopolsky
2997837158
Fixed documentation to reflect recent changes for years < 1900.
2011-01-08 20:47:21 +00:00
Raymond Hettinger
83b1ab0d6a
Issue 9717: Segregate and improve the documentation of "in-place" operators
...
in the operator module.
2011-01-08 10:26:53 +00:00
Georg Brandl
d97b7b5158
#10855 : document close() semantics of wave objects.
2011-01-08 09:45:43 +00:00
Raymond Hettinger
5254e9700e
Issue 10533: Need example of using __missing__.
2011-01-08 09:35:38 +00:00
Raymond Hettinger
0ab10e4600
Issue #10813 : Small improvement to decimal money format recipe.
2011-01-08 09:03:11 +00:00
R. David Murray
9253214fd9
#10686 : recode non-ASCII headers to 'unknown-8bit' instead of ?s.
...
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
2011-01-07 23:25:30 +00:00
Raymond Hettinger
7088abdca6
Revert r87821 which moved the source link to the wrong section (from the module intro covering the module to a section on thread imports).
2011-01-07 21:54:18 +00:00
Raymond Hettinger
1122fa2eb4
Revert r87823 which moved the source link to the wrong section.
2011-01-07 21:17:56 +00:00
Georg Brandl
2f2a9f772d
Fix indent.
2011-01-07 20:58:25 +00:00
Raymond Hettinger
fc90213f53
Combine the two seealso sections.
2011-01-07 20:33:09 +00:00
Alexander Belopolsky
c64708ae48
Issue #10827 : Changed the rules for 2-digit years. The time.asctime
...
function will now format any year when time.accept2dyear is false and
will accept years >= 1000 otherwise. The year range accepted by
time.mktime and time.strftime is still system dependent, but
time.mktime will now accept full range supported by the OS. Conversion
of 2-digit years to 4-digit is deprecated.
2011-01-07 19:59:19 +00:00
Antoine Pitrou
696efdd03f
Mention multiprocessing.Queue in the queue docs
2011-01-07 19:16:12 +00:00
Antoine Pitrou
4b512f73e0
Group seealsos
2011-01-07 19:01:48 +00:00
Antoine Pitrou
60bcc54d2e
Put those "seealso"s together
2011-01-07 18:58:21 +00:00
Antoine Pitrou
bdde506116
Put those source links together
2011-01-07 18:43:14 +00:00
Antoine Pitrou
1bdd6fd7c7
atexit.py doesn't exist
2011-01-07 18:42:21 +00:00
Antoine Pitrou
39e352cb46
Put link to source at the end. There's nothing edificating in threading.py.
2011-01-07 18:33:07 +00:00
Georg Brandl
fb6fd5d019
#10856 : document (Base)Exception.args better.
2011-01-07 18:28:45 +00:00
Georg Brandl
a572476a2a
#10846 : fix typo.
2011-01-06 19:28:18 +00:00
Antoine Pitrou
6e7d711d2a
Merged revisions 87792 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87792 | antoine.pitrou | 2011-01-06 17:31:28 +0100 (jeu., 06 janv. 2011) | 3 lines
Elaborate about the GIL.
........
2011-01-06 16:34:50 +00:00
Antoine Pitrou
003428158b
Elaborate about the GIL.
2011-01-06 16:31:28 +00:00
Georg Brandl
b30f3303f7
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
2011-01-06 09:23:56 +00:00
Georg Brandl
77041b2354
itertools, operator and functools are not really "numeric" modules; move them into their own "functional" chapter.
2011-01-06 09:23:19 +00:00
Antoine Pitrou
f1b521ce0c
Merged revisions 87769 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87769 | antoine.pitrou | 2011-01-05 22:17:36 +0100 (mer., 05 janv. 2011) | 3 lines
Overhaul the documentation about socket timeouts.
........
2011-01-05 21:20:28 +00:00
Antoine Pitrou
dfad7e302c
Overhaul the documentation about socket timeouts.
2011-01-05 21:17:36 +00:00
Antoine Pitrou
c812360461
Merged revisions 87762 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87762 | antoine.pitrou | 2011-01-05 19:37:22 +0100 (mer., 05 janv. 2011) | 3 lines
Issue #5485 : Add doc for expat.xmlparser.SetParamEntityParsing.
........
2011-01-05 18:41:10 +00:00
Antoine Pitrou
a83878e693
Issue #5485 : Add doc for expat.xmlparser.SetParamEntityParsing.
2011-01-05 18:37:22 +00:00
R. David Murray
f9844c8292
Merged revisions 87750 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87750 | r.david.murray | 2011-01-04 20:39:32 -0500 (Tue, 04 Jan 2011) | 5 lines
#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:47:38 +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
cae7c1d824
Merged revisions 87653-87655 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87653 | antoine.pitrou | 2011-01-02 23:06:53 +0100 (dim., 02 janv. 2011) | 3 lines
Clarify behaviour of close() and shutdown() on sockets.
........
r87654 | antoine.pitrou | 2011-01-02 23:09:27 +0100 (dim., 02 janv. 2011) | 3 lines
Add a shutdown() call in the server example.
........
r87655 | antoine.pitrou | 2011-01-02 23:12:22 +0100 (dim., 02 janv. 2011) | 3 lines
Some nits.
........
2011-01-02 22:35:59 +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
Terry Reedy
2b8cf2f754
Issue 10789: Correct threading.Lock.acquire signature.
2011-01-01 00:29:59 +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
bd9761102e
Merged revisions 87573 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87573 | senthil.kumaran | 2010-12-30 15:07:58 +0800 (Thu, 30 Dec 2010) | 3 lines
Fix Issue10793 - hashlib documentation issue on return type of digest
........
2010-12-30 07:21:14 +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