]> granicus.if.org Git - python/log
python
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.

24 years agoJob.build_html(): When formatting HTML into more than one HTML page, and
Fred Drake [Fri, 2 Mar 2001 16:26:45 +0000 (16:26 +0000)]
Job.build_html():  When formatting HTML into more than one HTML page, and
    not doing the \label{foo} --> foo.html transformation (--numeric was
    specified on the command line), still look to see if there is an
    "About this document..." node and copy that to "about.html", since the
    page footers use that as the target.

24 years agoAdd some more info about pydoc. (Can you see I'm excited?)
Guido van Rossum [Fri, 2 Mar 2001 14:05:59 +0000 (14:05 +0000)]
Add some more info about pydoc.  (Can you see I'm excited?)

24 years agoAdd big news item about nested scopes, __future__, and compile-time
Guido van Rossum [Fri, 2 Mar 2001 14:00:32 +0000 (14:00 +0000)]
Add big news item about nested scopes, __future__, and compile-time
warnings.

24 years agoItamar S.T.
Guido van Rossum [Fri, 2 Mar 2001 13:37:42 +0000 (13:37 +0000)]
Itamar S.T.

24 years agoPatch by Itamar S.T. (SF#305470): add reset() method.
Guido van Rossum [Fri, 2 Mar 2001 13:35:37 +0000 (13:35 +0000)]
Patch by Itamar S.T. (SF#305470): add reset() method.

24 years agoWhen not copying a file because the output is up to date, make the message
Fred Drake [Fri, 2 Mar 2001 07:28:03 +0000 (07:28 +0000)]
When not copying a file because the output is up to date, make the message
slightly more brief, and more like the message that an extension will not
be built because the built copy is up to date.

24 years agoExtra fix from bbum (SF #402357) for his previous patch:
Guido van Rossum [Fri, 2 Mar 2001 07:09:54 +0000 (07:09 +0000)]
Extra fix from bbum (SF #402357) for his previous patch:

  It should use the normal CC referenced compiler as ObjC is integrated
  directly into gcc and enabled through the use of the -ObjC flag.

24 years agoFix by Donn Cave for BeOS (SF #403642):
Guido van Rossum [Fri, 2 Mar 2001 07:04:51 +0000 (07:04 +0000)]
Fix by Donn Cave for BeOS (SF #403642):

  UNIX style fork/execve/wait are not fully compatible with thread
  support on BeOS.  For Python, that means neither fork() from import
  nor import from a fork work reliably. os._execvpe() does the latter,
  importing tempfile to set up a tantalizing target for hackers. This
  patch replaces both the tempfile name generation and the exec that
  uses it, in case we're on BeOS. Need this for
  setup:distutils:execvp(); symptoms are random crashes and internal
  BeOS error messages about th name, in case we're on BeOS. It's an
  issue because setup.py + distutils calls os.execvp(); symptoms are
  random crashes during setup.py, and internal BeOS error messages
  about thread IDs.

24 years agoFix typo in RISCOS patch inside MS #ifdef. (Probably my own fingers.)
Guido van Rossum [Fri, 2 Mar 2001 06:53:29 +0000 (06:53 +0000)]
Fix typo in RISCOS patch inside MS #ifdef.  (Probably my own fingers.)

24 years agoAdd more protection around the VSWTC/VSWTCH, CRTSCTS, and XTABS symbols;
Fred Drake [Fri, 2 Mar 2001 06:50:58 +0000 (06:50 +0000)]
Add more protection around the VSWTC/VSWTCH, CRTSCTS, and XTABS symbols;
these can be missing on some (all?) Irix and Tru64 versions.

Protect the CRTSCTS value with a cast; this can be a larger value on
Solaris/SPARC.

This should fix SF tracker items #405092, #405350, and #405355.

24 years agoROSCOS change.
Guido van Rossum [Fri, 2 Mar 2001 06:49:50 +0000 (06:49 +0000)]
ROSCOS change.

24 years agoDietmar Schwertberger; shuffled a bunch of Sch* names in alphabetical
Guido van Rossum [Fri, 2 Mar 2001 06:48:06 +0000 (06:48 +0000)]
Dietmar Schwertberger; shuffled a bunch of Sch* names in alphabetical
order.

24 years agoRISCOS changes by dschwertberger.
Guido van Rossum [Fri, 2 Mar 2001 06:43:49 +0000 (06:43 +0000)]
RISCOS changes by dschwertberger.

24 years agoUse != instead of <>. Sorry, Barry.
Guido van Rossum [Fri, 2 Mar 2001 06:42:34 +0000 (06:42 +0000)]
Use != instead of <>.  Sorry, Barry.

24 years agoRISCOS changes by dschwertberger.
Guido van Rossum [Fri, 2 Mar 2001 06:34:14 +0000 (06:34 +0000)]
RISCOS changes by dschwertberger.

24 years agoRISCOS changes by dschwertberger
Guido van Rossum [Fri, 2 Mar 2001 06:28:17 +0000 (06:28 +0000)]
RISCOS changes by dschwertberger

24 years agoDisable the dl module
Andrew M. Kuchling [Fri, 2 Mar 2001 06:24:14 +0000 (06:24 +0000)]
Disable the dl module

24 years agoRISCOS changes by dschwertberger.
Guido van Rossum [Fri, 2 Mar 2001 06:18:03 +0000 (06:18 +0000)]
RISCOS changes by dschwertberger.

24 years agoRISCOS patch by dschwertberger
Guido van Rossum [Fri, 2 Mar 2001 06:10:17 +0000 (06:10 +0000)]
RISCOS patch by dschwertberger

24 years agoUse '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'.
Ka-Ping Yee [Fri, 2 Mar 2001 05:58:17 +0000 (05:58 +0000)]
Use '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'.

24 years agoRISCOS files by dschwertberger
Guido van Rossum [Fri, 2 Mar 2001 05:58:11 +0000 (05:58 +0000)]
RISCOS files by dschwertberger

24 years agoThe sys.platform identifier for Windows is just 'win32' (for all varieties).
Ka-Ping Yee [Fri, 2 Mar 2001 05:54:35 +0000 (05:54 +0000)]
The sys.platform identifier for Windows is just 'win32' (for all varieties).

24 years agoSearch /tmp before /var/tmp and /usr/tmp -- this seems preferred.
Guido van Rossum [Fri, 2 Mar 2001 05:51:16 +0000 (05:51 +0000)]
Search /tmp before /var/tmp and /usr/tmp -- this seems preferred.
SF patch #404564, Gregor Hoffleit.

24 years agoMake getsourcefile() succeed even if the filename doesn't end in '.py' --
Ka-Ping Yee [Fri, 2 Mar 2001 05:50:34 +0000 (05:50 +0000)]
Make getsourcefile() succeed even if the filename doesn't end in '.py' --
    as long as the filename also doesn't end in a suffix that indicates
    a binary file (according to the flags in imp.get_suffixes()).

Shrink try...except clauses and replace some of them with explicit checks.

24 years agoReplace literal '@test' with TESTFN.
Ka-Ping Yee [Fri, 2 Mar 2001 05:48:10 +0000 (05:48 +0000)]
Replace literal '@test' with TESTFN.

24 years agoWhen catching errors from os.rmdir(), test for os.error, not IOError!
Guido van Rossum [Fri, 2 Mar 2001 05:46:17 +0000 (05:46 +0000)]
When catching errors from os.rmdir(), test for os.error, not IOError!

24 years agoAdd a new item to the Python 2.1 start menu: "Module Docs".
Guido van Rossum [Fri, 2 Mar 2001 04:59:38 +0000 (04:59 +0000)]
Add a new item to the Python 2.1 start menu: "Module Docs".
This brings up Ping's pydoc server.

(XXX The icons for this and for IDLE seem screwed.  Oh well.)

24 years agoBelieve it or not, but "more" on Windows requires "more <file" rather
Guido van Rossum [Fri, 2 Mar 2001 04:27:08 +0000 (04:27 +0000)]
Believe it or not, but "more" on Windows requires "more <file" rather
than "more file".  Since tempfilepager() is only used on Windows, it
seems, do this unconditionally -- on Unix, it always invokes something
else.

24 years agoRefactored the warning-issuing code more.
Guido van Rossum [Fri, 2 Mar 2001 03:30:41 +0000 (03:30 +0000)]
Refactored the warning-issuing code more.

Made sure that the warnings issued by symtable_check_unoptimized()
(about import * and exec) contain the proper filename and line number,
and are transformed into SyntaxError exceptions with -Werror.

24 years agoThanks to Steven Majewski, finally putting MacOS X imports to bed for 2.1b1.
Tim Peters [Fri, 2 Mar 2001 03:28:03 +0000 (03:28 +0000)]
Thanks to Steven Majewski, finally putting MacOS X imports to bed for 2.1b1.

24 years agoTypo repair.
Tim Peters [Fri, 2 Mar 2001 03:11:53 +0000 (03:11 +0000)]
Typo repair.

24 years agoAdded William Tanksley.
Tim Peters [Fri, 2 Mar 2001 02:54:27 +0000 (02:54 +0000)]
Added William Tanksley.

24 years agoMake names in __future__.py bind to class instances instead of 2-tuples.
Tim Peters [Fri, 2 Mar 2001 02:53:08 +0000 (02:53 +0000)]
Make names in __future__.py bind to class instances instead of 2-tuples.
Suggested on c.l.py by William Tanksley, and I like it.

24 years agoClean up the handling of getsourcefile/getabsfile.
Ka-Ping Yee [Fri, 2 Mar 2001 02:45:08 +0000 (02:45 +0000)]
Clean up the handling of getsourcefile/getabsfile.
Remove __main__ from the index of built-in modules.
Miscellaneous compatibility fixes.

24 years agoClarify the purpose of getsourcefile().
Ka-Ping Yee [Fri, 2 Mar 2001 02:08:53 +0000 (02:08 +0000)]
Clarify the purpose of getsourcefile().
Add getabsfile() for getting a most-normalized path.

24 years agoClarify synopsis line a bit.
Ka-Ping Yee [Fri, 2 Mar 2001 02:01:40 +0000 (02:01 +0000)]
Clarify synopsis line a bit.
Remove -no-about-splash option (not understood by all Netscapes).

24 years agotest_global was broken by some recent checkin. Repairing.
Tim Peters [Fri, 2 Mar 2001 01:48:16 +0000 (01:48 +0000)]
test_global was broken by some recent checkin.  Repairing.

24 years agoWhen seeking the module for an object, compare absolute (not relative) paths.
Ka-Ping Yee [Fri, 2 Mar 2001 01:19:39 +0000 (01:19 +0000)]
When seeking the module for an object, compare absolute (not relative) paths.

24 years agoUse imp.get_suffixes to determine a module name in modulename(file).
Ka-Ping Yee [Fri, 2 Mar 2001 01:19:14 +0000 (01:19 +0000)]
Use imp.get_suffixes to determine a module name in modulename(file).
When possible, display strings containing backslashes using r'' notation.

24 years ago- Numeric now lives in Lib:site-python.
Jack Jansen [Thu, 1 Mar 2001 23:19:05 +0000 (23:19 +0000)]
- Numeric now lives in Lib:site-python.
- Imaging and Numeric are now also available under Carbon.
- Started working on the active installer.

24 years ago- Numeric now lives in Lib:site-python.
Jack Jansen [Thu, 1 Mar 2001 23:18:31 +0000 (23:18 +0000)]
- Numeric now lives in Lib:site-python.
- Imaging and Numeric are now also available under Carbon.

24 years agoRemoved some stuff that shouldn't be in the dev distribution.
Jack Jansen [Thu, 1 Mar 2001 23:17:43 +0000 (23:17 +0000)]
Removed some stuff that shouldn't be in the dev distribution.

24 years agoRemoved Extensions:Numeric from sys.path. It now lives in Lib:site-python.
Jack Jansen [Thu, 1 Mar 2001 23:16:51 +0000 (23:16 +0000)]
Removed Extensions:Numeric from sys.path. It now lives in Lib:site-python.

24 years agoSilly typo which caused the stack browser to crash.
Jack Jansen [Thu, 1 Mar 2001 23:15:54 +0000 (23:15 +0000)]
Silly typo which caused the stack browser to crash.

24 years agoAlso build Imaging for Carbon.
Jack Jansen [Thu, 1 Mar 2001 23:15:01 +0000 (23:15 +0000)]
Also build Imaging for Carbon.

24 years agoUseful future statement support for the interactive interpreter
Jeremy Hylton [Thu, 1 Mar 2001 22:59:14 +0000 (22:59 +0000)]
Useful future statement support for the interactive interpreter

(Also remove warning about module-level global decl, because we can't
distinguish from code passed to exec.)

Define PyCompilerFlags type contains a single element,
cf_nested_scopes, that is true if a nested scopes future statement has
been entered at the interactive prompt.

New API functions:
    PyNode_CompileFlags()
    PyRun_InteractiveOneFlags()
    -- same as their non Flags counterparts except that the take an
       optional PyCompilerFlags pointer

compile.c: In jcompile() use PyCompilerFlags argument.  If
    cf_nested_scopes is true, compile code with nested scopes.  If it
    is false, but the code has a valid future nested scopes statement,
    set it to true.

pythonrun.c: Create a new PyCompilerFlags object in
    PyRun_InteractiveLoop() and thread it through to
    PyRun_InteractiveOneFlags().

24 years agoPut current date into POT-Creation-Date; leave PO-Revision-Date for
Martin v. Löwis [Thu, 1 Mar 2001 22:56:17 +0000 (22:56 +0000)]
Put current date into POT-Creation-Date; leave PO-Revision-Date for
for the translator to update; that is compatible with xgettext 0.10.35.

24 years agoThank Jason Tishler and Steven Majewski for their help in the Cygwin and
Tim Peters [Thu, 1 Mar 2001 22:19:38 +0000 (22:19 +0000)]
Thank Jason Tishler and Steven Majewski for their help in the Cygwin and
MacOS X ports.  Change section header to beta 1.

24 years agoSolaris defines VSWTCH instead of VSWTC; carefully make sure both are
Fred Drake [Thu, 1 Mar 2001 21:54:49 +0000 (21:54 +0000)]
Solaris defines VSWTCH instead of VSWTC; carefully make sure both are
defined and export both names.

Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT
(which is defined there) is the same thing, so we only protect against
the lack of CBAUDEX.

Reported by Greg V. Wilson.

24 years agoWrap some long lines, use only C89 /* */ comments, and add spaces around
Fred Drake [Thu, 1 Mar 2001 20:48:17 +0000 (20:48 +0000)]
Wrap some long lines, use only C89 /* */ comments, and add spaces around
some operators (style guide conformance).