Guido van Rossum [Tue, 2 Feb 1999 15:14:37 +0000 (15:14 +0000)]
Windows sound playing module, by Fredrik Lundh.
Guido van Rossum [Mon, 1 Feb 1999 23:54:31 +0000 (23:54 +0000)]
Add _P_WAIT etc. for NT.
Guido van Rossum [Mon, 1 Feb 1999 23:52:29 +0000 (23:52 +0000)]
Special-case _P_WAIT etc. for NT.
Guido van Rossum [Mon, 1 Feb 1999 23:06:17 +0000 (23:06 +0000)]
Add current dir or paths of file args to sys.path.
Fred Drake [Mon, 1 Feb 1999 22:24:40 +0000 (22:24 +0000)]
spawnv, spawnve docstrings: added mode parameter; this is required!
Fred Drake [Mon, 1 Feb 1999 21:27:59 +0000 (21:27 +0000)]
Added module synopsis.
Fred Drake [Mon, 1 Feb 1999 20:23:02 +0000 (20:23 +0000)]
Take out just about everything and refer the reader to the os module.
Fred Drake [Mon, 1 Feb 1999 20:20:39 +0000 (20:20 +0000)]
Make the text generic, and call it os.path instead of posixpath.
Fred Drake [Mon, 1 Feb 1999 20:19:38 +0000 (20:19 +0000)]
Remove all references to posixpath; only refer to os.path.
Formalize the xstat() documentation.
Guido van Rossum [Mon, 1 Feb 1999 19:35:33 +0000 (19:35 +0000)]
Add canonic() function -- for brand new bdb.py feature.
Guido van Rossum [Mon, 1 Feb 1999 19:34:53 +0000 (19:34 +0000)]
Protect against accessing an empty stack.
Barry Warsaw [Mon, 1 Feb 1999 17:09:00 +0000 (17:09 +0000)]
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.
Just van Rossum [Mon, 1 Feb 1999 16:34:08 +0000 (16:34 +0000)]
better sys.path munging when running scripts -- jvr
Fred Drake [Mon, 1 Feb 1999 16:17:40 +0000 (16:17 +0000)]
OSError description: "as the by the" --> "as the"
Guido van Rossum [Mon, 1 Feb 1999 16:15:30 +0000 (16:15 +0000)]
Oops, the patch for NeXT always replaced waitpid() with wait4() --
this doesn't exist everywhere, so go back to using #ifdef NeXT.
Guido van Rossum [Mon, 1 Feb 1999 15:35:13 +0000 (15:35 +0000)]
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.
Just van Rossum [Mon, 1 Feb 1999 01:38:20 +0000 (01:38 +0000)]
removed old IDE stuff -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:29:17 +0000 (01:29 +0000)]
minor cleanup of last patch -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:21:18 +0000 (01:21 +0000)]
Added PythonIDE to the applet list; added destination filename support for applets -- jvr
Just van Rossum [Mon, 1 Feb 1999 01:19:16 +0000 (01:19 +0000)]
removed turd resources left by my former MacCVS client
-- jvr
Just van Rossum [Sun, 31 Jan 1999 23:17:56 +0000 (23:17 +0000)]
Add $(APPLICATION) or :Mac:Tools:IDE at the very start of sys.path to improve startup time -- jvr
Just van Rossum [Sat, 30 Jan 1999 23:49:45 +0000 (23:49 +0000)]
There are now three possible ways to run the IDE:
- this file dropped onto the interpreter
- applet built by BuildApplet (contains only __main__)
- applet built by BuildIDE (contains all IDE modules)
Just van Rossum [Sat, 30 Jan 1999 22:40:26 +0000 (22:40 +0000)]
??? adding this file somehow failed -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:39:17 +0000 (22:39 +0000)]
First Checked In.
Just van Rossum [Sat, 30 Jan 1999 22:33:40 +0000 (22:33 +0000)]
added ntpath and win32api to MAC_MAYMISS_MODULES -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:32:40 +0000 (22:32 +0000)]
changed chars in source > chr(127) to ASCII: CVS corrupted them -- jvr
Just van Rossum [Sat, 30 Jan 1999 22:31:26 +0000 (22:31 +0000)]
set 'preload' attribute for __main__ PYC resource -- jvr
Just van Rossum [Sat, 30 Jan 1999 21:20:10 +0000 (21:20 +0000)]
skip 'vers' resource when copying resources from templeate -- jvr
Just van Rossum [Sat, 30 Jan 1999 18:27:12 +0000 (18:27 +0000)]
added some try/excepts so it also works when certain projects/folders are not available -- jvr
Just van Rossum [Sat, 30 Jan 1999 17:50:15 +0000 (17:50 +0000)]
Removed NumPy install code: it's obsolete -- jvr
Just van Rossum [Sat, 30 Jan 1999 17:46:34 +0000 (17:46 +0000)]
Fixed two typo's (Plugins -> PlugIns) and added some explicit path munging to allow the script to also work from the Scripts folder. Somehow either of these fixes solved a problem where it suddenly refused to make a PythonCore alias in the Extensions folder. -- jvr
Just van Rossum [Sat, 30 Jan 1999 15:25:30 +0000 (15:25 +0000)]
added "delay console window until needed" preference
Jack Jansen [Sat, 30 Jan 1999 13:21:24 +0000 (13:21 +0000)]
Added pascal-style string name of preference file resource, and bracketed
C struct declarations with #ifndef rez
Guido van Rossum [Sat, 30 Jan 1999 04:35:47 +0000 (04:35 +0000)]
From: Mike Orr <mso@oz.net>
In the docstring of ConfigParser.py (Python 1.5.2b1):
read(*filenames) -- read and parse the list of named configuration files
should be:
read(filenames) -- read and parse the list of named configuration files
The method accepts a list, not a bunch of positional arguments.
Which is good, the list is much more convenient.
Guido van Rossum [Fri, 29 Jan 1999 22:39:32 +0000 (22:39 +0000)]
Embarrassing: remove a debug print statement from set_break() for the
second time!
Fred Drake [Fri, 29 Jan 1999 22:35:23 +0000 (22:35 +0000)]
Updated comments on version of XML package needed.
Guido van Rossum [Fri, 29 Jan 1999 22:30:41 +0000 (22:30 +0000)]
Use win32api.GetFullPathName(path) if it exists to implement abspath().
Fred Drake [Fri, 29 Jan 1999 22:23:25 +0000 (22:23 +0000)]
Added the info tarball to the tarballs target. Added the README to
the info tarball.
Fred Drake [Fri, 29 Jan 1999 22:22:03 +0000 (22:22 +0000)]
A README file for the info tarball.
Fred Drake [Fri, 29 Jan 1999 22:12:29 +0000 (22:12 +0000)]
Added support to handle \versionadded in a reasonable way.
Guido van Rossum [Fri, 29 Jan 1999 22:03:51 +0000 (22:03 +0000)]
Support a canonical() method, implementable by a derived class, to be
applied to all filenames before they are compared, looked up in the
breaks dictionary, etc. The default implementation does nothing --
it's implented as fast as possible via str(). A useful implementation
would make everything a absolute, e.g. return os.path.normcase(
os.path.abspath(filename)).
Barry Warsaw [Fri, 29 Jan 1999 21:55:03 +0000 (21:55 +0000)]
setup_readline(): Added a comment about memory leak (reported by
Purify) being caused by a bug in the readline library. Nothing we can
do about it.
Cause: readline_initialize_everything() throws away the return value
from rl_read_init_file(), but that happens to be the last reference to
a dynamically allocated char*.
Andrew M. Kuchling [Fri, 29 Jan 1999 21:49:34 +0000 (21:49 +0000)]
Added missing DECREF's in the error branches when creating a compressor or
decompressor object. This required adding a flag to the struct which is
true if initialisation was completed; on object destruction, deflateEnd()
is only called if the flag is true.
Fred Drake [Fri, 29 Jan 1999 21:38:14 +0000 (21:38 +0000)]
Define %descriptor.class, since it's used.
Fred Drake [Fri, 29 Jan 1999 21:35:50 +0000 (21:35 +0000)]
Be a little smarter on some attribute values, making an assumption about
the DTD.
Fred Drake [Fri, 29 Jan 1999 21:31:12 +0000 (21:31 +0000)]
fixup_descriptors(): Change the way we look for descriptor nodes;
this takes 5 minutes off the conversion of the whole tree by
reducing the number of tree-traversals from 14 to 1.
Barry Warsaw [Fri, 29 Jan 1999 21:30:22 +0000 (21:30 +0000)]
initmain(): Nailed a memory leak. bimod must be DECREF'd!
Fred Drake [Fri, 29 Jan 1999 21:22:55 +0000 (21:22 +0000)]
Added the Doc/sgml/ directory to the tarball.
Fred Drake [Fri, 29 Jan 1999 20:55:07 +0000 (20:55 +0000)]
Rewrite code that converts the little descriptor environments to build
the right <signature>s and <description>. This seems to work a lot
better now!
Guido van Rossum [Fri, 29 Jan 1999 20:44:45 +0000 (20:44 +0000)]
Use only the height to decide whether to zoom in or out.
Barry Warsaw [Fri, 29 Jan 1999 20:29:49 +0000 (20:29 +0000)]
bltin_exc[]: EnvironmentError is not a "leaf exception", so set it's
leaf_exc flag to zero otherwise the name leaks memory.
Fred Drake [Fri, 29 Jan 1999 20:09:27 +0000 (20:09 +0000)]
Added table entries for \funcline and \funclineni.
Guido van Rossum [Fri, 29 Jan 1999 18:05:18 +0000 (18:05 +0000)]
Add abspath()
Guido van Rossum [Fri, 29 Jan 1999 18:05:05 +0000 (18:05 +0000)]
Document abspath() (implementation is forthcoming).
Fred Drake [Fri, 29 Jan 1999 16:42:37 +0000 (16:42 +0000)]
Define a general entity "&version;" that can be used as the current major
version of the Python interpreter. This is \version in the LaTeX format
of the documentation.
Fred Drake [Fri, 29 Jan 1999 16:29:25 +0000 (16:29 +0000)]
Convert <version> to &version;.
Just van Rossum [Fri, 29 Jan 1999 16:28:55 +0000 (16:28 +0000)]
doh! added missing comma (will check before committing in the future ;-) -- jvr
Fred Drake [Fri, 29 Jan 1999 16:21:20 +0000 (16:21 +0000)]
A few scribbles toward the DTD.
Just van Rossum [Fri, 29 Jan 1999 16:21:04 +0000 (16:21 +0000)]
added path entry for NumPy -- jvr
Fred Drake [Fri, 29 Jan 1999 16:20:24 +0000 (16:20 +0000)]
Standard ISO entities.
Jack Jansen [Fri, 29 Jan 1999 16:15:52 +0000 (16:15 +0000)]
Pythonpath converted to Rez source, and vers resource removed from
bundle to its own Rez source file. With these changes various resources
are all set automatically from .h files.
Fred Drake [Fri, 29 Jan 1999 15:57:31 +0000 (15:57 +0000)]
The OASIS Exchange table model public text.
Guido van Rossum [Fri, 29 Jan 1999 14:39:12 +0000 (14:39 +0000)]
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
Jack Jansen [Fri, 29 Jan 1999 13:33:51 +0000 (13:33 +0000)]
Projects moved to Mac:Build. The macfreeze projects still need sorting out.
Jack Jansen [Fri, 29 Jan 1999 13:30:03 +0000 (13:30 +0000)]
Fixed an absolute path.
Jack Jansen [Fri, 29 Jan 1999 12:06:21 +0000 (12:06 +0000)]
Re-committed as AppleSingle
Fred Drake [Thu, 28 Jan 1999 23:59:58 +0000 (23:59 +0000)]
Update the docstring.
Lots of changes to get the paragraph marking to work, and not go into
an infinite recursion.
Start to rationalize markup of method signatures; not complete.
find_all_elements(): similar to getElementsByTagName(), but operates
on the not-quite-legal fragments we deal with here.
Simplifies several individual transforms.
fixup_sectionauthors(): Convert \sectionauthor items to <author> just
after the <section>'s <title>.
Fred Drake [Thu, 28 Jan 1999 23:49:37 +0000 (23:49 +0000)]
Added table entries for \methodline, \methodlineni.
Fred Drake [Thu, 28 Jan 1999 23:21:49 +0000 (23:21 +0000)]
"numberic" --> "numeric", two places
Fred Drake [Thu, 28 Jan 1999 23:10:48 +0000 (23:10 +0000)]
Constructor arguments for classes should be called <args>.
Guido van Rossum [Thu, 28 Jan 1999 22:24:30 +0000 (22:24 +0000)]
Make sure the Tcl variables are shared between windows.
Guido van Rossum [Thu, 28 Jan 1999 22:02:47 +0000 (22:02 +0000)]
Move menu/key binding code from Bindings.py to EditorWindow.py,
with changed APIs -- it makes much more sense there.
Also add a new feature: if the first character of a menu label is
a '!', it gets a checkbox. Checkboxes are bound to Boolean Tcl variables
that can be accessed through the new getvar/setvar/getrawvar API;
the variable is named after the event to which the menu is bound.
Guido van Rossum [Thu, 28 Jan 1999 22:00:30 +0000 (22:00 +0000)]
Add Quit button to the debugger window.
Barry Warsaw [Thu, 28 Jan 1999 19:51:51 +0000 (19:51 +0000)]
Added a -s option which is useful for narrowing down memory leaks.
With -s only a single test is run. The next test run is chosen
sequentially from the list of all tests.
Barry Warsaw [Thu, 28 Jan 1999 19:44:06 +0000 (19:44 +0000)]
Added a new test for old filter() memory leak
Barry Warsaw [Thu, 28 Jan 1999 19:40:05 +0000 (19:40 +0000)]
PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the
more severe ones.
Fred Drake [Thu, 28 Jan 1999 19:30:49 +0000 (19:30 +0000)]
Added \modulesynopsis.
Guido van Rossum [Thu, 28 Jan 1999 19:04:01 +0000 (19:04 +0000)]
When find_again() finds exactly the current selection, it's a failure.
Guido van Rossum [Thu, 28 Jan 1999 18:50:31 +0000 (18:50 +0000)]
Rename idle -> idle.py
Barry Warsaw [Thu, 28 Jan 1999 18:49:12 +0000 (18:49 +0000)]
builtin_map(): A better fix for the previous leak plug (remember
PyList_Append steals a reference even if it fails).
builtin_filter(): Had the same leak problem as builtin_map().
Jack Jansen [Thu, 28 Jan 1999 17:46:50 +0000 (17:46 +0000)]
Updated for new build and plugin paths
Jack Jansen [Thu, 28 Jan 1999 16:59:53 +0000 (16:59 +0000)]
Everything now builds in the right location,.
Jack Jansen [Thu, 28 Jan 1999 15:17:49 +0000 (15:17 +0000)]
Checking in the projects that have been converted so far.
Guido van Rossum [Thu, 28 Jan 1999 15:08:09 +0000 (15:08 +0000)]
Implement -OO; "unsafe" optimization that removes docstrings.
Marc-Andre Lemburg.
Guido van Rossum [Thu, 28 Jan 1999 15:07:47 +0000 (15:07 +0000)]
Document -OO; "unsafe" optimization that removes docstrings.
Marc-Andre Lemburg.
Jack Jansen [Thu, 28 Jan 1999 15:01:06 +0000 (15:01 +0000)]
Re-commit in applesingle
Guido van Rossum [Thu, 28 Jan 1999 14:38:32 +0000 (14:38 +0000)]
Improvement of b/w compat note in help text for clear, by Richard Wolff.
Just van Rossum [Thu, 28 Jan 1999 13:50:29 +0000 (13:50 +0000)]
added default sys.path entry for NumPy -- jvr
Jack Jansen [Thu, 28 Jan 1999 13:42:55 +0000 (13:42 +0000)]
Starting on the new project/plugin structure. Far from complete...
Barry Warsaw [Thu, 28 Jan 1999 04:54:33 +0000 (04:54 +0000)]
Slight reworking of this test. If nis.maps() gives a nis.error, then
raise an ImportError if not running verbose. This signals to the
regression framework that this test isn't applicable.
Barry Warsaw [Thu, 28 Jan 1999 04:21:35 +0000 (04:21 +0000)]
builtin_map(): Nailed memory leak. PyList_Append() borrows a
reference, so you have to DECREF the appended value. This was a fun
one!
Barry Warsaw [Wed, 27 Jan 1999 23:13:59 +0000 (23:13 +0000)]
builtin_complex(): Nailed memory leak. This one's in the instance
test for classes with a __complex__() method. The attribute is pulled
out of the instance with PyObject_GetAttr() but this transfers
ownership and the function object was never DECREF'd.
Guido van Rossum [Wed, 27 Jan 1999 22:43:55 +0000 (22:43 +0000)]
Get rid of do_clear_break / do_clb command -- it is redundant.
(It was left in accidentally after a long and arduous 3-way patch session.)
Barry Warsaw [Wed, 27 Jan 1999 21:41:08 +0000 (21:41 +0000)]
pcre_exec(): Andrew Kuchling's patch for pcre memory leak.
Fred Drake [Wed, 27 Jan 1999 18:50:21 +0000 (18:50 +0000)]
Add the info "dir" fragment to the info tarball.
Fred Drake [Wed, 27 Jan 1999 18:49:44 +0000 (18:49 +0000)]
Fragment of an info "dir" file for the Python documentation.
Fred Drake [Wed, 27 Jan 1999 18:40:36 +0000 (18:40 +0000)]
Simplify slightly.
Fred Drake [Wed, 27 Jan 1999 18:30:16 +0000 (18:30 +0000)]
Don't build info for the Macintosh module reference by default; it
doesn't do well.
Barry Warsaw [Wed, 27 Jan 1999 18:04:05 +0000 (18:04 +0000)]
initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is
put into the module dict, but is never DECREF'd in this function, so
it and all its contents leak.
Barry Warsaw [Wed, 27 Jan 1999 17:54:20 +0000 (17:54 +0000)]
PyImport_ReloadModule(): Nailed a small memory leak. In the
else-clause of the subname test, the parentname object was never
DECREF'd.