]> granicus.if.org Git - python/log
python
28 years agoPass VERSION and VPATH into getpath.c.
Guido van Rossum [Fri, 11 Apr 1997 17:04:49 +0000 (17:04 +0000)]
Pass VERSION and VPATH into getpath.c.

28 years agoOops, added <URL:...> around the URL.
Guido van Rossum [Fri, 11 Apr 1997 16:46:56 +0000 (16:46 +0000)]
Oops, added <URL:...> around the URL.

28 years ago(Sjoerd:) Incorporate `build number' stuff.
Guido van Rossum [Fri, 11 Apr 1997 15:25:47 +0000 (15:25 +0000)]
(Sjoerd:) Incorporate `build number' stuff.

28 years ago(Sjoerd:) Install getbuildinfo.c in config/ so extensions can use it.
Guido van Rossum [Fri, 11 Apr 1997 15:25:08 +0000 (15:25 +0000)]
(Sjoerd:) Install getbuildinfo.c in config/ so extensions can use it.

28 years agoBugfix by Sjoerd:
Guido van Rossum [Fri, 11 Apr 1997 15:23:52 +0000 (15:23 +0000)]
Bugfix by Sjoerd:
/* x_ocount is in bytes, wheras play.samples is in frames */
/* we want frames */

28 years agobase64 support by Sjoerd.
Guido van Rossum [Fri, 11 Apr 1997 15:22:56 +0000 (15:22 +0000)]
base64 support by Sjoerd.

28 years agoAdded note about SWIG (replacing a whole lot of nonsense about how
Guido van Rossum [Fri, 11 Apr 1997 15:19:35 +0000 (15:19 +0000)]
Added note about SWIG (replacing a whole lot of nonsense about how
difficult it is to do).

28 years agoUse uuencoded test images.
Guido van Rossum [Wed, 9 Apr 1997 21:25:01 +0000 (21:25 +0000)]
Use uuencoded test images.

28 years agoDon't just die when an error is not defined; print a warning instead.
Guido van Rossum [Wed, 9 Apr 1997 21:02:17 +0000 (21:02 +0000)]
Don't just die when an error is not defined; print a warning instead.
This for errno-challenged platforms like Windows.

28 years agoTry calling getpid() from /usr/lib/libc.so instead of some other
Guido van Rossum [Wed, 9 Apr 1997 20:57:52 +0000 (20:57 +0000)]
Try calling getpid() from /usr/lib/libc.so instead of some other
random things.

28 years agoUse TESTFN instead of /etc/passwd and /dev/null as test files.
Guido van Rossum [Wed, 9 Apr 1997 20:51:54 +0000 (20:51 +0000)]
Use TESTFN instead of /etc/passwd and /dev/null as test files.

28 years agoTweaks to keep the Microsoft compiler quiet.
Guido van Rossum [Wed, 9 Apr 1997 19:41:24 +0000 (19:41 +0000)]
Tweaks to keep the Microsoft compiler quiet.

28 years agoTweaks to keep the Microsoft compiler quier.
Guido van Rossum [Wed, 9 Apr 1997 19:24:53 +0000 (19:24 +0000)]
Tweaks to keep the Microsoft compiler quier.

28 years agoRemove unused variable.
Guido van Rossum [Wed, 9 Apr 1997 18:22:28 +0000 (18:22 +0000)]
Remove unused variable.

28 years agoRemove two unised variables.
Guido van Rossum [Wed, 9 Apr 1997 18:19:39 +0000 (18:19 +0000)]
Remove two unised variables.

28 years agoGot rid of the static decl of PyCObject_Import, which was a 1.4
Guido van Rossum [Wed, 9 Apr 1997 18:04:08 +0000 (18:04 +0000)]
Got rid of the static decl of PyCObject_Import, which was a 1.4
compatibility hack.

28 years agoGive PyErr_Format a new name and make it static.
Guido van Rossum [Wed, 9 Apr 1997 17:47:47 +0000 (17:47 +0000)]
Give PyErr_Format a new name and make it static.

28 years agosupport module for cPickle
Guido van Rossum [Wed, 9 Apr 1997 17:44:11 +0000 (17:44 +0000)]
support module for cPickle

28 years agoJim Fulton's version 2.2.
Guido van Rossum [Wed, 9 Apr 1997 17:36:32 +0000 (17:36 +0000)]
Jim Fulton's version 2.2.

28 years agoUnknown changes by Jim Fulton.
Guido van Rossum [Wed, 9 Apr 1997 17:35:33 +0000 (17:35 +0000)]
Unknown changes by Jim Fulton.

28 years agoChanged the way the C API was exported. Jim Fulton.
Guido van Rossum [Wed, 9 Apr 1997 17:34:28 +0000 (17:34 +0000)]
Changed the way the C API was exported.  Jim Fulton.

28 years agoNew version by Digital Creations, supports binary format compatible
Guido van Rossum [Wed, 9 Apr 1997 17:32:51 +0000 (17:32 +0000)]
New version by Digital Creations, supports binary format compatible
with cPickle.

28 years agoPing's latest. Fixes triple quoted strings ending in odd
Guido van Rossum [Wed, 9 Apr 1997 17:15:54 +0000 (17:15 +0000)]
Ping's latest.  Fixes triple quoted strings ending in odd
#backslashes, and other stuff I don't know.

28 years agoNewMovieFromFile has extra parameter and return value
Jack Jansen [Wed, 9 Apr 1997 15:54:54 +0000 (15:54 +0000)]
NewMovieFromFile has extra parameter and return value

28 years agoEnabled resID input/output parameter to NewMovieFromFile. This changes
Jack Jansen [Wed, 9 Apr 1997 15:53:46 +0000 (15:53 +0000)]
Enabled resID input/output parameter to NewMovieFromFile. This changes
the Python interface, unfortunately.
Added a few calls that were blacklisted for no apparent reason.

28 years agowhile (1) -> while 1. Sorry.
Guido van Rossum [Tue, 8 Apr 1997 19:46:53 +0000 (19:46 +0000)]
while (1) -> while 1.  Sorry.

28 years agoSearch for a valid begin line instead of requiring the first line.
Guido van Rossum [Tue, 8 Apr 1997 19:46:02 +0000 (19:46 +0000)]
Search for a valid begin line instead of requiring the first line.

28 years ago(Optional) MSL compatability
Jack Jansen [Tue, 8 Apr 1997 15:28:05 +0000 (15:28 +0000)]
(Optional) MSL compatability

28 years agoDisposPtr -> DisposePtr
Jack Jansen [Tue, 8 Apr 1997 15:27:29 +0000 (15:27 +0000)]
DisposPtr -> DisposePtr

28 years agoChanged the few old routine names still used to the new ones
Jack Jansen [Tue, 8 Apr 1997 15:27:00 +0000 (15:27 +0000)]
Changed the few old routine names still used to the new ones
Started working on MSL support

28 years agoChanged [SG]etCRefCon to [SG]etControlReference
Jack Jansen [Tue, 8 Apr 1997 15:26:03 +0000 (15:26 +0000)]
Changed [SG]etCRefCon to [SG]etControlReference

28 years agoModified for (optional) use of MSL
Jack Jansen [Tue, 8 Apr 1997 15:24:58 +0000 (15:24 +0000)]
Modified for (optional) use of MSL

28 years agoFixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS
Jack Jansen [Tue, 8 Apr 1997 15:24:17 +0000 (15:24 +0000)]
Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS

28 years agoKa-Ping's muich improved version of March 26, 1997:
Guido van Rossum [Tue, 8 Apr 1997 14:24:39 +0000 (14:24 +0000)]
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'.

28 years agoSupport for alternative string quotes (a"xx", b"xx", c"xx", ...).
Guido van Rossum [Sun, 6 Apr 1997 03:46:20 +0000 (03:46 +0000)]
Support for alternative string quotes (a"xx", b"xx", c"xx", ...).

28 years agoSupport for alternative string quotes (a"xx", b"xx", c"xx", ...).
Guido van Rossum [Sun, 6 Apr 1997 03:41:40 +0000 (03:41 +0000)]
Support for alternative string quotes (a"xx", b"xx", c"xx", ...).

In interactive mode, do generate code for single-string statements.

28 years agoVarious status updates.
Guido van Rossum [Thu, 3 Apr 1997 23:49:28 +0000 (23:49 +0000)]
Various status updates.

28 years agoAdded site
Guido van Rossum [Thu, 3 Apr 1997 22:43:02 +0000 (22:43 +0000)]
Added site

28 years agoNew stuff by AMK.
Guido van Rossum [Thu, 3 Apr 1997 22:41:49 +0000 (22:41 +0000)]
New stuff by AMK.

28 years agoRemove a redundant XINCREF(value). This caused the reference count of
Guido van Rossum [Thu, 3 Apr 1997 18:31:43 +0000 (18:31 +0000)]
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.

28 years agoNew version by Sjoerd, with support for IRIX 6 audio library.
Guido van Rossum [Thu, 3 Apr 1997 17:06:32 +0000 (17:06 +0000)]
New version by Sjoerd, with support for IRIX 6 audio library.

28 years agoAdded an attribute string_id_to_buffer, which gives the offset you
Jack Jansen [Thu, 3 Apr 1997 14:51:03 +0000 (14:51 +0000)]
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...

28 years ago- Most errors are *not* OSErr style, so raise better exceptions (with
Jack Jansen [Thu, 3 Apr 1997 14:48:04 +0000 (14:48 +0000)]
- Most errors are *not* OSErr style, so raise better exceptions (with
  textual messages)
- Plugged a memory leak or two

28 years agoStill not a real test, but at least it runs again
Jack Jansen [Thu, 3 Apr 1997 14:45:28 +0000 (14:45 +0000)]
Still not a real test, but at least it runs again

28 years agoUse MacOS.string_id_to_buffer for id() to buffer address hack
Jack Jansen [Thu, 3 Apr 1997 14:44:41 +0000 (14:44 +0000)]
Use MacOS.string_id_to_buffer for id() to buffer address hack

28 years agoUse MacOS.string_id_to_buffer for the hack to convert string id() to
Jack Jansen [Thu, 3 Apr 1997 14:44:07 +0000 (14:44 +0000)]
Use MacOS.string_id_to_buffer for the hack to convert string id() to
buffer address.

28 years agoChecked in some new Tk demos that I wrote a while ago.
Guido van Rossum [Thu, 3 Apr 1997 00:04:51 +0000 (00:04 +0000)]
Checked in some new Tk demos that I wrote a while ago.

28 years agoSmall grammatical touchups:
Fred Drake [Wed, 2 Apr 1997 14:51:56 +0000 (14:51 +0000)]
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.

28 years agoWhole lotta changes.
Guido van Rossum [Wed, 2 Apr 1997 06:13:34 +0000 (06:13 +0000)]
Whole lotta changes.

28 years agouse /usr/bin/env
Guido van Rossum [Wed, 2 Apr 1997 06:11:55 +0000 (06:11 +0000)]
use /usr/bin/env

28 years agoAdded replace() implementation by Perry Stoll (debugged and reformatted by me).
Guido van Rossum [Wed, 2 Apr 1997 06:11:18 +0000 (06:11 +0000)]
Added replace() implementation by Perry Stoll (debugged and reformatted by me).

28 years agoSpell Unix, not UNIX.
Guido van Rossum [Wed, 2 Apr 1997 06:06:03 +0000 (06:06 +0000)]
Spell Unix, not UNIX.

28 years agoHorrible hack to split up code '--' to prevent
Guido van Rossum [Wed, 2 Apr 1997 06:05:07 +0000 (06:05 +0000)]
Horrible hack to split up code '--' to prevent
latex2html from collapsing it into '-'.

28 years agoAdd complex().
Guido van Rossum [Wed, 2 Apr 1997 06:04:02 +0000 (06:04 +0000)]
Add complex().
Update int(), long(), float() to support string conversions.

28 years agoAdd cross-refs for int() to atoi() etc.
Guido van Rossum [Wed, 2 Apr 1997 05:56:16 +0000 (05:56 +0000)]
Add cross-refs for int() to atoi() etc.
Change replace() arguments; remove replace1().

28 years agoChanged my mind on replace().
Guido van Rossum [Wed, 2 Apr 1997 05:49:46 +0000 (05:49 +0000)]
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().

28 years agoAdd #! line.
Guido van Rossum [Wed, 2 Apr 1997 05:47:39 +0000 (05:47 +0000)]
Add #! line.

28 years agoNew doc strings.
Guido van Rossum [Wed, 2 Apr 1997 05:47:11 +0000 (05:47 +0000)]
New doc strings.

28 years agoFix two small bugs with proxies.
Guido van Rossum [Wed, 2 Apr 1997 05:46:35 +0000 (05:46 +0000)]
Fix two small bugs with proxies.

28 years agoNew symbols due to assert statement.
Guido van Rossum [Wed, 2 Apr 1997 05:46:05 +0000 (05:46 +0000)]
New symbols due to assert statement.

28 years agoNew test output for test_builtin
Guido van Rossum [Wed, 2 Apr 1997 05:44:51 +0000 (05:44 +0000)]
New test output for test_builtin

28 years agoWin32 precision clock() -- Mark Hammond.
Guido van Rossum [Wed, 2 Apr 1997 05:35:28 +0000 (05:35 +0000)]
Win32 precision clock() -- Mark Hammond.

28 years agoSupport include statement :-(
Guido van Rossum [Wed, 2 Apr 1997 05:33:00 +0000 (05:33 +0000)]
Support include statement :-(

28 years agoSupport assert stmt.
Guido van Rossum [Wed, 2 Apr 1997 05:32:13 +0000 (05:32 +0000)]
Support assert stmt.

28 years agoSeveral fixes reported by jim F.
Guido van Rossum [Wed, 2 Apr 1997 05:31:09 +0000 (05:31 +0000)]
Several fixes reported by jim F.

28 years agoAllow passing a .pyo file.
Guido van Rossum [Wed, 2 Apr 1997 05:28:38 +0000 (05:28 +0000)]
Allow passing a .pyo file.
Print correct name in fatal error from PyErr_Print.

28 years agoAdded assert statement.
Guido van Rossum [Wed, 2 Apr 1997 05:24:36 +0000 (05:24 +0000)]
Added assert statement.

28 years agoAdded assert grammar.
Guido van Rossum [Wed, 2 Apr 1997 05:24:08 +0000 (05:24 +0000)]
Added assert grammar.

28 years agoAllow leading underscore in keywords.
Guido van Rossum [Wed, 2 Apr 1997 05:23:46 +0000 (05:23 +0000)]
Allow leading underscore in keywords.

28 years agoAdded AssertionError.
Guido van Rossum [Wed, 2 Apr 1997 05:22:53 +0000 (05:22 +0000)]
Added AssertionError.

28 years agoAdded __assert__ statement (later to be renamed)
Guido van Rossum [Wed, 2 Apr 1997 05:22:18 +0000 (05:22 +0000)]
Added __assert__ statement (later to be renamed)

28 years agoOptimized the hell out of listmessages().
Guido van Rossum [Wed, 2 Apr 1997 01:18:30 +0000 (01:18 +0000)]
Optimized the hell out of listmessages().
Changed numericprog regexpr to make it faster to check.
Removed now unnecessary checks for os.curdir, os.pardir.

28 years agoGet rid of .conj pseudo data attribute for complex numbers.
Guido van Rossum [Tue, 1 Apr 1997 03:12:33 +0000 (03:12 +0000)]
Get rid of .conj pseudo data attribute for complex numbers.
Add __members__ attribute.

28 years agoRemove ConflictError (which was also removed from bltinmodule.c, even
Guido van Rossum [Mon, 31 Mar 1997 17:19:40 +0000 (17:19 +0000)]
Remove ConflictError (which was also removed from bltinmodule.c, even
though the checkin message failed to note that).

28 years agoremove ConflictError
Guido van Rossum [Mon, 31 Mar 1997 17:19:05 +0000 (17:19 +0000)]
remove ConflictError

28 years agoRemove ConflictError, add InteractiveFlag, CObject_Type, FdIsInteractive, and thread...
Guido van Rossum [Mon, 31 Mar 1997 17:18:03 +0000 (17:18 +0000)]
Remove ConflictError, add InteractiveFlag, CObject_Type, FdIsInteractive, and thread entry points.

28 years ago1. Add string conversions to int(), long(), float(). (Not to complex()!)
Guido van Rossum [Mon, 31 Mar 1997 17:15:43 +0000 (17:15 +0000)]
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.

28 years agoAdded test of complex() (that catches a bug in 1.4!).
Guido van Rossum [Mon, 31 Mar 1997 17:13:17 +0000 (17:13 +0000)]
Added test of complex() (that catches a bug in 1.4!).

Added test that ensures that int() and long() truncate float numbers
towards zero.

28 years agoAdded a list of the main undocumented extension modules.
Guido van Rossum [Thu, 27 Mar 1997 20:57:52 +0000 (20:57 +0000)]
Added a list of the main undocumented extension modules.

28 years agoAdded docs for UserDict,UserList
Guido van Rossum [Thu, 27 Mar 1997 14:56:18 +0000 (14:56 +0000)]
Added docs for UserDict,UserList

28 years agoAdded docs for glob and mailcap
Guido van Rossum [Tue, 25 Mar 1997 22:09:18 +0000 (22:09 +0000)]
Added docs for glob and mailcap

28 years agoAdded docs for glob
Guido van Rossum [Tue, 25 Mar 1997 22:07:53 +0000 (22:07 +0000)]
Added docs for glob

28 years agoAdded docs for mailcap
Guido van Rossum [Tue, 25 Mar 1997 22:01:35 +0000 (22:01 +0000)]
Added docs for mailcap

28 years agoChange by Andrew Kuchling (edited by Guido):
Guido van Rossum [Tue, 25 Mar 1997 21:58:08 +0000 (21:58 +0000)]
Change by Andrew Kuchling (edited by Guido):

Removed unused import tempfile.

Added some docstrings.

28 years agoAdded two new questions about number conversions.
Guido van Rossum [Tue, 25 Mar 1997 18:25:20 +0000 (18:25 +0000)]
Added two new questions about number conversions.

28 years agoAs per GvR recomendation, added support for a 'sync' attribute for the
Roger E. Masse [Tue, 25 Mar 1997 17:39:56 +0000 (17:39 +0000)]
As per GvR recomendation, added support for a 'sync' attribute for the
GDBM module.

28 years agoAdded new functions replace() and replace1().
Guido van Rossum [Tue, 25 Mar 1997 16:50:31 +0000 (16:50 +0000)]
Added new functions replace() and replace1().

28 years agoAdded docs for replace() and replace1().
Guido van Rossum [Tue, 25 Mar 1997 16:41:31 +0000 (16:41 +0000)]
Added docs for replace() and replace1().

28 years agoAdded a 'sync' method to shelve. If the underlying database does not have a sync
Roger E. Masse [Tue, 25 Mar 1997 16:06:03 +0000 (16:06 +0000)]
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.

28 years agoRemove untrue statement about . and .. being included in list of names
Guido van Rossum [Tue, 25 Mar 1997 15:25:54 +0000 (15:25 +0000)]
Remove untrue statement about . and .. being included in list of names
passed to walk() visitor.

28 years agoAdd clear() method to dictionary objects.
Guido van Rossum [Fri, 21 Mar 1997 21:55:12 +0000 (21:55 +0000)]
Add clear() method to dictionary objects.

28 years agoRemoved 'marshal' from the list of "ok" built-in functions -- the
Guido van Rossum [Fri, 21 Mar 1997 21:18:16 +0000 (21:18 +0000)]
Removed 'marshal' from the list of "ok" built-in functions -- the
unmarshalling code is actually rather naive and can easily be
caused to crash by feeding it invalid data.  This should be fixed in
the marshal module, but I don't have the time to fix it now :-(

28 years agoFix typo (missing $ in )
Guido van Rossum [Thu, 20 Mar 1997 20:46:29 +0000 (20:46 +0000)]
Fix typo (missing $ in )

28 years agoPing's new version -- more efficient at finding the keywords.
Guido van Rossum [Thu, 20 Mar 1997 20:40:45 +0000 (20:40 +0000)]
Ping's new version -- more efficient at finding the keywords.

28 years agoAdded __assert__.
Guido van Rossum [Thu, 20 Mar 1997 19:46:41 +0000 (19:46 +0000)]
Added __assert__.

28 years agoKa-Ping Yee's version is better:
Guido van Rossum [Thu, 20 Mar 1997 19:45:51 +0000 (19:45 +0000)]
Ka-Ping Yee's version is better:

Here's a "keyword" module which, in the spirit of "token.py", updates
the list of keywords automatically from a source file (in this case,
"graminit.c" seemed like a reasonable choice, easier than "Grammar/Grammar").

You get "kwlist", a sorted list of keywords; "kwdict", a dictionary
mapping each keyword to 1; and "iskeyword", a function which tells
you if a given string happens to be a keyword.

28 years agoSimple module to publish list of Python keywords.
Guido van Rossum [Thu, 20 Mar 1997 19:44:30 +0000 (19:44 +0000)]
Simple module to publish list of Python keywords.

28 years agoAvoid crashes with nested multipart/mixed parts.
Guido van Rossum [Thu, 20 Mar 1997 14:42:17 +0000 (14:42 +0000)]
Avoid crashes with nested multipart/mixed parts.

28 years agoAdded note about adding \n to source for exec and compile.
Guido van Rossum [Wed, 19 Mar 1997 14:43:28 +0000 (14:43 +0000)]
Added note about adding \n to source for exec and compile.

28 years agoAdded Q. about HTTP/1.1.
Guido van Rossum [Sun, 16 Mar 1997 18:34:00 +0000 (18:34 +0000)]
Added Q. about HTTP/1.1.