Guido van Rossum
cee1dd3f9d
Don't just die when an error is not defined; print a warning instead.
...
This for errno-challenged platforms like Windows.
1997-04-09 21:02:17 +00:00
Guido van Rossum
a6ed2254e1
Try calling getpid() from /usr/lib/libc.so instead of some other
...
random things.
1997-04-09 20:57:52 +00:00
Guido van Rossum
c9f8f1467e
Use TESTFN instead of /etc/passwd and /dev/null as test files.
1997-04-09 20:51:54 +00:00
Guido van Rossum
2095d24842
Tweaks to keep the Microsoft compiler quiet.
1997-04-09 19:41:24 +00:00
Guido van Rossum
644a12b00c
Tweaks to keep the Microsoft compiler quier.
1997-04-09 19:24:53 +00:00
Guido van Rossum
8017767420
Remove unused variable.
1997-04-09 18:22:28 +00:00
Guido van Rossum
fa658ce03d
Remove two unised variables.
1997-04-09 18:19:39 +00:00
Guido van Rossum
45c3aaba56
Got rid of the static decl of PyCObject_Import, which was a 1.4
...
compatibility hack.
1997-04-09 18:04:08 +00:00
Guido van Rossum
d385d59c09
Give PyErr_Format a new name and make it static.
1997-04-09 17:47:47 +00:00
Guido van Rossum
47065620f2
support module for cPickle
1997-04-09 17:44:11 +00:00
Guido van Rossum
60456fdcfe
Jim Fulton's version 2.2.
1997-04-09 17:36:32 +00:00
Guido van Rossum
154417e27b
Unknown changes by Jim Fulton.
1997-04-09 17:35:33 +00:00
Guido van Rossum
0a73dd5f35
Changed the way the C API was exported. Jim Fulton.
1997-04-09 17:34:28 +00:00
Guido van Rossum
b72cf2d697
New version by Digital Creations, supports binary format compatible
...
with cPickle.
1997-04-09 17:32:51 +00:00
Guido van Rossum
de65527e4b
Ping's latest. Fixes triple quoted strings ending in odd
...
#backslashes, and other stuff I don't know.
1997-04-09 17:15:54 +00:00
Jack Jansen
1836a62016
NewMovieFromFile has extra parameter and return value
1997-04-09 15:54:54 +00:00
Jack Jansen
e0cf87b20d
Enabled resID input/output parameter to NewMovieFromFile. This changes
...
the Python interface, unfortunately.
Added a few calls that were blacklisted for no apparent reason.
1997-04-09 15:53:46 +00:00
Guido van Rossum
3ccd2f153f
while (1) -> while 1. Sorry.
1997-04-08 19:46:53 +00:00
Guido van Rossum
2ebaa1796e
Search for a valid begin line instead of requiring the first line.
1997-04-08 19:46:02 +00:00
Jack Jansen
64639202ba
(Optional) MSL compatability
1997-04-08 15:28:05 +00:00
Jack Jansen
184c16031e
DisposPtr -> DisposePtr
1997-04-08 15:27:29 +00:00
Jack Jansen
08c3be35c3
Changed the few old routine names still used to the new ones
...
Started working on MSL support
1997-04-08 15:27:00 +00:00
Jack Jansen
85ae4a82ac
Changed [SG]etCRefCon to [SG]etControlReference
1997-04-08 15:26:03 +00:00
Jack Jansen
54956722e5
Modified for (optional) use of MSL
1997-04-08 15:24:58 +00:00
Jack Jansen
9e1be97ddf
Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS
1997-04-08 15:24:17 +00:00
Guido van Rossum
1aec32363f
Ka-Ping's muich improved version of March 26, 1997:
...
# Ignore now accepts \f as whitespace. Operator now includes '**'.
# Ignore and Special now accept \n or \r\n at the end of a line.
# Imagnumber is new. Expfloat is corrected to reject '0e4'.
1997-04-08 14:24:39 +00:00
Guido van Rossum
24dacb38c5
Support for alternative string quotes (a"xx", b"xx", c"xx", ...).
1997-04-06 03:46:20 +00:00
Guido van Rossum
5f5e817e00
Support for alternative string quotes (a"xx", b"xx", c"xx", ...).
...
In interactive mode, do generate code for single-string statements.
1997-04-06 03:41:40 +00:00
Guido van Rossum
150853861a
Various status updates.
1997-04-03 23:49:28 +00:00
Guido van Rossum
fc5ee0f980
Added site
1997-04-03 22:43:02 +00:00
Guido van Rossum
571391b963
New stuff by AMK.
1997-04-03 22:41:49 +00:00
Guido van Rossum
6191551ad6
Remove a redundant XINCREF(value). This caused the reference count of
...
all locals to be upped by one when `from <module> import <whatever>'
was executed.
1997-04-03 18:31:43 +00:00
Guido van Rossum
d641d67b89
New version by Sjoerd, with support for IRIX 6 audio library.
1997-04-03 17:06:32 +00:00
Jack Jansen
f73bab7f96
Added an attribute string_id_to_buffer, which gives the offset you
...
have to add to the id() of a string to get the address of the
data. This is a horrible and error-prone hack, but unfortunately it is
one that is needed for playing audio and crearing pixmaps. Having the
constant here is at least marginally better than the previous practice
of having the constant 16 all over the place...
1997-04-03 14:51:03 +00:00
Jack Jansen
377df98005
- Most errors are *not* OSErr style, so raise better exceptions (with
...
textual messages)
- Plugged a memory leak or two
1997-04-03 14:48:04 +00:00
Jack Jansen
cb2554effa
Still not a real test, but at least it runs again
1997-04-03 14:45:28 +00:00
Jack Jansen
1801aad5dc
Use MacOS.string_id_to_buffer for id() to buffer address hack
1997-04-03 14:44:41 +00:00
Jack Jansen
4240b610f3
Use MacOS.string_id_to_buffer for the hack to convert string id() to
...
buffer address.
1997-04-03 14:44:07 +00:00
Guido van Rossum
9a8cb84072
Checked in some new Tk demos that I wrote a while ago.
1997-04-03 00:04:51 +00:00
Fred Drake
387c575d5c
Small grammatical touchups:
...
Para. 1: ...that reads and writes a string buffer...
^ ^
Para. 3: ...can be called at any time to retrieve the...
XXXXXXXXXXXX ^^^^^
...entire contents of the entire ``file'' ...
^^^^^^^ XXXXXXX
Guido, I hope I'm not stomping too far afield, but these seem pretty clear
to me.
1997-04-02 14:51:56 +00:00
Guido van Rossum
228b8e88bc
Whole lotta changes.
1997-04-02 06:13:34 +00:00
Guido van Rossum
d69a84b01e
use /usr/bin/env
1997-04-02 06:11:55 +00:00
Guido van Rossum
101923bba6
Added replace() implementation by Perry Stoll (debugged and reformatted by me).
1997-04-02 06:11:18 +00:00
Guido van Rossum
f643e3ff7e
Spell Unix, not UNIX.
1997-04-02 06:06:03 +00:00
Guido van Rossum
e8d94a8c10
Horrible hack to split up code '--' to prevent
...
latex2html from collapsing it into '-'.
1997-04-02 06:05:07 +00:00
Guido van Rossum
1cd26f2fc0
Add complex().
...
Update int(), long(), float() to support string conversions.
1997-04-02 06:04:02 +00:00
Guido van Rossum
740eb8265f
Add cross-refs for int() to atoi() etc.
...
Change replace() arguments; remove replace1().
1997-04-02 05:56:16 +00:00
Guido van Rossum
21aa0ef351
Changed my mind on replace().
...
It's now replace(str, old, new, maxsplit=0).
Note new ordering of parameters (string first);
this is more consistent with translate().
1997-04-02 05:49:46 +00:00
Guido van Rossum
aa925a5efd
Add #! line.
1997-04-02 05:47:39 +00:00
Guido van Rossum
ab096c91e2
New doc strings.
1997-04-02 05:47:11 +00:00