0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
Commit Graph

10051 Commits

Author SHA1 Message Date
Just van Rossum
99ec5a52b8 Add $(APPLICATION) or :Mac:Tools:IDE at the very start of sys.path to improve startup time -- jvr 1999-01-31 23:17:56 +00:00
Just van Rossum
a7a7193363 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)
1999-01-30 23:49:45 +00:00
Just van Rossum
4f0d1f5469 ??? adding this file somehow failed -- jvr 1999-01-30 22:40:26 +00:00
Just van Rossum
40f9b7bd7c First Checked In. 1999-01-30 22:39:17 +00:00
Just van Rossum
f59a89b5e3 added ntpath and win32api to MAC_MAYMISS_MODULES -- jvr 1999-01-30 22:33:40 +00:00
Just van Rossum
49ef0b76bc changed chars in source > chr(127) to ASCII: CVS corrupted them -- jvr 1999-01-30 22:32:40 +00:00
Just van Rossum
874f87b546 set 'preload' attribute for __main__ PYC resource -- jvr 1999-01-30 22:31:26 +00:00
Just van Rossum
1cea8047d8 skip 'vers' resource when copying resources from templeate -- jvr 1999-01-30 21:20:10 +00:00
Just van Rossum
2607a44690 added some try/excepts so it also works when certain projects/folders are not available -- jvr 1999-01-30 18:27:12 +00:00
Just van Rossum
f1ae0eb9fa Removed NumPy install code: it's obsolete -- jvr 1999-01-30 17:50:15 +00:00
Just van Rossum
786cb11e51 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 1999-01-30 17:46:34 +00:00
Just van Rossum
292f4c4676 added "delay console window until needed" preference 1999-01-30 15:25:30 +00:00
Jack Jansen
245d17930b Added pascal-style string name of preference file resource, and bracketed
C struct declarations with #ifndef rez
1999-01-30 13:21:24 +00:00
Guido van Rossum
c0780ac8f3 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.
1999-01-30 04:35:47 +00:00
Guido van Rossum
ca44236a1c Embarrassing: remove a debug print statement from set_break() for the
second time!
1999-01-29 22:39:32 +00:00
Fred Drake
7281b3b779 Updated comments on version of XML package needed. 1999-01-29 22:35:23 +00:00
Guido van Rossum
9787bea4cd Use win32api.GetFullPathName(path) if it exists to implement abspath(). 1999-01-29 22:30:41 +00:00
Fred Drake
28e66d1c5e Added the info tarball to the tarballs target. Added the README to
the info tarball.
1999-01-29 22:23:25 +00:00
Fred Drake
b2c59ab367 A README file for the info tarball. 1999-01-29 22:22:03 +00:00
Fred Drake
1dd152d036 Added support to handle \versionadded in a reasonable way. 1999-01-29 22:12:29 +00:00
Guido van Rossum
170e190f26 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)).
1999-01-29 22:03:51 +00:00
Barry Warsaw
f761287e0a 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*.
1999-01-29 21:55:03 +00:00
Andrew M. Kuchling
1c7aaa2d73 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.
1999-01-29 21:49:34 +00:00
Fred Drake
9b0dc53d89 Define %descriptor.class, since it's used. 1999-01-29 21:38:14 +00:00
Fred Drake
279ca75a5b Be a little smarter on some attribute values, making an assumption about
the DTD.
1999-01-29 21:35:50 +00:00
Fred Drake
3a7ff998ac 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.
1999-01-29 21:31:12 +00:00
Barry Warsaw
3d05b1a0ae initmain(): Nailed a memory leak. bimod must be DECREF'd! 1999-01-29 21:30:22 +00:00
Fred Drake
666e60095b Added the Doc/sgml/ directory to the tarball. 1999-01-29 21:22:55 +00:00
Fred Drake
cb65781d93 Rewrite code that converts the little descriptor environments to build
the right <signature>s and <description>.  This seems to work a lot
better now!
1999-01-29 20:55:07 +00:00
Guido van Rossum
38a5a3b3f1 Use only the height to decide whether to zoom in or out. 1999-01-29 20:44:45 +00:00
Barry Warsaw
7890203f49 bltin_exc[]: EnvironmentError is not a "leaf exception", so set it's
leaf_exc flag to zero otherwise the name leaks memory.
1999-01-29 20:29:49 +00:00
Fred Drake
75930b31e2 Added table entries for \funcline and \funclineni. 1999-01-29 20:09:27 +00:00
Guido van Rossum
e294cf620a Add abspath() 1999-01-29 18:05:18 +00:00
Guido van Rossum
1804dc3c07 Document abspath() (implementation is forthcoming). 1999-01-29 18:05:05 +00:00
Fred Drake
f339632da0 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.
1999-01-29 16:42:37 +00:00
Fred Drake
fdfd50f815 Convert <version> to &version;. 1999-01-29 16:29:25 +00:00
Just van Rossum
53ea134aa8 doh! added missing comma (will check before committing in the future ;-) -- jvr 1999-01-29 16:28:55 +00:00
Fred Drake
7859f17608 A few scribbles toward the DTD. 1999-01-29 16:21:20 +00:00
Just van Rossum
9f08666fae added path entry for NumPy -- jvr 1999-01-29 16:21:04 +00:00
Fred Drake
6bcc53c109 Standard ISO entities. 1999-01-29 16:20:24 +00:00
Jack Jansen
d2d2b20e15 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.
1999-01-29 16:15:52 +00:00
Fred Drake
2eb07f0945 The OASIS Exchange table model public text. 1999-01-29 15:57:31 +00:00
Guido van Rossum
00d225ea6d Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin. 1999-01-29 14:39:12 +00:00
Jack Jansen
6a715729a6 Projects moved to Mac:Build. The macfreeze projects still need sorting out. 1999-01-29 13:33:51 +00:00
Jack Jansen
8f67bce553 Fixed an absolute path. 1999-01-29 13:30:03 +00:00
Jack Jansen
f25813ac6c Re-committed as AppleSingle 1999-01-29 12:06:21 +00:00
Fred Drake
7dab6affba 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>.
1999-01-28 23:59:58 +00:00
Fred Drake
3f3b09657f Added table entries for \methodline, \methodlineni. 1999-01-28 23:49:37 +00:00
Fred Drake
ae3e574170 "numberic" --> "numeric", two places 1999-01-28 23:21:49 +00:00
Fred Drake
1453a8caf9 Constructor arguments for classes should be called <args>. 1999-01-28 23:10:48 +00:00