Guido van Rossum
89ce454498
Make sure that -t and -tt also work on strings passed to compile().
1998-12-21 18:32:40 +00:00
Guido van Rossum
d5516bc45f
One more fprintf bites the dist -- use PySys_WriteStderr
1998-12-04 18:51:01 +00:00
Guido van Rossum
f261526423
Need to add default decl of DL_IMPORT, for mymalloc.h
1998-12-04 18:50:20 +00:00
Guido van Rossum
2a570049ac
Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
1998-10-07 22:51:56 +00:00
Guido van Rossum
80c7bcf667
The previous fix was still broken; the Py_END_ALLOW_THREADS macro was
...
never executed because of a return statement. Sigh.
1998-08-29 16:03:27 +00:00
Guido van Rossum
8efa47b63e
We now assume that PyOS_Readline() is called with the interpreter lock
...
held. It releases the lock around the call to the function pointed to by
PyOS_ReadlineFunctionPointer (default PyOS_StdioReadline()).
1998-08-27 19:43:43 +00:00
Guido van Rossum
6e73bf4032
Replace all calls to fprintf(stderr, ...) with PySys_WriteStderr(...).
1998-08-25 18:13:04 +00:00
Guido van Rossum
47fbc4049e
Add a version of PySys_WriteStderr() that writes to stderr, so we can
...
use it in tokenizer.c.
1998-08-25 18:12:36 +00:00
Guido van Rossum
c3e3e6486f
There's a bunch of files that shouldn't be included in libpython*.a!
1998-08-09 03:55:31 +00:00
Guido van Rossum
bb3649e2ba
Make new gcc -Wall happy
1998-04-10 22:09:39 +00:00
Guido van Rossum
6135df6626
Declare and use Py_TabcheckFlag here.
1998-04-10 19:35:06 +00:00
Guido van Rossum
c095200783
Add dummy Py_VerboseFlag now that it's referenced in parsetok.c.
1998-04-10 19:34:15 +00:00
Guido van Rossum
926f13a081
Add checking for inconsistent tab usage
1998-04-09 21:38:06 +00:00
Guido van Rossum
f2da4ed48b
Add $(LIBS) to the pgen link line.
1998-04-09 19:10:38 +00:00
Guido van Rossum
54758fa8ca
Swap two statements in the dedent check loop. This makes absolutely
...
no difference, but avoids triggering an optimizer bug in the AIX
compiler where the loop unrolling does the wrong thing...
1998-02-16 22:18:00 +00:00
Guido van Rossum
35685240a9
Fixed the bug in searching for triple quotes -- change the 'quote2'
...
variable from a pointer to an index, so a realloc() of the buffer
won't disturb it. Problem found by Vladimir Marangozov.
1998-02-16 15:42:50 +00:00
Guido van Rossum
cf57d8b8c9
tok_nextc() should return unsigned characters, to avoid mistaking
...
'\377' for EOF.
1998-01-19 22:07:46 +00:00
Guido van Rossum
7bf22de753
Patch for QNX, by Chris Herborth.
1997-12-02 20:34:19 +00:00
Guido van Rossum
359bcaa539
This fix (across 4 files in 3 directories) solves a subtle problem with
...
signal handlers in a fork()ed child process when Python is compiled with
thread support. The bug was reported by Scott <scott@chronis.icgroup.com >.
What happens is that after a fork(), the variables used by the signal
module to determine whether this is the main thread or not are bogus,
and it decides that no thread is the main thread, so no signals will
be delivered.
The solution is the addition of PyOS_AfterFork(), which fixes the signal
module's variables. A dummy version of the function is present in the
intrcheck.c source file which is linked when the signal module is not
used.
1997-11-14 22:24:28 +00:00
Guido van Rossum
44620646fd
Renamed Py_input_hook to PyOS_InputHook.
...
Also cleaned out some CR's left by the VC++ editor.
1997-08-11 18:57:29 +00:00
Guido van Rossum
717c6f95be
Move GNU readline interface to ../Modules/readline.c.
...
Add Py_input_hook (used by _tkinter and perhaps Gist).
1997-08-05 21:28:12 +00:00
Guido van Rossum
aee094cc60
Added finalization routines.
1997-08-02 03:02:27 +00:00
Guido van Rossum
ff0ec52d3c
Finally plug the memory leak caused by syntax error (including
...
interactive EOF, which leaked *one* byte).
1997-07-27 01:52:50 +00:00
Guido van Rossum
f6ca6aa869
New build procedure.
1997-07-19 19:39:57 +00:00
Guido van Rossum
ee2373b930
Oops, missed some renamings.
1997-05-07 23:51:07 +00:00