Jack Jansen [Sun, 13 Jan 2002 23:18:00 +0000 (23:18 +0000)]
Fixed to work under MachoPython, doing the expected unpacking for applesingle files. The IDE still doesn't work, though, because it uses :-style pathnames.
Jack Jansen [Thu, 10 Jan 2002 00:05:54 +0000 (00:05 +0000)]
Added the modules I missed first time around. Still not good enough, though: bgerror does a "package require msgcat" and I don't see a way to put packages into resources. Off to the mactcl list for help...
Fred Drake [Sat, 5 Jan 2002 17:17:09 +0000 (17:17 +0000)]
Time2Internaldate(): Call isinstance() once for each of the type tests
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.
Steven M. Gava [Fri, 4 Jan 2002 03:06:08 +0000 (03:06 +0000)]
move core functionality of SearchBindings.py into EditorWindow.py proper
adjust configuration sources accordingly
move SearchBindings.py into the attic now
Jack Jansen [Wed, 2 Jan 2002 22:53:38 +0000 (22:53 +0000)]
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing <option>
at this point also has the expected effect of opening the options dialog!
Just van Rossum [Wed, 2 Jan 2002 14:48:36 +0000 (14:48 +0000)]
- Added support for optional MenuObj arguments
- Added a bunch of calls as functions with an optional
MenuObj first argument. The same calls already
exist as methods, but then the first arg isn't
optional... The method versions could go as far as I'm
concerned. Jack?
Just van Rossum [Sun, 30 Dec 2001 21:25:26 +0000 (21:25 +0000)]
- added support for ControlActionProcs, exposing the following calls:
- ctl.SetControlAction()
- CreateScrollBarControl()
- CreateSliderControl()
- print traceback when callbacks fail
Guido van Rossum [Fri, 28 Dec 2001 22:07:09 +0000 (22:07 +0000)]
Thread.__bootstrap(): ignore exceptions in the self.__delete() call in
the finally clause. An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.
This should fix SF bug ##497111: active_limbo_lock error at program
exit.
Guido van Rossum [Fri, 28 Dec 2001 21:39:03 +0000 (21:39 +0000)]
Fix for SF bug ##497426: can't deepcopy recursive new objects
deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.
Guido van Rossum [Fri, 28 Dec 2001 21:33:22 +0000 (21:33 +0000)]
Fix for SF bug ##497426: can't deepcopy recursive new objects
deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.
Guido van Rossum [Fri, 28 Dec 2001 20:57:14 +0000 (20:57 +0000)]
SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password
Instead of sending the real user and host, use "anonymous@" (i.e. no
host name at all!) as the default anonymous FTP password. This avoids
privacy violations.
Guido van Rossum [Fri, 28 Dec 2001 20:54:28 +0000 (20:54 +0000)]
SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password
Instead of sending the real user and host, use "anonymous@" (i.e. no
host name at all!) as the default anonymous FTP password. This avoids
privacy violations.
Jack Jansen [Thu, 27 Dec 2001 23:35:43 +0000 (23:35 +0000)]
Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!)
- Use re in stead of deprecated regex
Guido van Rossum [Thu, 27 Dec 2001 16:27:28 +0000 (16:27 +0000)]
_reduce(): Avoid infinite recursion in the pickler when self.__class__
doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and
posix.stat_result.
This fixes the immediate symptoms of SF bug #496873 (cPickle /
time.struct_time loop), replacing the infinite loop with an exception.