Fred Drake [Mon, 23 Oct 2000 16:00:54 +0000 (16:00 +0000)]
Added exception to the rule that the buffer returned by PyString_AsString()
and PyString_AsStringAndSize() for strings that were just created using
PyString_FromStringAndSize(NULL, n).
This closes bug #117377.
Added warning about passing NULL to the concrete object functions; many of
them use the appropriate Py<Type>_Check() test, but do not check for NULL.
Jack Jansen [Thu, 19 Oct 2000 22:02:16 +0000 (22:02 +0000)]
Added PyMac_OutputSeen(), which acknowledges all current output in the stdio window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
Jack Jansen [Thu, 19 Oct 2000 20:49:12 +0000 (20:49 +0000)]
Removed try/except TypeError around calling the ae handler function, it masksprogrammer errors and obfuscates the stacktrace. Suggested by Tattoo Mabonzo K.
Jack Jansen [Thu, 19 Oct 2000 20:32:35 +0000 (20:32 +0000)]
Use MacOS.OutputSeen() on menuselections: it treats a menu selection in the same way as input to stdin (i.e. as an ack of the output that went before). This makes the CGI tools work nicely for Quit.
Jack Jansen [Thu, 19 Oct 2000 20:31:51 +0000 (20:31 +0000)]
Use MacOS.OutputSeen() on menuselections. Removed KeepConsole code again. This solution is better: it treats a menu selection in the same way as input to stdin (i.e. as an ack of the output that went before).
Fred Drake [Thu, 19 Oct 2000 05:36:10 +0000 (05:36 +0000)]
Revise the capitalization policy of \versionchanged explanation; the
explanation must now be capitalized. This is more consistent with the
\see* explanation fields.
Added a lot of material to the "LaTeX Primer" section.
Fred Drake [Wed, 18 Oct 2000 17:43:06 +0000 (17:43 +0000)]
Make all the \seemodule explanations consistent: start with a capitalized
letter and end with proper punctuation. "Documenting Python" will be
updated accordingly so that this will be editorial policy for the Python
documentation.
Tim Peters [Mon, 16 Oct 2000 17:35:13 +0000 (17:35 +0000)]
Test for math.* exceptional behavior only in verbose mode, so that the
oddball platforms (where, e.g., math.exp(+huge) still fails to raise
OverflowError) don't fail the std test suite when run normally.
Barry Warsaw [Mon, 16 Oct 2000 15:47:50 +0000 (15:47 +0000)]
find(): Application of (slightly modified) SF patch #101928 by Ulf
Betlehem, verified by Peter Funk. Fixes preservation of language
search order lost due to use of dictionary keys instead of a list.
Closes SF bug #116964.
Tim Peters [Sat, 14 Oct 2000 07:35:15 +0000 (07:35 +0000)]
Prep the Windows installer for 2.0 final:
+ Bump the build number.
+ Changed app name in installer dialogs.
+ Fiddled dialogs to repair grammar and get rid of anachronisms (e.g.,
"ProgMan" and "Program Manager" haven't made sense since Windows 3.1!).
Fred Drake [Sat, 14 Oct 2000 05:49:30 +0000 (05:49 +0000)]
For PyErr_Format(), note that the exception parameter can be a string or
class, but not an instance (since an instance will be created using the
formatted message string as the constructor parameter).
Fred Drake [Sat, 14 Oct 2000 05:41:17 +0000 (05:41 +0000)]
Update to include all the new chapters & sections.
Convert from a howto to a manual, so we can *have* chapters!
Comment out the macconsole module documentation; Think C seems to have
disappeared.
Fred Drake [Sat, 14 Oct 2000 05:08:34 +0000 (05:08 +0000)]
Chapters on Mac Toolbox modules and other undocumented modules, ready to
be filled in with real information. Contributed by Chris Barker
<cbarker@jps.net>.
Jack Jansen [Fri, 13 Oct 2000 23:33:34 +0000 (23:33 +0000)]
If we're installing to another partition than the system partition offer to copy PythonCore in stead of aliasing it. This should fix the applet problems some people have.