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
Guido van Rossum
fd79566d0f
Fix two small bugs with proxies.
1997-04-02 05:46:35 +00:00
Guido van Rossum
a9a3575e26
New symbols due to assert statement.
1997-04-02 05:46:05 +00:00
Guido van Rossum
c1a4ba97b7
New test output for test_builtin
1997-04-02 05:44:51 +00:00
Guido van Rossum
3917c22125
Win32 precision clock() -- Mark Hammond.
1997-04-02 05:35:28 +00:00
Guido van Rossum
9bf8445541
Support include statement :-(
1997-04-02 05:33:00 +00:00
Guido van Rossum
925e547fcc
Support assert stmt.
1997-04-02 05:32:13 +00:00
Guido van Rossum
4669fb474b
Several fixes reported by jim F.
1997-04-02 05:31:09 +00:00
Guido van Rossum
2a7f58de1c
Allow passing a .pyo file.
...
Print correct name in fatal error from PyErr_Print.
1997-04-02 05:28:38 +00:00
Guido van Rossum
228d7f3f67
Added assert statement.
1997-04-02 05:24:36 +00:00
Guido van Rossum
8ecd1ad785
Added assert grammar.
1997-04-02 05:24:08 +00:00
Guido van Rossum
6dacd90a83
Allow leading underscore in keywords.
1997-04-02 05:23:46 +00:00
Guido van Rossum
6fa4466cec
Added AssertionError.
1997-04-02 05:22:53 +00:00
Guido van Rossum
556440d278
Added __assert__ statement (later to be renamed)
1997-04-02 05:22:18 +00:00
Guido van Rossum
659a3b5881
Optimized the hell out of listmessages().
...
Changed numericprog regexpr to make it faster to check.
Removed now unnecessary checks for os.curdir, os.pardir.
1997-04-02 01:18:30 +00:00
Guido van Rossum
c054d70aee
Get rid of .conj pseudo data attribute for complex numbers.
...
Add __members__ attribute.
1997-04-01 03:12:33 +00:00
Guido van Rossum
94dbd99483
Remove ConflictError (which was also removed from bltinmodule.c, even
...
though the checkin message failed to note that).
1997-03-31 17:19:40 +00:00
Guido van Rossum
9199f62aa1
remove ConflictError
1997-03-31 17:19:05 +00:00
Guido van Rossum
5a35e32de6
Remove ConflictError, add InteractiveFlag, CObject_Type, FdIsInteractive, and thread entry points.
1997-03-31 17:18:03 +00:00
Guido van Rossum
c6472e9ee1
1. Add string conversions to int(), long(), float(). (Not to complex()!)
...
2. Fix two bugs in complex():
- Memory leak when using complex(classinstance) -- r was never
DECREF'ed.
- Conversion of the second argument, if not complex, was done using
the type vector of the 1st.
1997-03-31 17:15:43 +00:00
Guido van Rossum
dddf7a6fb4
Added test of complex() (that catches a bug in 1.4!).
...
Added test that ensures that int() and long() truncate float numbers
towards zero.
1997-03-31 17:13:17 +00:00
Guido van Rossum
8d2893b5b2
Added a list of the main undocumented extension modules.
1997-03-27 20:57:52 +00:00
Guido van Rossum
7f3b0421de
Added docs for UserDict,UserList
1997-03-27 14:56:18 +00:00
Guido van Rossum
b6a80262e1
Added docs for glob and mailcap
1997-03-25 22:09:18 +00:00
Guido van Rossum
e6d579ddbc
Added docs for glob
1997-03-25 22:07:53 +00:00
Guido van Rossum
20af95b433
Added docs for mailcap
1997-03-25 22:01:35 +00:00
Guido van Rossum
bfc3944bfd
Change by Andrew Kuchling (edited by Guido):
...
Removed unused import tempfile.
Added some docstrings.
1997-03-25 21:58:08 +00:00
Guido van Rossum
31ef35b861
Added two new questions about number conversions.
1997-03-25 18:25:20 +00:00
Roger E. Masse
e5a9c8fa31
As per GvR recomendation, added support for a 'sync' attribute for the
...
GDBM module.
1997-03-25 17:39:56 +00:00
Guido van Rossum
1eb9a81eb9
Added new functions replace() and replace1().
1997-03-25 16:50:31 +00:00
Guido van Rossum
c8a80cdbad
Added docs for replace() and replace1().
1997-03-25 16:41:31 +00:00
Roger E. Masse
4fc7067055
Added a 'sync' method to shelve. If the underlying database does not have a sync
...
attribute, this method silently ignores this fact. The default (bsddb's dbhash) does.
1997-03-25 16:06:03 +00:00
Guido van Rossum
e8e87999ab
Remove untrue statement about . and .. being included in list of names
...
passed to walk() visitor.
1997-03-25 15:25:54 +00:00