Fred Drake
de5d5ce7bc
Update getattr() description to document the optional third
...
parameter. Thanks to Barry Warsaw for pointing out the oversight.
1999-07-22 19:21:45 +00:00
Fred Drake
06c5a8b52e
Make the default target xml instead of sgml.
1999-07-22 13:57:12 +00:00
Fred Drake
7dbde51f97
Make the default target xml instead of sgml.
...
Use a temporary file to pass results from latex2esis.py to
docfixer.py; this makes for better error detection by make (if the
first pipeline stage fails, make wasn't catching it).
1999-07-22 13:56:51 +00:00
Fred Drake
5d48e458e4
typo: privide --> provide
...
Reported by Nadim Ghaznavi <nadim@ghaznavi.com>.
1999-07-20 13:21:42 +00:00
Fred Drake
3d587442f9
Fixed order of parameters in slice() docstring. The Library Reference
...
had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
1999-07-19 15:21:16 +00:00
Guido van Rossum
aba953eceb
New wishes.
1999-07-15 13:11:02 +00:00
Guido van Rossum
ba508a21e0
Add test case for bug just fixed by Stephen Turner.
1999-07-13 15:23:42 +00:00
Guido van Rossum
2f80d96c04
Patch by Stephen Turner, who writes:
...
"""
It fixes a memory corruption error resulting from BadPickleGet
exceptions in load_get, load_binget and load_long_binget. This was
initially reported on c.l.py as a problem with Cookie.py; see the thread
titled "python core dump (SIGBUS) on Solaris" for more details.
If PyDict_GetItem(self->memo, py_key) call failed, then py_key was being
Py_DECREF'd out of existence before call was made to
PyErr_SetObject(BadPickleGet, py_key).
The bug can be duplicated as follows:
import cPickle
cPickle.loads('garyp')
This raises a BadPickleGet exception whose value is a freed object. A
core dump will soon follow.
"""
Jim Fulton approves of the patch.
1999-07-13 15:18:58 +00:00
Guido van Rossum
0eb55ac912
Mark Favas was quick to note that the last checkin divides by zero
...
when n == 0... So divide by a->ob_size instead which was already
tested for 0.
1999-07-13 05:41:12 +00:00
Guido van Rossum
5bc51f2f27
Appropriate overflow checks so that things like sys.maxint*(1,) can't
...
dump core.
1999-07-12 23:06:58 +00:00
Barry Warsaw
7c5b9d1fa9
added a test for "To: :" patch
1999-07-12 18:47:00 +00:00
Barry Warsaw
96e9bf45e8
AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
...
for gotonext() pushing self.pos past the end of the string. This can
happen if the message has a To field like "To: :" and you call
msg.getaddrlist('to').
1999-07-12 18:37:02 +00:00
Fred Drake
860e256147
Added comment clarifying that RELEASE is the documentation release
...
number, not the Python release.
Removed VERSION since it is not used.
1999-07-12 16:52:50 +00:00
Fred Drake
6b3fb78ca8
do_cmd_funclineni(): New function; non-indexing form of \funcline.
1999-07-12 16:50:09 +00:00
Fred Drake
6db897c52c
Move chdir() and getcwd() descriptions to "Files and Directories" with
...
a pointer from the "Process Parameters" section. Based on comments
from Aahz Maruch, Tim Peters, and GvR.
1999-07-12 16:49:30 +00:00
Fred Drake
f930d827bb
Use the same names for CLASS attributes as elsewhere.
1999-07-12 16:28:50 +00:00
Fred Drake
bb7eff96d4
Updated Milan's email address.
1999-07-12 15:26:43 +00:00
Guido van Rossum
0d6bac67be
Make the color for stderr red (i.e. the standard warning/danger/stop
...
color) rather than green. Suggested by Sam Schulenburg.
1999-07-10 13:17:35 +00:00
Greg Ward
170bdc08e1
The first concrete subclass of CCompiler: defines a barebones Unix C compiler.
1999-07-10 02:04:22 +00:00
Greg Ward
3f81cf7936
The abstract base class that defines the C/C++ compiler abstraction model.
1999-07-10 02:03:53 +00:00
Greg Ward
ba3f108ec0
Added a self-berating command relating to installation directories for
...
module distributions that contain platform-specific files.
1999-07-10 02:02:31 +00:00
Greg Ward
ccbb3f0ed4
Don't pollute importer's namespace with type objects from types modules.
...
Added DistutilsPlatformError.
1999-07-10 02:01:44 +00:00
Guido van Rossum
6ebb387a08
Patch by Jeffrey Chang to add docstrings everywhere.
...
The text is condensed from the library manual.
1999-07-09 21:15:32 +00:00
Guido van Rossum
7c85ab829d
Marc-Andre Lemburg discovered that the switch from .pyc to .pyo files,
...
done by _PyImport_Init(), comes to late to affect the import of
exceptions.py by _PyBuiltin_Init_2(). Move _PyImport_Init() up few lines.
1999-07-08 17:26:56 +00:00
Fred Drake
3a4ceb707d
Several methods return tuples, not lists.
1999-07-07 14:04:38 +00:00
Fred Drake
363d67c2e6
Move some misc. comments from the example section to the main section.
...
Use the lowercase versions of the method names in the example, since
that's what's documented (Greg Stein's suggestion). Add a blank line
after the import line for clarity.
1999-07-07 13:42:56 +00:00
Fred Drake
d5f173bf1f
FTP.dir(): Fix typo in docstring.
1999-07-07 13:36:59 +00:00
Fred Drake
1508970a47
dir() method description revised based on comments from Greg Stein.
1999-07-07 13:36:22 +00:00
Barry Warsaw
17a8b5d473
make_view_popups(): Catch import error which can occur if a viewer is
...
dynamically imported when Pynche is running via askcolor out of a
package. If the ImportError occurs, try again, prepending the package
name and digging out the module.
1999-07-06 22:00:52 +00:00
Fred Drake
6166b871a2
Missing space; reported by Robert Kern <kernr@ncifcrf.gov>.
1999-07-06 21:00:18 +00:00
Fred Drake
d5dfe984e7
Fix a number of minor problems pointed out by /F.
1999-07-06 15:50:23 +00:00
Fred Drake
0d6e6e0b39
Fixed typo reported by /F; thanks!
1999-07-06 15:43:55 +00:00
Fred Drake
e72d48d5b2
Bump the release number to 1.5.2p1.
1999-07-06 14:30:04 +00:00
Jack Jansen
c8c1b5dc64
Drag module added.
1999-07-05 09:40:13 +00:00
Fred Drake
919e74ce88
Darn! Forgot to re-target.
1999-07-02 15:27:14 +00:00
Fred Drake
5a8aaa7542
Remove one item.
...
Rearrange & comment on others.
1999-07-02 14:31:41 +00:00
Fred Drake
82ac24ffb0
Minor markup nit.
1999-07-02 14:29:14 +00:00
Fred Drake
0452007dcc
Added entry for asyncore module.
1999-07-02 14:27:03 +00:00
Fred Drake
41796918af
Fix a few markup nits, improve some index entries.
1999-07-02 14:25:37 +00:00
Fred Drake
7d80779532
New documentation from Chris Petrilli <petrilli@amber.org>.
1999-07-02 14:25:03 +00:00
Fred Drake
227020894a
For spawn*(), point to the magic constants; some readers have a hard
...
time finding the bindings.
1999-07-02 14:01:03 +00:00
Guido van Rossum
9068da4b6d
Milton L. Hankin reports that on Windows it is possible to have two
...
different values in the environ dict with the same key (although he
couldn't explain exactly how this came to be). Since getenv() uses
the first one, Python should do too. (Some doubts about case
sensitivity, but for now this at least seems the right thing to do
regardless of platform.)
1999-07-02 02:54:02 +00:00
Guido van Rossum
3427c1f71b
Sjoerd Mullender:
...
In splithost, accept empty host part in URLs. This is required for
file URLs that can have an empty host part. For such URLs, we should
not return the initial 2 slashes as part of the file name.
1999-07-01 23:20:56 +00:00
Fred Drake
e4694eba0f
Removed entries for several modules which have been documented.
...
Updated comments on several remaining modules.
1999-07-01 20:42:57 +00:00
Fred Drake
4c8d83f311
Documentation for dl module from Moshe.
1999-07-01 20:40:21 +00:00
Fred Drake
44a7a7c5d0
Added entry for dl module.
1999-07-01 20:39:59 +00:00
Fred Drake
b5879ca2e9
Relocating file to Lib/lib-old.
1999-07-01 16:59:29 +00:00
Fred Drake
85b5683307
Remove extraneous "contains" -- pointed out by Daniel Barclay
...
<danielb@digitalfocus.com>.
Added credit to Martin von Loewis for creating the module and
documentation.
1999-07-01 16:31:03 +00:00
Fred Drake
859dc53a52
Per Frank Stajano's suggestion, state explicitly that the functions
...
described in the sub-sections are directly available at the module
level. He found this confusing.
1999-07-01 13:54:40 +00:00
Fred Drake
b216060627
Make the reference to the os module in the module synopsis (for the
...
table at the front of the chapter) a hyperlink.
1999-07-01 13:53:32 +00:00