Fred Drake
47cdf6fb6f
Add documentation on the hasfree data object.
2002-03-28 19:34:53 +00:00
Martin v. Löwis
0c0d56a22f
Reindent.
2002-03-28 16:26:40 +00:00
Fred Drake
f841aa6fc0
Add a simple test of the METH_CLASS and METH_STATIC flags for type methods.
2002-03-28 15:49:54 +00:00
Martin v. Löwis
4157ffbb96
Patch #536117 : Typo in turtle.py.
...
2.2.2 candidate.
2002-03-28 15:45:57 +00:00
Fred Drake
e3a3ceb2b1
Minor consistency adjustments.
2002-03-28 12:40:45 +00:00
Tim Peters
d1139e043c
PYMALLOC_DEBUG routines: The "check API family" gimmick was going nowhere
...
fast, and just cluttered the code. Get rid of it for now. If a compelling
case can be made for it, easy to restore it later.
2002-03-28 07:32:11 +00:00
Fred Drake
7bf9715a8b
Introduce two new flag bits that can be set in a PyMethodDef method
...
descriptor, as used for the tp_methods slot of a type. These new flag
bits are both optional, and mutually exclusive. Most methods will not
use either. These flags are used to create special method types which
exist in the same namespace as normal methods without having to use
tedious construction code to insert the new special method objects in
the type's tp_dict after PyType_Ready() has been called.
If METH_CLASS is specified, the method will represent a class method
like that returned by the classmethod() built-in.
If METH_STATIC is specified, the method will represent a static method
like that returned by the staticmethod() built-in.
These flags may not be used in the PyMethodDef table for modules since
these special method types are not meaningful in that case; a
ValueError will be raised if these flags are found in that context.
2002-03-28 05:33:33 +00:00
Fred Drake
ed6a886d9f
Ignore new output directory.
2002-03-27 20:37:04 +00:00
Martin v. Löwis
2e64c34850
Expose C library's gettext. Fixes #516412 .
2002-03-27 18:49:02 +00:00
Martin v. Löwis
4208d4f757
Destroy and unlink deleted NoteBook panes. Fixes #516703 .
...
2.2.2 candidate.
2002-03-27 17:59:17 +00:00
Skip Montanaro
8a79727b53
add seealso referring to site module doc where people can learn how to
...
extend sys.path using .pth files.
2002-03-27 17:29:50 +00:00
Martin v. Löwis
f2041b8aa6
Ignore widgets with unknown names in winfo_children. Fixes #518283 .
...
2.2.2 candidate.
2002-03-27 17:15:57 +00:00
Neil Schemenauer
38a8916134
Remove weakref free list. This has the side effect of fixing a memory
...
management bug. Also, move some duplicated code into the new_weakref
fucntion.
2002-03-27 15:18:21 +00:00
Skip Montanaro
9e38c100ab
fix a typo in PyErr_Format table and add row for 'p' format char
...
closes bug 534495
2002-03-27 13:42:50 +00:00
Neal Norwitz
0c766a0bb6
Change sys_exit to use METH_VARARGS.
...
sys.exit() now requires 0-1 arguments. Previously 2+ arguments were allowed.
2002-03-27 13:03:09 +00:00
Martin v. Löwis
496f9e41ef
Don't imply XPG4 constants from CODESET presence. Fixes #534153 .
...
2.2.2 candiate.
2002-03-27 12:15:57 +00:00
Steven M. Gava
1d46e40f58
further work on new config system;
...
recent files menu
2002-03-27 08:40:46 +00:00
Andrew M. Kuchling
03594bbb0e
Fill in this document a bit, adding reminders of items that should be included
2002-03-27 02:29:48 +00:00
Steven M. Gava
0c5bc8c951
further work on new config system;
...
user defined help items
2002-03-27 02:25:44 +00:00
Steven M. Gava
cedd30b030
_finally_ tracked down and eliminated a major problem
...
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py
2002-03-27 00:51:53 +00:00
Fred Drake
4e526feb6a
Add the "What's New" document to the index of HTML documents.
2002-03-26 20:29:11 +00:00
Neil Schemenauer
908632a6a6
Implement iterator protocol.
2002-03-26 20:28:40 +00:00
Barry Warsaw
13e34f7a19
__init__(): We'll try to be more RFC 2821 compliant by providing for a
...
better local_hostname default. According to RFC 2821, it is
recommended that the fqdn hostname be provided in the EHLO/HELO verb
and if that can't be calculated, to use a domain literal.
The rationale for this change is documented in SF patch #497736 which
also had privacy concerns about leaking the fqdn in the EHLO/HELO. We
decided this wasn't a big concern because no user data is leaked, and
the IP will always be leaked. The local_hostname argument is provided
for those clients that are super paranoid.
Using localhost.localdomain may break some strict smtp servers so we
decided against using it as the default.
2002-03-26 20:27:35 +00:00
Fred Drake
69f0a8e42f
The <link> to the stylesheet should include the type attribute.
2002-03-26 19:57:52 +00:00
Fred Drake
3014086fbf
Wire up the makefile to more fully support the "What's New" documents.
2002-03-26 19:53:56 +00:00
Fred Drake
9ac14decde
Wire in the "What's New" document.
2002-03-26 19:18:18 +00:00
Fred Drake
03e1031d67
Add a starter for the next "What's New" document.
2002-03-26 19:17:43 +00:00
Fred Drake
15fc72ce77
Make \url to force horizontal mode.
2002-03-26 19:14:41 +00:00
Neal Norwitz
aad1849e25
time and socket were already imported in the module, no need to re-import
2002-03-26 16:25:01 +00:00
Neal Norwitz
1ae2875336
re was already imported in the module, no need to re-import
2002-03-26 16:23:28 +00:00
Neal Norwitz
f261223ccd
os was already imported in the module, no need to re-import
2002-03-26 16:21:52 +00:00
Neal Norwitz
e98d16e8a4
Cleanup x so it is not left in module
2002-03-26 16:20:26 +00:00
Neal Norwitz
4632117e37
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
2002-03-26 14:52:00 +00:00
Just van Rossum
4e6d13cebf
Make object browser work in OSX (by rewriting the old browser
...
LDEF in Python). If at all possible, this should go into 2.2.1.
2002-03-26 12:06:11 +00:00
Skip Montanaro
9a29e7aba3
operate as a filter when no files or directories appear on the command line
2002-03-26 11:39:26 +00:00
Guido van Rossum
85ee491b3a
Fix for SF 502085.
...
Don't die when issubclass(t, TypeType) fails.
Bugfix candidate (but I think it's too late for 2.2.1).
2002-03-26 00:51:56 +00:00
Neal Norwitz
7e78acbb1b
Remove last occurrance of PyArg_GetInt. It is deprecated,
2002-03-25 22:23:53 +00:00
Neal Norwitz
1543c07fdf
Add a comment that PyArg_GetInt is deprecated and should not be used
2002-03-25 22:21:58 +00:00
Skip Montanaro
acb29aed67
make default banner match what the real interpreter displays
2002-03-25 22:04:23 +00:00
Skip Montanaro
0679a73c0e
remove unqualified excepts - catch ImportError when trying to import
...
readline and get rid of string exception fallback when showing syntax
errors.
see bug 411881
2002-03-25 21:44:07 +00:00
Skip Montanaro
0897f0c4f8
eliminate unqualified except when checking for presence of LC_MESSAGES
...
see bug 411881
2002-03-25 21:40:36 +00:00
Skip Montanaro
a959a36288
tighten up unqualified except in currentframe()
...
see bug 411881
2002-03-25 21:37:54 +00:00
Neal Norwitz
2358425146
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
2002-03-25 21:05:50 +00:00
Neal Norwitz
3a6f97850b
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
2002-03-25 20:46:46 +00:00
Fred Drake
57f8e06e4f
Document the finditer() function and method.
...
This closes SF bug #520904 .
Explain that many of the escapes supported by string literals are also
supported by the RE compiler, and list which ones.
This closes SF bug #529923 .
2002-03-25 20:22:59 +00:00
Tim Peters
6a1e76b2bd
Update master Windows build-number list for 2.2.1c2.
2002-03-25 19:35:58 +00:00
Walter Dörwald
dbd2d2560c
Add tests for the iterkeys, itervalues and iteritems
...
methods in dict-proxy objects.
2002-03-25 18:36:32 +00:00
Walter Dörwald
e990c79fa8
Add missing methods iterkeys, itervalues and iteritems to
...
dict-proxy objects.
Add real docstrings to all methods.
2002-03-25 17:43:22 +00:00
Fred Drake
3787c9d94c
Added description of binhex.Error.
2002-03-25 16:37:56 +00:00
Jack Jansen
a516a59caa
Include obmalloc.c in the build.
2002-03-25 15:43:37 +00:00