Jack Jansen [Mon, 16 Jun 2003 15:12:16 +0000 (15:12 +0000)]
Allow passing a build directory on the command line. Also, if the
build directory is found to exist we don't clean it up. We also
use configure -C. All this lets us keep build directories, which
graeatly speeds up the process of debugging installers.
Jack Jansen [Mon, 16 Jun 2003 15:10:47 +0000 (15:10 +0000)]
Only fix up pathnames in installed scripts when needed, i.e. when not installing
to /. Pathnames are correct for installing to / since the DESTDIR patch.
Brett Cannon [Sun, 15 Jun 2003 22:33:28 +0000 (22:33 +0000)]
Return None to signal that the module the object was defined in was not found when object has no __name__ attr but is needed to figure out location of object.
Tim Peters [Sun, 15 Jun 2003 22:05:58 +0000 (22:05 +0000)]
choose_boundary(): Incorporated a threadsafe incrementing counter, so that
unique boundary strings within a program run are guaranteed. On Windows,
duplicates were pretty likely, due to the coarse granularity of time.time.
Toned down the absurdly optimistic claims in the docstring.
Guido van Rossum [Sun, 15 Jun 2003 19:42:39 +0000 (19:42 +0000)]
Changes to install the new idle: it's now in Lib/idlelib instead of
Tools/idle, in both source and destination. (There are still problems
when running the IDLE icon, but they don't seem to have to do with the
installer.)
Guido van Rossum [Fri, 13 Jun 2003 19:28:47 +0000 (19:28 +0000)]
SF patch 707900, fixing bug 702858, by Steven Taschuk.
Copying a new-style class that had a reference to itself didn't work.
(The same thing worked fine for old-style classes.)
Jack Jansen [Fri, 13 Jun 2003 14:27:35 +0000 (14:27 +0000)]
- Allow access to poperties of the "application" OSA class directly from
the toplevel package. This already worked for elements, but now for
properties too. Fixes #753925.
- Even better, the toplevel class (such as Finder.Finder) now inherits
the element and property dictionaries of its application class and has
the necessary glue to allow you to say
f = Finder.Finder()
f.get(f.name)
Brett Cannon [Thu, 12 Jun 2003 08:01:06 +0000 (08:01 +0000)]
Make creation of temporary file and directory more portable. Also made cleanup
code use proper functions to get paths.
Changed the name of tar file that is searched for to be absolute (i.e., not use
os.extsep) since filename is locked in based on name of file in CVS
(testtar.tar).
Kurt B. Kaiser [Thu, 12 Jun 2003 04:20:56 +0000 (04:20 +0000)]
aboutDialog.py:
1. Add additional buttons for Python Copyright and Credits
2. Use the Python LICENSE file instead of the old IDLE LICENSE.txt
3. Add additional buttons for IDLE's README and NEWS
4. Implement a method to read text from a _Printer object
5. Rename the Ok button to Close
6. Clean up to conform to Python code formatting standards
textView.py:
1. Change background to white on all platforms
2. Increase height of frame
3. Add an optional parameter to textViewer to allow inserting text into
the viewer instead of reading a file.
4. Rename the Ok button to Close
Modified Files:
aboutDialog.py textView.py
* Indicate that arguments are optional for most builtin type constructors.
* Replace e.g. in staticmethod() and classmethod() docs.
* Add \code{} markup to some in-line code examples.
Barry Warsaw [Mon, 9 Jun 2003 22:27:41 +0000 (22:27 +0000)]
guess_all_extensions(): Return the empty list instead of None when
there are no matching types. Updated the docs and docstrings. Added
some unit tests.
Warn about creating global variables by __setattr__ that shadow builtin
names. Unfortunately, this is not bulletproof since the module
dictionary can be modified directly.
The docs recommend filling by fill(1), drawing commands, fill(0).
However, the filling did not actually take place until the next
draw command. Fixed by issuing a null draw command at the end
of the fill method.
Changes to sre.c after the application of patch #726869 have increased
stack usage on FreeBSD, requiring the recursion limit to be lowered
further. Building with gcc 2.95 (the standard compiler on FreeBSD 4.x)
is now also affected.
The underlying issue is that FreeBSD's pthreads implementation has a
hard-coded 1MB stack size for the initial (or "primary") thread, which
can not be changed without rebuilding libc_r. Exhausting this stack
results in a bus error.
Building without pthreads (configure --without-threads), or linking
with the port of the Linux pthreads library (aka Linuxthreads) instead
of libc_r, avoids this limitation.
On OS/2, only gcc 3.2 is affected and the stack size is controllable,
so the special handling has been removed.
reorganise modules, so that most standard extensions are built into
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
reorganise modules, so that most standard extensions are built into
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.