]> granicus.if.org Git - python/log
python
22 years agoFix if-then-else-fi structure.
Martin v. Löwis [Thu, 19 Dec 2002 19:03:31 +0000 (19:03 +0000)]
Fix if-then-else-fi structure.

22 years agoFix bug introduced by SF patch #643835, Set Next Statement for Python debuggers
Neal Norwitz [Thu, 19 Dec 2002 18:16:57 +0000 (18:16 +0000)]
Fix bug introduced by SF patch #643835, Set Next Statement for Python debuggers

blockstack_top could be 0 when blockstack[blockstack_top-1]
was referenced (ie blockstack[-1]) which crashed on hpux.
Patch & fix by Richie Hindle

22 years agoUnsupport --without-universal-newlines.
Martin v. Löwis [Thu, 19 Dec 2002 16:21:49 +0000 (16:21 +0000)]
Unsupport --without-universal-newlines.

22 years agoUpdate/correct comment
Neal Norwitz [Thu, 19 Dec 2002 15:24:11 +0000 (15:24 +0000)]
Update/correct comment

22 years agoProvide mechanism to deprecate functions, types, and struct members.
Neal Norwitz [Thu, 19 Dec 2002 15:12:26 +0000 (15:12 +0000)]
Provide mechanism to deprecate functions, types, and struct members.
It would be nice to support other compilers besides gcc.

22 years agoIf Edit window has not been saved, offer to save if user tries to Run or
Kurt B. Kaiser [Thu, 19 Dec 2002 03:25:34 +0000 (03:25 +0000)]
If Edit window has not been saved, offer to save if user tries to Run or
Check the module.

22 years agoFix another long vs int mismatch. test_datetime now passes on alpha
Neal Norwitz [Thu, 19 Dec 2002 02:30:56 +0000 (02:30 +0000)]
Fix another long vs int mismatch. test_datetime now passes on alpha

22 years agoFixed typo in string.
Tim Peters [Thu, 19 Dec 2002 01:44:38 +0000 (01:44 +0000)]
Fixed typo in string.

22 years agoFix crash on alphas due to mismatch between 'l' format and int variables.
Neal Norwitz [Thu, 19 Dec 2002 00:42:03 +0000 (00:42 +0000)]
Fix crash on alphas due to mismatch between 'l' format and int variables.

22 years agoUndefine MIN and MAX before defining
Neal Norwitz [Wed, 18 Dec 2002 23:33:35 +0000 (23:33 +0000)]
Undefine MIN and MAX before defining
Some systems (HPUX at least) already define MIN/MAX for us

22 years agoSF # 654974, fix unchecked return values in structseq
Neal Norwitz [Wed, 18 Dec 2002 23:20:39 +0000 (23:20 +0000)]
SF # 654974, fix unchecked return values in structseq

Check return values after memory allocation.
Also use Py_True instead of PyInt_FromLong(1) for bool value.

Backport candidate.

22 years ago- Added rawdata initializers
Jack Jansen [Wed, 18 Dec 2002 23:17:26 +0000 (23:17 +0000)]
- Added rawdata initializers
- Added support for optional FSSpecs and FSRefs to the Alias routines.
  NewAlias and friends are still functions, though, not methods.

22 years agodelta_str(): Purged last uses of sprintf (in favor of PyOS_snprintf).
Tim Peters [Wed, 18 Dec 2002 20:19:21 +0000 (20:19 +0000)]
delta_str():  Purged last uses of sprintf (in favor of PyOS_snprintf).

22 years agoExpand log() tests to include long integers.
Raymond Hettinger [Wed, 18 Dec 2002 16:13:16 +0000 (16:13 +0000)]
Expand log() tests to include long integers.

22 years agoCheck in current, unfinished, draft of datetime docs
Andrew M. Kuchling [Wed, 18 Dec 2002 14:59:11 +0000 (14:59 +0000)]
Check in current, unfinished, draft of datetime docs
(Fred, don't bother to add to lib.tex or to proofread this yet.)

22 years agoFix some small markup nits.
Fred Drake [Wed, 18 Dec 2002 02:07:14 +0000 (02:07 +0000)]
Fix some small markup nits.

22 years agoFix typo spotted by Richie Hindle
Neal Norwitz [Wed, 18 Dec 2002 01:20:29 +0000 (01:20 +0000)]
Fix typo spotted by Richie Hindle

22 years agoSF # 654960, remove unnecessary static variable
Neal Norwitz [Wed, 18 Dec 2002 01:18:44 +0000 (01:18 +0000)]
SF # 654960, remove unnecessary static variable

The static variable (implicit) was not necessary.
The c_globals can be None or True now.

22 years agoFixed silly typo.
Jack Jansen [Tue, 17 Dec 2002 23:29:27 +0000 (23:29 +0000)]
Fixed silly typo.
Added comment (to myself) on what still needs to be done.

22 years agoThis module will shortly replace the builtin module macfs. It is not
Jack Jansen [Tue, 17 Dec 2002 23:28:24 +0000 (23:28 +0000)]
This module will shortly replace the builtin module macfs. It is not
complete yet, but it should work. It will be finished (and renamed)
shortly.

22 years agoTwo more typo fixes.
Greg Ward [Tue, 17 Dec 2002 23:27:41 +0000 (23:27 +0000)]
Two more typo fixes.

22 years agoInclude Finder.h too in the list of header files to parse: the finder
Jack Jansen [Tue, 17 Dec 2002 22:22:57 +0000 (22:22 +0000)]
Include Finder.h too in the list of header files to parse: the finder
constants have tradiationally been in MACFS.py.

22 years agoThis now contains constants from Files.h, Aliases.h and Finder.h.
Jack Jansen [Tue, 17 Dec 2002 22:21:57 +0000 (22:21 +0000)]
This now contains constants from Files.h, Aliases.h and Finder.h.

22 years ago- Added as_pathname and as_tuple methods
Jack Jansen [Tue, 17 Dec 2002 22:10:46 +0000 (22:10 +0000)]
- Added as_pathname and as_tuple methods
- Added access to the "data" attribute
- Fixed the FSRef tp_init routine to accept pathnames on OSX
- Changed the FSSpec tp_repr to return something resembling what
  macfs returns.

22 years agoAdded an optional longname argument to Module, which gives the full,
Jack Jansen [Tue, 17 Dec 2002 22:08:48 +0000 (22:08 +0000)]
Added an optional longname argument to Module, which gives the full,
externally visible name of the module. This is so that type names can be
shown as "Carbon.File.FSSpec" even though the real name of the module is
"_File".

22 years agoM ColorDelegator.py
Kurt B. Kaiser [Tue, 17 Dec 2002 21:16:12 +0000 (21:16 +0000)]
M ColorDelegator.py
M PyShell.py
M ScriptBinding.py

1. Update ScriptBinding.py to highlight a syntax error in the Edit window,
   and place the cursor on the error.  Add a syntax check to the
   Run Script event instead of waiting until the script tries to run and
   raises a syntax error in the shell, forcing the user to navigate back
   to the Edit window to fix it.
2. Modify tag_config's appropriately in PyShell.py and ColorDelegator.py
3. Some minor clean-up in ScriptBinding.py

22 years ago"time_second" is apparently a #define on MacOSX. Renamed the (static)
Jack Jansen [Tue, 17 Dec 2002 20:57:24 +0000 (20:57 +0000)]
"time_second" is apparently a #define on MacOSX. Renamed the (static)
routine to py_time_second.

22 years agoNo point in warning about needing re module; remove helpful message
Andrew M. Kuchling [Tue, 17 Dec 2002 18:59:51 +0000 (18:59 +0000)]
No point in warning about needing re module; remove helpful message

22 years agoFix comment typo
Andrew M. Kuchling [Tue, 17 Dec 2002 18:56:26 +0000 (18:56 +0000)]
Fix comment typo

22 years agoTypo fix.
Greg Ward [Tue, 17 Dec 2002 18:14:21 +0000 (18:14 +0000)]
Typo fix.

22 years ago* Objects/fileobject.c
Gustavo Niemeyer [Tue, 17 Dec 2002 17:48:00 +0000 (17:48 +0000)]
* Objects/fileobject.c
  (file_read): Replaced assertion with mixed sign operation by a simple
  comment (thank you Raymond). The algorithm is clear enough in that point.

22 years agoThis is J. Lewis Muir's patch:
Michael W. Hudson [Tue, 17 Dec 2002 16:47:17 +0000 (16:47 +0000)]
This is J. Lewis Muir's patch:

[ 629278 ] install lib-dynload .so files mode 555

fixing

[ 583206 ] lib-dynload/*.so wrong permissions
[ 425007 ] Python 2.1 installs shared libs with mode 0700

Phew.

22 years agoThis is Richie Hindle's patch
Michael W. Hudson [Tue, 17 Dec 2002 16:15:34 +0000 (16:15 +0000)]
This is Richie Hindle's patch

[ 643835 ] Set Next Statement for Python debuggers

with a few tweaks by me: adding an unsigned or two, mentioning that
not all jumps are allowed in the doc for pdb, adding a NEWS item and
a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.

22 years agoUpdate doc for getboolean() to match code (ie, returning True/False)
Neal Norwitz [Tue, 17 Dec 2002 01:56:47 +0000 (01:56 +0000)]
Update doc for getboolean() to match code (ie, returning True/False)
Convert remaining uses of 1/0 to True/False

22 years agoAdd markup for base parameter
Neal Norwitz [Tue, 17 Dec 2002 01:24:11 +0000 (01:24 +0000)]
Add markup for base parameter

22 years agoFix SF # 641111, Undocumented side effect of eval
Neal Norwitz [Tue, 17 Dec 2002 01:08:06 +0000 (01:08 +0000)]
Fix SF # 641111, Undocumented side effect of eval

Try to clear up confusion about the current globals being copied
into a globals dict passed to eval().  This wording (more or less)
was suggested in bug report.  It should probably be made clearer.

Backport candidate.

22 years agoFix SF #642742, property() builtin not documented
Neal Norwitz [Tue, 17 Dec 2002 01:02:57 +0000 (01:02 +0000)]
Fix SF #642742, property() builtin not documented

Added doc for functions new to 2.2:  classmethod property staticmethod super
Taken from docstrings.  Could use review.
Hope there wasn't a reason why these shouldn't have been added.

Backport candidate.

22 years agoFix SF # 626275, missing DECREF's in embedding example
Neal Norwitz [Tue, 17 Dec 2002 00:40:38 +0000 (00:40 +0000)]
Fix SF # 626275, missing DECREF's in embedding example

Tested w/valgrind, all paths except the return on PyInt_AsLong() failure
I think I got all of these right.

Backport candidate.

22 years agoIn Shell:
Kurt B. Kaiser [Mon, 16 Dec 2002 22:25:10 +0000 (22:25 +0000)]
In Shell:
1. If a tab is entered at the prompt, allow it to be backspaced away.
2. Eliminate the beep when hitting <enter> at the prompt.

22 years agoMade this a little more compatible w/ the sandbox version, which is
Tim Peters [Mon, 16 Dec 2002 21:12:37 +0000 (21:12 +0000)]
Made this a little more compatible w/ the sandbox version, which is
still needed to test the Python implementatino.

22 years agoBlurb about new datetime module.
Tim Peters [Mon, 16 Dec 2002 20:57:22 +0000 (20:57 +0000)]
Blurb about new datetime module.

22 years agoFix GCC warnings. It turns out two out of three pointed to real bugs!
Guido van Rossum [Mon, 16 Dec 2002 20:34:55 +0000 (20:34 +0000)]
Fix GCC warnings.  It turns out two out of three pointed to real bugs!

22 years agoBuild the datetime module for *n*x.
Guido van Rossum [Mon, 16 Dec 2002 20:31:57 +0000 (20:31 +0000)]
Build the datetime module for *n*x.

22 years agodatetime escapes the sandbox. The Windows build is all set. I leave it
Tim Peters [Mon, 16 Dec 2002 20:18:38 +0000 (20:18 +0000)]
datetime escapes the sandbox.  The Windows build is all set.  I leave it
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).

22 years agoFixed bug
Gustavo Niemeyer [Mon, 16 Dec 2002 18:12:53 +0000 (18:12 +0000)]
Fixed bug

[#521782] unreliable file.read() error handling

* Objects/fileobject.c
  (file_read): Clear errors before leaving the loop in all situations,
  and also check if some data was read before exiting the loop with an
  EWOULDBLOCK exception.

* Doc/lib/libstdtypes.tex
* Objects/fileobject.c
  Document that sometimes a read() operation can return less data than
  what the user asked, if running in non-blocking mode.

* Misc/NEWS
  Document the fix.

22 years agoUse "dictionary literals" instead of "dictionaries", as suggested by Just.
Gustavo Niemeyer [Mon, 16 Dec 2002 14:09:22 +0000 (14:09 +0000)]
Use "dictionary literals" instead of "dictionaries", as suggested by Just.

22 years agoFixing bug
Gustavo Niemeyer [Mon, 16 Dec 2002 13:54:02 +0000 (13:54 +0000)]
Fixing bug

[#448679] Left to right

* Python/compile.c
  (com_dictmaker): Reordered evaluation of dictionaries to follow strict
  LTR evaluation.

* Lib/compiler/pycodegen.py
  (CodeGenerator.visitDict): Reordered evaluation of dictionaries to
  follow strict LTR evaluation.

* Doc/ref/ref5.tex
  Documented the general LTR evaluation order idea.

* Misc/NEWS
  Documented change in evaluation order of dictionaries.

22 years agoGot rid of old (non-carbon-ppc and even cfm68k) file extensions for
Jack Jansen [Mon, 16 Dec 2002 13:16:25 +0000 (13:16 +0000)]
Got rid of old (non-carbon-ppc and even cfm68k) file extensions for
extension modules.

22 years agoApplying patch
Gustavo Niemeyer [Mon, 16 Dec 2002 13:11:57 +0000 (13:11 +0000)]
Applying patch

[#636769] Fix for major rexec bugs

* Lib/rexec.py
  (FileBase): Added 'xreadlines' and '__iter__' to allowed file methods.
  (FileWrapper.__init__): Removed unnecessary self.f variable, which gave
  direct access to the file object.
  (RExec): Added 'xreadlines' and '_weakref' to allowed modules.
  (RExec.r_open): Convert string subclasses to a real string classes
  before doing comparisons with mode parameter.

* Lib/ihooks.py
  (BasicModuleImporter.import_module/reload/unload): Convert the module
  name to a real string before working with it.
  (ModuleImporter.import_module/import_it/reload): Convert the module
  name to a real strings before working with it.

* Misc/NEWS
  Document the change.

22 years agoM EditorWindow.py
Kurt B. Kaiser [Mon, 16 Dec 2002 02:07:11 +0000 (02:07 +0000)]
M EditorWindow.py
M PyShell.py

Idlefork SF Bug 440383 - IDLE goes into beep loop
Fix loop in EditorWindow.newline_and_indent_event() and
in addition fix submission of >>> prompt to PyParse.Parser

Eliminate extra attribute EditorWindow.auto_indent

22 years agoRewrite to produce a complete sentence
Andrew M. Kuchling [Sun, 15 Dec 2002 20:17:38 +0000 (20:17 +0000)]
Rewrite to produce a complete sentence

22 years agoCombined alias and file into a single module. This is the only reasonable
Jack Jansen [Sun, 15 Dec 2002 19:55:07 +0000 (19:55 +0000)]
Combined alias and file into a single module. This is the only reasonable
way to get various alias creation routines as methods of FSSpec or FSRef
objects (which is the logical thing, from a Python POV). Also started on
the code that will contain all the macfs functionality, so macfs can
becode a Python module, to be used mainly for backward compatibility.

22 years agoFixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_DECREF
Just van Rossum [Sun, 15 Dec 2002 13:45:32 +0000 (13:45 +0000)]
Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_DECREF

22 years agotypo fix.
Just van Rossum [Sun, 15 Dec 2002 13:14:22 +0000 (13:14 +0000)]
typo fix.

22 years agoAdded missing markup.
Raymond Hettinger [Sat, 14 Dec 2002 20:20:45 +0000 (20:20 +0000)]
Added missing markup.
Replaced British spelling of 'behaviour' with 'behavior'.
Noted the new optional argument in math.log(x [,base]).

22 years agoApply SF patch 652930: Add optional base argument to math.log(x[, base]).
Raymond Hettinger [Sat, 14 Dec 2002 19:51:34 +0000 (19:51 +0000)]
Apply SF patch 652930:  Add optional base argument to math.log(x[, base]).

22 years agoPunctuation fix.
Raymond Hettinger [Sat, 14 Dec 2002 17:17:56 +0000 (17:17 +0000)]
Punctuation fix.

22 years agoM Debugger.py
Kurt B. Kaiser [Sat, 14 Dec 2002 04:38:51 +0000 (04:38 +0000)]
M Debugger.py
M IOBinding.py
M PyShell.py

* Could not remove last set of saved breakpoints from a file
* Starting with empty edit window, could not load a file
* Multiple adjacent breakpoints were saved as one breakpoint
* Storing breakpoints whenever a file is closed can get them out
  of synch with the saved version of a file.  Only store them when the
  file is saved.
* Add comment on current limitations on file editing in the presence of
  breakpoints.
* Replace get_current_breaks() with update_breakpoints(), add an update to
  PyShellEditorWindow.breakpoints, which is the master breakpoint data
  structure, and which is used to reload the subprocess debugger.
* Revert Debugger.Debugger.load_breakpoints() to use editwin.breakpoints.
  It is easier to debug the debugger if the breakpoint list in IDLE is
  identical to the list in the subprocess debugger and is transferred when
  the subprocess debugger is restarted, because this list can be easily
  queried.
* Cleanup some linespacing and comments in IOBinding.py

22 years agoGot rid of outdated defines.
Jack Jansen [Sat, 14 Dec 2002 00:05:00 +0000 (00:05 +0000)]
Got rid of outdated defines.

22 years agoRemoved errors.rsrc: this is loaded dynamically from :Mac:Lib when needed.
Jack Jansen [Sat, 14 Dec 2002 00:02:34 +0000 (00:02 +0000)]
Removed errors.rsrc: this is loaded dynamically from :Mac:Lib when needed.

22 years agoRemoved: this is loaded dynamically from :Mac:Lib when needed.
Jack Jansen [Sat, 14 Dec 2002 00:01:47 +0000 (00:01 +0000)]
Removed: this is loaded dynamically from :Mac:Lib when needed.

22 years agoGot rid of EasyDialogs dialogs, which are now in :Mac:Lib:dialogs.rsrc.
Jack Jansen [Fri, 13 Dec 2002 23:53:10 +0000 (23:53 +0000)]
Got rid of EasyDialogs dialogs, which are now in :Mac:Lib:dialogs.rsrc.

22 years agoGot rid of interpreter-internal dialogs.
Jack Jansen [Fri, 13 Dec 2002 23:52:19 +0000 (23:52 +0000)]
Got rid of interpreter-internal dialogs.
Tweaked GetArgv() dialog to look better on OSX.

22 years agoGot rid of non-carbon stuff, and added new Alias, File and Folder modules.
Jack Jansen [Fri, 13 Dec 2002 23:34:03 +0000 (23:34 +0000)]
Got rid of non-carbon stuff, and added new Alias, File and Folder modules.

22 years agoTweaked button sizes and hid unused items.
Jack Jansen [Fri, 13 Dec 2002 23:33:28 +0000 (23:33 +0000)]
Tweaked button sizes and hid unused items.

22 years agoSigh: the Jaguar workaround for the prefs file broke saving it on OS9. Temporary...
Jack Jansen [Fri, 13 Dec 2002 23:32:51 +0000 (23:32 +0000)]
Sigh: the Jaguar workaround for the prefs file broke saving it on OS9. Temporary workaround is to ignore the exception (it's only about file creator/type anyway).

22 years agoTweaked some button sizes to make them look better on OSX.
Jack Jansen [Fri, 13 Dec 2002 23:31:55 +0000 (23:31 +0000)]
Tweaked some button sizes to make them look better on OSX.

22 years agoTweaks to make this module OS9-compatible.
Jack Jansen [Fri, 13 Dec 2002 23:16:00 +0000 (23:16 +0000)]
Tweaks to make this module OS9-compatible.

22 years agoMore pre-carbon stuff bites the dust.
Jack Jansen [Fri, 13 Dec 2002 22:55:09 +0000 (22:55 +0000)]
More pre-carbon stuff bites the dust.

22 years agoRemoved: not carbon-compatible.
Jack Jansen [Fri, 13 Dec 2002 22:49:24 +0000 (22:49 +0000)]
Removed: not carbon-compatible.

22 years agoexecve(), spawnve(): add some extra sanity checking to env;
Guido van Rossum [Fri, 13 Dec 2002 18:36:22 +0000 (18:36 +0000)]
execve(), spawnve(): add some extra sanity checking to env;
PyMapping_Check() doesn't guarantee that PyMapping_Size() won't raise
an exception, nor that keys and values are lists.

Also folded some long lines and did a little whitespace normalization.

Probably a 2.2 backport candidate.

22 years agoTighten the tests for assignment to __bases__: disallow empty tuple.
Guido van Rossum [Fri, 13 Dec 2002 17:49:38 +0000 (17:49 +0000)]
Tighten the tests for assignment to __bases__: disallow empty tuple.

22 years agoThe speech manager interface is no longer supported and a replacement is
Jack Jansen [Fri, 13 Dec 2002 15:25:26 +0000 (15:25 +0000)]
The speech manager interface is no longer supported and a replacement is
(unfortunately: especially the grail demo was hiarious) still missing.

22 years agoAdded missing casts.
Jack Jansen [Fri, 13 Dec 2002 15:23:10 +0000 (15:23 +0000)]
Added missing casts.

22 years agoWe need macglue on MacPython-OS9 too.
Jack Jansen [Fri, 13 Dec 2002 15:20:53 +0000 (15:20 +0000)]
We need macglue on MacPython-OS9 too.

22 years agoOutdated.
Jack Jansen [Fri, 13 Dec 2002 15:18:04 +0000 (15:18 +0000)]
Outdated.

22 years agoGot rid of unused Compat files.
Jack Jansen [Fri, 13 Dec 2002 15:16:59 +0000 (15:16 +0000)]
Got rid of unused Compat files.

22 years agoanother wrong assumption fixed
Just van Rossum [Fri, 13 Dec 2002 15:14:22 +0000 (15:14 +0000)]
another wrong assumption fixed

22 years agoStill used the old config file. Fixed.
Jack Jansen [Fri, 13 Dec 2002 15:14:00 +0000 (15:14 +0000)]
Still used the old config file. Fixed.

22 years agoCompatibility files that haven't been used in a long time.
Jack Jansen [Fri, 13 Dec 2002 15:05:00 +0000 (15:05 +0000)]
Compatibility files that haven't been used in a long time.

22 years agoGet rid of support for Universal Headers older than 3.4 and various other
Jack Jansen [Fri, 13 Dec 2002 15:02:02 +0000 (15:02 +0000)]
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.

22 years agoGet rid of 2.2 "poor mans universal newlines" now that the real thing
Jack Jansen [Fri, 13 Dec 2002 13:57:35 +0000 (13:57 +0000)]
Get rid of 2.2 "poor mans universal newlines" now that the real thing
is implemented.

22 years agoIt was an old MacPython artefact that these files were still in the source
Jack Jansen [Fri, 13 Dec 2002 13:38:28 +0000 (13:38 +0000)]
It was an old MacPython artefact that these files were still in the source
tree. Removed them, anyone really desparate to recover them can get them
from the CVS repository.

22 years agoTkinter isn't supported under Carbon. Under MacOSX native it is, but
Jack Jansen [Fri, 13 Dec 2002 13:35:33 +0000 (13:35 +0000)]
Tkinter isn't supported under Carbon. Under MacOSX native it is, but
that version doesn't need these workarounds.

22 years agoVery outdated: this is a 68K support file.
Jack Jansen [Fri, 13 Dec 2002 13:33:34 +0000 (13:33 +0000)]
Very outdated: this is a 68K support file.

22 years agoAdd Tkinter threading change
Andrew M. Kuchling [Fri, 13 Dec 2002 12:53:16 +0000 (12:53 +0000)]
Add Tkinter threading change
Fix markup errors
Rewrite a sentence

22 years agoand now the real fix...
Just van Rossum [Fri, 13 Dec 2002 11:07:20 +0000 (11:07 +0000)]
and now the real fix...

22 years agofixed bool browsing bug, sf bug #652591
Just van Rossum [Fri, 13 Dec 2002 10:58:10 +0000 (10:58 +0000)]
fixed bool browsing bug, sf bug #652591

22 years agoPrevent debugger from stepping into Idle rpc code
Chui Tey [Thu, 12 Dec 2002 20:53:19 +0000 (20:53 +0000)]
Prevent debugger from stepping into Idle rpc code

22 years agoPatch #536661: Improve performance of splitext. Add test_macpath.
Martin v. Löwis [Thu, 12 Dec 2002 20:30:20 +0000 (20:30 +0000)]
Patch #536661: Improve performance of splitext. Add test_macpath.

22 years agoPatch #629126: Detect BLT by also looking for libBLT.
Martin v. Löwis [Thu, 12 Dec 2002 20:23:38 +0000 (20:23 +0000)]
Patch #629126: Detect BLT by also looking for libBLT.

22 years agoPatch #650653: Raise always value error if the table is not 256 bytes long.
Martin v. Löwis [Thu, 12 Dec 2002 20:03:19 +0000 (20:03 +0000)]
Patch #650653: Raise always value error if the table is not 256 bytes long.

22 years agoDescription of description was really confusing, and added some markup.
Thomas Heller [Thu, 12 Dec 2002 19:35:00 +0000 (19:35 +0000)]
Description of description was really confusing, and added some markup.

22 years agoM CallTipWindow.py
Kurt B. Kaiser [Thu, 12 Dec 2002 19:15:39 +0000 (19:15 +0000)]
M CallTipWindow.py
M CallTips.py

Calltip fetch was erroring when an Edit window was used without a Shell.
Also, fix CallTipWindow.py so test code will run and add a comment about a
bug which causes the calltip window to override all others.

22 years agoChange issubclass() so that recursive tuples (directly or indirectly
Walter Dörwald [Thu, 12 Dec 2002 19:14:08 +0000 (19:14 +0000)]
Change issubclass() so that recursive tuples (directly or indirectly
containing class objects) are allowed as the second argument.
This makes issubclass() more similar to isinstance() where recursive
tuples are allowed too.

22 years agoMention the bdist_wininst postinstall script.
Thomas Heller [Thu, 12 Dec 2002 19:13:44 +0000 (19:13 +0000)]
Mention the bdist_wininst postinstall script.

22 years agoAlways initialize objc.
Martin v. Löwis [Thu, 12 Dec 2002 19:05:48 +0000 (19:05 +0000)]
Always initialize objc.

22 years agoRaw documentation for the bdist_wininst postinstallation script.
Thomas Heller [Thu, 12 Dec 2002 18:54:19 +0000 (18:54 +0000)]
Raw documentation for the bdist_wininst postinstallation script.
People are already using it, so these docs are certainly better than
no docs at all. Markup is mostly missing and the layout is probably
ugly, but this can be fixed later.

Question: there are references to MS docs for the CSIDL_... constants
and the IShellLink interface. Are these pointers sufficient, or should
the MS docs reworded and repeated here?

22 years agoPatch #551960: Add check for setrlimit() support
Jason Tishler [Thu, 12 Dec 2002 18:13:36 +0000 (18:13 +0000)]
Patch #551960: Add check for setrlimit() support

test_resource calls resource.setrlimit() to change the file size limits.
This fails on Cygwin, which supports setrlimit() and getrlimit(), just not
changing that particular setting. (The same would apply to any other
platform that has those functions but not that particular feature.)

Since getrlimit() works and setrlimit() can be used for other reasons, a
check for ValueError was added to that part of the test.

22 years agoNews item for the change to turn _codecs into a builtin module.
Marc-André Lemburg [Thu, 12 Dec 2002 18:01:43 +0000 (18:01 +0000)]
News item for the change to turn _codecs into a builtin module.