]> granicus.if.org Git - python/log
python
21 years agoRemove unused variable.
Jeremy Hylton [Thu, 17 Jul 2003 15:56:07 +0000 (15:56 +0000)]
Remove unused variable.

21 years agoInclude the GNU info format in the edist target since we're now
Fred Drake [Thu, 17 Jul 2003 15:29:16 +0000 (15:29 +0000)]
Include the GNU info format in the edist target since we're now
building a fair portion of the documentation as info.

21 years ago- remove mention of the isprivate flag, since that isn't directly
Fred Drake [Thu, 17 Jul 2003 15:22:47 +0000 (15:22 +0000)]
- remove mention of the isprivate flag, since that isn't directly
  documented here, and according to Tim, should never have been there
- misc. cleanups for consistency

21 years agoback out the darwin supports_unicode_filenames patch; it causes deep problems with...
Just van Rossum [Thu, 17 Jul 2003 15:11:49 +0000 (15:11 +0000)]
back out the darwin supports_unicode_filenames patch; it causes deep problems with the tests

21 years agoBump the release number to 2.3c1.
Tim Peters [Thu, 17 Jul 2003 14:48:26 +0000 (14:48 +0000)]
Bump the release number to 2.3c1.

21 years agoMinor corrections.
Raymond Hettinger [Thu, 17 Jul 2003 14:47:12 +0000 (14:47 +0000)]
Minor corrections.

21 years agoPatch from John Anderson to enable VC 7.1 support.
Jeremy Hylton [Thu, 17 Jul 2003 14:41:07 +0000 (14:41 +0000)]
Patch from John Anderson to enable VC 7.1 support.

I tested against VC 7.0 and it caused no problems there.

21 years ago- put the GNU info packages in the same place as everything else
Fred Drake [Thu, 17 Jul 2003 11:55:18 +0000 (11:55 +0000)]
- put the GNU info packages in the same place as everything else
- add a convenience target to create the package list directly

21 years ago- update the list of documents for which GNU info is built
Fred Drake [Thu, 17 Jul 2003 05:36:19 +0000 (05:36 +0000)]
- update the list of documents for which GNU info is built
- convert tabs to spaces

21 years agoBump version numbers.
Fred Drake [Thu, 17 Jul 2003 05:30:38 +0000 (05:30 +0000)]
Bump version numbers.

21 years ago- improve the description of how user-defined method
Fred Drake [Thu, 17 Jul 2003 05:26:53 +0000 (05:26 +0000)]
- 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.

21 years agoNote that Unicode strings are now supported in sys.path.
Fred Drake [Thu, 17 Jul 2003 04:22:44 +0000 (04:22 +0000)]
Note that Unicode strings are now supported in sys.path.
SF patch #764594.

21 years agoMake the howto document class work properly with the pypaper.sty
Fred Drake [Thu, 17 Jul 2003 04:15:35 +0000 (04:15 +0000)]
Make the howto document class work properly with the pypaper.sty
paper-size hook.
SF patch #772550.

21 years agoRemove code that tried to warn about shadowing builtin names after a
Neil Schemenauer [Wed, 16 Jul 2003 22:19:24 +0000 (22:19 +0000)]
Remove code that tried to warn about shadowing builtin names after a
module had been compiled.  It gives too many spurious warnings.

21 years agoRemove code that tried to warn about shadowing builtin names after a
Neil Schemenauer [Wed, 16 Jul 2003 22:04:11 +0000 (22:04 +0000)]
Remove code that tried to warn about shadowing builtin names after a
module had been compiled.  It gives too many spurious warnings.

21 years agoZap the C API subsection altogether for now. It's not actually usable from
Skip Montanaro [Wed, 16 Jul 2003 21:14:35 +0000 (21:14 +0000)]
Zap the C API subsection altogether for now.  It's not actually usable from
C yet anyway.

21 years agoMention list.index; more small textual changes
Andrew M. Kuchling [Wed, 16 Jul 2003 20:37:26 +0000 (20:37 +0000)]
Mention list.index; more small textual changes

21 years agoAdd reminder list of things to document; mention sys.getcheckinterval() and socket...
Andrew M. Kuchling [Wed, 16 Jul 2003 20:12:33 +0000 (20:12 +0000)]
Add reminder list of things to document; mention sys.getcheckinterval() and socket.timeout exception

21 years agoAdd mmap bugfix; typo and grammar fixes
Andrew M. Kuchling [Wed, 16 Jul 2003 20:11:34 +0000 (20:11 +0000)]
Add mmap bugfix; typo and grammar fixes

21 years agoexpose the C API subsection which was hidden from LaTeX in a comment. In
Skip Montanaro [Wed, 16 Jul 2003 19:46:07 +0000 (19:46 +0000)]
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.

21 years agoClarify the lack of relationship between rich comparison operators.
Raymond Hettinger [Wed, 16 Jul 2003 19:40:23 +0000 (19:40 +0000)]
Clarify the lack of relationship between rich comparison operators.

Prompted by a discussion on comp.lang.python.

21 years agoDoctest now examines all docstrings by default. Previously, it would
Raymond Hettinger [Wed, 16 Jul 2003 19:25:22 +0000 (19:25 +0000)]
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.

21 years agoLots of markup cleanups to avoid warnings from the GNU info generation;
Fred Drake [Wed, 16 Jul 2003 17:58:38 +0000 (17:58 +0000)]
Lots of markup cleanups to avoid warnings from the GNU info generation;
these make sense even without that processing chain.

21 years agoRemove \versionchanged; the text was too complex for the GNU info
Fred Drake [Wed, 16 Jul 2003 16:19:08 +0000 (16:19 +0000)]
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.

21 years agoRemove stray comments.
Jeremy Hylton [Wed, 16 Jul 2003 16:17:57 +0000 (16:17 +0000)]
Remove stray comments.

21 years agoRemove unnecessary check in tests for slots allowed.
Jeremy Hylton [Wed, 16 Jul 2003 16:08:23 +0000 (16:08 +0000)]
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.

21 years agoMinor text changes; update bug/patch count (quite a jump!)
Andrew M. Kuchling [Wed, 16 Jul 2003 14:44:12 +0000 (14:44 +0000)]
Minor text changes; update bug/patch count (quite a jump!)

21 years agoMake it easier to figure out the where a menuselection starts and ends
Fred Drake [Wed, 16 Jul 2003 14:01:56 +0000 (14:01 +0000)]
Make it easier to figure out the where a menuselection starts and ends
by controling the font.

21 years agoCygwin instructions:
Fred Drake [Wed, 16 Jul 2003 13:50:28 +0000 (13:50 +0000)]
Cygwin instructions:
- added missing period
- added markup so it's easier to tell which names are special

21 years agoMore pre-2.3 build tweaks for the OS/2 EMX port:
Andrew MacIntyre [Wed, 16 Jul 2003 13:31:11 +0000 (13:31 +0000)]
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.

21 years agoA variety of markup-level adjustments.
Fred Drake [Wed, 16 Jul 2003 05:17:23 +0000 (05:17 +0000)]
A variety of markup-level adjustments.

21 years agoDiscussion of signatures for unicode.translate() and str.translate()
Raymond Hettinger [Wed, 16 Jul 2003 05:11:27 +0000 (05:11 +0000)]
Discussion of signatures for unicode.translate() and str.translate()
were in the wrong file.  Moved out of libstring.tex and into
libstdtypes.tex.

21 years agoExercise Jim Fulton's new doctest extension for running doctests in a
Raymond Hettinger [Wed, 16 Jul 2003 04:34:56 +0000 (04:34 +0000)]
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.

21 years agoFix faulty doctests. There is no results attribute.
Raymond Hettinger [Wed, 16 Jul 2003 04:32:32 +0000 (04:32 +0000)]
Fix faulty doctests.  There is no results attribute.
Note, these tests were not getting exercised because
doctest skips over private functions.

21 years agoExtend last change to cover TestSuites as well as TestCases.
Raymond Hettinger [Wed, 16 Jul 2003 04:29:42 +0000 (04:29 +0000)]
Extend last change to cover TestSuites as well as TestCases.

21 years ago- update some comments
Fred Drake [Wed, 16 Jul 2003 04:02:58 +0000 (04:02 +0000)]
- update some comments
- add support for the "What's New" document
- add short aliases for individual documents; nice for debugging
  conversions

21 years agoPass along the selected "What's New" document to the make file for the
Fred Drake [Wed, 16 Jul 2003 04:01:04 +0000 (04:01 +0000)]
Pass along the selected "What's New" document to the make file for the
GNU info conversion.

21 years agoAdjust description of the internationalized domain name encoding to
Fred Drake [Wed, 16 Jul 2003 04:00:14 +0000 (04:00 +0000)]
Adjust description of the internationalized domain name encoding to
better accomodate the GNU info conversion.

21 years agoPrevent failure on the mac, where "mbcs" is not the file system
Mark Hammond [Wed, 16 Jul 2003 03:46:38 +0000 (03:46 +0000)]
Prevent failure on the mac, where "mbcs" is not the file system
encoding.  Use sys.getfilesystemencoding().

21 years agoMap \envvar to the TeXinfo equivalent, @env.
Fred Drake [Wed, 16 Jul 2003 03:44:48 +0000 (03:44 +0000)]
Map \envvar to the TeXinfo equivalent, @env.

21 years agoSimple support for the alltt environment.
Fred Drake [Wed, 16 Jul 2003 03:35:41 +0000 (03:35 +0000)]
Simple support for the alltt environment.

21 years agoIn the description of enumerate(), the indexing operators should not
Fred Drake [Wed, 16 Jul 2003 03:26:31 +0000 (03:26 +0000)]
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.

21 years agoTeach this script about \AA and \aa (the Scandanavian A-ring
Fred Drake [Wed, 16 Jul 2003 03:16:34 +0000 (03:16 +0000)]
Teach this script about \AA and \aa (the Scandanavian A-ring
characters); \AA is used in whatsnew23.tex.

21 years agoUpdate to reflect the current status of the configuration system.
Kurt B. Kaiser [Wed, 16 Jul 2003 03:10:43 +0000 (03:10 +0000)]
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

21 years agorun_unittest() to support TestCase instances as well as classes. Helps with doctests.
Raymond Hettinger [Wed, 16 Jul 2003 02:59:32 +0000 (02:59 +0000)]
run_unittest() to support TestCase instances as well as classes.  Helps with doctests.

21 years agoCorrect previous patch looking for warnings module: sys.modules, not
Mark Hammond [Wed, 16 Jul 2003 01:54:38 +0000 (01:54 +0000)]
Correct previous patch looking for warnings module: sys.modules, not
sys.__modules__.

21 years agoNits.
Raymond Hettinger [Tue, 15 Jul 2003 23:16:01 +0000 (23:16 +0000)]
Nits.

21 years agoFix [ 771097 ] frozen programs fail due to implicit import of "warnings".
Mark Hammond [Tue, 15 Jul 2003 23:03:55 +0000 (23:03 +0000)]
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.

21 years agoIndexing is a mess; try to get the link targets closer to the relevant
Fred Drake [Tue, 15 Jul 2003 22:03:00 +0000 (22:03 +0000)]
Indexing is a mess; try to get the link targets closer to the relevant
text.  There needs to be a better way.

21 years agoprocess_commands_wrap_deferred:
Fred Drake [Tue, 15 Jul 2003 22:00:36 +0000 (22:00 +0000)]
process_commands_wrap_deferred:
  - fix comment describing what this is for
  - add lots of indexing macros to this call
Closes SF bug #518989.

21 years agoTry to clean up some indexing relevant to the import statement.
Fred Drake [Tue, 15 Jul 2003 21:37:58 +0000 (21:37 +0000)]
Try to clean up some indexing relevant to the import statement.
Pertains to SF bug #518989.

21 years agoFixed test and converted to unittest format.
Raymond Hettinger [Tue, 15 Jul 2003 21:03:13 +0000 (21:03 +0000)]
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'.

21 years agoFixed test and converted to unittest format.
Raymond Hettinger [Tue, 15 Jul 2003 20:57:35 +0000 (20:57 +0000)]
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'.

21 years agoDiscuss calling new-style types.
Fred Drake [Tue, 15 Jul 2003 20:45:16 +0000 (20:45 +0000)]
Discuss calling new-style types.
Closes SF bug #453683.

21 years agoSF patch 763201: handling of SyntaxErrors in symbol table build
Jeremy Hylton [Tue, 15 Jul 2003 20:24:27 +0000 (20:24 +0000)]
SF patch 763201: handling of SyntaxErrors in symbol table build

Bug fix candidate.

21 years agoSF patch 763201: handling of SyntaxErrors in symbol table build
Jeremy Hylton [Tue, 15 Jul 2003 20:23:26 +0000 (20:23 +0000)]
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.

21 years agoheck environment closed status before closing a cursors. Fixes #763928.
Martin v. Löwis [Tue, 15 Jul 2003 19:12:54 +0000 (19:12 +0000)]
heck environment closed status before closing a cursors. Fixes #763928.

21 years agoAdd various test cases from SF patch 543867.
Walter Dörwald [Tue, 15 Jul 2003 18:47:27 +0000 (18:47 +0000)]
Add various test cases from SF patch 543867.

21 years ago[Patch #708374] Only apply the check for file size if the file is a regular file...
Andrew M. Kuchling [Tue, 15 Jul 2003 12:37:46 +0000 (12:37 +0000)]
[Patch #708374] Only apply the check for file size if the file is a regular file, not a character or block device.

21 years agoMake the prefix 7 spaces long, so the lines are properly aligned.
Walter Dörwald [Tue, 15 Jul 2003 10:34:02 +0000 (10:34 +0000)]
Make the prefix 7 spaces long, so the lines are properly aligned.

21 years agoRemove proxy_print(), since that caused an inconsistency between
Fred Drake [Mon, 14 Jul 2003 21:46:23 +0000 (21:46 +0000)]
Remove proxy_print(), since that caused an inconsistency between
"print repr(proxy(a))" and "proxy(a)" at an interactive prompt.
Closes SF bug #722763.

21 years agostylistic nits:
Fred Drake [Mon, 14 Jul 2003 21:37:17 +0000 (21:37 +0000)]
stylistic nits:
- wrap some long lines
- shorten others
- fix indentation

21 years agoMarkup consistency nits.
Fred Drake [Mon, 14 Jul 2003 21:07:05 +0000 (21:07 +0000)]
Markup consistency nits.

21 years agoAdded missing markup.
Fred Drake [Mon, 14 Jul 2003 20:53:57 +0000 (20:53 +0000)]
Added missing markup.

21 years agoFix unbalanced parenthesis in text.
Raymond Hettinger [Mon, 14 Jul 2003 18:36:47 +0000 (18:36 +0000)]
Fix unbalanced parenthesis in text.

21 years agoFix missing parenthesis
Raymond Hettinger [Mon, 14 Jul 2003 18:24:26 +0000 (18:24 +0000)]
Fix missing parenthesis

21 years agoupdate norobots link
Skip Montanaro [Mon, 14 Jul 2003 17:04:50 +0000 (17:04 +0000)]
update norobots link

21 years agoGive dumbdbm a sync() method which Shelve can call. Should solve some
Skip Montanaro [Mon, 14 Jul 2003 12:15:15 +0000 (12:15 +0000)]
Give dumbdbm a sync() method which Shelve can call.  Should solve some
database corruption problems with Spambayes.

21 years ago+ libdumdbm
Skip Montanaro [Mon, 14 Jul 2003 12:13:27 +0000 (12:13 +0000)]
+ libdumdbm

21 years ago+ libdumbdbm
Skip Montanaro [Mon, 14 Jul 2003 12:12:56 +0000 (12:12 +0000)]
+ libdumbdbm

21 years agominimal dumdbm module doc
Skip Montanaro [Mon, 14 Jul 2003 12:12:37 +0000 (12:12 +0000)]
minimal dumdbm module doc

21 years agoSF bug #738090: Section 13.3: htmllib.HTMLParser constructor definition
Raymond Hettinger [Mon, 14 Jul 2003 08:15:47 +0000 (08:15 +0000)]
SF bug #738090: Section 13.3: htmllib.HTMLParser constructor definition
                amendment

Add a clarifying cross-reference to the formatter module.

21 years agoSF patch #770521: make itertools type declarations static
Raymond Hettinger [Mon, 14 Jul 2003 07:07:12 +0000 (07:07 +0000)]
SF patch #770521:  make itertools type declarations static
(Contributed by Andrew I MacIntyre.)

21 years agoSF bug #770601: CGIHTTPServer and environment variables (bug + solution)
Raymond Hettinger [Mon, 14 Jul 2003 06:56:32 +0000 (06:56 +0000)]
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).

21 years agoMake close() identical to __del__() for a dumbdbm database. Make
Tim Peters [Sun, 13 Jul 2003 17:21:10 +0000 (17:21 +0000)]
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.

21 years agoSF patch #765238: fix fnmatch.__all__
Raymond Hettinger [Sun, 13 Jul 2003 16:06:26 +0000 (16:06 +0000)]
SF patch #765238:  fix fnmatch.__all__
(Contributed by George Yoshida.)

21 years agodelete unused local variable (pychecker caught)
Skip Montanaro [Sun, 13 Jul 2003 15:18:12 +0000 (15:18 +0000)]
delete unused local variable (pychecker caught)

21 years agoMore pre-2.3 build tweaks for the OS/2 EMX port:
Andrew MacIntyre [Sun, 13 Jul 2003 13:41:59 +0000 (13:41 +0000)]
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.

21 years agoInitialize thread_id to 0 in unthreaded build. Fixes #770247.
Martin v. Löwis [Sun, 13 Jul 2003 10:41:53 +0000 (10:41 +0000)]
Initialize thread_id to 0 in unthreaded build. Fixes #770247.

21 years agoSF bug #769142: CallTip trimming may loop forever.
Raymond Hettinger [Sun, 13 Jul 2003 10:25:14 +0000 (10:25 +0000)]
SF bug #769142:  CallTip trimming may loop forever.

Needs to be backported to both IDLE and IDLEFORK.

21 years agoPatch #770245: Pass LDFLAGS to pgen creation.
Martin v. Löwis [Sun, 13 Jul 2003 10:10:42 +0000 (10:10 +0000)]
Patch #770245: Pass LDFLAGS to pgen creation.

21 years agoTreat irix64 like irix. Fixes #764560. Will backport to 2.2.
Martin v. Löwis [Sun, 13 Jul 2003 09:46:13 +0000 (09:46 +0000)]
Treat irix64 like irix. Fixes #764560. Will backport to 2.2.

21 years agoReworked test_warnings.py:
Raymond Hettinger [Sun, 13 Jul 2003 08:37:40 +0000 (08:37 +0000)]
Reworked test_warnings.py:

* It ran fine under "python regrtest.py test_warnings" but failed under
  "python regrtest.py" presumably because other tests would add to
  filtered warnings and not reset them at the end of the test.

* Converted to a unittest format for better control.  Renamed
  monkey() and unmonkey() to setUp() and tearDown().

* Increased coverage by testing all warnings in __builtin__.

* Increased coverage by testing regex matching of specific messages.

21 years agoThis test failed on WindowsME because the full file path did not get
Raymond Hettinger [Sun, 13 Jul 2003 06:15:11 +0000 (06:15 +0000)]
This test failed on WindowsME because the full file path did not get
reported consistently with the *nix world.  'Lib/test/test_warnings.py'
came out as 'lib\test\test_warnings.py'.  The basename is all we care
about so I used that.

21 years agoRepaired typos in comments.
Tim Peters [Sun, 13 Jul 2003 02:37:05 +0000 (02:37 +0000)]
Repaired typos in comments.

21 years agoFixed critical shutdown race in _Database._commit.
Tim Peters [Sun, 13 Jul 2003 02:22:03 +0000 (02:22 +0000)]
Fixed critical shutdown race in _Database._commit.
Related to SF patch 723231 (which pointed out the problem, but didn't
fix it, just shut up the warning msg -- which was pointing out a dead-
serious bug!).

Bugfix candidate.

21 years agoSF bug #706546: u''.translate not documented
Raymond Hettinger [Sun, 13 Jul 2003 02:06:47 +0000 (02:06 +0000)]
SF bug #706546: u''.translate not documented

Clarified the difference between translate methods for string objects and
Unicode objects.

21 years agoMore comments about why not closing a dumddbm properly can be a disaster.
Tim Peters [Sun, 13 Jul 2003 02:05:47 +0000 (02:05 +0000)]
More comments about why not closing a dumddbm properly can be a disaster.

21 years agoSF 748201: time.strptime() should display format and date on error
Raymond Hettinger [Sun, 13 Jul 2003 01:31:38 +0000 (01:31 +0000)]
SF 748201:  time.strptime() should display format and date on error

Usability fix.  Makes the error message more helpful.

21 years agoSF bug #770107: Typo in documentation of resource module
Raymond Hettinger [Sun, 13 Jul 2003 00:46:40 +0000 (00:46 +0000)]
SF bug #770107: Typo in documentation of resource module

21 years agoUpdate for new module and new builtin.
Raymond Hettinger [Sat, 12 Jul 2003 23:55:57 +0000 (23:55 +0000)]
Update for new module and new builtin.

21 years ago_commit(): Modernization.
Tim Peters [Sat, 12 Jul 2003 20:23:09 +0000 (20:23 +0000)]
_commit():  Modernization.

21 years agoThere's a persistent rumor on the spambayes mailing list that dumbdbm
Tim Peters [Sat, 12 Jul 2003 20:11:25 +0000 (20:11 +0000)]
There's a persistent rumor on the spambayes mailing list that dumbdbm
databases are associated with corruption problems, so I studied this code
carefully and ran some brutal stress tests.  I didn't find any bugs,
although it's unclear whether this code *intends* that __setitem__ can
leave the directory file out of synch with the data file (so
if a dumbdbm isn't properly closed, and the value of an existing key
was ever replaced, corruption is almost certain, where "corruption"
means the directory file is out of synch with the data file).

Added many comments and generally modernized the code.  Examples of the
latter:  we have better ways of reading a whole file line-by-line now;
eval() now tolerates a trailing newline; the %r format code can be used
to avoid explicit repr/backtick calls; and the code often broke tuples
into their components when it was clearer and faster to just leave them
as tuples.

21 years agoPatch #764470: Fix marshalling of faults. Will backport to 2.2.
Martin v. Löwis [Sat, 12 Jul 2003 07:53:04 +0000 (07:53 +0000)]
Patch #764470: Fix marshalling of faults. Will backport to 2.2.

21 years agoPatch 549151, rev4: redirect posts for 301 also. Will backport to 2.2.
Martin v. Löwis [Sat, 12 Jul 2003 07:33:32 +0000 (07:33 +0000)]
Patch 549151, rev4: redirect posts for 301 also. Will backport to 2.2.

21 years agoFix missing parenthesis
Raymond Hettinger [Sat, 12 Jul 2003 04:42:30 +0000 (04:42 +0000)]
Fix missing parenthesis

21 years agoSF patch #726751: Clarify docs for except target assignment
Raymond Hettinger [Sat, 12 Jul 2003 01:05:37 +0000 (01:05 +0000)]
SF patch #726751:  Clarify docs for except target assignment

Brett found that the tutorial didn't really explain what was happening
with exception targets.  Hopefully, this sheds some light on the subject.

21 years agoExpose the 'master' instance mentioned in the docs.
Raymond Hettinger [Fri, 11 Jul 2003 22:36:52 +0000 (22:36 +0000)]
Expose the 'master' instance mentioned in the docs.

21 years agoDocument Jim Fulton's docttest extensions.
Raymond Hettinger [Fri, 11 Jul 2003 22:32:18 +0000 (22:32 +0000)]
Document Jim Fulton's docttest extensions.

21 years agoDon't include slash in search string; it's OS-specific.
Jeremy Hylton [Fri, 11 Jul 2003 20:22:55 +0000 (20:22 +0000)]
Don't include slash in search string; it's OS-specific.