]> granicus.if.org Git - python/log
python
24 years agoOnly use one initialization file for LaTeX2HTML; more recent versions only
Fred Drake [Mon, 24 Jul 2000 23:03:32 +0000 (23:03 +0000)]
Only use one initialization file for LaTeX2HTML; more recent versions only
use the last one specified on the command line instead of all of them.
Smaller changes to reflect updated support.

24 years ago-- updated to include known problems in SRE 0.9.6
Fredrik Lundh [Mon, 24 Jul 2000 22:35:11 +0000 (22:35 +0000)]
-- updated to include known problems in SRE 0.9.6
   (cf. test/output/test_sre)

24 years agoOops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_...
Jack Jansen [Mon, 24 Jul 2000 19:59:17 +0000 (19:59 +0000)]
Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.

24 years agoAdded more prototypes.
Jack Jansen [Mon, 24 Jul 2000 19:52:52 +0000 (19:52 +0000)]
Added more prototypes.

24 years agoAdded PyMac_getscript() which returns the pythonic name of the current script. Not...
Jack Jansen [Mon, 24 Jul 2000 19:50:16 +0000 (19:50 +0000)]
Added PyMac_getscript() which returns the pythonic name of the current script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund.

24 years agoDeclare fileno() with prototype if USE_GUSI2 defined. This isn't really the right...
Jack Jansen [Mon, 24 Jul 2000 19:46:27 +0000 (19:46 +0000)]
Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now.

24 years agoIf any of the builds in a group fails offer to stop the fullbuild process and open...
Jack Jansen [Mon, 24 Jul 2000 19:45:07 +0000 (19:45 +0000)]
If any of the builds in a group fails offer to stop the fullbuild process and open the failing projects in codewarrior.

24 years agoAdded a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without...
Jack Jansen [Mon, 24 Jul 2000 19:44:17 +0000 (19:44 +0000)]
Added a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without posting the dialog. This is the normal situation since 1.6alfa (no more 68k support).

24 years agoPut in an earlier include of sys/signal.h (within ifdef USE_GUSI) to forestal a multi...
Jack Jansen [Mon, 24 Jul 2000 19:42:53 +0000 (19:42 +0000)]
Put in an earlier include of sys/signal.h (within ifdef USE_GUSI) to forestal a multiple define.

24 years agoFix small typos and markup consistency nits.
Fred Drake [Mon, 24 Jul 2000 19:35:52 +0000 (19:35 +0000)]
Fix small typos and markup consistency nits.

24 years agoRemove unused variable and what looks like an ancient relic of an old
Thomas Wouters [Mon, 24 Jul 2000 16:26:35 +0000 (16:26 +0000)]
Remove unused variable and what looks like an ancient relic of an old
version of SSLeay (now known as OpenSSL.)

24 years agoCreate a new section of pyport.h to hold all external function declarations
Thomas Wouters [Mon, 24 Jul 2000 16:06:23 +0000 (16:06 +0000)]
Create a new section of pyport.h to hold all external function declarations
for systems that are missing those declarations from system include files.
Start by moving a pointy-haired ones from their previous locations to the
new section.

(The gethostname() one, for instance, breaks on several systems, because
some define it as (char *, size_t) and some as (char *, int).)

I purposely decided not to include the summary of used #defines like Tim did
in the first section of pyport.h. In my opinion, the number of #defines
likedly to be used by this section would make such an overview unwieldy. I
would suggest documenting the non-obvious ones, though.

24 years agochange some occurence of python15.dll to python20.dll
Peter Schneider-Kamp [Mon, 24 Jul 2000 16:02:00 +0000 (16:02 +0000)]
change some occurence of python15.dll to python20.dll

closes patch #100956

24 years agoANSIfy a bit more.
Thomas Wouters [Mon, 24 Jul 2000 15:49:08 +0000 (15:49 +0000)]
ANSIfy a bit more.

24 years agoFix floattime prototype ((void), not (double))
Thomas Wouters [Mon, 24 Jul 2000 15:26:39 +0000 (15:26 +0000)]
Fix floattime prototype ((void), not (double))

24 years agoANSIfy some more forward declarations.
Thomas Wouters [Mon, 24 Jul 2000 14:43:35 +0000 (14:43 +0000)]
ANSIfy some more forward declarations.

24 years agoPrototype yet another forward declaration.
Thomas Wouters [Mon, 24 Jul 2000 14:39:50 +0000 (14:39 +0000)]
Prototype yet another forward declaration.

24 years agoDon't call BringToFront() on the dialog object, but call GetDialogWindow() to get...
Jack Jansen [Mon, 24 Jul 2000 14:07:15 +0000 (14:07 +0000)]
Don't call BringToFront() on the dialog object, but call GetDialogWindow() to get a window object.

24 years ago... and yet more ANSIfications...
Thomas Wouters [Mon, 24 Jul 2000 11:36:47 +0000 (11:36 +0000)]
... and yet more ANSIfications...

24 years agoANSIfy yet another hidden function definition.
Thomas Wouters [Mon, 24 Jul 2000 11:26:25 +0000 (11:26 +0000)]
ANSIfy yet another hidden function definition.

24 years agoFix typo in previous patch.
Thomas Wouters [Mon, 24 Jul 2000 11:17:40 +0000 (11:17 +0000)]
Fix typo in previous patch.

24 years ago*** empty log message ***
Thomas Wouters [Mon, 24 Jul 2000 11:09:37 +0000 (11:09 +0000)]
*** empty log message ***

24 years agoRemove function-less prototype (old function that was removed ?) that
Thomas Wouters [Mon, 24 Jul 2000 10:58:31 +0000 (10:58 +0000)]
Remove function-less prototype (old function that was removed ?) that
happens to be a C++ reserved word, too.

24 years agoRestore TestSkipped exception; appears to have disappeared in last checkin.
Fred Drake [Mon, 24 Jul 2000 06:55:00 +0000 (06:55 +0000)]
Restore TestSkipped exception; appears to have disappeared in last checkin.
Make both TextFailed and TestSkipped subclasses of Error, which derives
from Exception.  Docstrings have been added for the exceptions and module.

24 years agoFirst round of curses documentation improvements; correct errors, flesh out
Eric S. Raymond [Mon, 24 Jul 2000 03:28:40 +0000 (03:28 +0000)]
First round of curses documentation improvements; correct errors, flesh out
entry point descriptions.

24 years agoPatch #100926 - Better error messages for socket exceptions on Windows. [Slight...
Mark Hammond [Mon, 24 Jul 2000 01:45:11 +0000 (01:45 +0000)]
Patch #100926 - Better error messages for socket exceptions on Windows.  [Slight style differences from posted patch]

24 years agoAnother missed ansification.
Thomas Wouters [Sun, 23 Jul 2000 22:21:32 +0000 (22:21 +0000)]
Another missed ansification.

24 years agoANSIfy functions that were hiding inside a macro.
Thomas Wouters [Sun, 23 Jul 2000 22:09:59 +0000 (22:09 +0000)]
ANSIfy functions that were hiding inside a macro.

24 years ago-- SRE 0.9.6 sync. this includes:
Fredrik Lundh [Sun, 23 Jul 2000 21:46:17 +0000 (21:46 +0000)]
-- SRE 0.9.6 sync.  this includes:

 + added "regs" attribute
 + fixed "pos" and "endpos" attributes
 + reset "lastindex" and "lastgroup" in scanner methods
 + removed (?P#id) syntax; the "lastindex" and "lastgroup"
   attributes are now always set
 + removed string module dependencies in sre_parse
 + better debugging support in sre_parse
 + various tweaks to build under 1.5.2

24 years agoRemoved all instances of RETSIGTYPE from the source code: signal
Tim Peters [Sun, 23 Jul 2000 21:18:09 +0000 (21:18 +0000)]
Removed all instances of RETSIGTYPE from the source code:  signal
handlers "return void", according to ANSI C.
Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro.
Left RETSIGTYPE in the config stuff, because it's not clear to
me that others aren't relying on it (e.g., extension modules).

24 years ago-- added code to the new Windows popen functions to make close
Fredrik Lundh [Sun, 23 Jul 2000 19:47:12 +0000 (19:47 +0000)]
-- added code to the new Windows popen functions to make close
   return the exit code.  Only works on Windows NT/2000, due to
   limitations in the Win9X shell.
   (based on patch #100941 by David Bolen)

24 years agoIncluded assert.h in Python.h -- it's absurd that this basic tool of
Tim Peters [Sun, 23 Jul 2000 19:28:35 +0000 (19:28 +0000)]
Included assert.h in Python.h -- it's absurd that this basic tool of
good C practice hasn't been available to everything all along.
Added Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) macro to pyport.h; this
just casts VALUE from type WIDE to type NARROW, but assert-fails if
Py_DEBUG is defined and info is lost due to casting.
Replaced a line in Fredrik's fix to marshal.c to use the new macro.

24 years agoMissed a return from a signal handler -- thanks to /F for pointing
Tim Peters [Sun, 23 Jul 2000 18:33:52 +0000 (18:33 +0000)]
Missed a return from a signal handler -- thanks to /F for pointing
it out!

24 years ago-- changed w_more to take an integer instead of a char
Fredrik Lundh [Sun, 23 Jul 2000 18:24:06 +0000 (18:24 +0000)]
-- changed w_more to take an integer instead of a char
   (this is what the callers expect).

24 years agoRecent ANSIfication introduced a couple instances of
Tim Peters [Sun, 23 Jul 2000 18:10:18 +0000 (18:10 +0000)]
Recent ANSIfication introduced a couple instances of
    #if RETSIGTYPE != void
That isn't C, and MSVC properly refuses to compile it.
Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h
to expand to the correct thing based on RETSIGTYPE.  However,
only void is ANSI!  Do we still have platforms that return int?
The Unix config mess appears to #define RETSIGTYPE by magic
without being asked to, so I assume it's "a problem" across
Unices still.

24 years agoOops. One of last nights ANSIfication patches accidentily upped the bytecode
Thomas Wouters [Sun, 23 Jul 2000 09:20:08 +0000 (09:20 +0000)]
Oops. One of last nights ANSIfication patches accidentily upped the bytecode
MAGIC number. When updating it next time, be sure it's higher than 50715 *
constants. (Shouldn't be a problem if everyone keeps to the proper
algorithm.)

24 years agoFix prototypes generated by makesetup, so they include '(void)' rather than
Thomas Wouters [Sun, 23 Jul 2000 00:02:15 +0000 (00:02 +0000)]
Fix prototypes generated by makesetup, so they include '(void)' rather than
empty argumentlists.

24 years agoANSIfication: remove very-old-varargs code, fix function declarations so
Thomas Wouters [Sat, 22 Jul 2000 23:59:33 +0000 (23:59 +0000)]
ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.

24 years agoEven more ANSIfication: fix as many function pointers and declarations as
Thomas Wouters [Sat, 22 Jul 2000 23:57:55 +0000 (23:57 +0000)]
Even more ANSIfication: fix as many function pointers and declarations as
possible.

24 years agoANSIfication: add proper prototypes to function-pointers and declarations.
Thomas Wouters [Sat, 22 Jul 2000 23:56:07 +0000 (23:56 +0000)]
ANSIfication: add proper prototypes to function-pointers and declarations.
Also, fix a bug found by said declarations, where a string was defined as
unsigned char*, but used as signed.

24 years agoANSIfication of function-pointers and declarations. Also, make sure to
Thomas Wouters [Sat, 22 Jul 2000 23:51:19 +0000 (23:51 +0000)]
ANSIfication of function-pointers and declarations. Also, make sure to
return something if RETSIGTYPE is not void, in functions that are defined as
returning RETSIGTYPE.

24 years agoFurther ANSIfication of functionpointers and declarations. Also, make sure
Thomas Wouters [Sat, 22 Jul 2000 23:49:30 +0000 (23:49 +0000)]
Further ANSIfication of functionpointers and declarations. Also, make sure
to return something if RETSIGTYPE isn't void, in functions that are defined
to return RETSIGTYPE. Work around an argumentlist mismatch ('void' vs.
'void *') by using a static wrapper function.

24 years agoANSIfy as many declarations as possible.
Thomas Wouters [Sat, 22 Jul 2000 23:38:01 +0000 (23:38 +0000)]
ANSIfy as many declarations as possible.

24 years agoRemember to return something if RETSIGTYPE is not 'void'. Do we still need
Thomas Wouters [Sat, 22 Jul 2000 23:33:22 +0000 (23:33 +0000)]
Remember to return something if RETSIGTYPE is not 'void'. Do we still need
to worry about systems that have signal-handlers return 'int' ? Not all of
the code does, though nothing will break because of it.

24 years agoANSIfications: fix empty arglists, and remove the checks for
Thomas Wouters [Sat, 22 Jul 2000 23:30:03 +0000 (23:30 +0000)]
ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)

24 years agoMiscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters [Sat, 22 Jul 2000 19:25:51 +0000 (19:25 +0000)]
Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P

24 years agoMass ANSIfication.
Thomas Wouters [Sat, 22 Jul 2000 19:20:54 +0000 (19:20 +0000)]
Mass ANSIfication.

Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to
'Py_AddPendingCall' by providing a (static) wrapper function that has the
right number of arguments.

24 years agoMass ANSIfication of function definitions. Doesn't cover all 'extern'
Thomas Wouters [Sat, 22 Jul 2000 18:47:25 +0000 (18:47 +0000)]
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.

24 years agoFix two instances of empty argument lists, and fix style
Thomas Wouters [Sat, 22 Jul 2000 18:45:06 +0000 (18:45 +0000)]
Fix two instances of empty argument lists, and fix style
('PyObject** x' -> 'PyObject **x')

24 years agoRemove unused variable.
Thomas Wouters [Sat, 22 Jul 2000 16:41:08 +0000 (16:41 +0000)]
Remove unused variable.

24 years agoRemove unused helper-function 'posix_strint'.
Thomas Wouters [Sat, 22 Jul 2000 16:39:39 +0000 (16:39 +0000)]
Remove unused helper-function 'posix_strint'.

24 years agoMark Favas's fix for typos in docstrings.
Thomas Wouters [Sat, 22 Jul 2000 16:34:15 +0000 (16:34 +0000)]
Mark Favas's fix for typos in docstrings.

24 years agoAdded a few docstrings
Paul Prescod [Fri, 21 Jul 2000 22:05:49 +0000 (22:05 +0000)]
Added a few docstrings

24 years agoAdded docstrings
Paul Prescod [Fri, 21 Jul 2000 21:43:09 +0000 (21:43 +0000)]
Added docstrings

24 years agoBunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
Thomas Wouters [Fri, 21 Jul 2000 06:00:07 +0000 (06:00 +0000)]
Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
and a couple of functions that were missed in the previous batches. Not
terribly tested, but very carefully scrutinized, three times.

All these were found by the little findkrc.py that I posted to python-dev,
which means there might be more lurking. Cases such as this:

long
func(a, b)
long a;
long b; /* flagword */
{

and other cases where the last ; in the argument list isn't followed by a
newline and an opening curly bracket. Regexps to catch all are welcome, of
course ;)

24 years agoSmall fixes by Petru Paler (patch #100946) checked in with esr's approval.
Thomas Wouters [Fri, 21 Jul 2000 05:19:59 +0000 (05:19 +0000)]
Small fixes by Petru Paler (patch #100946) checked in with esr's approval.

24 years agoadded doc for isatty()
Skip Montanaro [Wed, 19 Jul 2000 17:30:58 +0000 (17:30 +0000)]
added doc for isatty()

24 years agorestructured a bit and added some more content...
Skip Montanaro [Wed, 19 Jul 2000 17:19:49 +0000 (17:19 +0000)]
restructured a bit and added some more content...

24 years agomake TestFailed a class exception
Skip Montanaro [Wed, 19 Jul 2000 17:14:48 +0000 (17:14 +0000)]
make TestFailed a class exception

24 years agoadded rewritten normpath from Moshe Zadka that does the right thing with
Skip Montanaro [Wed, 19 Jul 2000 17:09:51 +0000 (17:09 +0000)]
added rewritten normpath from Moshe Zadka that does the right thing with
paths containing ..

24 years agoadded documentation for new functions {get,set}_history_length
Skip Montanaro [Wed, 19 Jul 2000 16:56:26 +0000 (16:56 +0000)]
added documentation for new functions {get,set}_history_length

24 years agoadded history file truncation based upon code from Johannes Zellner.
Skip Montanaro [Wed, 19 Jul 2000 16:54:53 +0000 (16:54 +0000)]
added history file truncation based upon code from Johannes Zellner.

24 years agoEnable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)
Thomas Wouters [Wed, 19 Jul 2000 14:51:54 +0000 (14:51 +0000)]
Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)

24 years agoANSIfy the just-checked-in isatty() wrapper.
Thomas Wouters [Wed, 19 Jul 2000 14:45:40 +0000 (14:45 +0000)]
ANSIfy the just-checked-in isatty() wrapper.

24 years agonew method isatty from Thomas Wouters
Skip Montanaro [Wed, 19 Jul 2000 14:34:14 +0000 (14:34 +0000)]
new method isatty from Thomas Wouters

24 years ago'carb' resource for carbon application.
Jack Jansen [Tue, 18 Jul 2000 09:43:27 +0000 (09:43 +0000)]
'carb' resource for carbon application.

24 years agoSome thanks weren't checked in yet.
Jack Jansen [Tue, 18 Jul 2000 09:41:31 +0000 (09:41 +0000)]
Some thanks weren't checked in yet.

24 years agoMacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed...
Jack Jansen [Tue, 18 Jul 2000 09:40:39 +0000 (09:40 +0000)]
MacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.

24 years agoDefine USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined.
Jack Jansen [Tue, 18 Jul 2000 09:40:08 +0000 (09:40 +0000)]
Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined.

24 years agono changes other than indentation level (now 4) and comment reflow.
Greg Stein [Tue, 18 Jul 2000 09:09:48 +0000 (09:09 +0000)]
no changes other than indentation level (now 4) and comment reflow.
use "cvs diff -b" to verify.

24 years agoFixed problems with UTF error reporting macros and some formatting bugs.
Marc-André Lemburg [Mon, 17 Jul 2000 18:23:13 +0000 (18:23 +0000)]
Fixed problems with UTF error reporting macros and some formatting bugs.

24 years agoRestore PyXXX_Length() APIs for binary compatibility.
Marc-André Lemburg [Mon, 17 Jul 2000 09:22:55 +0000 (09:22 +0000)]
Restore PyXXX_Length() APIs for binary compatibility.
New code will see the macros and therefore use the PyXXX_Size()
APIs instead.
By Thomas Wouters.

24 years agogcc is being stupid with if/else constructs
Greg Stein [Mon, 17 Jul 2000 09:04:43 +0000 (09:04 +0000)]
gcc is being stupid with if/else constructs
clean out some other warnings

24 years ago* split on / or \
Skip Montanaro [Mon, 17 Jul 2000 03:06:58 +0000 (03:06 +0000)]
* split on / or \
* case insensitive comparison

24 years agodamn! cut-n-paste from ntpath forgot the "import re"
Skip Montanaro [Mon, 17 Jul 2000 03:06:26 +0000 (03:06 +0000)]
damn! cut-n-paste from ntpath forgot the "import re"

24 years ago* split on / or \
Skip Montanaro [Mon, 17 Jul 2000 03:04:19 +0000 (03:04 +0000)]
* split on / or \
* case insensitive

24 years agoAt GVR's request.
Paul Prescod [Sun, 16 Jul 2000 23:00:10 +0000 (23:00 +0000)]
At GVR's request.

24 years agostop messing around with goto and just write the macro correctly.
Greg Stein [Sun, 16 Jul 2000 21:39:49 +0000 (21:39 +0000)]
stop messing around with goto and just write the macro correctly.

24 years agoOnline help facility for the Python interprter and other interactive
Paul Prescod [Sun, 16 Jul 2000 19:53:00 +0000 (19:53 +0000)]
Online help facility for the Python interprter and other interactive
environments.

24 years agoMore of Rob W. W. Hooft's spelling fixes. The only ones left now are the
Thomas Wouters [Sun, 16 Jul 2000 19:05:38 +0000 (19:05 +0000)]
More of Rob W. W. Hooft's spelling fixes. The only ones left now are the
distutils patches, which I'll leave to the distutils maintainers.

Tip: review the patch like this:

grep "^[\!+-] " <patchfile>

To get a quick and easy way to review the actual changes. Most of the
changes are single-line ones, anyway.

24 years agoRob W. W. Hooft's spelling fixes for the Library Reference. I hope
Thomas Wouters [Sun, 16 Jul 2000 19:01:10 +0000 (19:01 +0000)]
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
SourceForge doesn't choke on this batch :-)

I'm not entirely sure this is 100% correct. The patch changes an
\index{persistency} to \index{presistence}, and I don't know what \index{}
does. But it seems to do so persi--er, consistently, so I hope it isn't a
problem.

24 years ago- change \x to mean "byte" also in unicode literals
Fredrik Lundh [Sun, 16 Jul 2000 18:47:43 +0000 (18:47 +0000)]
- change \x to mean "byte" also in unicode literals
  (patch #100912)

24 years agoFix fatal compiler (MSVC6) error:
Tim Peters [Sun, 16 Jul 2000 17:10:50 +0000 (17:10 +0000)]
Fix fatal compiler (MSVC6) error:
unicodeobject.c(735) :
    error C2143: syntax error : missing ';' before '}'

24 years agosplit and join on "/" in commonprefix
Skip Montanaro [Sun, 16 Jul 2000 16:52:45 +0000 (16:52 +0000)]
split and join on "/" in commonprefix

24 years agoFix to a bug found by Florian Weimer:
Marc-André Lemburg [Sun, 16 Jul 2000 13:29:13 +0000 (13:29 +0000)]
Fix to a bug found by Florian Weimer:

The UTF-8 decoder is still buggy (i.e. it doesn't pass Markus Kuhn's
stress test), mainly due to the following construct:

    #define UTF8_ERROR(details)  do {                       \
        if (utf8_decoding_error(&s, &p, errors, details))   \
            goto onError;                                   \
        continue;                                           \
    } while (0)

(The "continue" statement is supposed to exit from the outer loop,
but of course, it doesn't.  Indeed, this is a marvelous example of
the dangers of the C programming language and especially of the C
preprocessor.)

24 years agoSpelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
Thomas Wouters [Sun, 16 Jul 2000 12:04:32 +0000 (12:04 +0000)]
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)

24 years agoBugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
Thomas Wouters [Sun, 16 Jul 2000 11:57:20 +0000 (11:57 +0000)]
Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
genuine bug, so I checked it in separately.

24 years agoImplemented getdefaultlocale() for macintosh, after an idea by Fredrik.
Jack Jansen [Sat, 15 Jul 2000 22:31:45 +0000 (22:31 +0000)]
Implemented getdefaultlocale() for macintosh, after an idea by Fredrik.

24 years agoModified the standard mac preamble so we include pymactoolbox.h in
Jack Jansen [Sat, 15 Jul 2000 22:29:30 +0000 (22:29 +0000)]
Modified the standard mac preamble so we include pymactoolbox.h in
stead of defining lots of function prototypes in each module.

24 years agoScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
Jack Jansen [Sat, 15 Jul 2000 22:27:47 +0000 (22:27 +0000)]
ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
new comment patterns get included.

24 years agoOops, forgot to run autoheader before checking in the _getpty move to
Thomas Wouters [Sat, 15 Jul 2000 22:13:48 +0000 (22:13 +0000)]
Oops, forgot to run autoheader before checking in the _getpty move to
posixmodule.

24 years ago-- fixed the comment, too
Fredrik Lundh [Sat, 15 Jul 2000 20:58:44 +0000 (20:58 +0000)]
-- fixed the comment, too

24 years ago-- note to self: wait until 'cvs commit' has finished before
Fredrik Lundh [Sat, 15 Jul 2000 20:50:27 +0000 (20:50 +0000)]
-- note to self: wait until 'cvs commit' has finished before
   you edit the file.

24 years ago-- changed default encoding to "ascii". you can still change
Fredrik Lundh [Sat, 15 Jul 2000 20:45:23 +0000 (20:45 +0000)]
-- changed default encoding to "ascii".  you can still change
   the default via site.py...

24 years agoFix in PyList_New(). With GC enabled and when out of memory,
Vladimir Marangozov [Sat, 15 Jul 2000 03:31:31 +0000 (03:31 +0000)]
Fix in PyList_New().  With GC enabled and when out of memory,
free() the GC pointer, not the object pointer.

24 years agoBreak a cycle created in the saboteur() function.
Vladimir Marangozov [Sat, 15 Jul 2000 00:42:09 +0000 (00:42 +0000)]
Break a cycle created in the saboteur() function.

24 years agoGot rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.
Jack Jansen [Fri, 14 Jul 2000 22:52:50 +0000 (22:52 +0000)]
Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.

24 years agoTest for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
Jack Jansen [Fri, 14 Jul 2000 22:37:27 +0000 (22:37 +0000)]
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.

24 years agoinclude stdio.h for sprintf prototype.
Jack Jansen [Fri, 14 Jul 2000 22:18:32 +0000 (22:18 +0000)]
include stdio.h for sprintf prototype.

24 years agopymactoolbox.h contains protoypes for all externally visible toolbox module
Jack Jansen [Fri, 14 Jul 2000 22:16:45 +0000 (22:16 +0000)]
pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.