Guido van Rossum
eb891ae045
Get rid of obsolete setup_nt subdirectory.
1998-08-05 21:10:58 +00:00
Guido van Rossum
bc160b50c5
Getting rid of this ancient stuff.
1998-08-05 21:10:09 +00:00
Guido van Rossum
41b4f3875b
# Removed .pyc file that was accidentally checked in.
1998-08-05 17:56:42 +00:00
Jack Jansen
debafb9d84
Added SIZEOF_INT and SIZEOF_LONG
1998-08-05 16:04:47 +00:00
Guido van Rossum
227cf764b2
Undo a silly effect of a global substitution: the macintosh panic()
...
function had a reference to vPySys_WriteStderr(...) -- turn it back
into fprintf(stder, ...).
1998-08-05 13:53:32 +00:00
Fred Drake
11300cc71e
build_html(): Simplify, so there's only one version of the latex2html
...
command line.
l2hoption(): Convenience function, to write out an option to the aux. init.
file only if set.
Added --iconserver option to set the $ICONSERVER variable in latex2html; this
requires the use of an auxillary init. file since this can't be initialized
using a standard latex2html command-line option. So the aux. init. file is
used for just about all the special options since it has to be written anyway
when $ICONSERVER needs to be set.
1998-08-05 04:48:18 +00:00
Fred Drake
1ca8fdc446
Remove modified setting of $ICONSERVER; this isn't the right way to do it.
1998-08-05 04:36:09 +00:00
Guido van Rossum
a690394cae
New meat.
1998-08-04 22:59:26 +00:00
Guido van Rossum
fc8f5d1a7f
typo (pwill -> will).
1998-08-04 22:58:51 +00:00
Guido van Rossum
bcc207484a
Changes for BeOS, QNX and long long, by Chris Herborth.
1998-08-04 22:53:56 +00:00
Guido van Rossum
1a8791e0b8
Changes for BeOS, QNX and long long, by Chris Herborth.
1998-08-04 22:46:29 +00:00
Guido van Rossum
7d896ab1bb
Added gethostbyname_ex(), which returns the same kind of data as
...
gethostbyaddr(). (Plain gethostbyname() returns only the IP address.)
This moves the code shared by gethostbyaddr() and gethostbyname_ex()
to a subroutine.
Original patch by Dan Stromberg; some tweaks by GvR.
1998-08-04 22:16:43 +00:00
Fred Drake
45f2601cf3
get_chapter_id(): Separate two aspects of string replacement to allow the
...
need for each to vary independently.
1998-08-04 22:07:18 +00:00
Fred Drake
f54556efae
Fixed wrapping on some long lines.
1998-08-04 20:53:55 +00:00
Guido van Rossum
ec95c7bd2b
Changes for BeOS, QNX and long long, by Chris Herborth.
1998-08-04 17:59:56 +00:00
Guido van Rossum
d8eb2119b5
Adding the BeOS port. More checkins to follow.
1998-08-04 17:57:28 +00:00
Fred Drake
3f7b6fcea0
Ok, we'll try this again: update the release date. ;-(
1998-08-04 17:01:18 +00:00
Fred Drake
228e31eef9
Update the documentation release number in RELEASE.
1998-08-04 16:59:29 +00:00
Guido van Rossum
da4d6daa4a
Support case insensitive treatment of os.environ keys on Windows and
...
DOS (as well as OS/2). I presume that making a call to putenv() with
a lowercase key will actually do the right thing. I know this is so
on Windows/DOS, and I expect it is so OS/2 -- but the old OS/2 code
didn't assume this. (I don't know if the person who provided the OS/2
patch was clueless or just didn't care about DOS and Windows.)
Also ripped out the support for pickling -- as of 1.5, this is no
longer needed to make pickling work.
1998-08-04 16:01:23 +00:00
Fred Drake
7f875ef749
parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.
1998-08-04 15:58:10 +00:00
Guido van Rossum
fcfb6323fb
Latest version by The Dragon, who writes:
...
I did some bugfixes, and fixed a major problem with the esmtp suport (I
think the person who did that part misunderstood RFC1869) Some of the
interface fer esmtp-related things has changed as a result.
I also added some documentation to the SMTP class' docstring.
1998-08-04 15:29:54 +00:00
Guido van Rossum
5053efc2c4
In BUILD_LIST, use PyList_SET_ITEM() instead of PyList_SetItem(); and
...
get rid of redundant error check.
1998-08-04 15:27:50 +00:00
Guido van Rossum
c96417980c
Patch by Jody Winston (with my changes) to add some of the "wait
...
status inspection" macros as functions: WEXITSTATUS(), WIFEXITED(),
WIFSIGNALED(), WIFSTOPPED(), WSTOPSIG(), WTERMSIG().
1998-08-04 15:26:23 +00:00
Guido van Rossum
923fece5bd
Better error messages when raising ValueError for int literals. (The
...
previous version of this code would not show the offending input, even
though there was code that attempted this.)
1998-08-04 15:04:52 +00:00
Guido van Rossum
ac6a37ae55
Fix a potential problem in PyLong_FromString(): could fall through the
...
for loop with z==NULL but continue to reference z later.
1998-08-04 15:04:06 +00:00
Guido van Rossum
df3d8756b7
Better error messages when raising ValueError for int and long
...
literals. (The previous version of this code would not show the
offending input, even though there was code that attempted this.)
1998-08-04 15:02:01 +00:00
Guido van Rossum
152d8173a3
Fix a memory leak -- the cached values of __getattr__ etc. were never
...
freed.
1998-08-04 14:59:16 +00:00
Guido van Rossum
f6fc1ec462
Jim A's new versions of these
1998-08-03 20:23:42 +00:00
Guido van Rossum
84c6fc9653
Patch by Ron Klatchko: fix invariant in _unread(). Also fixed
...
readlines() to behave like it should (return lines with "\n" appended).
1998-08-03 15:41:39 +00:00
Guido van Rossum
6fd83b7b38
Generalized so it's useful for testing other packages, by Andrew
...
Kuchling @ CNRI.
1998-08-01 17:04:08 +00:00
Guido van Rossum
3357561476
Added randrange to list of exported functions.
1998-07-31 13:40:05 +00:00
Guido van Rossum
187f154243
Introducing randrange([start,] stop [,step]) -- same as
...
choice(range(start, stop, step)) but faster. This addresses the
problem that randint() was accidentally defined as taking an inclusive
range (how unpythonic).
The code is longish because Tim Peters insisted that it reject
non-integral arguments while I insisted that it be not much slower
than randint(); the compromise satisfies both but is somewhat
convoluted.
Also changed randint() to be implemented through randrange(). This is
a semantic change because old randint() didn't test its arguments for
validity. (It also makes randrange() win any contest with randint()
:-)
1998-07-31 13:39:44 +00:00
Jack Jansen
490ec9c877
Use buildtools where appropriate.
...
Build BuildApplication applet too.
1998-07-31 09:45:27 +00:00
Jack Jansen
b44f1cca6c
Build a full standalone application from a python script (Just)
1998-07-31 09:44:58 +00:00
Jack Jansen
015b70ec93
Common code used to the buildtools module (Just)
1998-07-31 09:44:23 +00:00
Jack Jansen
b5ae378c84
Implementation of freezing from shared libraries, without source. (Just)
1998-07-31 09:43:36 +00:00
Jack Jansen
813c997b76
Common code for BuildApplet, BuildApplication and fullbuild (Just)
1998-07-31 09:42:35 +00:00
Jack Jansen
87440e44d8
Extended replacement for scripts:cfmfile.py (Just)
1998-07-31 09:41:59 +00:00
Jack Jansen
871fad2641
Added has_key() method to IC object.
...
Removed a debug print.
1998-07-31 09:39:28 +00:00
Jack Jansen
a7a7df0666
New about box and a few other fixes by Just, and everything got
...
rebinhexed again.
1998-07-31 09:38:49 +00:00
Jack Jansen
87c485c1ad
Initialize the program name before adding shared library resources (Just).
1998-07-31 09:38:01 +00:00
Jack Jansen
2e6445caa6
Don't add the library file to the resource file chain if it is the
...
same as the application file (Just).
1998-07-31 09:37:02 +00:00
Jack Jansen
7e1fb7c92d
New about box, with the version mesage filled in in a text item, and
...
PLstrcmp() fixed. (Just)
1998-07-31 09:36:30 +00:00
Jack Jansen
017e0ff1a0
The PYD resource should now contain 2 strings: one for the ppc
...
fragment name and one for the cfm68k fragment name (Just).
Also, some unused variables removed.
1998-07-31 09:34:47 +00:00
Jack Jansen
abdf93c6dc
Re-indented properly (Just).
1998-07-31 09:33:28 +00:00
Guido van Rossum
5fdd119aba
Clarify the + and b mode characters for open() a bit.
1998-07-29 21:05:35 +00:00
Fred Drake
b35631587b
Pass paper size to dvips explicitly.
1998-07-29 05:07:41 +00:00
Fred Drake
8f7abed9d4
Update.
1998-07-29 04:45:53 +00:00
Fred Drake
d05177fa84
tohtml(): Use a table instead of a definition list for module synopses.
1998-07-29 04:45:23 +00:00
Fred Drake
d19b9d6c07
Fix two remaining references to all-pdf and all-ps to only use pdf and ps.
1998-07-29 03:49:44 +00:00