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
Just van Rossum
3e2d73fef8
Don't set type of application, it's taken care of elsewhere -- jvr
1999-06-30 19:31:14 +00:00
Fred Drake
f1ad207f2a
Made several grammatical corrections based on comments from Daniel
...
Barcla <danielb@digitalfocus.com>.
Also added example of what happens when a parameter is set both
positionally and by a keyword (one of Daniels suggestions related to
that paragraph).
1999-06-30 15:32:50 +00:00
Fred Drake
3d0971e33e
For "Matching vs. Searching", remove comment that the section is
...
incomplete; I don't remember what else I thought I was going to put
in, but it looks o.k. to me know.
1999-06-29 21:21:19 +00:00
Fred Drake
9b59a303a8
Added some reminders.
1999-06-29 18:54:03 +00:00
Fred Drake
d85b5a418a
Move the setting for secnumdepth to the document classes; make the numbering
...
for the manual class go one deeper than it previously did (\subsection
entries will now be numbered); no change for howto documents.
This makes it easier to refer precisely to smaller sections using \ref.
1999-06-29 18:15:59 +00:00
Fred Drake
6bf37debb9
Added some minor prose before the descriptions of the data attributes
...
to make it clear that these are instance attributes, not module data.
1999-06-29 18:13:37 +00:00
Fred Drake
abc64b74c8
Added entry for pty module.
1999-06-29 18:12:22 +00:00
Fred Drake
a4b5d58790
pty documentation from Moshe; with small edits.
1999-06-29 18:11:22 +00:00