]> granicus.if.org Git - python/log
python
24 years agoTidy up the ordering of include and library directories, putting
Andrew M. Kuchling [Sat, 17 Mar 2001 16:56:35 +0000 (16:56 +0000)]
Tidy up the ordering of include and library directories, putting
    /usr/local first and leaving /usr/include at the end.  This addresses
    the comments in bug #232609.

24 years agoSF bug [ #233200 ] cPickle does not use Py_BEGIN_ALLOW_THREADS.
Tim Peters [Sat, 17 Mar 2001 04:50:51 +0000 (04:50 +0000)]
SF bug [ #233200 ] cPickle does not use Py_BEGIN_ALLOW_THREADS.
http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470
Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets
Afraid I hit the "delete trailing whitespace key" too!  Only two "real" sections
of code changed here.

24 years agoDistutils version number has been changed from 1.0.1 to 1.0.2pre
Thomas Heller [Fri, 16 Mar 2001 21:00:18 +0000 (21:00 +0000)]
Distutils version number has been changed from 1.0.1 to 1.0.2pre
before this get forgotten again.
Should probably be set to 1.0.2 before final release of python 2.1

Does someone still release distutils separate from python?

24 years agoThe bdist_wininst.py command has been recreated after wininst.exe
Thomas Heller [Fri, 16 Mar 2001 20:57:37 +0000 (20:57 +0000)]
The bdist_wininst.py command has been recreated after wininst.exe
has been changed to include an uninstaller.
I forgot to mention in the uninstaller checkin that the logfile
name (used for uninstalling) has been changed from
<module>.log to <module>-wininst.log. This should prevent
conflicts with a distutils logfile serving the same purpose.

The short form of the --bdist-dir (-d) option has been removed
because it caused conflicts with the short form of the --dist-dir
option.

24 years agoAdd documentation for SGMLParser.handle_decl().
Fred Drake [Fri, 16 Mar 2001 20:39:41 +0000 (20:39 +0000)]
Add documentation for SGMLParser.handle_decl().

24 years agoChange RuntimeError to SGMLParseError, which subclasses RuntimeError
Fred Drake [Fri, 16 Mar 2001 20:04:57 +0000 (20:04 +0000)]
Change RuntimeError to SGMLParseError, which subclasses RuntimeError
for backward compatibility.

Add support for SGML declaration syntax (<!....>) to some reasonable
degree.  This does not support everything allowed in SGML, but should
work with "real" HTML (internal subset in a DOCTYPE is not handled).
The content of the declaration is passed to the .handle_decl() method,
which can be overridden by subclasses.

24 years agoFinally fill in the documentation for the PyDict_Next() function. It is
Fred Drake [Fri, 16 Mar 2001 15:41:29 +0000 (15:41 +0000)]
Finally fill in the documentation for the PyDict_Next() function.  It is
different enough to actually require an explanation.  ;-)

Fix a couple of PyDictObject* types that should be PyObject* types.

24 years agoInstall the Python DLL with execute priviledge set. This is required for
Neil Schemenauer [Fri, 16 Mar 2001 11:50:43 +0000 (11:50 +0000)]
Install the Python DLL with execute priviledge set.  This is required for
Cygwin Python to startup correctly when in ntsec mode.  Cygwin operating in
this mode is probably not the only system with this requirement.

24 years agoWhitespace normalization.
Tim Peters [Fri, 16 Mar 2001 08:29:48 +0000 (08:29 +0000)]
Whitespace normalization.

24 years agoFiles for second 2.1b1 distribution.
Jack Jansen [Thu, 15 Mar 2001 14:41:01 +0000 (14:41 +0000)]
Files for second 2.1b1 distribution.

24 years agoFindFolder argument is a short, not an unsigned short.
Jack Jansen [Thu, 15 Mar 2001 14:39:37 +0000 (14:39 +0000)]
FindFolder argument is a short, not an unsigned short.
Added kLocalDomain and friends.

24 years agoHandle the apple menu differently under Carbon.
Jack Jansen [Thu, 15 Mar 2001 14:39:03 +0000 (14:39 +0000)]
Handle the apple menu differently under Carbon.

24 years agoFindFolder argument is a short, not an unsigned short.
Jack Jansen [Thu, 15 Mar 2001 14:38:10 +0000 (14:38 +0000)]
FindFolder argument is a short, not an unsigned short.

24 years agoAdded QDFlushPortBuffer calls.
Jack Jansen [Thu, 15 Mar 2001 14:35:33 +0000 (14:35 +0000)]
Added QDFlushPortBuffer calls.

24 years agoImport kOnSystemDisk from MACFS
Jack Jansen [Thu, 15 Mar 2001 14:33:24 +0000 (14:33 +0000)]
Import kOnSystemDisk from MACFS

24 years agoLook for shared libraries first in kLocalDomain and then in kOnSystemDisk.
Jack Jansen [Thu, 15 Mar 2001 14:28:40 +0000 (14:28 +0000)]
Look for shared libraries first in kLocalDomain and then in kOnSystemDisk.
Don't do sys.prefix==os.getcwd() check unless we're an applet.

24 years agoFiles for second 2.1b1 distribution.
Jack Jansen [Thu, 15 Mar 2001 14:27:09 +0000 (14:27 +0000)]
Files for second 2.1b1 distribution.

24 years agoRemove redundant "__future__:" from module docstring.
Ka-Ping Yee [Thu, 15 Mar 2001 10:45:44 +0000 (10:45 +0000)]
Remove redundant "__future__:" from module docstring.

24 years agoImport the exceptions that this module can raise.
Fred Drake [Wed, 14 Mar 2001 22:43:47 +0000 (22:43 +0000)]
Import the exceptions that this module can raise.

24 years agoAdd doc string for run from profile.doc. (pydoc motivates me to write
Jeremy Hylton [Wed, 14 Mar 2001 20:01:19 +0000 (20:01 +0000)]
Add doc string for run from profile.doc.  (pydoc motivates me to write
good doc strings.)

Fix silly argument handling; was using *args but really wanted 1
optional arg.

XXX Should profile.doc be merged into the documentation and removed
from the Lib directory?

24 years agoMoved clearing of "literal" flag. The flag is set in setliteral which
Sjoerd Mullender [Wed, 14 Mar 2001 17:03:30 +0000 (17:03 +0000)]
Moved clearing of "literal" flag.  The flag is set in setliteral which
can be called from a start tag handler.  When the corresponding end
tag is read the flag is cleared.  However, it didn't get cleared when
the start tag was for an empty element of the type <tag .../>.  This
modification fixes the problem.

24 years agoChange "[%s]" % string.whitespace to r"\s" in regular expressions.
Fred Drake [Wed, 14 Mar 2001 16:18:56 +0000 (16:18 +0000)]
Change "[%s]" % string.whitespace to r"\s" in regular expressions.

24 years agoupdated __all__ to include several other names
Skip Montanaro [Tue, 13 Mar 2001 19:47:16 +0000 (19:47 +0000)]
updated __all__ to include several other names

24 years agoAdd some LaTeX magic so that Latin-1 characters do not get so badly
Fred Drake [Tue, 13 Mar 2001 17:56:08 +0000 (17:56 +0000)]
Add some LaTeX magic so that Latin-1 characters do not get so badly
trashed.

24 years agoPatch #407965: Improve Level 2 conformance of minidom
Martin v. Löwis [Tue, 13 Mar 2001 10:50:13 +0000 (10:50 +0000)]
Patch #407965: Improve Level 2 conformance of minidom
- addition of a DocumentFragment implementation and createDocumentFragment method
- proper setting of ownerDocument for all nodes
- setting of namespaceURI to None in Element as a class attribute
- addition of setAttributeNodeNS and removeAttributeNodeNS as aliases
  for setAttributeNode and removeAttributeNode
- support for inheriting from DOMImplementation to extend it with
  additional features (to override the Document class)
in pulldom:
- support for nodes (comment and PI) that occur before he document element;
  that became necessary as pulldom now delays creation of the document
  until it has the document element.

24 years agoOops. A RISCOS patch I forgot to check in.
Guido van Rossum [Tue, 13 Mar 2001 09:31:07 +0000 (09:31 +0000)]
Oops.  A RISCOS patch I forgot to check in.

24 years agoAdd test to verify that nested functions with free variables don't
Jeremy Hylton [Tue, 13 Mar 2001 02:01:12 +0000 (02:01 +0000)]
Add test to verify that nested functions with free variables don't
cause the free variables to leak.

24 years agoVariety of small INC/DECREF patches that fix reported memory leaks
Jeremy Hylton [Tue, 13 Mar 2001 01:58:22 +0000 (01:58 +0000)]
Variety of small INC/DECREF patches that fix reported memory leaks
with free variables.  Thanks to Martin v. Loewis for finding two of
the problems.  This fixes SF buf 405583.

There is also a C API change: PyFrame_New() is reverting to its
pre-2.1 signature.  The change introduced by nested scopes was a
mistake.  XXX Is this okay between beta releases?

cell_clear(), the GC helper, must decref its reference to break
cycles.

frame_dealloc() must dealloc all cell vars and free vars in addition
to locals.

eval_code2() setup code must INCREF cells it copies out of the
closure.

The STORE_DEREF opcode implementation must DECREF the object it passes
to PyCell_Set().

24 years agoPy_BuildValue(): Add "D" conversion to create a Python complex value from
Fred Drake [Mon, 12 Mar 2001 21:06:31 +0000 (21:06 +0000)]
Py_BuildValue():  Add "D" conversion to create a Python complex value from
    a Py_complex C value.

Patch by Walter Dörwald.
This closes SF patch #407148.

24 years agoPy_BuildValue(): Add "D" conversion to create a Python complex value from
Fred Drake [Mon, 12 Mar 2001 21:03:26 +0000 (21:03 +0000)]
Py_BuildValue():  Add "D" conversion to create a Python complex value from
    a Py_complex C value.

Patch by Walter Dörwald.
This partially closes SF patch #407148.

24 years agoMultifile.read(): Fix a broken conversion to string methods.
Fred Drake [Mon, 12 Mar 2001 02:56:15 +0000 (02:56 +0000)]
Multifile.read():  Fix a broken conversion to string methods.

This closes SF bug #407777.

24 years agoIdentifiers matching _[A-Z_]\w* are reserved for C implementations.
Tim Peters [Sun, 11 Mar 2001 18:36:13 +0000 (18:36 +0000)]
Identifiers matching _[A-Z_]\w* are reserved for C implementations.
May or may not be related to bug 407680 (obmalloc.c - looks like it's
corrupted).  This repairs the illegal vrbl names, but leaves a pile of
illegal macro names (_THIS_xxx, _SYSTEM_xxx, _SET_HOOKS, _FETCH_HOOKS).

24 years agoWhen 1.6 boosted the # of digits produced by repr(float), repr(complex)
Tim Peters [Sun, 11 Mar 2001 08:37:29 +0000 (08:37 +0000)]
When 1.6 boosted the # of digits produced by repr(float), repr(complex)
apparently forgot to play along.  Make complex act like float.

24 years agoWindows: Fallout from renaming the pydoc file.
Tim Peters [Sun, 11 Mar 2001 08:06:25 +0000 (08:06 +0000)]
Windows:  Fallout from renaming the pydoc file.

24 years agoSF bug Win32: pydoc command isn't executable.
Tim Peters [Sun, 11 Mar 2001 07:34:18 +0000 (07:34 +0000)]
SF bug Win32: pydoc command isn't executable.
As the bug report notes, the Windows installer creates a useless pydoc
file in the base directory.  Changed the installer to rename it pydoc.pyw
instead.

24 years agoMagic strings in both Python and the Wise installer define the registry key
Tim Peters [Sun, 11 Mar 2001 04:30:35 +0000 (04:30 +0000)]
Magic strings in both Python and the Wise installer define the registry key
to be used in Windows.  They got out of synch.  Repaired that, and added
comments to each one pointing at the other.

24 years agoMake sure we close the group and password databases when we are done with
Fred Drake [Sun, 11 Mar 2001 03:03:07 +0000 (03:03 +0000)]
Make sure we close the group and password databases when we are done with
them; this closes SF bug #407504.

24 years agoGet rid of hardcoded Python path (can't guess where the user installed
Tim Peters [Sat, 10 Mar 2001 21:48:24 +0000 (21:48 +0000)]
Get rid of hardcoded Python path (can't guess where the user installed
IDLE, and it likely changes across releases anyway).

24 years agoFix a further markup problem noted by FLD
Andrew M. Kuchling [Sat, 10 Mar 2001 16:49:07 +0000 (16:49 +0000)]
Fix a further markup problem noted by FLD

24 years agoChris Stern's BBEdit Python language module.
Jack Jansen [Sat, 10 Mar 2001 13:24:41 +0000 (13:24 +0000)]
Chris Stern's BBEdit Python language module.

24 years agoMake docstrings raw, since they contain literal backslashes.
Ka-Ping Yee [Sat, 10 Mar 2001 09:33:14 +0000 (09:33 +0000)]
Make docstrings raw, since they contain literal backslashes.

24 years agoFix findsource() to work for derived classes.
Ka-Ping Yee [Sat, 10 Mar 2001 09:31:55 +0000 (09:31 +0000)]
Fix findsource() to work for derived classes.

24 years agoImport the nested_scopes feature twice, to exercise the patch introduced
Fred Drake [Sat, 10 Mar 2001 02:18:47 +0000 (02:18 +0000)]
Import the nested_scopes feature twice, to exercise the patch introduced
to avoid segfaults when more than one feature is named in the future
statement.

This tests for regression of SF bug #407394.

24 years agoWhen iterating over the names imported in a future statement, ignore the
Fred Drake [Sat, 10 Mar 2001 02:15:37 +0000 (02:15 +0000)]
When iterating over the names imported in a future statement, ignore the
commas in the concrete syntax; checking those causes a segfault.

This fixes SF bug #407394.

24 years agoFinished implementation of removing incorrect preferences file.
Jack Jansen [Fri, 9 Mar 2001 23:15:27 +0000 (23:15 +0000)]
Finished implementation of removing incorrect preferences file.

24 years agoDefault waittime in the eventloop is now None. At low level it will then be set to...
Jack Jansen [Thu, 8 Mar 2001 23:10:37 +0000 (23:10 +0000)]
Default waittime in the eventloop is now None. At low level it will then be set to GetCaretTime().

24 years agoHandle the ReopenApplication event (by ignoring it).
Jack Jansen [Thu, 8 Mar 2001 23:09:32 +0000 (23:09 +0000)]
Handle the ReopenApplication event (by ignoring it).

24 years agoDetect that the preference file may be incorrect, and offer to remove it. This isn...
Jack Jansen [Thu, 8 Mar 2001 23:07:57 +0000 (23:07 +0000)]
Detect that the preference file may be incorrect, and offer to remove it. This isn't finished yet.

24 years agoStarted on relnotes for the next beta.
Jack Jansen [Thu, 8 Mar 2001 23:07:16 +0000 (23:07 +0000)]
Started on relnotes for the next beta.

24 years agoRe-order some method descriptions for a more logical grouping.
Fred Drake [Thu, 8 Mar 2001 22:46:41 +0000 (22:46 +0000)]
Re-order some method descriptions for a more logical grouping.
(Based on reader comment!)

24 years agoAdd more font flavors for <var> elements; the previous incarnation caused
Fred Drake [Thu, 8 Mar 2001 22:17:54 +0000 (22:17 +0000)]
Add more font flavors for <var> elements; the previous incarnation caused
some NT/IE5.5 users to see only boxes for these characters.  This might be
specific to NT Service Pack 6.

24 years agoAdded a warning message about the delay after installation. Untested.
Jack Jansen [Thu, 8 Mar 2001 21:18:54 +0000 (21:18 +0000)]
Added a warning message about the delay after installation. Untested.

24 years agoDefine sunmath prototypes if sunmath.h was not included.
Martin v. Löwis [Wed, 7 Mar 2001 10:22:20 +0000 (10:22 +0000)]
Define sunmath prototypes if sunmath.h was not included.

24 years agoReplace setenv with putenv. Reported by Dietmar Schwertberger.
Martin v. Löwis [Wed, 7 Mar 2001 09:08:11 +0000 (09:08 +0000)]
Replace setenv with putenv. Reported by Dietmar Schwertberger.

24 years agoUnify _Environ processing on riscos with other platforms.
Martin v. Löwis [Wed, 7 Mar 2001 09:05:45 +0000 (09:05 +0000)]
Unify _Environ processing on riscos with other platforms.

24 years agoFiles for 2.1b1 distribution.
Jack Jansen [Tue, 6 Mar 2001 22:51:42 +0000 (22:51 +0000)]
Files for 2.1b1 distribution.

24 years agoPythonInterpreterClassic and PythonInterpreterCarbon now have filetype "Atmp". The...
Jack Jansen [Tue, 6 Mar 2001 22:51:00 +0000 (22:51 +0000)]
PythonInterpreterClassic and PythonInterpreterCarbon now have filetype "Atmp". The ConfigurePythonXXX scripts will set this to APPL when copying either of those to PythonInterpreter.

24 years agomacostools.copy() now has an optional forcetype flag, which sets the filetype. This...
Jack Jansen [Tue, 6 Mar 2001 22:46:25 +0000 (22:46 +0000)]
macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).

24 years agoStarted on plst resource. Not enabled yet.
Jack Jansen [Tue, 6 Mar 2001 22:45:29 +0000 (22:45 +0000)]
Started on plst resource. Not enabled yet.

24 years agoRe-try the file copy once if it fails. This works around an obscure and non-reproduci...
Jack Jansen [Tue, 6 Mar 2001 22:43:06 +0000 (22:43 +0000)]
Re-try the file copy once if it fails. This works around an obscure and non-reproducibe bug in GUSI.

24 years agoFiles for 2.1b1 distribution.
Jack Jansen [Tue, 6 Mar 2001 22:42:12 +0000 (22:42 +0000)]
Files for 2.1b1 distribution.

24 years agofix typo in extending __all__ for riscos platform - closes bug 406296
Skip Montanaro [Tue, 6 Mar 2001 15:26:07 +0000 (15:26 +0000)]
fix typo in extending __all__ for riscos platform - closes bug 406296

24 years agoAvoid giving prototypes on Solaris.
Martin v. Löwis [Tue, 6 Mar 2001 12:14:54 +0000 (12:14 +0000)]
Avoid giving prototypes on Solaris.

24 years agoDocument SIG_* warning causes on Solaris.
Martin v. Löwis [Tue, 6 Mar 2001 12:13:56 +0000 (12:13 +0000)]
Document SIG_* warning causes on Solaris.

24 years agoUse Py_CHARMASK for ctype macros. Fixes bug #232787.
Martin v. Löwis [Tue, 6 Mar 2001 12:12:02 +0000 (12:12 +0000)]
Use Py_CHARMASK for ctype macros. Fixes bug #232787.

24 years agoRegenerate.
Martin v. Löwis [Tue, 6 Mar 2001 12:10:20 +0000 (12:10 +0000)]
Regenerate.

24 years agoDefine __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787.
Martin v. Löwis [Tue, 6 Mar 2001 12:09:07 +0000 (12:09 +0000)]
Define __EXTENSIONS__ on Solaris. Fixes posixmodule error in bug #232787.

24 years agoDocument that _REENTRANT is not needed explicitly.
Martin v. Löwis [Tue, 6 Mar 2001 12:07:27 +0000 (12:07 +0000)]
Document that _REENTRANT is not needed explicitly.

24 years agoDo not refer to "sub-modules" since that is not a defined term.
Fred Drake [Tue, 6 Mar 2001 07:34:00 +0000 (07:34 +0000)]
Do not refer to "sub-modules" since that is not a defined term.

24 years agoRe-word the explanation of the in/not in operators for increased content
Fred Drake [Tue, 6 Mar 2001 07:32:11 +0000 (07:32 +0000)]
Re-word the explanation of the in/not in operators for increased content
and clarity.

Add a footnote to the information on the possibility of shadowing builtins
with locals & module globals.

24 years agoTurn "Python Documentation Central" into just "Documentation Central"; some
Fred Drake [Tue, 6 Mar 2001 07:28:20 +0000 (07:28 +0000)]
Turn "Python Documentation Central" into just "Documentation Central"; some
Web browsers tried to wrap lines in bad ways, so we avoid the problem by
putting fewer words on the page.

24 years agoMake sure the README files that contain page count information land in
Fred Drake [Tue, 6 Mar 2001 07:22:16 +0000 (07:22 +0000)]
Make sure the README files that contain page count information land in
the right directory (which actually exists).

24 years agoCorrect typos in Ping's email address.
Fred Drake [Tue, 6 Mar 2001 07:19:34 +0000 (07:19 +0000)]
Correct typos in Ping's email address.

Remove premature use of negative indexes in string operation examples;
negative indexes have not been explained at that point, and the use of
negative indexes are not necessary for the examples.

24 years agoUpdate documentation to reflect the shift to NetrcParseError instead of
Fred Drake [Tue, 6 Mar 2001 06:55:18 +0000 (06:55 +0000)]
Update documentation to reflect the shift to NetrcParseError instead of
SyntaxError.

24 years agoDefine & use NetrcParseError instead of improperly overloading SyntaxError.
Fred Drake [Tue, 6 Mar 2001 06:33:08 +0000 (06:33 +0000)]
Define & use NetrcParseError instead of improperly overloading SyntaxError.
Always has the lineno and filename of the source text.

24 years agoAdd some spaces around the "=" in assignments.
Fred Drake [Tue, 6 Mar 2001 06:31:15 +0000 (06:31 +0000)]
Add some spaces around the "=" in assignments.

24 years agoMove all knowledge that $(MAINOBJ) is built in the Modules/ directory
Fred Drake [Tue, 6 Mar 2001 05:52:16 +0000 (05:52 +0000)]
Move all knowledge that $(MAINOBJ) is built in the Modules/ directory
into Makefile.pre.in; the configure script will only determine the basename
of the file.

This fixes installation of a Python built using C++, reported by Greg
Wilson.

24 years agoTesting commit with a single blank line.
Jack Jansen [Mon, 5 Mar 2001 15:44:55 +0000 (15:44 +0000)]
Testing commit with a single blank line.

24 years agoGrr, splittag was also missing from __all__.
Jack Jansen [Mon, 5 Mar 2001 13:45:38 +0000 (13:45 +0000)]
Grr, splittag was also missing from __all__.

24 years agoAdded url2pathname and pathname2url to __all__.
Jack Jansen [Mon, 5 Mar 2001 13:41:14 +0000 (13:41 +0000)]
Added url2pathname and pathname2url to __all__.

24 years agoAdd Python/ prefix to files in LIBOBJS. This closes SF bug "[ #404827 ] Python
Neil Schemenauer [Sun, 4 Mar 2001 06:39:33 +0000 (06:39 +0000)]
Add Python/ prefix to files in LIBOBJS.  This closes SF bug "[ #404827 ] Python
Makefile: LIBOBJS incorrect".

24 years agoClean up junk files left behind by imp.load_source().
Tim Peters [Sun, 4 Mar 2001 00:30:25 +0000 (00:30 +0000)]
Clean up junk files left behind by imp.load_source().

24 years agoRemove debugging "set -x".
Fred Drake [Sat, 3 Mar 2001 19:57:26 +0000 (19:57 +0000)]
Remove debugging "set -x".

24 years agoFix a few minor markup nits.
Fred Drake [Sat, 3 Mar 2001 19:47:24 +0000 (19:47 +0000)]
Fix a few minor markup nits.

24 years agoBe a bit more strict in setting up the export of the C API for this
Fred Drake [Sat, 3 Mar 2001 19:41:55 +0000 (19:41 +0000)]
Be a bit more strict in setting up the export of the C API for this
module; do not attempt to insert the API object into the module dict
if there was an error creating it.

24 years agoRene Liebscher <R.Liebscher@gmx.de>:
Fred Drake [Sat, 3 Mar 2001 19:18:01 +0000 (19:18 +0000)]
Rene Liebscher <R.Liebscher@gmx.de>:
Added information on using non-Microsoft compilers on Windows.

[Minor edits for markup consistency. --FLD]

24 years agoWrap several more of the constants in #ifdef/#endif for FreeBSD; at least
Fred Drake [Sat, 3 Mar 2001 18:08:52 +0000 (18:08 +0000)]
Wrap several more of the constants in #ifdef/#endif for FreeBSD; at least
some fairly recent versions have an anaemic selection of terminal-control
symbols.

This closes SF bug #405567.

24 years agoAdded `memtest' target which excludes the quicktest modules plus
Barry Warsaw [Sat, 3 Mar 2001 04:14:21 +0000 (04:14 +0000)]
Added `memtest' target which excludes the quicktest modules plus
test_dl, test___all__, test_fork1, and test_longexp.  All these either
take way too long with Insure or crash it.

24 years agoDiscuss PEP 236.
Andrew M. Kuchling [Sat, 3 Mar 2001 03:25:04 +0000 (03:25 +0000)]
Discuss PEP 236.
Update nested scope section.

24 years agoUse r""" instead of """ for the docstring so that backslashes are preserved.
Ka-Ping Yee [Fri, 2 Mar 2001 23:31:43 +0000 (23:31 +0000)]
Use r""" instead of """ for the docstring so that backslashes are preserved.

24 years agoUpdate estimate bug and patch counts
Andrew M. Kuchling [Fri, 2 Mar 2001 21:19:38 +0000 (21:19 +0000)]
Update estimate bug and patch counts

24 years agoRevise the scripts I use to update the documentation on the SourceForge
Fred Drake [Fri, 2 Mar 2001 21:05:58 +0000 (21:05 +0000)]
Revise the scripts I use to update the documentation on the SourceForge
site.  These now seem (slightly) more reliable, and easier to work with
since update-docs.sh no longer needs to be installed ahead of time on
my account at SF.

24 years agoLots of organizational changes for consistency with the rest of the
Fred Drake [Fri, 2 Mar 2001 20:39:34 +0000 (20:39 +0000)]
Lots of organizational changes for consistency with the rest of the
documentation.

Fix a few small markup nits.

24 years agoThis commit was manufactured by cvs2svn to create tag 'r21b1'. v2.1b1
cvs2svn [Fri, 2 Mar 2001 19:48:06 +0000 (19:48 +0000)]
This commit was manufactured by cvs2svn to create tag 'r21b1'.

24 years agoThere was a real leak in the "export a C API" example; fix that one.
Fred Drake [Fri, 2 Mar 2001 19:48:06 +0000 (19:48 +0000)]
There was a real leak in the "export a C API" example; fix that one.
(There are too many initspam() functions; they need to be renamed
post-beta.)

24 years agoLabel classes and exceptions explicitly in the documentation (for their
Fred Drake [Fri, 2 Mar 2001 18:57:05 +0000 (18:57 +0000)]
Label classes and exceptions explicitly in the documentation (for their
*desc environments).

24 years agoThere is no longer a -X option to the interpreter, so remove the comments
Fred Drake [Fri, 2 Mar 2001 18:15:11 +0000 (18:15 +0000)]
There is no longer a -X option to the interpreter, so remove the comments
on how PyErr_NewException() behaves in that case.

Clarify why an owned reference is kept in an extension module's
variable that refers to the result of PyErr_NewException(); one reader
thought that was a leak.

Clean up some tabs and simplify some markup.

24 years agoAdded -o/--output-file option as per GNU msgfmt to specify the output
Barry Warsaw [Fri, 2 Mar 2001 16:53:54 +0000 (16:53 +0000)]
Added -o/--output-file option as per GNU msgfmt to specify the output
file instead of using inputfilename.mo

24 years agoFor copyfile(), be explicit that src and dst are file names; that was only
Fred Drake [Fri, 2 Mar 2001 16:46:42 +0000 (16:46 +0000)]
For copyfile(), be explicit that src and dst are file names; that was only
implied.

24 years agoEnable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly correct:...
Jack Jansen [Fri, 2 Mar 2001 16:32:03 +0000 (16:32 +0000)]
Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly correct: OS9 InterfaceLib has it, but enabling it will make Python refuse to run on 8.6 and earlier.