]> granicus.if.org Git - python/log
python
16 years agoDeprecate the new module for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:18:40 +0000 (05:18 +0000)]
Deprecate the new module for removal in 3.0.

16 years agoreindent example
Benjamin Peterson [Fri, 9 May 2008 00:50:40 +0000 (00:50 +0000)]
reindent example

16 years agoAdd an example about using NamedTemporaryFile() to replace mktemp(). I'm
Skip Montanaro [Fri, 9 May 2008 00:45:00 +0000 (00:45 +0000)]
Add an example about using NamedTemporaryFile() to replace mktemp().  I'm
unclear whether the verbatim text should have been indented or by how much.

16 years agoAdd Py3k warnings to os.path.walk
Benjamin Peterson [Fri, 9 May 2008 00:27:01 +0000 (00:27 +0000)]
Add Py3k warnings to os.path.walk

16 years agoReplace instances of os.path.walk with os.walk
Benjamin Peterson [Thu, 8 May 2008 22:09:54 +0000 (22:09 +0000)]
Replace instances of os.path.walk with os.walk

16 years agoDeprecate the user module for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 20:36:09 +0000 (20:36 +0000)]
Deprecate the user module for removal in 3.0.

16 years agoAdd test.test_support.catch_warning()'s new argument.
Brett Cannon [Thu, 8 May 2008 20:24:43 +0000 (20:24 +0000)]
Add test.test_support.catch_warning()'s new argument.

16 years agoAdd a missing entry on the fix for issue #2790.
Brett Cannon [Thu, 8 May 2008 20:23:54 +0000 (20:23 +0000)]
Add a missing entry on  the fix for issue #2790.

16 years agoFix sys.flags to properly expose bytes_warning.
Brett Cannon [Thu, 8 May 2008 20:23:06 +0000 (20:23 +0000)]
Fix sys.flags to properly expose bytes_warning.

Closes issue #2790.

16 years agoDocument the 'record' argument for test.test_support.catch_warning().
Brett Cannon [Thu, 8 May 2008 20:20:54 +0000 (20:20 +0000)]
Document the 'record' argument for test.test_support.catch_warning().

16 years agoFix a bug introduced by the addition of the 'record' argument to
Brett Cannon [Thu, 8 May 2008 20:20:24 +0000 (20:20 +0000)]
Fix a bug introduced by the addition of the 'record' argument to
test.test_support.catch_warning() where showwarning() was not being set
properly.

16 years agoDeprecate stringold for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 19:52:45 +0000 (19:52 +0000)]
Deprecate stringold for removal in 3.0.

16 years agoMake test.test_support.catch_warning() take an argument specifying if any
Brett Cannon [Thu, 8 May 2008 19:50:51 +0000 (19:50 +0000)]
Make test.test_support.catch_warning() take an argument specifying if any
triggered warnings should be captured. This allows the context manager to be
used to just prevent the internal state of the 'warnings' framework and thus
allow triggered warnings to be displayed.

16 years agoThe mutex module has been deprecated for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 19:26:08 +0000 (19:26 +0000)]
The mutex module has been deprecated for removal in 3.0.

16 years agoDeprecate the imputil module for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 18:15:14 +0000 (18:15 +0000)]
Deprecate the imputil module for removal in 3.0.

16 years agoIssue 2778. Document the temporary frozenset swap in __contains__(), remove(), and...
Raymond Hettinger [Thu, 8 May 2008 17:18:13 +0000 (17:18 +0000)]
Issue 2778.  Document the temporary frozenset swap in __contains__(), remove(), and discard().

16 years agoPost tag updates.
Barry Warsaw [Thu, 8 May 2008 15:30:00 +0000 (15:30 +0000)]
Post tag updates.

16 years agoTagging 2.6a3
Barry Warsaw [Thu, 8 May 2008 13:17:34 +0000 (13:17 +0000)]
Tagging 2.6a3

16 years agoBump to 2.6a3 v2.6a3
Barry Warsaw [Thu, 8 May 2008 13:16:19 +0000 (13:16 +0000)]
Bump to 2.6a3

16 years agoFix for issue 1770190: platform.mac_ver() now returns the right
Ronald Oussoren [Thu, 8 May 2008 10:34:39 +0000 (10:34 +0000)]
Fix for issue 1770190: platform.mac_ver() now returns the right
version on OSX 10.4.10

16 years agoFix-up the enumerate type example and move it to the end.
Raymond Hettinger [Thu, 8 May 2008 07:23:30 +0000 (07:23 +0000)]
Fix-up the enumerate type example and move it to the end.

16 years agoThe __all__ variable forgot to expose the gcd() function.
Raymond Hettinger [Thu, 8 May 2008 04:36:12 +0000 (04:36 +0000)]
The __all__ variable forgot to expose the gcd() function.

16 years agoFrozensets do not benefit from autoconversion.
Raymond Hettinger [Thu, 8 May 2008 04:35:20 +0000 (04:35 +0000)]
Frozensets do not benefit from autoconversion.

16 years agoPractice EAFP, and revert 62787
Benjamin Peterson [Wed, 7 May 2008 23:11:54 +0000 (23:11 +0000)]
Practice EAFP, and revert 62787

16 years agoReplace more float hacks with correct math functions
Christian Heimes [Wed, 7 May 2008 22:54:17 +0000 (22:54 +0000)]
Replace more float hacks with correct math functions

16 years agoupdate .bzrignore
Benjamin Peterson [Wed, 7 May 2008 02:23:43 +0000 (02:23 +0000)]
update .bzrignore

16 years agoRe-added getbuildinfo.c solution item
Christian Heimes [Tue, 6 May 2008 23:59:53 +0000 (23:59 +0000)]
Re-added getbuildinfo.c solution item

16 years agoCreate a TextMate directory in Misc to house a Python-Dev bundle.
Brett Cannon [Tue, 6 May 2008 23:44:04 +0000 (23:44 +0000)]
Create a TextMate directory in Misc to house a Python-Dev bundle.

16 years agoDisabled some unit tests for the upcoming release. See #2777
Christian Heimes [Tue, 6 May 2008 23:42:58 +0000 (23:42 +0000)]
Disabled some unit tests for the upcoming release. See #2777

16 years agoAdd an entry about audiodev being slated for removal in 3.0.
Brett Cannon [Tue, 6 May 2008 23:41:32 +0000 (23:41 +0000)]
Add an entry about audiodev being slated for removal in 3.0.

16 years agoDeprecate the audiodev module for 3.0.
Brett Cannon [Tue, 6 May 2008 23:23:34 +0000 (23:23 +0000)]
Deprecate the audiodev module for 3.0.

16 years agoWhen testing a module's __all__, we really don't care if it is deprecated.
Brett Cannon [Tue, 6 May 2008 23:22:02 +0000 (23:22 +0000)]
When testing a module's __all__, we really don't care if it is deprecated.

16 years agoImplemented PEP 370
Christian Heimes [Tue, 6 May 2008 22:41:46 +0000 (22:41 +0000)]
Implemented PEP 370

16 years agoMake the Python implementation of warnings compatible with the C implementation regar...
Benjamin Peterson [Tue, 6 May 2008 22:31:52 +0000 (22:31 +0000)]
Make the Python implementation of warnings compatible with the C implementation regarding non-callable showwarning

16 years agoFix logic error in Python/_warnings.c and add a test to verify
Benjamin Peterson [Tue, 6 May 2008 22:18:11 +0000 (22:18 +0000)]
Fix logic error in Python/_warnings.c and add a test to verify

16 years ago> != (!<).
Georg Brandl [Tue, 6 May 2008 17:20:54 +0000 (17:20 +0000)]
> != (!<).

16 years ago#2773: fix description of 'g' and 'G' formatting spec.
Georg Brandl [Tue, 6 May 2008 17:11:42 +0000 (17:11 +0000)]
#2773: fix description of 'g' and 'G' formatting spec.

16 years agoIntern static string
Christian Heimes [Tue, 6 May 2008 16:18:41 +0000 (16:18 +0000)]
Intern static string
Use float constructors instead of magic code for float constants

16 years agofix issue2707 - os.walk docstring example correctness typo.
Gregory P. Smith [Tue, 6 May 2008 07:05:18 +0000 (07:05 +0000)]
fix issue2707 - os.walk docstring example correctness typo.

16 years agoFix a bug in the handling of the stacklevel argument in warnings.warn() where
Brett Cannon [Tue, 6 May 2008 04:37:31 +0000 (04:37 +0000)]
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
the stack was being unwound by two levels instead of one each time.

16 years agoPEP 8 nits in json package
Benjamin Peterson [Tue, 6 May 2008 02:51:10 +0000 (02:51 +0000)]
PEP 8 nits in json package

16 years agoFix a bug introduced in r62627. see issue2760 and issue2632.
Gregory P. Smith [Mon, 5 May 2008 21:53:45 +0000 (21:53 +0000)]
Fix a bug introduced in r62627.  see issue2760 and issue2632.

An assertion in readline() would fail as data was already in the
internal buffer even though the socket was in unbuffered read mode.
That case is now handled.  More importantly, read() has been fixed to
not over-recv() and leave newly recv()d data in the _fileobject buffer.

The max() vs min() issue in read() is now gone.  Neither was correct.
On bounded reads, always ask recv() for the exact amount of data we
still need.

Candidate for backporting to release25-maint along with r62627.

16 years ago#2752: fix second example too.
Georg Brandl [Mon, 5 May 2008 21:06:48 +0000 (21:06 +0000)]
#2752: fix second example too.

16 years ago#2769: markup glitch.
Georg Brandl [Mon, 5 May 2008 20:59:05 +0000 (20:59 +0000)]
#2769: markup glitch.

16 years agoFix JSON module docs.
Georg Brandl [Mon, 5 May 2008 20:53:39 +0000 (20:53 +0000)]
Fix JSON module docs.

16 years agoAdd the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Brett Cannon [Mon, 5 May 2008 20:21:38 +0000 (20:21 +0000)]
Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.

Closes issue #2750.

16 years agoRevert bogus checkin in r62724 to that file.
Martin v. Löwis [Mon, 5 May 2008 17:54:01 +0000 (17:54 +0000)]
Revert bogus checkin in r62724 to that file.

16 years agoFix Unicode filename test.
Martin v. Löwis [Mon, 5 May 2008 17:47:06 +0000 (17:47 +0000)]
Fix Unicode filename test.

16 years agoIssue #1734346: Support Unicode file names for zipfiles.
Martin v. Löwis [Mon, 5 May 2008 17:16:58 +0000 (17:16 +0000)]
Issue #1734346: Support Unicode file names for zipfiles.

16 years agoRemove the use of 'inspect' from 'warnings' for detected deprecated use of the
Brett Cannon [Mon, 5 May 2008 16:57:38 +0000 (16:57 +0000)]
Remove the use of 'inspect' from 'warnings' for detected deprecated use of the
showwarning API. Turns out 'inspect' uses 'operator' which is an extension
module. That's a problem when it has not been built yet by setup.py.

16 years agoAdd a DeprecationWarning for when warnings.showwarning() is set to a function
Brett Cannon [Mon, 5 May 2008 05:32:07 +0000 (05:32 +0000)]
Add a DeprecationWarning for when warnings.showwarning() is set to a function
that lacks support for the new 'line' argument.

16 years agoRemove method signatures from the docstrings of io.py
Benjamin Peterson [Sun, 4 May 2008 22:39:33 +0000 (22:39 +0000)]
Remove method signatures from the docstrings of io.py

16 years ago#2695: Do case-insensitive check for algorithms.
Georg Brandl [Sun, 4 May 2008 21:40:44 +0000 (21:40 +0000)]
#2695: Do case-insensitive check for algorithms.

16 years agoFix typo in bugs.rst
Benjamin Peterson [Sun, 4 May 2008 19:10:02 +0000 (19:10 +0000)]
Fix typo in bugs.rst

16 years ago#2757: Remove spare newline.
Georg Brandl [Sun, 4 May 2008 15:45:05 +0000 (15:45 +0000)]
#2757: Remove spare newline.

16 years agoImplemented feature request 2157: Converter names are cut off at '('
Gerhard Häring [Sun, 4 May 2008 13:42:44 +0000 (13:42 +0000)]
Implemented feature request 2157: Converter names are cut off at '('
characters. This avoids the common case of something like 'NUMBER(10)' not
being parsed as 'NUMBER', like expected. Also corrected the docs about
converter names being case-sensitive. They aren't any longer.

16 years agoApplied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The
Gerhard Häring [Sun, 4 May 2008 13:15:12 +0000 (13:15 +0000)]
Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The
sqlite3.Row type is now correctly hashable.

16 years agoSQLite requires 64-bit integers in order to build. So the whole HAVE_LONG_LONG
Gerhard Häring [Sun, 4 May 2008 12:59:57 +0000 (12:59 +0000)]
SQLite requires 64-bit integers in order to build. So the whole HAVE_LONG_LONG
#ifdefing was useless.

16 years agoAdded note that Python requires at least Win2k SP4
Christian Heimes [Sun, 4 May 2008 11:50:53 +0000 (11:50 +0000)]
Added note that Python requires at least Win2k SP4

16 years ago#2752: wrong meaning of '' for socket host.
Georg Brandl [Sun, 4 May 2008 09:15:04 +0000 (09:15 +0000)]
#2752: wrong meaning of '' for socket host.

16 years agoFix typo in whatsnew
Benjamin Peterson [Sun, 4 May 2008 03:05:49 +0000 (03:05 +0000)]
Fix typo in whatsnew

16 years agoMake sure that Context traps and flags dictionaries have values 0 and 1
Mark Dickinson [Sun, 4 May 2008 02:25:46 +0000 (02:25 +0000)]
Make sure that Context traps and flags dictionaries have values 0 and 1
(as documented) rather than True and False.

16 years agoSome very minor changes to decimal.py in Python 2.6, aimed
Mark Dickinson [Sun, 4 May 2008 02:05:06 +0000 (02:05 +0000)]
Some very minor changes to decimal.py in Python 2.6, aimed
at reducing the size of the diff between the 2.x decimal.py
and 3.x decimal.py and thereby making future merges easier:

- replace one instnace of an old-style raise statement
- define __div__ in terms of __truediv__ instead of the
  other way around
- make wording match on an exception message

16 years agoMoved testing of builtin types out of test_builtin and into type specific modules
Benjamin Peterson [Sat, 3 May 2008 21:35:18 +0000 (21:35 +0000)]
Moved testing of builtin types out of test_builtin and into type specific modules

16 years agoInsert correct OpenSearch base URL.
Georg Brandl [Sat, 3 May 2008 20:16:47 +0000 (20:16 +0000)]
Insert correct OpenSearch base URL.

16 years agoBackport Raymond's changes in r60508 to Python 2.6.
Mark Dickinson [Sat, 3 May 2008 18:23:14 +0000 (18:23 +0000)]
Backport Raymond's changes in r60508 to Python 2.6.
'Context flags get set, not incremented'

16 years agoThe compiling struct is now passed around to all AST helpers (see issue 2720)
Benjamin Peterson [Sat, 3 May 2008 15:56:42 +0000 (15:56 +0000)]
The compiling struct is now passed around to all AST helpers (see issue 2720)

16 years agoIn test_io, StatefulIncrementalDecoderTest was not part of the test suite.
Amaury Forgeot d'Arc [Sat, 3 May 2008 12:21:13 +0000 (12:21 +0000)]
In test_io, StatefulIncrementalDecoderTest was not part of the test suite.
And of course, the test failed:
a bytearray was used without reason in io.TextIOWrapper.tell().

The difference is that iterating over bytes (i.e. str in python2.6) returns 1-char bytes,
whereas bytearrays yield integers.
This code should still work with python3.0

16 years agoFix the C implementation of 'warnings' to infer the filename of the module that
Brett Cannon [Sat, 3 May 2008 03:19:39 +0000 (03:19 +0000)]
Fix the C implementation of 'warnings' to infer the filename of the module that
raised an exception properly when __file__ is not set, __name__ == '__main__',
and sys.argv[0] is a false value.

Closes issue2743.

16 years agoFix some indentation errors.
Brett Cannon [Sat, 3 May 2008 01:02:41 +0000 (01:02 +0000)]
Fix some indentation errors.

16 years agocapitalization nit for reStructuredText
Benjamin Peterson [Fri, 2 May 2008 22:12:58 +0000 (22:12 +0000)]
capitalization nit for reStructuredText

16 years agoFix for issue #2520 (cannot import macerrors)
Ronald Oussoren [Fri, 2 May 2008 21:54:56 +0000 (21:54 +0000)]
Fix for issue #2520 (cannot import macerrors)

16 years agoFix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard
Ronald Oussoren [Fri, 2 May 2008 21:42:35 +0000 (21:42 +0000)]
Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard

This fixes both Python Launchar and the terminalcommand module.

16 years agoMerged revisions 62263-62646 via svnmerge from
Martin v. Löwis [Fri, 2 May 2008 21:30:20 +0000 (21:30 +0000)]
Merged revisions 62263-62646 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r62470 | david.wolever | 2008-04-24 02:11:07 +0200 (Do, 24 Apr 2008) | 3 lines

  Fixed up and applied the patch for #2431 -- speeding up 2to3 with a lookup table.
........
  r62646 | martin.v.loewis | 2008-05-02 23:29:27 +0200 (Fr, 02 Mai 2008) | 2 lines

  Fix whitespace.
........

16 years agoFinish fix for issue2573, previous patch was incomplete.
Ronald Oussoren [Fri, 2 May 2008 19:58:56 +0000 (19:58 +0000)]
Finish fix for issue2573, previous patch was incomplete.

16 years agoFix for issue #2573: Can't change the framework name on OS X builds
Ronald Oussoren [Fri, 2 May 2008 19:45:11 +0000 (19:45 +0000)]
Fix for issue #2573: Can't change the framework name on OS X builds

This introduces a new configure option: --with-framework-name=NAME
(defaulting to 'Python'). This allows you to install several copies
of the Python framework with different names (such as a normal build
and a debug build).

16 years agoFixed some test structures. Thanks Mark Dickinson.
Facundo Batista [Fri, 2 May 2008 17:39:00 +0000 (17:39 +0000)]
Fixed some test structures. Thanks Mark Dickinson.

16 years ago#2581: Vista UAC/elevation support for bdist_wininst
Mark Hammond [Fri, 2 May 2008 12:48:15 +0000 (12:48 +0000)]
#2581: Vista UAC/elevation support for bdist_wininst

16 years agoThis should fix issue2632. A long description of the two competing
Gregory P. Smith [Fri, 2 May 2008 07:26:52 +0000 (07:26 +0000)]
This should fix issue2632.  A long description of the two competing
problems is in the bug report (one old, one recently introduced trying
to fix the old one).  In short:

buffer data during socket._fileobject.read() and readlines() within a
cStringIO object instead of a [] of str()s returned from the recv()
call.

This prevents excessive memory use due to the size parameter being
passed to recv() being grossly larger than the actual size of the data
returned *and* prevents excessive cpu usage due to looping in python
calling recv() with a very tiny size value if min() is used as the
previous memory-use bug "fix" did.

It also documents what the socket._fileobject._rbufsize member is
actually used for.

This is a candidate for back porting to 2.5.

16 years agoFix a backwards-compatibility mistake where a new optional argument for
Brett Cannon [Fri, 2 May 2008 02:25:09 +0000 (02:25 +0000)]
Fix a backwards-compatibility mistake where a new optional argument for
warnings.showwarning() was being used. This broke pre-existing replacements for
the function since they didn't support the extra argument.

Closes issue 2705.

16 years agoFix synopsis.
Georg Brandl [Thu, 1 May 2008 18:24:32 +0000 (18:24 +0000)]
Fix synopsis.

16 years agoFix typo in whatsnew
Benjamin Peterson [Wed, 30 Apr 2008 22:03:36 +0000 (22:03 +0000)]
Fix typo in whatsnew

16 years agoRemove some from __future__ import with_statements
Benjamin Peterson [Wed, 30 Apr 2008 21:25:55 +0000 (21:25 +0000)]
Remove some from __future__ import with_statements

16 years ago#1748: use functools.wraps instead of rolling own metadata update.
Georg Brandl [Wed, 30 Apr 2008 21:08:42 +0000 (21:08 +0000)]
#1748: use functools.wraps instead of rolling own metadata update.

16 years agomake test_support's captured_output a bit more robust when exceptions happen
Benjamin Peterson [Wed, 30 Apr 2008 21:03:58 +0000 (21:03 +0000)]
make test_support's captured_output a bit more robust when exceptions happen

16 years ago#2727: clarify tp_iternext docs.
Georg Brandl [Wed, 30 Apr 2008 20:02:37 +0000 (20:02 +0000)]
#2727: clarify tp_iternext docs.

16 years ago#2719: backport next() from 3k.
Georg Brandl [Wed, 30 Apr 2008 19:47:09 +0000 (19:47 +0000)]
#2719: backport next() from 3k.

16 years agoTypo fix
Andrew M. Kuchling [Wed, 30 Apr 2008 16:19:55 +0000 (16:19 +0000)]
Typo fix

16 years agoUpdate command line usage documentation to reflect 2.6 changes (also includes some...
Nick Coghlan [Wed, 30 Apr 2008 14:23:36 +0000 (14:23 +0000)]
Update command line usage documentation to reflect 2.6 changes (also includes some minor cleanups). Addresses TODO list issue 2258

16 years agoIssue 2526, float.__format__ 'n' specifier does not support thousands grouping.
Eric Smith [Wed, 30 Apr 2008 01:09:30 +0000 (01:09 +0000)]
Issue 2526, float.__format__ 'n' specifier does not support thousands grouping.

Implemented grouping, with tests.
Cleaned up PyOS_ascii_formatd by breaking reformatting into smaller functions.

16 years agoAdd Rodrigo and Heiko.
Martin v. Löwis [Tue, 29 Apr 2008 06:10:53 +0000 (06:10 +0000)]
Add Rodrigo and Heiko.

16 years agoStrip down SSL docs; I'm not managing to get test programs working, so I'll just...
Andrew M. Kuchling [Tue, 29 Apr 2008 02:03:54 +0000 (02:03 +0000)]
Strip down SSL docs; I'm not managing to get test programs working, so I'll just give a minimal description

16 years agotest_sundry performs minimal tests (a simple import...) on modules that are not teste...
Amaury Forgeot d'Arc [Mon, 28 Apr 2008 21:07:06 +0000 (21:07 +0000)]
test_sundry performs minimal tests (a simple import...) on modules that are not tested otherwise.

Some of them now have tests and can be removed.
Only 70 to go...

16 years agoFix markup.
Georg Brandl [Mon, 28 Apr 2008 05:16:30 +0000 (05:16 +0000)]
Fix markup.

16 years agoRename the test_traceback_print() function to traceback_print() to prevent
Brett Cannon [Mon, 28 Apr 2008 04:50:06 +0000 (04:50 +0000)]
Rename the test_traceback_print() function to traceback_print() to prevent
test_capi from automatically calling the function.

16 years agoGet rid of _test(), _main(), _debug() and _check(). Tests are no longer
Skip Montanaro [Mon, 28 Apr 2008 03:27:53 +0000 (03:27 +0000)]
Get rid of _test(), _main(), _debug() and _check().  Tests are no longer
needed (better set available in Lib/test/test_robotparser.py).  Clean up a
few PEP 8 nits (compound statements on a single line, whitespace around
operators).

16 years agoWrap some long lines.
Skip Montanaro [Mon, 28 Apr 2008 03:25:37 +0000 (03:25 +0000)]
Wrap some long lines.

16 years agoFix a bug introduced by the warnings rewrite where tracebacks were being
Brett Cannon [Mon, 28 Apr 2008 03:23:50 +0000 (03:23 +0000)]
Fix a bug introduced by the warnings rewrite where tracebacks were being
improperly indented.

Closes issue #2699.

16 years agoCorrect documentation to match implementation: "Class" instead of
Skip Montanaro [Mon, 28 Apr 2008 02:59:45 +0000 (02:59 +0000)]
Correct documentation to match implementation: "Class" instead of
"class_descriptor", "Function" instead of "function_descriptor".  Note
default path value for readmodule*.  Wrap some long paragraphs.  Don't
mention 'inpackage' which isn't part of the public API.

16 years agoMinor cleanups:
Skip Montanaro [Mon, 28 Apr 2008 02:57:23 +0000 (02:57 +0000)]
Minor cleanups:
* Avoid creating unused local variables where we can.  Where we can't prefix
  the unused variables with '_'.
* Avoid shadowing builtins where it won't change the external interface of a
  function.
* Use None as default path arg to readmodule and readmodule_ex.