Jack Jansen
2bb598067a
The standard definition file is now called mwerks_shcarbon_plugin.h.
2002-06-27 22:10:19 +00:00
Fredrik Lundh
3d9addd55a
merged with SLAB codebase (version 1.0.1)
2002-06-27 21:36:21 +00:00
Fredrik Lundh
4fb7027ec0
made the code match the comments (1.5.2 compatibility)
2002-06-27 20:08:25 +00:00
Fredrik Lundh
6f7c3431c8
Fix bug #570057 : Broken pre.subn() (and pre.sub())
...
This should be backported to the 2.2.X series (how
do I do that?)
2002-06-27 19:59:27 +00:00
Fred Drake
1add023b88
Integrate the tests for name interning from PyXML (test_pyexpat.py
...
revision 1.12 in PyXML).
2002-06-27 19:41:51 +00:00
Neal Norwitz
80a3e0a604
Whitespace normalization (remove tabs)
2002-06-26 22:05:33 +00:00
Jack Jansen
ab5320bfd9
Fixed various MacPython-specific issues found by attempting to use the standard core setup.py for MacPython.
2002-06-26 15:42:49 +00:00
Raymond Hettinger
0a2963c797
Apply SF 562987 modernizing Cookie to subclass from dict instead of UserDict
2002-06-26 15:19:01 +00:00
Fred Drake
3a159a8d25
Suppress the variable verbose output from test.xmltests; the inclusion of
...
timing information in the output makes the determination of success bogus.
2002-06-26 15:16:16 +00:00
Jack Jansen
96cad2ea47
This module broke on the Mac (where it can't work, but distutils seems to import it anyway) because it imported pwd and grp. Moved the import to inside the routine where they're used.
2002-06-26 15:00:29 +00:00
Ka-Ping Yee
711cad769a
Also look up variable names in __builtins__ if not found in globals.
...
Don't show hidden fields of exception values (names starting with '_').
2002-06-26 07:10:56 +00:00
Kurt B. Kaiser
ffd3a4217a
Shutdown subprocess debugger and associated Proxies/Adapters when closing
...
the Idle debugger.
M PyShell.py : Call RemoteDebugger.close_remote_debugger()
M RemoteDebugger.py: Add close_remote_debugger(); further polish code used
to start the debugger sections.
M rpc.py : Add comments on Idlefork methods register(), unregister()
comment out unused methods
M run.py : Add stop_the_debugger(); polish code
2002-06-26 02:32:09 +00:00
Fred Drake
867de944b4
Add convenience module to run all the XML tests.
2002-06-25 19:20:10 +00:00
Kurt B. Kaiser
f8096fbba1
Remove all EditorWindow BREAK tags when closing Debugger
2002-06-25 03:28:38 +00:00
Piers Lauder
17031bf421
fix incorrect size calc. in IMAP4_SSL.read
2002-06-24 23:35:37 +00:00
Kurt B. Kaiser
83118c6cb3
Clear associated breakpoints when closing an edit window.
...
M Debugger.py : Added clear_file_breaks()
M EditorWindow.py : Clear breaks when closed, commments->docstrings,
comment out some debugging print statements
M PyShell.py : comments->docstrings ; clarify extending EditorWindow
methods.
M RemoteDebugger.py: Add clear_all_file_breaks() functionality,
clarify some comments.
2002-06-24 17:03:37 +00:00
Raymond Hettinger
ab5dae35ca
Fix SF bug 572567: Memory leak in object comparison.
2002-06-24 13:08:16 +00:00
Piers Lauder
0c09293143
Fix IMAP4_SSL read and send methods to take account of short data
2002-06-23 10:47:13 +00:00
Guido van Rossum
10f36d9f0b
Add a check that the bug Jeremy just fixed in _PyTuple_Resize() is
...
fixed.
(Jeremy, how did you discover that?)
2002-06-21 02:14:10 +00:00
Raymond Hettinger
0ae0c07661
SF 569257 -- Name mangle double underscored variable names in __slots__.
2002-06-20 22:23:15 +00:00
Jack Jansen
e36a8e8201
Disable the test for importing very long lists for MacPython: it triggers
...
an out-of-memory condition (and a hang on OSX). Filed a bug report
(#571845 ) to make sure this is eventually fixed.
2002-06-20 21:34:35 +00:00
Tim Peters
8db890a21a
Removed the generator future-stmt -- not needed for 2.3.
2002-06-20 14:52:37 +00:00
Kurt B. Kaiser
669f4c3850
1. Debugger Breakpoints, finish implementation
...
2. Debugger Clear Breakpoints, implement
3. Nice yellow breakpoints for Chui :)
2002-06-20 04:01:47 +00:00
Guido van Rossum
3875e90274
I get failures half of the time that I run this, so I'll disable
...
running this as part of the regular test suite again, until I have
time to figure out why.
2002-06-20 03:40:16 +00:00
Raymond Hettinger
9c051d7e01
SF 570727 indexer() class no longer needed since lists now support slicing
2002-06-20 03:38:12 +00:00
Michael W. Hudson
9c14badc5f
Fix the bug described in
...
http://mail.python.org/pipermail/python-dev/2002-June/025461.html
with test cases.
Also includes extended slice support for arrays, which I thought I'd
already checked in but obviously not.
2002-06-19 15:44:15 +00:00
Jeremy Hylton
2683ac755d
Define NDEBUG for releae builds, just like Python.
...
XXX Why doesn't distutils on Windows use the same set of flags as Python?
2002-06-18 19:08:40 +00:00
Jeremy Hylton
1b046e4314
Add implementation of _compile() and use default compile() method.
2002-06-18 18:48:55 +00:00
Jeremy Hylton
6e08d22b1a
Add a default implementation of compile() to the base class.
...
The default implementation calls _compile() to compile individual
files. This method must be implemented by the subclass. This change
factors out most of the remaining common code in all the compilers
except mwerks.
2002-06-18 18:42:41 +00:00
Jeremy Hylton
c01b350d36
Only import msvccompiler on win32 platforms.
2002-06-18 18:40:54 +00:00
Guido van Rossum
83ccb4e011
Michael fixed the race conditions and removed the sleeps.
...
This is his SF patch 569697. I renamed main() to test_main() again so
that this is run as part of the standard test suite.
2002-06-18 18:35:13 +00:00
Guido van Rossum
a96b0df624
Patch from SF bug 570483 (Tim Northover).
...
In a fresh interpreter, type.mro(tuple) would segfault, because
PyType_Ready() isn't called for tuple yet. To fix, call
PyType_Ready(type) if type->tp_dict is NULL.
2002-06-18 16:49:45 +00:00
Neal Norwitz
1ed564af8c
Whitespace normalization (tabs -> spaces)
2002-06-17 12:43:20 +00:00
Piers Lauder
3fca291a52
Add IMAP4 QUOTA extension methods
2002-06-17 07:07:20 +00:00
Piers Lauder
f0a70f6d0a
Alter text test arg to obey new rule, also include inverse test to make time-zone independant
2002-06-17 07:06:24 +00:00
Kurt B. Kaiser
0e3a57731b
Polish RemoteDebugger code.
...
Use a repr() on the subprocess side when fetching dict values for stack.
The various dict entities are not needed by the debugger GUI, only
their representation.
2002-06-16 03:32:24 +00:00
Guido van Rossum
94c9d909d5
Forgot to add this. It's part of patch 568629.
2002-06-16 01:22:13 +00:00
Tim Peters
0f1afb1df3
test_module_with_large_stack(): This failed when Python was run with -O,
...
trying to delete a .pyc file that didn't exist (it needed to delete .pyo
then).
2002-06-15 05:14:05 +00:00
Tim Peters
06727123db
test_module_with_large_stack(): This failed on Windows, for the wrong
...
reason <wink>: can't unlink an open file on Windows.
2002-06-15 05:00:42 +00:00
Guido van Rossum
bea18ccde6
SF patch 568629 by Oren Tirosh: types made callable.
...
These built-in functions are replaced by their (now callable) type:
slice()
buffer()
and these types can also be called (but have no built-in named
function named after them)
classobj (type name used to be "class")
code
function
instance
instancemethod (type name used to be "instance method")
The module "new" has been replaced with a small backward compatibility
placeholder in Python.
A large portion of the patch simply removes the new module from
various platform-specific build recipes. The following binary Mac
project files still have references to it:
Mac/Build/PythonCore.mcp
Mac/Build/PythonStandSmall.mcp
Mac/Build/PythonStandalone.mcp
[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring. --Guido]
2002-06-14 20:41:17 +00:00
Guido van Rossum
da07ea7282
Use code.interact(), which is even simpler, *and* imports readline
...
when it can.
2002-06-14 13:54:26 +00:00
Guido van Rossum
2aabac8276
Don't poorly emulate the interactive interpreter, use
...
code.InteractiveConsole to do a much better job.
2002-06-14 13:48:25 +00:00
Guido van Rossum
e7f3e24eeb
Test for the bug in recurse_down_subclasses() that I just fixed.
2002-06-14 02:35:45 +00:00
Neal Norwitz
7fdcb41131
Fix SF bug # 561858 Assertion with very long lists
...
Write 4 bytes for co_stacksize, etc. to prevent writing out
bad .pyc files which can cause a crash when read back in.
2002-06-14 01:07:39 +00:00
Neal Norwitz
1f68fc7fa5
SF bug # 493951 string.{starts,ends}with vs slices
...
Handle negative indices similar to slices.
2002-06-14 00:50:42 +00:00
Neal Norwitz
1b738e916f
Test exceptional condition in select()
2002-06-13 22:23:47 +00:00
Neal Norwitz
6fc36c5491
Test exceptional conditions in list.sort()
2002-06-13 22:23:06 +00:00
Neal Norwitz
2b34290055
Cleanup a little
2002-06-13 22:18:39 +00:00
Guido van Rossum
16b93b3d0e
Fix for SF bug 532646. This is a little simpler than what Neal
...
suggested there, based upon a better analysis (__getattr__ is a red
herring). Will backport to 2.2.
2002-06-13 21:32:51 +00:00
Guido van Rossum
654c11ee3a
Temporarily disable the timeout and socket tests.
...
They still run as standalone scripts, but when used as part of the
regression test suite, they are effectively no-ops.
(This is done by renaming test_main to main.)
2002-06-13 20:24:17 +00:00