Martin v. Löwis
e064b41f5a
Patch #914575 : difflib side by side diff support, diff.py s/b/s HTML option.
2004-08-29 16:34:40 +00:00
Martin v. Löwis
dc3883f671
Patch #934711 : Expose platform-specific entropy.
2004-08-29 15:46:35 +00:00
Raymond Hettinger
6ab78cd0c0
SF feature request #992967 : array.array objects should support sequences.
...
Made the constructor accept general iterables.
2004-08-29 07:50:43 +00:00
Johannes Gijsbers
592ef6110f
Correct incorrect "it's" to "its".
2004-08-26 10:40:12 +00:00
Tim Peters
f33683fd40
Fine tune a word.
2004-08-26 04:52:46 +00:00
Tim Peters
cf53355fcf
Thinko repair.
2004-08-26 04:50:38 +00:00
Tim Peters
a07bcd46f3
Reorg of exception section. Now that there are fewer details needing
...
explanation, it's easier to push the remaining insufferably anal details
into a "fine print" section at the bottom.
2004-08-26 04:47:31 +00:00
Raymond Hettinger
f4fd79ca49
Small wording fixups.
2004-08-26 03:11:56 +00:00
Edward Loper
a89f88d53f
Added REPORT_ONLY_FIRST_FAILURE flag, which supresses output after the
...
first failing example in each test.
2004-08-26 02:45:51 +00:00
Edward Loper
71f55af826
Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; and
...
NDIFF_DIFF->REPORT_NDIFF. This establishes the naming convention that
all reporting options should begin with "REPORT_" (since reporting
options are a different class from output comparison options; but they
are both set in optionflags).
2004-08-26 01:41:51 +00:00
Tim Peters
0e448073d6
Restored half of a \versionadded only half of which should have been
...
deleted.
2004-08-26 01:02:08 +00:00
Dave Cole
e8bbfe4e63
Patch #1015012 . Improve markup and punctuation in libsocket.tex
2004-08-26 00:51:16 +00:00
Dave Cole
3203efb55f
Patch #1014930 . Expose current parse location to XMLParser.
2004-08-26 00:37:31 +00:00
Edward Loper
19b1958730
Only recognize the expected output as an exception if it *starts* with
...
a traceback message. I.e., examples that raise exceptions may no
longer generate pre-exception output. This restores the behavior of
doctest in python 2.3. The ability to check pre-exception output is
being removed because it makes the documentation simpler; and because
there are very few use cases for it.
2004-08-25 23:07:03 +00:00
Martin v. Löwis
be83737c7c
Patch #798244 : More urllib2 examples.
2004-08-25 11:24:42 +00:00
Martin v. Löwis
8d494f3241
Patch #1015021 : Stop claiming that coerce can return None.
...
Will backport to 2.3.
2004-08-25 10:42:41 +00:00
Barry Warsaw
08b07def43
Ah whoops, we didn't turn string into a package (thanks Neal!)
2004-08-25 03:09:58 +00:00
Barry Warsaw
8bee76106e
PEP 292 classes Template and SafeTemplate are added to the string module.
...
This patch includes test cases and documentation updates, as well as NEWS file
updates.
This patch also updates the sre modules so that they don't import the string
module, breaking direct circular imports.
2004-08-25 02:22:30 +00:00
Tim Peters
c885443479
Stop producing or using OverflowWarning. PEP 237 thought this would
...
happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default). OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
2004-08-25 02:14:08 +00:00
Dave Cole
07fda7e3a0
Updated the socketpair() docstring and documentation to explain that the
...
default famility is AF_UNIX if defined for the platform, otherwise the
default is AF_INET.
2004-08-23 05:16:23 +00:00
Tim Peters
656f7e4b40
Removed redundant versionadded{} for NDIFF_DIFF. Virtually everything
...
in this section is new in 2.4, and that's all mentioned already in
versionadded{} thingies at the end of the section. It hurts readability
to have them after every line <wink>.
2004-08-23 00:26:42 +00:00
Neal Norwitz
8bd5cb342c
Add version info
2004-08-22 21:48:37 +00:00
Tim Peters
c6cbab0db4
Added NDIFF_DIFF option.
2004-08-22 19:43:28 +00:00
Neal Norwitz
7109b287cf
Fix grammar, spotted by Hye-Shik Chang
2004-08-20 23:13:26 +00:00
Johannes Gijsbers
8e3bec5418
Correct argument specifications of load_compiled and load_source: the file
...
argument is optional on both (the format string is "ss|O!").
2004-08-20 14:38:56 +00:00
Johannes Gijsbers
c89061817b
Quote # as \# to make lib compile again.
2004-08-20 14:37:05 +00:00
Neal Norwitz
8623b36ee0
Try to improve grammar and use versionadded
2004-08-20 02:36:27 +00:00
Neal Norwitz
525b315326
Fix markup. versionchanged automatically adds a period, so remove the extra one.
2004-08-20 01:52:42 +00:00
Tim Peters
026f8dc103
Now that they've settled down, document doctest directives.
2004-08-19 16:38:58 +00:00
Martin v. Löwis
75b9da4aaf
Patch #995126 : Correct directory size, and generate GNU tarfiles by default.
2004-08-18 13:57:44 +00:00
Martin v. Löwis
deacce2c87
Patch #800236 : add HTTPResponse.getheaders().
2004-08-18 12:46:26 +00:00
Raymond Hettinger
01884d56f4
Deprecate sys.exitfunc in favor of the atexit module.
...
Per Guido, sys.exitfunc will be kept around for backwards compatability
but atexit will become the one preferred way to do it.
2004-08-18 02:50:00 +00:00
Raymond Hettinger
8de636e2ae
SF bug #951482 : New module: doc versus action
...
Strengthen the warnings about creating bogus objects using the new module.
2004-08-17 02:31:55 +00:00
Raymond Hettinger
cb40ba1f5e
SF bug #805304 : super instances don't support item assignment
...
Document a nuance of super(). It is designed to work well with dotted
attribute lookup but not with equivalent implicit lookups using operators
or statements.
2004-08-17 02:21:45 +00:00
Andrew M. Kuchling
7ec7584813
Typo fix
2004-08-16 16:12:23 +00:00
Raymond Hettinger
8df4e6b020
Fix punctuation typo.
2004-08-15 23:51:38 +00:00
Raymond Hettinger
2864b808c7
Add a notes section to the docs:
...
* Discuss representation error versus loss of significance.
* Document special values including qNaN, sNaN, +0, -0.
* Show the suprising display of non-normalized zero values.
2004-08-15 23:47:48 +00:00
Skip Montanaro
e5069019e7
Add get_history_item and replace_history_item functions to the readline
...
module. Closes patch #675551 . My apologies to Michal Vitecek for taking so
long to process this.
2004-08-15 14:32:06 +00:00
Johannes Gijsbers
b112d6ed78
bug 990669: os.path.normpath may alter the meaning of a path if it contains
...
symbolic links. This has been documented in a comment since 1992, but is now in
the library reference as well.
2004-08-14 14:41:32 +00:00
Tim Peters
83e259a2c2
Another microburst of snail-like progress.
2004-08-13 21:55:21 +00:00
Tim Peters
41a65ea7fe
Doctest has new traceback gimmicks in 2.4. While trying to document
...
them (which they are now), I had to rewrite the code to understand
it. This has got to be the most DWIM part of doctest -- but in context
is really necessary.
2004-08-13 03:55:05 +00:00
Neal Norwitz
ee6511b309
Fix the version number in which changes were made
2004-08-13 02:34:06 +00:00
Tim Peters
2603960525
Markup fiddling.
2004-08-13 01:49:12 +00:00
Tim Peters
8a3b69ca8f
Excruciatingly slow progress on the docs. Option flags / directive names
...
are documented now, and ripped out a bunch of "private name" convolutions.
2004-08-12 22:31:25 +00:00
Michael W. Hudson
5e897959db
This is my patch
...
[ 1004703 ] Make func_name writable
plus fixing a couple of nits in the documentation changes spotted by MvL
and a Misc/NEWS entry.
2004-08-12 18:12:44 +00:00
Fred Drake
ba100c98ad
clarify the behavior of the .first() and .last() methods for empty
...
databases
this should be backported to the release23-maint branch
2004-08-10 19:22:48 +00:00
Fred Drake
d62d507b9a
added missing documentation for UseForeignDTD() (new in 2.3)
...
someone should backport to the release23-maint branch
2004-08-10 17:18:32 +00:00
Fred Drake
fb568ca52a
add descriptions for many of the new error codes
2004-08-10 16:47:18 +00:00
Fred Drake
9d92d5a9ac
minor changes to make this format again
2004-08-10 15:41:03 +00:00
Tim Peters
c2388a2b9c
Start rewriting doctest's LaTeX docs. Damn, this is slow going!
2004-08-10 01:41:28 +00:00