Raymond Hettinger
943277ecd3
Minor corrections.
2003-07-17 14:47:12 +00:00
Jeremy Hylton
e9a92aa03a
Patch from John Anderson to enable VC 7.1 support.
...
I tested against VC 7.0 and it caused no problems there.
2003-07-17 14:41:07 +00:00
Fred Drake
de7cdb26d1
- put the GNU info packages in the same place as everything else
...
- add a convenience target to create the package list directly
2003-07-17 11:55:18 +00:00
Fred Drake
e5f15ff8cb
- update the list of documents for which GNU info is built
...
- convert tabs to spaces
2003-07-17 05:36:19 +00:00
Fred Drake
7262ca8abf
Bump version numbers.
2003-07-17 05:30:38 +00:00
Fred Drake
ea690c4b25
- improve the description of how user-defined method
...
objects get made
- improve the description of attribute retrieval from
classes and class instances
- add brief documentation of static method and
class method objects.
2003-07-17 05:26:53 +00:00
Fred Drake
38d7c1bb78
Note that Unicode strings are now supported in sys.path.
...
SF patch #764594 .
2003-07-17 04:22:44 +00:00
Fred Drake
e8e241b732
Make the howto document class work properly with the pypaper.sty
...
paper-size hook.
SF patch #772550 .
2003-07-17 04:15:35 +00:00
Neil Schemenauer
af4c5059d5
Remove code that tried to warn about shadowing builtin names after a
...
module had been compiled. It gives too many spurious warnings.
2003-07-16 22:19:24 +00:00
Neil Schemenauer
7555294576
Remove code that tried to warn about shadowing builtin names after a
...
module had been compiled. It gives too many spurious warnings.
2003-07-16 22:04:11 +00:00
Skip Montanaro
bfa6872260
Zap the C API subsection altogether for now. It's not actually usable from
...
C yet anyway.
2003-07-16 21:14:35 +00:00
Andrew M. Kuchling
aa9b39f910
Mention list.index; more small textual changes
2003-07-16 20:37:26 +00:00
Andrew M. Kuchling
c760c6c442
Add reminder list of things to document; mention sys.getcheckinterval() and socket.timeout exception
2003-07-16 20:12:33 +00:00
Andrew M. Kuchling
6c733d3711
Add mmap bugfix; typo and grammar fixes
2003-07-16 20:11:34 +00:00
Skip Montanaro
2491cd98c4
expose the C API subsection which was hidden from LaTeX in a comment. In
...
the info conversion the \comment LaTeX macro mapped to a Texinfo @ignore
macro. Unfortunately, py2texi.el is not smart enough to avoid generating
links to the @ignore'd section, which causes makeinfo to croak.
Exposing this text is probably not the most correct thing to do, as this
documentation really belongs in the C API manual. This does get the info
files generated, however, which is a more practical goal considering the
impending release of 2.3rc1.
2003-07-16 19:46:07 +00:00
Raymond Hettinger
4d6e8fe5d1
Clarify the lack of relationship between rich comparison operators.
...
Prompted by a discussion on comp.lang.python.
2003-07-16 19:40:23 +00:00
Raymond Hettinger
71adf7e9d8
Doctest now examines all docstrings by default. Previously, it would
...
skip over functions with private names (as indicated by the underscore
naming convention). The old default created too much of a risk that
user tests were being skipped inadvertently. Note, this change could
break code in the unlikely case that someone had intentionally put
failing tests in the docstrings of private functions. The breakage
is easily fixable by specifying the old behavior when calling testmod()
or Tester(). The more likely case is that the silent failure was
unintended and that the user needed to be informed so the test could be
fixed.
2003-07-16 19:25:22 +00:00
Fred Drake
853276e16d
Lots of markup cleanups to avoid warnings from the GNU info generation;
...
these make sense even without that processing chain.
2003-07-16 17:58:38 +00:00
Fred Drake
788617f8f0
Remove \versionchanged; the text was too complex for the GNU info
...
conversion to support. Keep the content as normal content, with a
note that this applies starting in Python 2.3.
2003-07-16 16:19:08 +00:00
Jeremy Hylton
f75d9fce16
Remove stray comments.
2003-07-16 16:17:57 +00:00
Jeremy Hylton
1c7a0ea056
Remove unnecessary check in tests for slots allowed.
...
The !PyType_Check(base) check snuck in as part of rev 2.215, but was
unrelated to the SF patch that is mentioned in the checkin comment.
The test is currently unnecessary because base is set to the return
value of best_bases(), which returns a type or NULL.
2003-07-16 16:08:23 +00:00
Andrew M. Kuchling
2cd773160d
Minor text changes; update bug/patch count (quite a jump!)
2003-07-16 14:44:12 +00:00
Fred Drake
bd5fdd93a9
Make it easier to figure out the where a menuselection starts and ends
...
by controling the font.
2003-07-16 14:01:56 +00:00
Fred Drake
a66b6c1267
Cygwin instructions:
...
- added missing period
- added markup so it's easier to tell which names are special
2003-07-16 13:50:28 +00:00
Andrew MacIntyre
bac1ea937e
More pre-2.3 build tweaks for the OS/2 EMX port:
...
- more clean up of the generated import library definiton (.DEF file)
following checking of patch 770521, and tightening of the sed regexps.
- use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth
nothing with 2.2.x.
- clean up a couple of whitespace issues introduced by a cut'n'paste.
2003-07-16 13:31:11 +00:00
Fred Drake
d24c767d5b
A variety of markup-level adjustments.
2003-07-16 05:17:23 +00:00
Raymond Hettinger
46f681cc07
Discussion of signatures for unicode.translate() and str.translate()
...
were in the wrong file. Moved out of libstring.tex and into
libstdtypes.tex.
2003-07-16 05:11:27 +00:00
Raymond Hettinger
43d790c087
Exercise Jim Fulton's new doctest extension for running doctests in a
...
unittest environment. Since his extension finds docstrings in private
functions, it exposed a bug in the difflib doctests.
2003-07-16 04:34:56 +00:00
Raymond Hettinger
83325e9087
Fix faulty doctests. There is no results attribute.
...
Note, these tests were not getting exercised because
doctest skips over private functions.
2003-07-16 04:32:32 +00:00
Raymond Hettinger
f3590623e9
Extend last change to cover TestSuites as well as TestCases.
2003-07-16 04:29:42 +00:00
Fred Drake
6c85bcb2aa
- update some comments
...
- add support for the "What's New" document
- add short aliases for individual documents; nice for debugging
conversions
2003-07-16 04:02:58 +00:00
Fred Drake
fa00f91897
Pass along the selected "What's New" document to the make file for the
...
GNU info conversion.
2003-07-16 04:01:04 +00:00
Fred Drake
15b3dba85e
Adjust description of the internationalized domain name encoding to
...
better accomodate the GNU info conversion.
2003-07-16 04:00:14 +00:00
Mark Hammond
bb4a47c818
Prevent failure on the mac, where "mbcs" is not the file system
...
encoding. Use sys.getfilesystemencoding().
2003-07-16 03:46:38 +00:00
Fred Drake
0bb242b67c
Map \envvar to the TeXinfo equivalent, @env.
2003-07-16 03:44:48 +00:00
Fred Drake
850026308b
Simple support for the alltt environment.
2003-07-16 03:35:41 +00:00
Fred Drake
3605ae5966
In the description of enumerate(), the indexing operators should not
...
be included in the \var. This produced weird results in general, but
broke the GNU info conversion.
2003-07-16 03:26:31 +00:00
Fred Drake
7769bb9224
Teach this script about \AA and \aa (the Scandanavian A-ring
...
characters); \AA is used in whatsnew23.tex.
2003-07-16 03:16:34 +00:00
Kurt B. Kaiser
cca912279a
Update to reflect the current status of the configuration system.
...
Extensions must still be configured manually and there is currently one
set of extension key bindings for all platforms.
Bring NEWS.txt up to date.
Update CREDITS.txt and idlever.py for release.
M NEWS.txt
M config-extensions.def
M extend.txt
M help.txt
M idlever.py
2003-07-16 03:10:43 +00:00
Raymond Hettinger
21d9987cb5
run_unittest() to support TestCase instances as well as classes. Helps with doctests.
2003-07-16 02:59:32 +00:00
Mark Hammond
5f4e8ca376
Correct previous patch looking for warnings module: sys.modules, not
...
sys.__modules__.
2003-07-16 01:54:38 +00:00
Raymond Hettinger
b233e54409
Nits.
2003-07-15 23:16:01 +00:00
Mark Hammond
edd07737d7
Fix [ 771097 ] frozen programs fail due to implicit import of "warnings".
...
If the initial import of warnings fails, clear the error. When the module
is actually needed, if the original import failed, see if it has managed
to find its way to sys.modules yet and if so, remember it.
2003-07-15 23:03:55 +00:00
Fred Drake
d51ce7de97
Indexing is a mess; try to get the link targets closer to the relevant
...
text. There needs to be a better way.
2003-07-15 22:03:00 +00:00
Fred Drake
4e72e0533d
process_commands_wrap_deferred:
...
- fix comment describing what this is for
- add lots of indexing macros to this call
Closes SF bug #518989 .
2003-07-15 22:00:36 +00:00
Fred Drake
b3be52eaf4
Try to clean up some indexing relevant to the import statement.
...
Pertains to SF bug #518989 .
2003-07-15 21:37:58 +00:00
Raymond Hettinger
19db13bcc7
Fixed test and converted to unittest format.
...
Checking // would call floor division but did not test that
true division had become the default with 'from __future__ import division'.
2003-07-15 21:03:13 +00:00
Raymond Hettinger
158af581ae
Fixed test and converted to unittest format.
...
Checking // would call floor division but did not test that
true division had become the default with 'from __future__ import division'.
2003-07-15 20:57:35 +00:00
Fred Drake
e37b4ed24e
Discuss calling new-style types.
...
Closes SF bug #453683 .
2003-07-15 20:45:16 +00:00
Jeremy Hylton
42d90161e2
SF patch 763201: handling of SyntaxErrors in symbol table build
...
Bug fix candidate.
2003-07-15 20:24:27 +00:00