]>
granicus.if.org Git - python/log
Guido van Rossum [Fri, 11 Apr 1997 22:26:42 +0000 (22:26 +0000)]
Catch and report ValueError raised by strftime.
Guido van Rossum [Fri, 11 Apr 1997 22:19:12 +0000 (22:19 +0000)]
OK, I lied. On Windows, _IOLBF seems to be the same as full
buffering, so to get the normal behavior back, I set it to
unbuffered.
Guido van Rossum [Fri, 11 Apr 1997 21:57:53 +0000 (21:57 +0000)]
Change in when and how stdin and stdout are set to line-buffering.
This used to be done whenever stdin was interactive. Now we only do
it when the -i flag is given. Also (and this is the real reason for
this fix) we explicitly allocate a buffer -- this seems to be
necessary on Windows.
Guido van Rossum [Fri, 11 Apr 1997 20:44:04 +0000 (20:44 +0000)]
Keep Microsoft VC happy.
Guido van Rossum [Fri, 11 Apr 1997 20:37:35 +0000 (20:37 +0000)]
Keep gcc -Wall and Microsoft VC happy.
Barry Warsaw [Fri, 11 Apr 1997 20:27:03 +0000 (20:27 +0000)]
Removed two unused static function: string_addsep() and
string_append(). These must be artifacts of GvR's rewrite.
Fixed some typos in the leading comment (and re-filled the
paragraphs).
Hope you don't mind, Guido.
Guido van Rossum [Fri, 11 Apr 1997 19:56:06 +0000 (19:56 +0000)]
My own patch: support writable 'softspace' attribute.
Guido van Rossum [Fri, 11 Apr 1997 19:22:06 +0000 (19:22 +0000)]
(Jack:) On the Mac, don't automatically enable dynamic loading.
Guido van Rossum [Fri, 11 Apr 1997 19:19:46 +0000 (19:19 +0000)]
(Jack:) Don't define TRUE and FALSE if already defined.
Guido van Rossum [Fri, 11 Apr 1997 19:18:23 +0000 (19:18 +0000)]
(Jack:) On the Mac, use standard strerror() if using MSL C-library.
Guido van Rossum [Fri, 11 Apr 1997 19:16:25 +0000 (19:16 +0000)]
(Jack:) On the Mac, give syntax error on \r.
Guido van Rossum [Fri, 11 Apr 1997 19:14:07 +0000 (19:14 +0000)]
(Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.
Guido van Rossum [Fri, 11 Apr 1997 19:12:20 +0000 (19:12 +0000)]
(Jack:) fopen arg typo (?) "rw" changed to "rb".
Guido van Rossum [Fri, 11 Apr 1997 19:11:25 +0000 (19:11 +0000)]
(Jack:) Mac only: get GUSI errno.h values too.
Guido van Rossum [Fri, 11 Apr 1997 19:09:51 +0000 (19:09 +0000)]
(Jack+Guido:) interpret ../ in basejoin() according to RFC1808.
Guido van Rossum [Fri, 11 Apr 1997 19:01:48 +0000 (19:01 +0000)]
Open files in binary mode.
Guido van Rossum [Fri, 11 Apr 1997 19:00:53 +0000 (19:00 +0000)]
(Jack:) Better MacOS support.
Guido van Rossum [Fri, 11 Apr 1997 18:59:38 +0000 (18:59 +0000)]
(Jack:) Recognize PNG files.
Guido van Rossum [Fri, 11 Apr 1997 18:42:45 +0000 (18:42 +0000)]
Remove the Emacs shell-script line. It's not a shell script.
Guido van Rossum [Fri, 11 Apr 1997 18:20:42 +0000 (18:20 +0000)]
From: Clarence Gardner <clarence@king.silcom.com>
The function parse_qs currently calls urllib.unquote on the
value of the field submitted, but not on the name. It needs
to do both.
Guido van Rossum [Fri, 11 Apr 1997 17:19:54 +0000 (17:19 +0000)]
The default path components are now all relative instead of absolute paths.
This completes the getpath.c checkin. Note that to enable this in an
existing build tree, you'll have to edit your Setup and Setup.in file
to remove the $(DESTLIB) from all the PATH variable definitions.
Guido van Rossum [Fri, 11 Apr 1997 17:18:45 +0000 (17:18 +0000)]
Completely revamped the way the default path is constructed.
Idea and first three implementation rounds due to Barry -- after that
I spent another day on it, hopefully it's enough for now :-)
(Wait for the checkin to Setup.in.)
Guido van Rossum [Fri, 11 Apr 1997 17:04:49 +0000 (17:04 +0000)]
Pass VERSION and VPATH into getpath.c.
Guido van Rossum [Fri, 11 Apr 1997 16:46:56 +0000 (16:46 +0000)]
Oops, added <URL:...> around the URL.
Guido van Rossum [Fri, 11 Apr 1997 15:25:47 +0000 (15:25 +0000)]
(Sjoerd:) Incorporate `build number' stuff.
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.
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 */
Guido van Rossum [Fri, 11 Apr 1997 15:22:56 +0000 (15:22 +0000)]
base64 support by Sjoerd.
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).
Guido van Rossum [Wed, 9 Apr 1997 21:25:01 +0000 (21:25 +0000)]
Use uuencoded test images.
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.
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.
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.
Guido van Rossum [Wed, 9 Apr 1997 19:41:24 +0000 (19:41 +0000)]
Tweaks to keep the Microsoft compiler quiet.
Guido van Rossum [Wed, 9 Apr 1997 19:24:53 +0000 (19:24 +0000)]
Tweaks to keep the Microsoft compiler quier.
Guido van Rossum [Wed, 9 Apr 1997 18:22:28 +0000 (18:22 +0000)]
Remove unused variable.
Guido van Rossum [Wed, 9 Apr 1997 18:19:39 +0000 (18:19 +0000)]
Remove two unised variables.
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.
Guido van Rossum [Wed, 9 Apr 1997 17:47:47 +0000 (17:47 +0000)]
Give PyErr_Format a new name and make it static.
Guido van Rossum [Wed, 9 Apr 1997 17:44:11 +0000 (17:44 +0000)]
support module for cPickle
Guido van Rossum [Wed, 9 Apr 1997 17:36:32 +0000 (17:36 +0000)]
Jim Fulton's version 2.2.
Guido van Rossum [Wed, 9 Apr 1997 17:35:33 +0000 (17:35 +0000)]
Unknown changes by 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.
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.
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.
Jack Jansen [Wed, 9 Apr 1997 15:54:54 +0000 (15:54 +0000)]
NewMovieFromFile has extra parameter and return value
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.
Guido van Rossum [Tue, 8 Apr 1997 19:46:53 +0000 (19:46 +0000)]
while (1) -> while 1. Sorry.
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.
Jack Jansen [Tue, 8 Apr 1997 15:28:05 +0000 (15:28 +0000)]
(Optional) MSL compatability
Jack Jansen [Tue, 8 Apr 1997 15:27:29 +0000 (15:27 +0000)]
DisposPtr -> DisposePtr
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
Jack Jansen [Tue, 8 Apr 1997 15:26:03 +0000 (15:26 +0000)]
Changed [SG]etCRefCon to [SG]etControlReference
Jack Jansen [Tue, 8 Apr 1997 15:24:58 +0000 (15:24 +0000)]
Modified for (optional) use of MSL
Jack Jansen [Tue, 8 Apr 1997 15:24:17 +0000 (15:24 +0000)]
Fixed for compiling without OLDROUTINENAMES and OLDROUTINELOCATIONS
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'.
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", ...).
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.
Guido van Rossum [Thu, 3 Apr 1997 23:49:28 +0000 (23:49 +0000)]
Various status updates.
Guido van Rossum [Thu, 3 Apr 1997 22:43:02 +0000 (22:43 +0000)]
Added site
Guido van Rossum [Thu, 3 Apr 1997 22:41:49 +0000 (22:41 +0000)]
New stuff by AMK.
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.
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.
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...
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
Jack Jansen [Thu, 3 Apr 1997 14:45:28 +0000 (14:45 +0000)]
Still not a real test, but at least it runs again
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
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.
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.
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.
Guido van Rossum [Wed, 2 Apr 1997 06:13:34 +0000 (06:13 +0000)]
Whole lotta changes.
Guido van Rossum [Wed, 2 Apr 1997 06:11:55 +0000 (06:11 +0000)]
use /usr/bin/env
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).
Guido van Rossum [Wed, 2 Apr 1997 06:06:03 +0000 (06:06 +0000)]
Spell Unix, not UNIX.
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 '-'.
Guido van Rossum [Wed, 2 Apr 1997 06:04:02 +0000 (06:04 +0000)]
Add complex().
Update int(), long(), float() to support string conversions.
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().
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().
Guido van Rossum [Wed, 2 Apr 1997 05:47:39 +0000 (05:47 +0000)]
Add #! line.
Guido van Rossum [Wed, 2 Apr 1997 05:47:11 +0000 (05:47 +0000)]
New doc strings.
Guido van Rossum [Wed, 2 Apr 1997 05:46:35 +0000 (05:46 +0000)]
Fix two small bugs with proxies.
Guido van Rossum [Wed, 2 Apr 1997 05:46:05 +0000 (05:46 +0000)]
New symbols due to assert statement.
Guido van Rossum [Wed, 2 Apr 1997 05:44:51 +0000 (05:44 +0000)]
New test output for test_builtin
Guido van Rossum [Wed, 2 Apr 1997 05:35:28 +0000 (05:35 +0000)]
Win32 precision clock() -- Mark Hammond.
Guido van Rossum [Wed, 2 Apr 1997 05:33:00 +0000 (05:33 +0000)]
Support include statement :-(
Guido van Rossum [Wed, 2 Apr 1997 05:32:13 +0000 (05:32 +0000)]
Support assert stmt.
Guido van Rossum [Wed, 2 Apr 1997 05:31:09 +0000 (05:31 +0000)]
Several fixes reported by jim F.
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.
Guido van Rossum [Wed, 2 Apr 1997 05:24:36 +0000 (05:24 +0000)]
Added assert statement.
Guido van Rossum [Wed, 2 Apr 1997 05:24:08 +0000 (05:24 +0000)]
Added assert grammar.
Guido van Rossum [Wed, 2 Apr 1997 05:23:46 +0000 (05:23 +0000)]
Allow leading underscore in keywords.
Guido van Rossum [Wed, 2 Apr 1997 05:22:53 +0000 (05:22 +0000)]
Added AssertionError.
Guido van Rossum [Wed, 2 Apr 1997 05:22:18 +0000 (05:22 +0000)]
Added __assert__ statement (later to be renamed)
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.
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.
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).
Guido van Rossum [Mon, 31 Mar 1997 17:19:05 +0000 (17:19 +0000)]
remove ConflictError
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.
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.
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.