]> granicus.if.org Git - python/log
python
22 years agoSupport keyword and topics help in cli(). Fixes #715782.
Martin v. Löwis [Sat, 14 Jun 2003 09:03:46 +0000 (09:03 +0000)]
Support keyword and topics help in cli(). Fixes #715782.

22 years agoTreat empty dat/dir pairs as dumbdbm. Fixes #744687.
Martin v. Löwis [Sat, 14 Jun 2003 08:16:34 +0000 (08:16 +0000)]
Treat empty dat/dir pairs as dumbdbm. Fixes #744687.

22 years agoExplicitly undefine PACKAGE_ variables. Fixes #746012.
Martin v. Löwis [Sat, 14 Jun 2003 07:48:07 +0000 (07:48 +0000)]
Explicitly undefine PACKAGE_ variables. Fixes #746012.

22 years agoCopy builtin functions as atomic. Fixes #746304. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 07:10:06 +0000 (07:10 +0000)]
Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.

22 years agoPatch #746366: Update to current automake install-sh. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 06:58:32 +0000 (06:58 +0000)]
Patch #746366: Update to current automake install-sh. Will backport to 2.2.

22 years agoPatch #754340: Fix typo in redirect_request. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 05:51:25 +0000 (05:51 +0000)]
Patch #754340: Fix typo in redirect_request. Will backport to 2.2.

22 years agoPatch #753845: Update README for Redhat 9 Tkinter compile with USC-4.
Martin v. Löwis [Sat, 14 Jun 2003 05:29:27 +0000 (05:29 +0000)]
Patch #753845:  Update README for Redhat 9 Tkinter compile with USC-4.

22 years agoRemove the 2.2 compatibility module boolcheck.py and related code
Kurt B. Kaiser [Sat, 14 Jun 2003 03:33:20 +0000 (03:33 +0000)]
Remove the 2.2 compatibility module boolcheck.py and related code
M PyShell.py
R boolcheck.py
M run.py

22 years agoRemove reference to IDLEfork
Kurt B. Kaiser [Sat, 14 Jun 2003 03:23:56 +0000 (03:23 +0000)]
Remove reference to IDLEfork

22 years agoUpdate NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt
Kurt B. Kaiser [Sat, 14 Jun 2003 02:51:06 +0000 (02:51 +0000)]
Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt
M HISTORY.txt
M NEWS.txt

22 years agoRemove comment about Unicode: SF #622831 was fixed loooong ago!
Greg Ward [Sat, 14 Jun 2003 00:26:39 +0000 (00:26 +0000)]
Remove comment about Unicode: SF #622831 was fixed loooong ago!

22 years agoGet rid of old IDLE. Lib/idlelib rules!
Guido van Rossum [Sat, 14 Jun 2003 00:08:37 +0000 (00:08 +0000)]
Get rid of old IDLE.  Lib/idlelib rules!

22 years agoCause calling interrupt_main in main thread raise KeyboardInterrupt instantly.
Brett Cannon [Fri, 13 Jun 2003 23:56:32 +0000 (23:56 +0000)]
Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly.

22 years agodummy_thread modified to have interrupt_main and to behave appropriately when
Brett Cannon [Fri, 13 Jun 2003 23:44:35 +0000 (23:44 +0000)]
dummy_thread modified to have interrupt_main and to behave appropriately when
called.

Added announcement in Misc/NEWS for thread.interrupt_main and mention of
dummy_thread's change.

22 years agoInterrupt module has been folded into the thread module
Kurt B. Kaiser [Fri, 13 Jun 2003 22:03:43 +0000 (22:03 +0000)]
Interrupt module has been folded into the thread module
 Modified Files:
  run.py
 Removed Files:
  interruptmodule.c

22 years agoAdd interrupt_main() to thread module.
Kurt B. Kaiser [Fri, 13 Jun 2003 21:59:45 +0000 (21:59 +0000)]
Add interrupt_main() to thread module.

22 years agoAddressList.__str__(): Get rid of useless, and broken method. Closes
Barry Warsaw [Fri, 13 Jun 2003 21:16:06 +0000 (21:16 +0000)]
AddressList.__str__(): Get rid of useless, and broken method.  Closes
SF #753617.  Back port candidate (but low priority).

22 years ago- SF patch 751998 fixes an unwanted side effect of the previous fix
Guido van Rossum [Fri, 13 Jun 2003 20:54:40 +0000 (20:54 +0000)]
- SF patch 751998 fixes an unwanted side effect of the previous fix
  for SF bug 742860 (the next item).

22 years agoInstall idlelib and idlelib/Icons as well.
Guido van Rossum [Fri, 13 Jun 2003 20:49:55 +0000 (20:49 +0000)]
Install idlelib and idlelib/Icons as well.

22 years agoNews about the new IDLE (is more needed?). News about SF patch
Guido van Rossum [Fri, 13 Jun 2003 20:37:23 +0000 (20:37 +0000)]
News about the new IDLE (is more needed?).  News about SF patch
751998.

22 years agoDon't install Tools/idle any more. We now install Tools/scripts/idle
Guido van Rossum [Fri, 13 Jun 2003 20:35:41 +0000 (20:35 +0000)]
Don't install Tools/idle any more.  We now install Tools/scripts/idle
from setup.py.

22 years agoInstall the main script for the new IDLE here.
Guido van Rossum [Fri, 13 Jun 2003 20:35:11 +0000 (20:35 +0000)]
Install the main script for the new IDLE here.

22 years agoPut the main script for the new IDLE here.
Guido van Rossum [Fri, 13 Jun 2003 20:34:27 +0000 (20:34 +0000)]
Put the main script for the new IDLE here.

22 years agoSF patch 707900, fixing bug 702858, by Steven Taschuk.
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.)

22 years agoDocumented the fact that the main class now mimicks the OSA "application" class.
Jack Jansen [Fri, 13 Jun 2003 14:59:26 +0000 (14:59 +0000)]
Documented the fact that the main class now mimicks the OSA "application" class.

22 years agoUse the new, now preferred, form of referring to object specifiers (through
Jack Jansen [Fri, 13 Jun 2003 14:32:49 +0000 (14:32 +0000)]
Use the new, now preferred, form of referring to object specifiers (through
the object, not the module).

22 years agoRe-gegernated with the new gensuitemodule.
Jack Jansen [Fri, 13 Jun 2003 14:31:19 +0000 (14:31 +0000)]
Re-gegernated with the new gensuitemodule.

22 years ago- Allow access to poperties of the "application" OSA class directly from
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)

22 years agoSF bug #753602: random.sample not properly documented
Raymond Hettinger [Fri, 13 Jun 2003 07:01:51 +0000 (07:01 +0000)]
SF bug #753602:  random.sample not properly documented

The docs were fine but the "int=int" in the function call was both
ugly and confusing.  Moved it inside the body of the function definition.

22 years agoWhen calling tarname with an argument (and thus not use testtar.tar) return a
Brett Cannon [Thu, 12 Jun 2003 19:16:58 +0000 (19:16 +0000)]
When calling tarname with an argument (and thus not use testtar.tar) return a
path for the file in the temp directory for the platform.

22 years agoFix for sf # 749210, wininst isn't build correctly after building zip.
Thomas Heller [Thu, 12 Jun 2003 17:23:58 +0000 (17:23 +0000)]
Fix for sf # 749210, wininst isn't build correctly after building zip.

The problem was that subcommands were not reinitialized.

Bugfix candidate, will backport myself.

22 years agoAMK's no longer maintaining his bookstore page. Refer to the books page on
Skip Montanaro [Thu, 12 Jun 2003 14:04:33 +0000 (14:04 +0000)]
AMK's no longer maintaining his bookstore page.  Refer to the books page on
the wiki instead.

22 years agoMake creation of temporary file and directory more portable. Also made cleanup
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).

Closes bug #731403 .

22 years agoNo longer needed.
Kurt B. Kaiser [Thu, 12 Jun 2003 04:38:13 +0000 (04:38 +0000)]
No longer needed.

22 years agoaboutDialog.py:
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

22 years agoOne more multiple exception catch should be in a tuple.
Raymond Hettinger [Thu, 12 Jun 2003 04:05:00 +0000 (04:05 +0000)]
One more multiple exception catch should be in a tuple.

22 years ago1. Remove the Readme entry on the Help Menu, now in About dialog.
Kurt B. Kaiser [Thu, 12 Jun 2003 04:03:49 +0000 (04:03 +0000)]
1. Remove the Readme entry on the Help Menu, now in About dialog.
2. Change title on About dialog.
 Modified Files:
  Bindings.py EditorWindow.py

22 years agoThe multiple exception catch should be in a tuple.
Raymond Hettinger [Thu, 12 Jun 2003 03:59:17 +0000 (03:59 +0000)]
The multiple exception catch should be in a tuple.

22 years agoDirect readers to CVS logs.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:57:23 +0000 (03:57 +0000)]
Direct readers to CVS logs.

22 years agoIt /is/ a package...
Kurt B. Kaiser [Thu, 12 Jun 2003 03:55:24 +0000 (03:55 +0000)]
It /is/ a package...

22 years agoUpdated for IDLEfork re-integration
Kurt B. Kaiser [Thu, 12 Jun 2003 03:51:27 +0000 (03:51 +0000)]
Updated for IDLEfork re-integration

22 years agoWill use the Python LICENSE file instead.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:45:55 +0000 (03:45 +0000)]
Will use the Python LICENSE file instead.

22 years agoRemove setup file, no longer needed.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:44:01 +0000 (03:44 +0000)]
Remove setup file, no longer needed.

22 years agoRemove unneeded MANIFEST template.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:41:01 +0000 (03:41 +0000)]
Remove unneeded MANIFEST template.

22 years agoRemove unneeded installation instructions.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:39:08 +0000 (03:39 +0000)]
Remove unneeded installation instructions.

22 years agoUpdate version.
Kurt B. Kaiser [Thu, 12 Jun 2003 03:15:47 +0000 (03:15 +0000)]
Update version.

22 years agoSF Patch #744104: Remove eval() from csv
Raymond Hettinger [Thu, 12 Jun 2003 03:01:55 +0000 (03:01 +0000)]
SF Patch #744104: Remove eval() from csv

Eliminates the eval() step in the csv module resulting in better
security, more clarity, and a little speed.

The idea is to make successive attempts to coerce the string to
a python type:
    int(s), long(s), float(s), etc.

As a by-product, eliminates a bare 'except' statement.

22 years agoadd a couple test cases which involve longs and floats in 'e' format.
Skip Montanaro [Thu, 12 Jun 2003 02:40:22 +0000 (02:40 +0000)]
add a couple test cases which involve longs and floats in 'e' format.

22 years agoHave pydoc try handling an object as "other" if the object does not act the way
Brett Cannon [Wed, 11 Jun 2003 23:38:55 +0000 (23:38 +0000)]
Have pydoc try handling an object as "other" if the object does not act the way
it expects based on what inspect classifies it as.

Closes bug #729103 .

22 years agoFixed a comment.
Brett Cannon [Wed, 11 Jun 2003 20:50:33 +0000 (20:50 +0000)]
Fixed a comment.

22 years agofix the curses module build failure on FreeBSD, reported in SF #740234.
Andrew MacIntyre [Wed, 11 Jun 2003 12:26:08 +0000 (12:26 +0000)]
fix the curses module build failure on FreeBSD, reported in SF #740234.

22 years ago* Added missing documentation for object().
Raymond Hettinger [Wed, 11 Jun 2003 09:15:26 +0000 (09:15 +0000)]
* Added missing documentation for object().
* Noted the Py2.3 in the optional arg for bool().

22 years agoSF bug #660022: parameters for int(), str(), etc.
Raymond Hettinger [Wed, 11 Jun 2003 08:16:06 +0000 (08:16 +0000)]
SF bug #660022: parameters for int(), str(), etc.

* 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.

22 years agoAdd docs for get_grouped_opcodes().
Raymond Hettinger [Wed, 11 Jun 2003 07:50:44 +0000 (07:50 +0000)]
Add docs for get_grouped_opcodes().

22 years agoClarify docstring for symlink.
Brett Cannon [Wed, 11 Jun 2003 00:18:09 +0000 (00:18 +0000)]
Clarify docstring for symlink.

22 years agoSF bug: 751941 Invisible HTML tag
Raymond Hettinger [Tue, 10 Jun 2003 21:41:22 +0000 (21:41 +0000)]
SF bug: 751941 Invisible HTML tag

Added missing jump target labels.

22 years agoget_payload(): Improve the TypeError message when the payload isn't of
Barry Warsaw [Tue, 10 Jun 2003 16:31:55 +0000 (16:31 +0000)]
get_payload(): Improve the TypeError message when the payload isn't of
the expected type.  In response to SF #751451.

22 years agoguess_all_extensions(): Return the empty list instead of None when
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.

22 years agoDocument context_diff() and unified_diff()
Raymond Hettinger [Mon, 9 Jun 2003 21:44:59 +0000 (21:44 +0000)]
Document context_diff() and unified_diff()

22 years agoWarn about creating global variables by __setattr__ that shadow builtin
Neil Schemenauer [Mon, 9 Jun 2003 18:42:19 +0000 (18:42 +0000)]
Warn about creating global variables by __setattr__ that shadow builtin
names.  Unfortunately, this is not bulletproof since the module
dictionary can be modified directly.

22 years agoAdd the IDLEFORK team.
Raymond Hettinger [Mon, 9 Jun 2003 08:55:14 +0000 (08:55 +0000)]
Add the IDLEFORK team.

22 years agoSF bug #685773: 2 (more) bugs in turtle
Raymond Hettinger [Mon, 9 Jun 2003 08:50:57 +0000 (08:50 +0000)]
SF bug #685773: 2 (more) bugs in turtle

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.

22 years agoChanges to sre.c after the application of patch #726869 have increased
Andrew MacIntyre [Mon, 9 Jun 2003 08:22:11 +0000 (08:22 +0000)]
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.

22 years agoadd support for os.tmpfile()
Andrew MacIntyre [Mon, 9 Jun 2003 08:16:59 +0000 (08:16 +0000)]
add support for os.tmpfile()

22 years agoreorganise modules, so that most standard extensions are built into
Andrew MacIntyre [Mon, 9 Jun 2003 08:16:02 +0000 (08:16 +0000)]
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.

22 years agovarious updates
Andrew MacIntyre [Mon, 9 Jun 2003 08:15:14 +0000 (08:15 +0000)]
various updates

22 years agobump stack size to cater for _sre recursion.
Andrew MacIntyre [Mon, 9 Jun 2003 08:14:03 +0000 (08:14 +0000)]
bump stack size to cater for _sre recursion.

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.

22 years agoFix potential leaks identified by Neal Norwitz.
Andrew McNamara [Mon, 9 Jun 2003 05:59:23 +0000 (05:59 +0000)]
Fix potential leaks identified by Neal Norwitz.

22 years agoSF 748975 Printing unsaved shell fails
Kurt B. Kaiser [Mon, 9 Jun 2003 03:12:42 +0000 (03:12 +0000)]
SF 748975 Printing unsaved shell fails

M IOBinding.py

22 years agoAdded a command line interface for difflib.py
Raymond Hettinger [Sun, 8 Jun 2003 23:10:15 +0000 (23:10 +0000)]
Added a command line interface for difflib.py

22 years agoAdded a command line interface for difflib.py
Raymond Hettinger [Sun, 8 Jun 2003 23:04:17 +0000 (23:04 +0000)]
Added a command line interface for difflib.py

22 years agoAnnounce difflib.context_diff() and difflib.unified_diff().
Raymond Hettinger [Sun, 8 Jun 2003 19:42:33 +0000 (19:42 +0000)]
Announce difflib.context_diff() and difflib.unified_diff().

22 years agoFor the context and unified diff functions:
Raymond Hettinger [Sun, 8 Jun 2003 19:38:42 +0000 (19:38 +0000)]
For the context and unified diff functions:

* Simplified test for visible changes
* Improved variable names and line spacing
* Replaced dict(a=3) style with Py2.2 compatable {'a':3}

22 years agoSF #735051, add time.tzset documentation
Neal Norwitz [Sun, 8 Jun 2003 13:57:19 +0000 (13:57 +0000)]
SF #735051, add time.tzset documentation

22 years agoFix SF #749831, copy raises SystemError when getstate raises exception
Neal Norwitz [Sun, 8 Jun 2003 13:19:58 +0000 (13:19 +0000)]
Fix SF #749831, copy raises SystemError when getstate raises exception

22 years agoAdded functions for creating context diffs and unified diffs.
Raymond Hettinger [Sun, 8 Jun 2003 11:07:08 +0000 (11:07 +0000)]
Added functions for creating context diffs and unified diffs.

Documentation update and NEWS item are forthcoming.

22 years agoThe fix to use . was incorporated
Neal Norwitz [Sun, 8 Jun 2003 02:25:17 +0000 (02:25 +0000)]
The fix to use . was incorporated

22 years agoRevert 1.25, as overloaded __repr__ is not considered.
Martin v. Löwis [Sat, 7 Jun 2003 20:47:37 +0000 (20:47 +0000)]
Revert 1.25, as overloaded __repr__ is not considered.

22 years agoPatch #750542: Use issubclass instead of type identity.
Martin v. Löwis [Sat, 7 Jun 2003 20:17:11 +0000 (20:17 +0000)]
Patch #750542: Use issubclass instead of type identity.

22 years agoPatch #750595: Refer to type complex using builtin. Fixes #595837.
Martin v. Löwis [Sat, 7 Jun 2003 20:10:54 +0000 (20:10 +0000)]
Patch #750595: Refer to type complex using builtin. Fixes #595837.
Backported to 2.2.

22 years agoPatch #746801: FreeBSD 4 expected failures, by Charles Swiger.
Martin v. Löwis [Sat, 7 Jun 2003 20:01:37 +0000 (20:01 +0000)]
Patch #746801: FreeBSD 4 expected failures, by Charles Swiger.

22 years agoPatch #749191: Delete commands in after_cancel. Will backport to 2.2.
Martin v. Löwis [Sat, 7 Jun 2003 19:52:38 +0000 (19:52 +0000)]
Patch #749191: Delete commands in after_cancel. Will backport to 2.2.

22 years agoPatch #748846: Let Demo/classes/Date.py mention DateTime module.
Martin v. Löwis [Sat, 7 Jun 2003 19:39:56 +0000 (19:39 +0000)]
Patch #748846: Let Demo/classes/Date.py mention DateTime module.

22 years agoPatch #748849: Update to current tools and demos.
Martin v. Löwis [Sat, 7 Jun 2003 18:46:34 +0000 (18:46 +0000)]
Patch #748849: Update to current tools and demos.

22 years ago- urllib2.py now knows how to order proxy classes, so the user doesn't
Gustavo Niemeyer [Sat, 7 Jun 2003 17:53:08 +0000 (17:53 +0000)]
- urllib2.py now knows how to order proxy classes, so the user doesn't
  have to insert it in front of other classes, nor do dirty tricks like
  inserting a "dummy" HTTPHandler after a ProxyHandler when building an
  opener with proxy support.

22 years ago1. Find in Files Dialog shows text selection if there is one
Kurt B. Kaiser [Sat, 7 Jun 2003 03:21:17 +0000 (03:21 +0000)]
1. Find in Files Dialog shows text selection if there is one
2. Remove obsolete comment associated with Window menu updating

M EditorWindow.py
M GrepDialog.py

22 years ago1. Update WindowList registry when filename changes so that
Kurt B. Kaiser [Fri, 6 Jun 2003 21:58:38 +0000 (21:58 +0000)]
1. Update WindowList registry when filename changes so that
   Window menu updates.
2. Display Python Shell window in Window menu
3. Remove some dead code in FileList.py

M EditorWindow.py
M FileList.py
M WindowList.py

22 years agoSF bug #749759: comparisons yield bool not int
Raymond Hettinger [Fri, 6 Jun 2003 02:52:14 +0000 (02:52 +0000)]
SF bug #749759: comparisons yield bool not int

Minor documentation fix.

22 years agoAvoid problem resolving 'localhost'
Kurt B. Kaiser [Thu, 5 Jun 2003 23:51:29 +0000 (23:51 +0000)]
Avoid problem resolving 'localhost'

M PyShell.py
M rpc.py
M run.py

22 years agoChange to <<open-module>>: always pop up the dialog, using the current
Guido van Rossum [Thu, 5 Jun 2003 11:36:55 +0000 (11:36 +0000)]
Change to <<open-module>>: always pop up the dialog, using the current
selection as the default value.  This is easier to use habitually.

22 years agoSF 747667 Error Doesn't Decolorize
Kurt B. Kaiser [Thu, 5 Jun 2003 02:38:32 +0000 (02:38 +0000)]
SF 747667 Error Doesn't Decolorize

Also improved error notification if Tabnanny detects a TokenError.

M ScriptBinding

22 years agoSF 748973 Guido van Rossum patch
Kurt B. Kaiser [Thu, 5 Jun 2003 02:34:04 +0000 (02:34 +0000)]
SF 748973  Guido van Rossum patch

New Window should save in the directory of the Editor Window
from which it was selected.

M EditorWindow.py
M FileList.py
M IOBinding.py

22 years agoQUOTE_ALWAYS -> QUOTE_ALL
Skip Montanaro [Wed, 4 Jun 2003 15:30:13 +0000 (15:30 +0000)]
QUOTE_ALWAYS -> QUOTE_ALL

22 years agoIn an OSX framework build Python could fail if HOME wasn't set, fixed.
Jack Jansen [Tue, 3 Jun 2003 10:55:35 +0000 (10:55 +0000)]
In an OSX framework build Python could fail if HOME wasn't set, fixed.
Fixes #747954.

22 years agoFactor endian-ness check out of play_sound_file(), and fix
Greg Ward [Tue, 3 Jun 2003 00:32:44 +0000 (00:32 +0000)]
Factor endian-ness check out of play_sound_file(), and fix
test_setparameters() to use it -- don't assume AFMT_S16_NE is always
defined!

22 years agoWhen a previous call to poll() has already seen the process status,
Guido van Rossum [Mon, 2 Jun 2003 19:12:01 +0000 (19:12 +0000)]
When a previous call to poll() has already seen the process status,
wait() should not call waitpid() again.

Should be backported to 2.2.4.

22 years agoFix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport Candidate
Raymond Hettinger [Mon, 2 Jun 2003 14:25:43 +0000 (14:25 +0000)]
Fix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport Candidate

22 years agoWhitespace normalization; break a long line.
Guido van Rossum [Mon, 2 Jun 2003 14:15:34 +0000 (14:15 +0000)]
Whitespace normalization; break a long line.

22 years agoFix a subtle decref bug that caused a GC assertion to fail in a debug
Guido van Rossum [Mon, 2 Jun 2003 14:11:45 +0000 (14:11 +0000)]
Fix a subtle decref bug that caused a GC assertion to fail in a debug
build (assert(gc->gc.gc_refs != 0) in visit_decref()).

Because OSSAudioError is a global, we must compensate (twice!) for
PyModule_AddObject()'s "helpful" decref of the object it adds.

22 years agoEliminate the Revert to Default Settings submenu of Option menu.
Kurt B. Kaiser [Mon, 2 Jun 2003 01:51:38 +0000 (01:51 +0000)]
Eliminate the Revert to Default Settings submenu of Option menu.

Not implemented and not needed.