Commit Graph

10076 Commits

Author SHA1 Message Date
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
Just van Rossum
79e02231ca removed old IDE stuff -- jvr 1999-02-01 01:38:20 +00:00
Just van Rossum
e1fb04f694 minor cleanup of last patch -- jvr 1999-02-01 01:29:17 +00:00
Just van Rossum
9d609b4db4 Added PythonIDE to the applet list; added destination filename support for applets -- jvr 1999-02-01 01:21:18 +00:00
Just van Rossum
e590a95796 removed turd resources left by my former MacCVS client
-- jvr
1999-02-01 01:19:16 +00:00