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.
Guido van Rossum [Wed, 27 Jan 1999 17:53:11 +0000 (17:53 +0000)]
Patches by William Lewis for Nextstep descendants.
Barry Warsaw [Wed, 27 Jan 1999 17:48:27 +0000 (17:48 +0000)]
PyLong_FromString(): Nailed a small memory leak. In the str==start
test, we forgot that z is still pointing to a real live object.
DECREF() it before returning.
Fred Drake [Wed, 27 Jan 1999 17:37:36 +0000 (17:37 +0000)]
\py@linkToName: New macro to consolidate support for most internal
hyperlinking in the PDF version. This also allows many of the
macros that do this stuff to be a good bit more readable.
Takes the target name and link content as parameters.
Use \py@linkToName for all internal links.
Fred Drake [Wed, 27 Jan 1999 17:21:09 +0000 (17:21 +0000)]
Added the files for the repr and ConfigParser modules.
Fred Drake [Wed, 27 Jan 1999 17:20:33 +0000 (17:20 +0000)]
Document the repr module. This removes the entire "Code objects and
files, debugger etc." section from "Undocumented Modules"!
Barry Warsaw [Wed, 27 Jan 1999 16:39:40 +0000 (16:39 +0000)]
err_input(): Nailed a small memory leak. If the error is E_INTR, the
v temporary variable was never decref'd. Test this by starting up the
interpreter, hitting C-c, then immediately exiting.
Same potential leak can occur if error is E_NOMEM, since the return is
done in the case block. Added Py_XDECREF(v); to both blocks, just
before the return.
Barry Warsaw [Wed, 27 Jan 1999 16:33:19 +0000 (16:33 +0000)]
_PySys_Init(): Nailed small memory leak. The stringobject created for
sys.version was missing a Py_XDECREF().
Fred Drake [Wed, 27 Jan 1999 15:48:23 +0000 (15:48 +0000)]
Don't say that the module defines the "following functions" and then
only describe one; say "following function" instead!
Merge the two one-sentence paragraphs into a single paragraph, so it
doesn't look too stupid.
Just van Rossum [Wed, 27 Jan 1999 14:22:11 +0000 (14:22 +0000)]
cleaned up ugly hack related to activate events and suspend/resume -- jvr
Barry Warsaw [Tue, 26 Jan 1999 22:01:37 +0000 (22:01 +0000)]
Re-format the module docstring and document the new get() argument.
Fred Drake [Tue, 26 Jan 1999 21:49:05 +0000 (21:49 +0000)]
Incorporate changes for patched version of ConfigParser.
Guido van Rossum [Tue, 26 Jan 1999 19:29:25 +0000 (19:29 +0000)]
Patch by Chris Petrilli (not really tested since I don't know this
module myself) to accept an option keyword argument (vars) that is
substituted on top of the defaults that were setup in __init__. The
patch also fixes the problem where you can't have recusive references
inside your configuration file.
Fred Drake [Tue, 26 Jan 1999 19:23:09 +0000 (19:23 +0000)]
\py@modindex: Format the index entry for the module index more like
that used in the "normal" index. No visual difference, but
more easily processed by helper scripts.
Fred Drake [Tue, 26 Jan 1999 15:47:59 +0000 (15:47 +0000)]
Documentation for the ConfigParser module, by Christopher G. Petrilli
(petrilli@amber.org).
Jack Jansen [Tue, 26 Jan 1999 13:09:59 +0000 (13:09 +0000)]
Added Sherlock source for Python documentation, and added icons to them all.
Barry Warsaw [Tue, 26 Jan 1999 02:15:50 +0000 (02:15 +0000)]
expandtabs__doc__: blank line which was not terminated with \n\ caused
the SunPro C compiler to choke. Removed this redundant line.
Guido van Rossum [Mon, 25 Jan 1999 23:20:23 +0000 (23:20 +0000)]
Add spawnv and spawnve functions for Win32 platforms.
Guido van Rossum [Mon, 25 Jan 1999 22:36:24 +0000 (22:36 +0000)]
A gift from Fredrik Lundh: fast C implementation of expandtabs().
I've reformatted it, added a few comments, a test for tabsize <= 0,
and used the AS_STRING macro.
Guido van Rossum [Mon, 25 Jan 1999 22:31:53 +0000 (22:31 +0000)]
Document the default for tabsize in expandtabs().
Guido van Rossum [Mon, 25 Jan 1999 21:57:29 +0000 (21:57 +0000)]
The usual.
Fred Drake [Mon, 25 Jan 1999 21:57:07 +0000 (21:57 +0000)]
Allow recognition of attributes even if they don't have space in front
of them. I.e., '<a name="foo"href="bar.html">' will now have two
attributes recognized.
Based on comments from newgroup.
Guido van Rossum [Mon, 25 Jan 1999 21:48:56 +0000 (21:48 +0000)]
Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.
Guido van Rossum [Mon, 25 Jan 1999 21:43:51 +0000 (21:43 +0000)]
Make sure not to call realloc() with a NULL pointer -- call malloc()
in that case. Tamito Kajiyama.
Guido van Rossum [Mon, 25 Jan 1999 21:39:03 +0000 (21:39 +0000)]
Include myselect.h -- needed on some platforms.
Guido van Rossum [Mon, 25 Jan 1999 21:38:29 +0000 (21:38 +0000)]
Rearrange the -I flags for compiling _tkinter.c so that
/usr/local/include comes before /usr/X11R1/include. On some Linux
distributions the latter apparently contains (standard!) a bad tcl.h
or tk.h.
Guido van Rossum [Mon, 25 Jan 1999 21:37:02 +0000 (21:37 +0000)]
Don't die if CodeType doesn't exist -- ignore the error. This could
happen in restricted mode.
Guido van Rossum [Mon, 25 Jan 1999 21:36:13 +0000 (21:36 +0000)]
There's a macro PycString_IMPORT which the documentation listed as
PycStringIO_IMPORT. While arguably the name used in the documentation
is more consistent, I think it's probably safer not to change the
macro definition and instead fix the doco.