]> granicus.if.org Git - python/log
python
22 years agoImport PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.
Martin v. Löwis [Tue, 19 Nov 2002 08:09:52 +0000 (08:09 +0000)]
Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.

22 years agoComment on PyNumber_Check().
Guido van Rossum [Mon, 18 Nov 2002 16:27:16 +0000 (16:27 +0000)]
Comment on PyNumber_Check().

22 years agoNote that PyNumber_Check() returns true for string and unicode objects.
Neil Schemenauer [Mon, 18 Nov 2002 16:19:39 +0000 (16:19 +0000)]
Note that PyNumber_Check() returns true for string and unicode objects.

22 years agoAdd __mod__ method to UserString.
Neil Schemenauer [Mon, 18 Nov 2002 16:12:54 +0000 (16:12 +0000)]
Add __mod__ method to UserString.

22 years agocheck for str.__mod__
Neil Schemenauer [Mon, 18 Nov 2002 16:12:11 +0000 (16:12 +0000)]
check for str.__mod__

22 years agocheck for unicode.__mod__
Neil Schemenauer [Mon, 18 Nov 2002 16:11:34 +0000 (16:11 +0000)]
check for unicode.__mod__

22 years agoAdd nb_remainder (i.e. __mod__) slot to unicode type. Fixes SF bug #615506.
Neil Schemenauer [Mon, 18 Nov 2002 16:10:18 +0000 (16:10 +0000)]
Add nb_remainder (i.e. __mod__) slot to unicode type.  Fixes SF bug #615506.

22 years agoAdd nb_remainder (i.e. __mod__) slot to str type. Fixes SF bug #615506.
Neil Schemenauer [Mon, 18 Nov 2002 16:09:38 +0000 (16:09 +0000)]
Add nb_remainder (i.e. __mod__) slot to str type.  Fixes SF bug #615506.

22 years agoImprove exception message raised by PyFloat_AsDouble if the object does not
Neil Schemenauer [Mon, 18 Nov 2002 16:06:21 +0000 (16:06 +0000)]
Improve exception message raised by PyFloat_AsDouble if the object does not
have a nb_float slot.  This matches what PyInt_AsLong does.

22 years agostr and unicode objects now have a __mod__ slot so don't special case them in
Neil Schemenauer [Mon, 18 Nov 2002 16:04:52 +0000 (16:04 +0000)]
str and unicode objects now have a __mod__ slot so don't special case them in
PyNumber_Remainder().  This fixes SF bug #615506 and allows string and unicode
subclasses to override __mod__.

22 years agoDon't use PyNumber_Float() since it's is nearly useless. Instead, rely on
Neil Schemenauer [Mon, 18 Nov 2002 16:02:29 +0000 (16:02 +0000)]
Don't use PyNumber_Float() since it's is nearly useless.  Instead, rely on
PyFloat_AsDouble to generate a good error message.

22 years agoAnother workaround, to find the IDE directory when we're in MacPython-OSX
Jack Jansen [Mon, 18 Nov 2002 15:29:02 +0000 (15:29 +0000)]
Another workaround, to find the IDE directory when we're in MacPython-OSX
on Jaguar.

Ceteram censeam W era packagendam esse.

22 years agoDefine PyDoc_STR if it isn't defined. This makes these modules compile
Jack Jansen [Mon, 18 Nov 2002 15:26:43 +0000 (15:26 +0000)]
Define PyDoc_STR if it isn't defined. This makes these modules compile
for Python 2.2.

22 years agoBuild waste, _Help and _Scrap too.
Jack Jansen [Mon, 18 Nov 2002 13:48:18 +0000 (13:48 +0000)]
Build waste, _Help and _Scrap too.

22 years agoImprove comments. Clarify docs.
Raymond Hettinger [Mon, 18 Nov 2002 09:01:24 +0000 (09:01 +0000)]
Improve comments.  Clarify docs.
Replace "type(0)" with "int".
Replace "while 1" with "while True"

22 years agoImprove DictMixin.
Raymond Hettinger [Mon, 18 Nov 2002 04:34:10 +0000 (04:34 +0000)]
Improve DictMixin.
Replaced docstring with comments.  Prevents subclass contamination.
Added the missing __cmp__() method and a test for __cmp__().
Used try/except style in preference to has_key() followed by a look-up.
Used iteritem() where possible to save creating a long key list and
   to save redundant lookups.
Expanded .update() to look for the most helpful methods first and gradually
   work down to a mininum expected interface.
Expanded documentation to be more clear on how to use the class.

22 years agoGuard against error if .netrc is missing.
Eric S. Raymond [Sun, 17 Nov 2002 17:53:12 +0000 (17:53 +0000)]
Guard against error if .netrc is missing.

22 years agoRemove _Py_ResetReferences. Fixes bug #529750 "Circular reference makes
Neil Schemenauer [Sun, 17 Nov 2002 17:52:44 +0000 (17:52 +0000)]
Remove _Py_ResetReferences.  Fixes bug #529750 "Circular reference makes
Py_Init crash".  refchain cannot be cleared because objects can live across
Py_Finalize() and Py_Initialize() if they are kept alive by circular
references.

22 years agocorrect typo detected by Lee Hansen
Skip Montanaro [Sun, 17 Nov 2002 11:09:50 +0000 (11:09 +0000)]
correct typo detected by Lee Hansen

22 years agoBetter note that str.zfill() was added in 2.2.2 as well. ;-(
Fred Drake [Sat, 16 Nov 2002 00:44:00 +0000 (00:44 +0000)]
Better note that str.zfill() was added in 2.2.2 as well.  ;-(

22 years agoDocument that a minor feature was added in 2.2.2. ;-(
Fred Drake [Sat, 16 Nov 2002 00:41:55 +0000 (00:41 +0000)]
Document that a minor feature was added in 2.2.2.  ;-(
Closes SF bug #639170.

22 years agoSF Patch #638825
Neal Norwitz [Fri, 15 Nov 2002 23:33:20 +0000 (23:33 +0000)]
SF Patch #638825

Fix pychecker warnings, port arg was unused (it was always the default)
Need a global statement for _listener

22 years agoSF Patch #638825 logging module
Neal Norwitz [Fri, 15 Nov 2002 23:31:28 +0000 (23:31 +0000)]
SF Patch #638825 logging module

Fix pychecker warnings, remove unused imports and rename root

22 years agoSF 639138, Ref. calendar module in time docs by John J Lee
Neal Norwitz [Fri, 15 Nov 2002 23:00:30 +0000 (23:00 +0000)]
SF 639138, Ref. calendar module in time docs by John J Lee

Will backport.

22 years agoMinor markup nits.
Fred Drake [Fri, 15 Nov 2002 20:34:52 +0000 (20:34 +0000)]
Minor markup nits.

22 years agoFix stupid typo.
Fred Drake [Fri, 15 Nov 2002 20:32:03 +0000 (20:32 +0000)]
Fix stupid typo.

22 years agoDocument the available command line flags for bdist_wininst, which are
Thomas Heller [Fri, 15 Nov 2002 20:13:26 +0000 (20:13 +0000)]
Document the available command line flags for bdist_wininst, which are
avaliable in the Python 2.2 branch.

I've left out some flags which are more thought for debugging, if
someone needs them, he can always look at the output of --help.

I'm sure Fred will make some adjustments, so I'll only mark this as a
2.2 bugfix candidate.

There are more options available in the current CVS bdist_wininst,
I will document them after this is in.

22 years agoCorrect typo: the option is 'formats' not 'format'.
Thomas Heller [Fri, 15 Nov 2002 19:20:56 +0000 (19:20 +0000)]
Correct typo: the option is 'formats' not 'format'.

22 years agoStyle guide reformats. I saw this test fail on a very heavily loaded
Tim Peters [Fri, 15 Nov 2002 19:08:50 +0000 (19:08 +0000)]
Style guide reformats.  I saw this test fail on a very heavily loaded
Win98SE box, but whatever the cause, it had scrolled off the DOS box.
(There was just the "test_queue failed" summary at the end of the
regrtest run.)

22 years agoSquash an enormous number of warnings reported when adding "use
Fred Drake [Fri, 15 Nov 2002 19:04:10 +0000 (19:04 +0000)]
Squash an enormous number of warnings reported when adding "use
warnings;" to this, and keep the "use" statement this time.

Fix an obscure bug that caused weird index entries to be generated in
a few cases, and a minor problem with horizontal alignmetn of the last
column of 5-column tables.

[I'd report a SF bug #, but I can't get to that right now.]

22 years agoFix critical markup errors.
Fred Drake [Fri, 15 Nov 2002 18:49:57 +0000 (18:49 +0000)]
Fix critical markup errors.

22 years agoRepaired typos in the Tcl/Tk compilation instructions. Turns out they
Tim Peters [Fri, 15 Nov 2002 18:36:11 +0000 (18:36 +0000)]
Repaired typos in the Tcl/Tk compilation instructions.  Turns out they
work on Win98SE too (yay!).

22 years agoMinor revisions to clarify the status of xreadlines(), change the way
Fred Drake [Fri, 15 Nov 2002 16:38:06 +0000 (16:38 +0000)]
Minor revisions to clarify the status of xreadlines(), change the way
iteration support was documented; the docs for __iter__() were just
confusing.

22 years agoFix minor nits
Andrew M. Kuchling [Fri, 15 Nov 2002 14:42:34 +0000 (14:42 +0000)]
Fix minor nits
Trim excess whitespace off one line

22 years agoMention that the MRO algorithm changes in 2.3
Andrew M. Kuchling [Fri, 15 Nov 2002 14:37:46 +0000 (14:37 +0000)]
Mention that the MRO algorithm changes in 2.3

22 years agoMention change in MRO
Andrew M. Kuchling [Fri, 15 Nov 2002 14:37:10 +0000 (14:37 +0000)]
Mention change in MRO

22 years agoAdd Optik news.
Guido van Rossum [Fri, 15 Nov 2002 13:19:58 +0000 (13:19 +0000)]
Add Optik news.

22 years agoSF patch #520382: Expand shelve.py to have a full dictionary interface
Raymond Hettinger [Fri, 15 Nov 2002 08:39:40 +0000 (08:39 +0000)]
SF patch #520382:  Expand shelve.py to have a full dictionary interface
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.

22 years agoExplain what to do in case of missing shared libraries. Remove mentioning
Martin v. Löwis [Fri, 15 Nov 2002 07:28:05 +0000 (07:28 +0000)]
Explain what to do in case of missing shared libraries. Remove mentioning
of egcs. Fixes #635929. Backported to 2.2.3.

22 years agoSF patch #520382: Expand shelve.py to have a full dictionary interface
Raymond Hettinger [Fri, 15 Nov 2002 06:46:14 +0000 (06:46 +0000)]
SF patch #520382:  Expand shelve.py to have a full dictionary interface
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.

22 years agoDraft a section on modifying Python's path. I'm not sure where
Andrew M. Kuchling [Fri, 15 Nov 2002 02:52:44 +0000 (02:52 +0000)]
Draft a section on modifying Python's path.  I'm not sure where
   this section fits best in inst.tex's organization; Fred or someone, feel
   free to move it.

22 years agoFirst stab at a Makefile that will create a MacPython that uses the
Jack Jansen [Fri, 15 Nov 2002 00:13:33 +0000 (00:13 +0000)]
First stab at a Makefile that will create a MacPython that uses the
Apple-installed Python 2.2 from /usr/bin as it's underlying engine.
All the MacPython stuff is installed into /Applications/MacPython-OSX,
and .pth files and other magic are used to tie everything together.

So far only the raw windowing interpreter and BuildApplet work.

22 years agoGo from filename to FSSpec via FSRefs, to work around outdated macfs module
Jack Jansen [Fri, 15 Nov 2002 00:08:29 +0000 (00:08 +0000)]
Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.

22 years agoMake the Resources directory if needed.
Jack Jansen [Fri, 15 Nov 2002 00:07:31 +0000 (00:07 +0000)]
Make the Resources directory if needed.

22 years agoPython 2.2 as installed by Apple has a version of _Res that is too old. We
Jack Jansen [Fri, 15 Nov 2002 00:06:52 +0000 (00:06 +0000)]
Python 2.2 as installed by Apple has a version of _Res that is too old. We
attempt to load an override version in this case.

22 years agoAdded a hack so we can build applets with a MacPython that uses the
Jack Jansen [Fri, 15 Nov 2002 00:05:47 +0000 (00:05 +0000)]
Added a hack so we can build applets with a MacPython that uses the
OSX 10.2 apple-supplied Python as its base: if we've copied a symlink
as the executable we remove it and install appletrunner in stead.

22 years agoA script to run applets. Originally by Just, slightly modified by me.
Jack Jansen [Fri, 15 Nov 2002 00:04:09 +0000 (00:04 +0000)]
A script to run applets. Originally by Just, slightly modified by me.

22 years agoAdd section on Optik
Andrew M. Kuchling [Thu, 14 Nov 2002 23:40:42 +0000 (23:40 +0000)]
Add section on Optik

22 years agoWindows blurb about new Tcl/Tk release shipped on Windows.
Tim Peters [Thu, 14 Nov 2002 23:31:58 +0000 (23:31 +0000)]
Windows blurb about new Tcl/Tk release shipped on Windows.

22 years agoWindows changes to move from Tcl/Tk 8.3.2 to 8.4.1. I tested this by
Tim Peters [Thu, 14 Nov 2002 23:24:40 +0000 (23:24 +0000)]
Windows changes to move from Tcl/Tk 8.3.2 to 8.4.1.  I tested this by
running IDLE, and since I'm not a Tcl Guy I'm not sure what else to do.
Up to you!  See XXX comments in PCbuild\readme.txt for cautions.

Also repaired typos in the new bz2-for-Windows instructions.

22 years agoRepaired illegal syntax most compilers probably let slide (but MSVC
Tim Peters [Thu, 14 Nov 2002 23:22:33 +0000 (23:22 +0000)]
Repaired illegal syntax most compilers probably let slide (but MSVC
treats as a fatal error).

22 years agoFinish up the logging section
Andrew M. Kuchling [Thu, 14 Nov 2002 23:07:57 +0000 (23:07 +0000)]
Finish up the logging section

22 years agoChecking in Greg Ward's Optik, as optparse.py. This is the most
Guido van Rossum [Thu, 14 Nov 2002 22:00:19 +0000 (22:00 +0000)]
Checking in Greg Ward's Optik, as optparse.py.  This is the most
recent version from Greg's CVS.  I've changed the module docstring,
added a copyright notice, and renamed OptikError to OptParseError.

Still to do are documentation and unit tests.

22 years agoFix or disable some tests that were affected by the new C3 MRO
Guido van Rossum [Thu, 14 Nov 2002 19:50:14 +0000 (19:50 +0000)]
Fix or disable some tests that were affected by the new C3 MRO
algorithm, and add some new tests for the C3 algorithm.

22 years agoUse the new C3 MRO algorithm, implemented by Samuele Pedroni (SF patch
Guido van Rossum [Thu, 14 Nov 2002 19:49:16 +0000 (19:49 +0000)]
Use the new C3 MRO algorithm, implemented by Samuele Pedroni (SF patch
619475; also closing SF bug 618704).  I tweaked his code a bit for
style.

This raises TypeError for MRO order disagreements, which is an
improvement (previously these went undetected) but also a degradation:
what if the order disagreement doesn't affect any method lookups?
I don't think I care.

22 years agoEnhancement for ModuleFinder, it can now handle _xmlplus aka PyXML.
Thomas Heller [Thu, 14 Nov 2002 18:45:11 +0000 (18:45 +0000)]
Enhancement for ModuleFinder, it can now handle _xmlplus aka PyXML.
Fixes SF # 637835.

22 years agoThis uses only one temp file at a time, so use test_support.TESTFN as
Tim Peters [Thu, 14 Nov 2002 16:23:29 +0000 (16:23 +0000)]
This uses only one temp file at a time, so use test_support.TESTFN as
the name instead of enduring nanny "security warnings" from
tempfile.mktemp().

22 years agoAdd partial section on the logging package; not finished yet.
Andrew M. Kuchling [Thu, 14 Nov 2002 14:14:16 +0000 (14:14 +0000)]
Add partial section on the logging package; not finished yet.

22 years agoFrom SF patch 638299 [by Vinaj]: fileConfig() now takes an optional
Guido van Rossum [Thu, 14 Nov 2002 12:52:17 +0000 (12:52 +0000)]
From SF patch 638299 [by Vinaj]: fileConfig() now takes an optional
defaults dictionary parameter which is passed to ConfigParser.

22 years agoFix SF # 638126, logging module not installed
Neal Norwitz [Thu, 14 Nov 2002 04:56:09 +0000 (04:56 +0000)]
Fix SF # 638126, logging module not installed

22 years agoadd liblogging
Skip Montanaro [Thu, 14 Nov 2002 03:58:20 +0000 (03:58 +0000)]
add liblogging

22 years agoinitial rough cut at documentation of logging module. This is basically
Skip Montanaro [Thu, 14 Nov 2002 03:57:19 +0000 (03:57 +0000)]
initial rough cut at documentation of logging module.  This is basically
just a conversion of pydoc.help(logging).

22 years agoUpdate the docstring to match the code. Will backport.
Neal Norwitz [Thu, 14 Nov 2002 03:31:32 +0000 (03:31 +0000)]
Update the docstring to match the code.  Will backport.

22 years agoSync tixwidgets from Mike Clarkson, a maintainer
Neal Norwitz [Thu, 14 Nov 2002 02:44:08 +0000 (02:44 +0000)]
Sync tixwidgets from Mike Clarkson, a maintainer

22 years agoSync Tix from Mike Clarkson, a maintainer
Neal Norwitz [Thu, 14 Nov 2002 02:43:40 +0000 (02:43 +0000)]
Sync Tix from Mike Clarkson, a maintainer

22 years agoRemove 'created by' lines; people can use CVS for this, and the information is often...
Andrew M. Kuchling [Thu, 14 Nov 2002 02:25:42 +0000 (02:25 +0000)]
Remove 'created by' lines; people can use CVS for this, and the information is often out of date

22 years agoFix typo in comment
Neal Norwitz [Thu, 14 Nov 2002 02:19:44 +0000 (02:19 +0000)]
Fix typo in comment

22 years agoFix docstring typo; remove 'created' line
Andrew M. Kuchling [Thu, 14 Nov 2002 01:58:48 +0000 (01:58 +0000)]
Fix docstring typo; remove 'created' line

22 years ago[Bug #550364] Use sysconfig.get_python_version()
Andrew M. Kuchling [Thu, 14 Nov 2002 01:44:35 +0000 (01:44 +0000)]
[Bug #550364] Use sysconfig.get_python_version()

22 years ago[Bug #550364] Add get_python_version()
Andrew M. Kuchling [Thu, 14 Nov 2002 01:43:00 +0000 (01:43 +0000)]
[Bug #550364] Add get_python_version()

22 years ago[Bug #599248] ext module generation problem
Andrew M. Kuchling [Thu, 14 Nov 2002 01:29:00 +0000 (01:29 +0000)]
[Bug #599248] ext module generation problem

If you have source files srcdir1/foo.c and srcdir2/foo.c, the
temporary .o for both files is written to build/temp.<platform>/foo.o.
This patch sets strip_dir to false for both calls to object_filename,
so now the object files are written to temp.<platform>/srcdir1/foo.o
and .../srcdir2/foo.o.

2.2 bugfix candidate

22 years agoMake nntplib aware of ~/.netrc credentials; now they get used if they are
Eric S. Raymond [Wed, 13 Nov 2002 23:05:35 +0000 (23:05 +0000)]
Make nntplib aware of ~/.netrc credentials; now they get used if they are
present and the caller has not specified a name/password pair.  This change
makes it less likely that a lazy coder will expose sensitive information in a
word-readable script.

Also, make the test a bit smarter.  If NNTPSERVER is defined in the environment
it will go talk to that server rather than look for a possibly nonexistent
local one named 'news'.  Maybe the osession initializer ought to look at
NNTPSERVER rather than requiring a host arg?  Must look around and see how
universal this convention is first.

22 years agoAdd some simple tests of the persistence hooks.
Jeremy Hylton [Wed, 13 Nov 2002 22:10:47 +0000 (22:10 +0000)]
Add some simple tests of the persistence hooks.

22 years agoRemove inst_persistent_id() WANNI (we ain't never needed it).
Jeremy Hylton [Wed, 13 Nov 2002 22:01:27 +0000 (22:01 +0000)]
Remove inst_persistent_id() WANNI (we ain't never needed it).
Add some simple tests of the persistence hooks.

22 years agoremove debugging print
Jeremy Hylton [Wed, 13 Nov 2002 22:00:02 +0000 (22:00 +0000)]
remove debugging print

22 years agoTim wins a bet. Don't use re.
Guido van Rossum [Wed, 13 Nov 2002 21:04:31 +0000 (21:04 +0000)]
Tim wins a bet.  Don't use re.

22 years agoAllow unknown keyword arguments to the Extension class, and warn about them.
Andrew M. Kuchling [Wed, 13 Nov 2002 20:54:21 +0000 (20:54 +0000)]
Allow unknown keyword arguments to the Extension class, and warn about them.

22 years agoAdd getstate and setstate implementation to concrete set classes.
Jeremy Hylton [Wed, 13 Nov 2002 19:34:26 +0000 (19:34 +0000)]
Add getstate and setstate implementation to concrete set classes.

22 years agoIntegrate updates to the GNU info conversion.
Fred Drake [Wed, 13 Nov 2002 19:31:04 +0000 (19:31 +0000)]
Integrate updates to the GNU info conversion.
This includes SF patch #590352 and additional support for more of the custom
markup.

22 years ago- Committing the modified signature lines I've been using for a long
Fred Drake [Wed, 13 Nov 2002 19:16:37 +0000 (19:16 +0000)]
- Committing the modified signature lines I've been using for a long
  time in http://www.python.org/dev/doc/.  There have been no bug
  reports on these for a long time now.
- Remove local "use" statement that duplicates a top-level "use".

22 years agoDocument struct_time and the field names.
Fred Drake [Wed, 13 Nov 2002 19:05:01 +0000 (19:05 +0000)]
Document struct_time and the field names.

22 years agoAdd \funcline, \funclineni, and \methodlineni to the list of functions
Fred Drake [Wed, 13 Nov 2002 17:55:17 +0000 (17:55 +0000)]
Add \funcline, \funclineni, and \methodlineni to the list of functions
that are processed before their arguments.
Closes SF bug #637807.

22 years agoFix broken markup.
Fred Drake [Wed, 13 Nov 2002 17:48:15 +0000 (17:48 +0000)]
Fix broken markup.
Closes SF bug #637807.

22 years agoRemove some test code.
Jeremy Hylton [Wed, 13 Nov 2002 17:30:32 +0000 (17:30 +0000)]
Remove some test code.

The buggy yahoo server was fixed, and the opalgroup test files are
gone.

22 years agoFix SF bug #637789: Handle Proxy-Connection header.
Jeremy Hylton [Wed, 13 Nov 2002 17:27:43 +0000 (17:27 +0000)]
Fix SF bug #637789: Handle Proxy-Connection header.

Also, remove unused local variable noted by pychecker.

22 years agoBack out part of rev. 1.53, restoring the use of the string module.
Andrew M. Kuchling [Wed, 13 Nov 2002 17:03:05 +0000 (17:03 +0000)]
Back out part of rev. 1.53, restoring the use of the string module.
The two long lines have been reflowed differently; hopefully someone on
BeOS can test them.  Rev. 1.53 also converted string.atoi() to int(); I've
left that alone.

22 years agoNews about the logging module.
Guido van Rossum [Wed, 13 Nov 2002 16:29:18 +0000 (16:29 +0000)]
News about the logging module.

22 years agoGet rid of #! lines, references to usage as __main__, README.txt, and
Guido van Rossum [Wed, 13 Nov 2002 16:18:29 +0000 (16:18 +0000)]
Get rid of #! lines, references to usage as __main__, README.txt, and
http://www.red-dove.com/python_logging.html.

22 years agoAdding Vinay Sajip's logging package.
Guido van Rossum [Wed, 13 Nov 2002 16:15:58 +0000 (16:15 +0000)]
Adding Vinay Sajip's logging package.

22 years agoTypo: it's --> its
Fred Drake [Wed, 13 Nov 2002 15:56:13 +0000 (15:56 +0000)]
Typo: it's --> its
Closes SF bug #637810.

22 years agoUpdate: Older versions of Python crashed when calling repr()
Fred Drake [Wed, 13 Nov 2002 15:32:34 +0000 (15:32 +0000)]
Update:  Older versions of Python crashed when calling repr()
(including the implied call using back-ticks) of a recursive object,
but this is no longer the case.
Reported by Manus Hand via email.

22 years agoImproved clarity and thoroughness of docstring.
Raymond Hettinger [Wed, 13 Nov 2002 15:26:37 +0000 (15:26 +0000)]
Improved clarity and thoroughness of docstring.
Added design notes in comments.
Used better variable names.
Eliminated the unsavory "pool[-k:]" which was an aspiring bug (for k==0).
Used if/else to show the two algorithms in parallel style.
Added one more test assertion.

22 years agoClarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
Fred Drake [Wed, 13 Nov 2002 15:13:38 +0000 (15:13 +0000)]
Clarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
add any package support structure even if a dotted-name is passed for
the module.
Closes SF bug #424106.

22 years agoNormalize whitespace.
Fred Drake [Wed, 13 Nov 2002 14:59:06 +0000 (14:59 +0000)]
Normalize whitespace.
Fix a number of markup consistency buglets.

22 years agoFix typo in comment.
Fred Drake [Wed, 13 Nov 2002 14:38:17 +0000 (14:38 +0000)]
Fix typo in comment.

22 years agoUpdate file
Andrew M. Kuchling [Wed, 13 Nov 2002 13:26:59 +0000 (13:26 +0000)]
Update file

22 years agoDocstring typo fix
Andrew M. Kuchling [Wed, 13 Nov 2002 13:25:46 +0000 (13:25 +0000)]
Docstring typo fix

22 years agoFill out the 'Porting' section
Andrew M. Kuchling [Wed, 13 Nov 2002 13:24:41 +0000 (13:24 +0000)]
Fill out the 'Porting' section
Add random.sample()

22 years agoThe libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice.
Martin v. Löwis [Wed, 13 Nov 2002 08:51:19 +0000 (08:51 +0000)]
The libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice.

22 years agoFix SF # 464405, freeze doesn't like DOS files on Linux
Neal Norwitz [Tue, 12 Nov 2002 23:21:15 +0000 (23:21 +0000)]
Fix SF # 464405, freeze doesn't like DOS files on Linux

Use universal newline support when opening a file for freezing.