Fred Drake
0c8f6643c6
Remove debugging "set -x".
2001-03-03 19:57:26 +00:00
Fred Drake
42119e49a9
Fix a few minor markup nits.
2001-03-03 19:47:24 +00:00
Fred Drake
f585bef504
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.
2001-03-03 19:41:55 +00:00
Fred Drake
6be838a0c0
Rene Liebscher <R.Liebscher@gmx.de>:
...
Added information on using non-Microsoft compilers on Windows.
[Minor edits for markup consistency. --FLD]
2001-03-03 19:18:01 +00:00
Fred Drake
d85556c663
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 .
2001-03-03 18:08:52 +00:00
Barry Warsaw
4211925453
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.
2001-03-03 04:14:21 +00:00
Andrew M. Kuchling
61af5605fa
Discuss PEP 236.
...
Update nested scope section.
2001-03-03 03:25:04 +00:00
Ka-Ping Yee
feb6719851
Use r""" instead of """ for the docstring so that backslashes are preserved.
2001-03-02 23:31:43 +00:00
Andrew M. Kuchling
81df7be2a2
Update estimate bug and patch counts
2001-03-02 21:19:38 +00:00
Fred Drake
3f4e717c31
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.
2001-03-02 21:05:58 +00:00
Fred Drake
93c867139f
Lots of organizational changes for consistency with the rest of the
...
documentation.
Fix a few small markup nits.
2001-03-02 20:39:34 +00:00
cvs2svn
b3570e83e5
This commit was manufactured by cvs2svn to create tag 'r21b1'.
2001-03-02 19:48:06 +00:00
Fred Drake
80d4c07775
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.)
2001-03-02 19:48:06 +00:00
Fred Drake
ab357ecf7f
Label classes and exceptions explicitly in the documentation (for their
...
*desc environments).
2001-03-02 18:57:05 +00:00
Fred Drake
0539bfaaa4
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.
2001-03-02 18:15:11 +00:00
Barry Warsaw
78d7dc4979
Added -o/--output-file option as per GNU msgfmt to specify the output
...
file instead of using inputfilename.mo
2001-03-02 16:53:54 +00:00
Fred Drake
043d5e5514
For copyfile(), be explicit that src and dst are file names; that was only
...
implied.
2001-03-02 16:46:42 +00:00
Jack Jansen
043732e95d
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.
2001-03-02 16:32:03 +00:00
Fred Drake
cfef0096f9
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.
2001-03-02 16:26:45 +00:00
Guido van Rossum
e3955a8ce2
Add some more info about pydoc. (Can you see I'm excited?)
2001-03-02 14:05:59 +00:00
Guido van Rossum
9d0fbdeaf7
Add big news item about nested scopes, __future__, and compile-time
...
warnings.
2001-03-02 14:00:32 +00:00
Guido van Rossum
b87df3d0ab
Itamar S.T.
2001-03-02 13:37:42 +00:00
Guido van Rossum
d1d053cc3f
Patch by Itamar S.T. (SF#305470): add reset() method.
2001-03-02 13:35:37 +00:00
Fred Drake
53a79060bb
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.
2001-03-02 07:28:03 +00:00
Guido van Rossum
ad2c3c7b69
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.
2001-03-02 07:09:54 +00:00
Guido van Rossum
b7fe432a88
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.
2001-03-02 07:04:51 +00:00
Guido van Rossum
258ccd4126
Fix typo in RISCOS patch inside MS #ifdef. (Probably my own fingers.)
2001-03-02 06:53:29 +00:00
Fred Drake
dedbebf9f8
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 .
2001-03-02 06:50:58 +00:00
Guido van Rossum
9089b2769e
ROSCOS change.
2001-03-02 06:49:50 +00:00
Guido van Rossum
fb872a7c75
Dietmar Schwertberger; shuffled a bunch of Sch* names in alphabetical
...
order.
2001-03-02 06:48:06 +00:00
Guido van Rossum
d74fb6b12a
RISCOS changes by dschwertberger.
2001-03-02 06:43:49 +00:00
Guido van Rossum
4ba3d657ef
Use != instead of <>. Sorry, Barry.
2001-03-02 06:42:34 +00:00
Guido van Rossum
48a680c097
RISCOS changes by dschwertberger.
2001-03-02 06:34:14 +00:00
Guido van Rossum
1ca8bb374e
RISCOS changes by dschwertberger
2001-03-02 06:28:17 +00:00
Andrew M. Kuchling
5dfa13719f
Disable the dl module
2001-03-02 06:24:14 +00:00
Guido van Rossum
3ed4c15a88
RISCOS changes by dschwertberger.
2001-03-02 06:18:03 +00:00
Guido van Rossum
f0ee4b20a9
RISCOS patch by dschwertberger
2001-03-02 06:10:17 +00:00
Ka-Ping Yee
db8ed1517f
Use '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'.
2001-03-02 05:58:17 +00:00
Guido van Rossum
228d80736c
RISCOS files by dschwertberger
2001-03-02 05:58:11 +00:00
Ka-Ping Yee
c92cdf7aa7
The sys.platform identifier for Windows is just 'win32' (for all varieties).
2001-03-02 05:54:35 +00:00
Guido van Rossum
7dcf84f2f8
Search /tmp before /var/tmp and /usr/tmp -- this seems preferred.
...
SF patch #404564 , Gregor Hoffleit.
2001-03-02 05:51:16 +00:00
Ka-Ping Yee
4eb0c003f8
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.
2001-03-02 05:50:34 +00:00
Ka-Ping Yee
9054344d14
Replace literal '@test' with TESTFN.
2001-03-02 05:48:10 +00:00
Guido van Rossum
ca956e2e47
When catching errors from os.rmdir(), test for os.error, not IOError!
2001-03-02 05:46:17 +00:00
Guido van Rossum
fe010e41cc
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.)
2001-03-02 04:59:38 +00:00
Guido van Rossum
b616e114f7
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.
2001-03-02 04:27:08 +00:00
Guido van Rossum
207fda61a5
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.
2001-03-02 03:30:41 +00:00
Tim Peters
677898a391
Thanks to Steven Majewski, finally putting MacOS X imports to bed for 2.1b1.
2001-03-02 03:28:03 +00:00
Tim Peters
fd85a4e600
Typo repair.
2001-03-02 03:11:53 +00:00
Tim Peters
03bd26dd24
Added William Tanksley.
2001-03-02 02:54:27 +00:00