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
Jeremy Hylton
1955fcf67a
SF patch 763201: handling of SyntaxErrors in symbol table build
...
Fixes for three related bugs, including errors that caused a script to
be ignored without printing an error message. The key problem was a bad
interaction between syntax warnings and syntax errors. If an
exception was already set when a warning was issued, the warning could
clobber the exception.
The PyErr_Occurred() check in issue_warning() isn't entirely
satisfying (the caller should know whether there was already an
error), but a better solution isn't immediately obvious.
Bug fix candidate.
2003-07-15 20:23:26 +00:00
Martin v. Löwis
35c38eaeae
heck environment closed status before closing a cursors. Fixes #763928 .
2003-07-15 19:12:54 +00:00
Walter Dörwald
f393fc6e51
Add various test cases from SF patch 543867.
2003-07-15 18:47:27 +00:00
Andrew M. Kuchling
a3016678ed
[Patch #708374 ] Only apply the check for file size if the file is a regular file, not a character or block device.
2003-07-15 12:37:46 +00:00
Walter Dörwald
c171172614
Make the prefix 7 spaces long, so the lines are properly aligned.
2003-07-15 10:34:02 +00:00
Fred Drake
fe89cc186c
Remove proxy_print(), since that caused an inconsistency between
...
"print repr(proxy(a))" and "proxy(a)" at an interactive prompt.
Closes SF bug #722763 .
2003-07-14 21:46:23 +00:00
Fred Drake
f425b1ec42
stylistic nits:
...
- wrap some long lines
- shorten others
- fix indentation
2003-07-14 21:37:17 +00:00
Fred Drake
d9cf8e7e7c
Markup consistency nits.
2003-07-14 21:07:05 +00:00
Fred Drake
9753ae1237
Added missing markup.
2003-07-14 20:53:57 +00:00
Raymond Hettinger
708c2a877e
Fix unbalanced parenthesis in text.
2003-07-14 18:36:47 +00:00
Raymond Hettinger
0e53d234eb
Fix missing parenthesis
2003-07-14 18:24:26 +00:00
Skip Montanaro
7233117960
update norobots link
2003-07-14 17:04:50 +00:00
Skip Montanaro
6d06815b56
Give dumbdbm a sync() method which Shelve can call. Should solve some
...
database corruption problems with Spambayes.
2003-07-14 12:15:15 +00:00
Skip Montanaro
a2d3d93ee3
+ libdumdbm
2003-07-14 12:13:27 +00:00
Skip Montanaro
0f59b54f32
+ libdumbdbm
2003-07-14 12:12:56 +00:00
Skip Montanaro
d54c5ddd28
minimal dumdbm module doc
2003-07-14 12:12:37 +00:00
Raymond Hettinger
9bb33868af
SF bug #738090 : Section 13.3: htmllib.HTMLParser constructor definition
...
amendment
Add a clarifying cross-reference to the formatter module.
2003-07-14 08:15:47 +00:00
Raymond Hettinger
1d7a3489e9
SF patch #770521 : make itertools type declarations static
...
(Contributed by Andrew I MacIntyre.)
2003-07-14 07:07:12 +00:00
Raymond Hettinger
92f200b569
SF bug #770601 : CGIHTTPServer and environment variables (bug + solution)
...
(contributed by Vincent Delft.)
The script updated os.environ but failed to pass the whole environment
to the child process (the CGI script).
2003-07-14 06:56:32 +00:00
Tim Peters
7a6c733c3b
Make close() identical to __del__() for a dumbdbm database. Make
...
closing idempotent (it used to raise a nuisance exception on the 2nd
close attempt).
Bugfix candidate? Probably, but arguable.
2003-07-13 17:21:10 +00:00
Raymond Hettinger
4a4296ec29
SF patch #765238 : fix fnmatch.__all__
...
(Contributed by George Yoshida.)
2003-07-13 16:06:26 +00:00
Skip Montanaro
ae5c37b7b3
delete unused local variable (pychecker caught)
2003-07-13 15:18:12 +00:00
Andrew MacIntyre
4ee893fe39
More pre-2.3 build tweaks for the OS/2 EMX port:
...
- separate the building of the core from the wrapper executables and the
external modules (.PYDs), based on the Py_BUILD_CORE define;
- clean up the generated import library definiton (.DEF file) to remove
references to a number of non-static symbols that aren't part of the
Python API and which shouldn't be exported by the core DLL;
- compile the release build with -fomit-frame-pointer, for a small
performance gain;
- make "make clean" remove byte compiled Python library files.
2003-07-13 13:41:59 +00:00