Guido van Rossum
14162abf6e
The encoding type was wrong, I think.
1999-02-05 20:57:44 +00:00
Guido van Rossum
2013ba48a6
Should open files in binary mode!
...
Also finally get rid of some obsolete commented-out access statements.
A note about the previous checkin: I believe it's correct, but I found
something strange: the file Lib/test/audiotest.au in the Python
distribution was evidently encoded in u-LAW format but had its
encoding set to 2, i.e. linear-8. I hope that this is a mistake
caused by some conversion program that produced this .au file; I just
found it on a website.
1999-02-05 20:55:16 +00:00
Fred Drake
dfb4e24431
Respond to suggestion from "Albert" <hat@se-46.wpa.wtb.tue.nl> to add
...
document titles to the list of files.
Also added total page count and a note that comments should be
directed to python-docs@python.org .
1999-02-05 20:50:59 +00:00
Guido van Rossum
5ebeea0467
Shouldn't be treating linear-8 as u-law!
1999-02-05 19:59:27 +00:00
Fred Drake
2ff880e2cf
More magic to tighten up a little of the formatting.
1999-02-05 18:31:29 +00:00
Fred Drake
f9918f25b1
Minor nit to prevent dropping a space in the HTML generation.
1999-02-05 18:30:49 +00:00
Guido van Rossum
e600578ac7
Add winsound -- by Toby Dickenson with permission.
1999-02-04 22:40:42 +00:00
Guido van Rossum
f9ffb03c35
Jim Fulton: this fixes seg faults with bad pickles like "c".
1999-02-04 14:54:04 +00:00
Fred Drake
d673d481f5
Document sameopenfile(), samestat().
1999-02-03 22:31:30 +00:00
Fred Drake
0256c1f453
Document splitdrive().
...
For all split*(), these split path *into* pairs, not split path *in*
pairs. "Into" can be used for transformations, "in" is for
containment.
1999-02-03 19:24:44 +00:00
Guido van Rossum
ead9d8d2d7
New test for ntpath module
1999-02-03 17:21:21 +00:00
Guido van Rossum
534972bce2
New splitdrive() that knows about UNC paths (e.g., network paths like
...
\\host\mountpoint\dir\file). By Larry Hastings.
Also cleaned up some docstrings.
1999-02-03 17:20:50 +00:00
Guido van Rossum
0c9608cf1b
Portability fix for [f]statvfs() return tuple: no longer return the
...
f_fsid field, since it's not a scalar on all systems supporting this
call (in particular, it's a tuple of two longs on AIX). Since it's
not particularly useful, just nuke it. Adapted the doc strings too.
1999-02-03 16:32:37 +00:00
Jack Jansen
c256ece88c
Partly updated to reflect the new organization and the availability of CVS
...
access. Will still need a bit of work when all plugins are separated, probably.
1999-02-03 13:09:27 +00:00
Jack Jansen
33a5d7e751
Just's script to find non-7-bit-clean charactres in a source tree (slightly
...
modified by Jack to skip files that are binary despite the TEXT type).
1999-02-03 12:07:14 +00:00
Just van Rossum
7bcd84ddb2
updated to the new numpy build setup -- jvr
1999-02-02 23:58:50 +00:00
Guido van Rossum
579ed77a51
Never mind, this belongs in the PC subdirectory,
...
and besides Toby Dickenson sent me a more functional
(if lower level) wrapper around PlaySound.
1999-02-02 23:41:44 +00:00
Just van Rossum
edab93939e
re-checkin with "ISO-8859 translation" turned on.
1999-02-02 22:31:05 +00:00
Just van Rossum
b8bf163dde
added some comments
1999-02-02 22:27:41 +00:00
Guido van Rossum
2e3f7bece0
Fredrik Lundh fixes Sjoerd's patch...
...
"""Sjoerd's version stores unbound methods. that's not good enough ;-)
Here's an alternative implementation of fixdict."""
1999-02-02 22:15:24 +00:00
Fred Drake
dbd37dfcff
Remove three items.
1999-02-02 19:03:09 +00:00
Fred Drake
215fe2f204
Fix the os/posix documentation issue.
1999-02-02 19:02:35 +00:00
Fred Drake
dda199b261
Moved \versionadded to end of description sections.
1999-02-02 19:01:37 +00:00
Fred Drake
12ba7868e4
Moved posixpath to os.path.
1999-02-02 19:00:37 +00:00
Fred Drake
560bcae0f0
Added posixpath, winsound.
1999-02-02 18:59:58 +00:00
Fred Drake
a9b9bf96fe
Change this to be os.path.
...
Use consistent parameter naming with the os documentation (paths
always named "path" or "path1", "path2"...).
1999-02-02 18:58:33 +00:00
Fred Drake
bb79438d26
This seems to fix a problem with targeting from the indexes.
1999-02-02 18:57:12 +00:00
Fred Drake
2116d983bf
Make \versionadded and \versionchanged less prominant -- neither bold
...
nor a separate paragraph.
1999-02-02 18:02:48 +00:00
Fred Drake
d0bceeeb59
Move \versionadded macros to end of descriptions.
1999-02-02 18:00:40 +00:00
Guido van Rossum
09da65ef2f
Patch by Sjoerd Mullender to placate /F:
...
Clarified (hopefully :-) the documentation of elements and attributes
variables.
1999-02-02 17:55:12 +00:00
Guido van Rossum
cc2c291b7f
Patch by Sjoerd Mullender to placate /F:
...
Fix leaking of instances by removing the elements variable that we
created on closing the parser. The elements variable is now created
in the reset() method, so that the sequence close(); reset();
... works.
Also, add the name of the entity reference that wasn't found to the
error message.
1999-02-02 17:54:38 +00:00
Fred Drake
7e3535cbbd
Added documentation to the docstrings for the W*() functions that take
...
a process exit status as a parameter.
1999-02-02 16:37:11 +00:00
Just van Rossum
26a69db4c7
put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr
1999-02-02 15:49:03 +00:00
Jack Jansen
9202755fcb
Replaced by Pythonpath.r
1999-02-02 15:33:45 +00:00
Guido van Rossum
2cc340d122
Windows sound playing module, by Fredrik Lundh.
1999-02-02 15:14:37 +00:00
Guido van Rossum
246bc17a8b
Add _P_WAIT etc. for NT.
1999-02-01 23:54:31 +00:00
Guido van Rossum
67c65b2954
Special-case _P_WAIT etc. for NT.
1999-02-01 23:52:29 +00:00
Guido van Rossum
8e47306b99
Add current dir or paths of file args to sys.path.
1999-02-01 23:06:17 +00:00
Fred Drake
a6dff3e772
spawnv, spawnve docstrings: added mode parameter; this is required!
1999-02-01 22:24:40 +00:00
Fred Drake
dbd72a4e4f
Added module synopsis.
1999-02-01 21:27:59 +00:00
Fred Drake
68a8c69499
Take out just about everything and refer the reader to the os module.
1999-02-01 20:23:02 +00:00
Fred Drake
b23ee1d899
Make the text generic, and call it os.path instead of posixpath.
1999-02-01 20:20:39 +00:00
Fred Drake
59d8b73cef
Remove all references to posixpath; only refer to os.path.
...
Formalize the xstat() documentation.
1999-02-01 20:19:38 +00:00
Guido van Rossum
2e9e0dfca3
Add canonic() function -- for brand new bdb.py feature.
1999-02-01 19:35:33 +00:00
Guido van Rossum
14b2d30b11
Protect against accessing an empty stack.
1999-02-01 19:34:53 +00:00
Barry Warsaw
6aa42579be
PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString()
...
was appended to a list. Lists are reference count neutral, so the
string must be DECREF'd. Also added some checks for the return value
of PyList_Append().
Note: there are still some memory problems reported by Purify (I get
two Array Bounds Reads still and an Unitialized Memory Read). Also,
in scanning the code, there appears to be some potential problems
where return values aren't checked. To much to attack now though.
1999-02-01 17:09:00 +00:00
Just van Rossum
a61f4ac14d
better sys.path munging when running scripts -- jvr
1999-02-01 16:34:08 +00:00
Fred Drake
98be47e737
OSError description: "as the by the" --> "as the"
1999-02-01 16:17:40 +00:00
Guido van Rossum
e6a3aa6066
Oops, the patch for NeXT always replaced waitpid() with wait4() --
...
this doesn't exist everywhere, so go back to using #ifdef NeXT.
1999-02-01 16:15:30 +00:00
Guido van Rossum
fe64935cf9
Patch by Sjoerd Mullender for better compatibility with the version
...
from Python 1.5.1:
If after __init__ finishes no new elements variable was created, this
patch will search the instance's namespace for all attributes whose
name start with start_ or end_ and put their value in a new elements
instance variable.
1999-02-01 15:35:13 +00:00