]> granicus.if.org Git - python/log
python
28 years agoRestore two features of the original 1.4 pickle:
Guido van Rossum [Fri, 25 Apr 1997 19:52:29 +0000 (19:52 +0000)]
Restore two features of the original 1.4 pickle:

- which_module() search __main__ last;

- load_inst() no longer checks that the classname really refers to a class.

28 years agoAlas, I have to restore 'marshal', since it is needed by the new
Guido van Rossum [Fri, 25 Apr 1997 19:10:15 +0000 (19:10 +0000)]
Alas, I have to restore 'marshal', since it is needed by the new
cPickle-compatible pickle, and pickle must be importable in restricted
mode.  I guess I'll have to make marshal safe.

28 years agoNow that the string-sig has settled on r"obin" strings, restrict the
Guido van Rossum [Fri, 25 Apr 1997 17:32:00 +0000 (17:32 +0000)]
Now that the string-sig has settled on r"obin" strings, restrict the
<letter><string> notation to 'r' and 'R'.

28 years agoExpand one level of symbolic link in sys.argv[0] before inserting its
Guido van Rossum [Fri, 25 Apr 1997 15:38:31 +0000 (15:38 +0000)]
Expand one level of symbolic link in sys.argv[0] before inserting its
dirname in sys.path.  This means that you can create a symbolic link
foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and
then invoking foo will insert /usr/yourname/src/foo in sys.path, not
/usr/local/bin.  This makes it easier to have multifile programs
(before, the program would have to do an os.readlink(sys.argv[0])
itself and insert the resulting directory in sys.path -- Grail does
this).

Note that the expansion is only used for sys.path; sys.argv[0] is
still the original, unadorned filename (/usr/local/bin/foo in the
example).

28 years agoUnroll the for loop used for building python, so the first three
Guido van Rossum [Wed, 23 Apr 1997 15:14:24 +0000 (15:14 +0000)]
Unroll the for loop used for building python, so the first three
subdirectories can be made in parallel (unfortunately, Modules has to
depend on all three).

28 years agoChange inspired by Tommy Burnette to add an interface to get stderr, too.
Guido van Rossum [Mon, 21 Apr 1997 14:15:55 +0000 (14:15 +0000)]
Change inspired by Tommy Burnette to add an interface to get stderr, too.

28 years agoFix a couple of glitches identified by Greg Stein.
Fred Drake [Fri, 18 Apr 1997 13:54:13 +0000 (13:54 +0000)]
Fix a couple of glitches identified by Greg Stein.

28 years ago_safe_repr(): Make the context parameter required; ok since it's only for
Fred Drake [Wed, 16 Apr 1997 18:55:58 +0000 (18:55 +0000)]
_safe_repr():  Make the context parameter required; ok since it's only for
internal use.  Make sure the maxlevels and level parameters get
passed to recursive invocations.

28 years agoMuchly changed and improved pprint.py:
Fred Drake [Wed, 16 Apr 1997 16:59:30 +0000 (16:59 +0000)]
Muchly changed and improved pprint.py:

- handles recursive data structures
- formatting based on a PrettyPrinter object
- allows a maximum nesting depth to be specified
- provides safe repr()-like function which does not pretty-print

28 years agospliturl() should not throw away everything past first newline
Guido van Rossum [Wed, 16 Apr 1997 15:17:06 +0000 (15:17 +0000)]
spliturl() should not throw away everything past first newline

28 years agoRemoved pprint.py.
Fred Drake [Wed, 16 Apr 1997 04:47:57 +0000 (04:47 +0000)]
Removed pprint.py.

Removed pprint.py from the README; it's now in the standard lib.

28 years agoReindented with 4 spaces.
Guido van Rossum [Wed, 16 Apr 1997 02:47:12 +0000 (02:47 +0000)]
Reindented with 4 spaces.

28 years agoRewrite parsesequence() to emulate MH without invoking pick.
Guido van Rossum [Wed, 16 Apr 1997 02:45:08 +0000 (02:45 +0000)]
Rewrite parsesequence() to emulate MH without invoking pick.
Test it extensively by using pick.

28 years agoChecking in a copy of Fred Drake's data structure pretty-printer
Guido van Rossum [Wed, 16 Apr 1997 00:49:59 +0000 (00:49 +0000)]
Checking in a copy of Fred Drake's data structure pretty-printer
(with some slight formatting changes).

Feature requests:

- Make it a class (everything should be a class);

- support recursive data structures (like pp.py on the ftp contrib site).

28 years agoOK, ready to make 'assert' a keyword (instead of '__assert__').
Guido van Rossum [Wed, 16 Apr 1997 00:34:46 +0000 (00:34 +0000)]
OK, ready to make 'assert' a keyword (instead of '__assert__').

28 years agoUse uuencoded test images.
Guido van Rossum [Wed, 16 Apr 1997 00:30:45 +0000 (00:30 +0000)]
Use uuencoded test images.

28 years agoSoft failure for Win32 and Mac platforms. Less output unless verbose.
Guido van Rossum [Wed, 16 Apr 1997 00:29:59 +0000 (00:29 +0000)]
Soft failure for Win32 and Mac platforms.  Less output unless verbose.

28 years agoSoft failure for Win32 platform.
Guido van Rossum [Wed, 16 Apr 1997 00:29:15 +0000 (00:29 +0000)]
Soft failure for Win32 platform.

28 years agoNo need to define assert, it's built in.
Guido van Rossum [Wed, 16 Apr 1997 00:27:45 +0000 (00:27 +0000)]
No need to define assert, it's built in.

28 years agoAlways use spaces for indentation.
Fred Drake [Tue, 15 Apr 1997 14:15:23 +0000 (14:15 +0000)]
Always use spaces for indentation.

Added pformat() function:  formats object to a string representation with
no trailing newline; returns the string.

28 years agoPatch by Craig McPheeters to clean up the back-references to widgets
Guido van Rossum [Mon, 14 Apr 1997 13:30:24 +0000 (13:30 +0000)]
Patch by Craig McPheeters to clean up the back-references to widgets
contained in commands created by those same widgets.

28 years agoRemove Digital Creations copyright (Jim sez it's okay).
Guido van Rossum [Fri, 11 Apr 1997 22:31:56 +0000 (22:31 +0000)]
Remove Digital Creations copyright (Jim sez it's okay).

28 years agoCatch and report ValueError raised by strftime.
Guido van Rossum [Fri, 11 Apr 1997 22:26:42 +0000 (22:26 +0000)]
Catch and report ValueError raised by strftime.

28 years agoOK, I lied. On Windows, _IOLBF seems to be the same as full
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.

28 years agoChange in when and how stdin and stdout are set to line-buffering.
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.

28 years agoKeep Microsoft VC happy.
Guido van Rossum [Fri, 11 Apr 1997 20:44:04 +0000 (20:44 +0000)]
Keep Microsoft VC happy.

28 years agoKeep gcc -Wall and Microsoft VC happy.
Guido van Rossum [Fri, 11 Apr 1997 20:37:35 +0000 (20:37 +0000)]
Keep gcc -Wall and Microsoft VC happy.

28 years agoRemoved two unused static function: string_addsep() and
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.

28 years agoMy own patch: support writable 'softspace' attribute.
Guido van Rossum [Fri, 11 Apr 1997 19:56:06 +0000 (19:56 +0000)]
My own patch: support writable 'softspace' attribute.

28 years ago(Jack:) On the Mac, don't automatically enable dynamic loading.
Guido van Rossum [Fri, 11 Apr 1997 19:22:06 +0000 (19:22 +0000)]
(Jack:) On the Mac, don't automatically enable dynamic loading.

28 years ago(Jack:) Don't define TRUE and FALSE if already defined.
Guido van Rossum [Fri, 11 Apr 1997 19:19:46 +0000 (19:19 +0000)]
(Jack:) Don't define TRUE and FALSE if already defined.

28 years ago(Jack:) On the Mac, use standard strerror() if using MSL C-library.
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.

28 years ago(Jack:) On the Mac, give syntax error on \r.
Guido van Rossum [Fri, 11 Apr 1997 19:16:25 +0000 (19:16 +0000)]
(Jack:) On the Mac, give syntax error on \r.

28 years ago(Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.
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.

28 years ago(Jack:) fopen arg typo (?) "rw" changed to "rb".
Guido van Rossum [Fri, 11 Apr 1997 19:12:20 +0000 (19:12 +0000)]
(Jack:) fopen arg typo (?) "rw" changed to "rb".

28 years ago(Jack:) Mac only: get GUSI errno.h values too.
Guido van Rossum [Fri, 11 Apr 1997 19:11:25 +0000 (19:11 +0000)]
(Jack:) Mac only: get GUSI errno.h values too.

28 years ago(Jack+Guido:) interpret ../ in basejoin() according to RFC1808.
Guido van Rossum [Fri, 11 Apr 1997 19:09:51 +0000 (19:09 +0000)]
(Jack+Guido:) interpret ../ in basejoin() according to RFC1808.

28 years agoOpen files in binary mode.
Guido van Rossum [Fri, 11 Apr 1997 19:01:48 +0000 (19:01 +0000)]
Open files in binary mode.

28 years ago(Jack:) Better MacOS support.
Guido van Rossum [Fri, 11 Apr 1997 19:00:53 +0000 (19:00 +0000)]
(Jack:) Better MacOS support.

28 years ago(Jack:) Recognize PNG files.
Guido van Rossum [Fri, 11 Apr 1997 18:59:38 +0000 (18:59 +0000)]
(Jack:) Recognize PNG files.

28 years agoRemove the Emacs shell-script line. It's not a shell script.
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.

28 years agoFrom: Clarence Gardner <clarence@king.silcom.com>
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.

28 years agoThe default path components are now all relative instead of absolute paths.
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.

28 years agoCompletely revamped the way the default path is constructed.
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.)

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().