]> granicus.if.org Git - python/log
python
22 years agoMissed one version number.
Jack Jansen [Fri, 29 Mar 2002 23:43:21 +0000 (23:43 +0000)]
Missed one version number.

22 years agoUse the right types for a couple of fields of the type structure.
Fred Drake [Fri, 29 Mar 2002 22:46:04 +0000 (22:46 +0000)]
Use the right types for a couple of fields of the type structure.

22 years agoStarted updating information about defining attributes on types.
Fred Drake [Fri, 29 Mar 2002 22:45:28 +0000 (22:45 +0000)]
Started updating information about defining attributes on types.
There's still a long way to go, but we're starting to see some real
content in the docs.

22 years agoFirst stab at an icon for the IDE.
Jack Jansen [Fri, 29 Mar 2002 22:28:32 +0000 (22:28 +0000)]
First stab at an icon for the IDE.

22 years agorepair damage: canceling the "save options" dialog now works again.
Just van Rossum [Fri, 29 Mar 2002 21:48:42 +0000 (21:48 +0000)]
repair damage: canceling the "save options" dialog now works again.

22 years agorepair damage: now works again as a CFM app.
Just van Rossum [Fri, 29 Mar 2002 21:47:56 +0000 (21:47 +0000)]
repair damage: now works again as a CFM app.

22 years agoCompletely revamped newline handling. PyEdit is now newline-preserving
Jack Jansen [Fri, 29 Mar 2002 21:26:04 +0000 (21:26 +0000)]
Completely revamped newline handling. PyEdit is now newline-preserving
(if a single newline convention is used in the sourcefile), and the
"save options" has a newline style radio button.

The creator radio button also has the new choices PythonW and None.

Just: just shout (and revert) if you don't agree.

22 years agoAllow file without filetype as long as they end in ".py".
Jack Jansen [Fri, 29 Mar 2002 21:23:47 +0000 (21:23 +0000)]
Allow file without filetype as long as they end in ".py".

Added a -D flag (can really only be specified on OSX commandline) to not
revector sys.stderr, for debugging the IDE itself. Not sure whether
this should stay.

22 years agoImplemented buildtools for MachoPython .app bundles. The API is compatible
Jack Jansen [Fri, 29 Mar 2002 21:21:28 +0000 (21:21 +0000)]
Implemented buildtools for MachoPython .app bundles. The API is compatible
enough that IDE and BuildApplet can create applets, yeah!

22 years agoDon't attempt to create a dummy fsspec if the user cancelled out, just
Jack Jansen [Fri, 29 Mar 2002 21:19:37 +0000 (21:19 +0000)]
Don't attempt to create a dummy fsspec if the user cancelled out, just
return None.

For now, if the user asks for TEXT files files without type are also
accepted. But it is time to phase out StandardGetFile and friends, really.

22 years agoRe-raise the Res.Error if the file doesn't exist.
Jack Jansen [Fri, 29 Mar 2002 21:17:57 +0000 (21:17 +0000)]
Re-raise the Res.Error if the file doesn't exist.

22 years agoAdded -Wno-long-double
Jack Jansen [Fri, 29 Mar 2002 21:17:14 +0000 (21:17 +0000)]
Added -Wno-long-double

22 years agoChanged visible name (in dock, menubar) of the interpreter to PythonW.
Jack Jansen [Fri, 29 Mar 2002 21:16:41 +0000 (21:16 +0000)]
Changed visible name (in dock, menubar) of the interpreter to PythonW.
Changed version numbers and copyright.

22 years agoAdd missing typecast.
Neil Schemenauer [Fri, 29 Mar 2002 19:58:25 +0000 (19:58 +0000)]
Add missing typecast.

22 years ago[Patch #536769] Add -Xcompiler flag for adding arguments and switches for
Andrew M. Kuchling [Fri, 29 Mar 2002 18:00:19 +0000 (18:00 +0000)]
[Patch #536769] Add -Xcompiler flag for adding arguments and switches for
    the compiler

22 years agoPatch #527027: Allow building python as shared library.
Martin v. Löwis [Fri, 29 Mar 2002 16:28:31 +0000 (16:28 +0000)]
Patch #527027: Allow building python as shared library.

22 years agoAs part of fixing bug #536241, add a test case for string.zfill() with Unicode
Andrew M. Kuchling [Fri, 29 Mar 2002 16:21:44 +0000 (16:21 +0000)]
As part of fixing bug #536241, add a test case for string.zfill() with Unicode

22 years ago[Bug #536241] string.zfill() produces mangled output for a Unicode string.
Andrew M. Kuchling [Fri, 29 Mar 2002 16:20:33 +0000 (16:20 +0000)]
[Bug #536241] string.zfill() produces mangled output for a Unicode string.
    Walter Doerwald provided a patch, which I've modified in two ways:

1) (Uncontroversial) Removed code to make module work in earlier versions of
   Python without the unicode() built-in

2) (Poss. controversial) Instead of making string.zfill take the repr()
   of non-string objects, take the str().

Should a warning be added to this branch of the code so that the automatic
str() can be deprecated?

2.2.2 bugfix candidate, assuming the repr()->str() change is deemed OK.

22 years agoAdd two tests for string.zfill
Andrew M. Kuchling [Fri, 29 Mar 2002 16:00:13 +0000 (16:00 +0000)]
Add two tests for string.zfill

22 years agoAllow .pyc files as applets as well as .py files. .py files have
Jack Jansen [Fri, 29 Mar 2002 14:43:50 +0000 (14:43 +0000)]
Allow .pyc files as applets as well as .py files. .py files have
priority, for safety reasons.

22 years agoIf the file has no resource fork first check to see whether it's a
Jack Jansen [Fri, 29 Mar 2002 14:29:35 +0000 (14:29 +0000)]
If the file has no resource fork first check to see whether it's a
datafork-based resource file before trying to decode it as AppleSingle.

22 years agoRemoved debug.
Jack Jansen [Fri, 29 Mar 2002 14:28:09 +0000 (14:28 +0000)]
Removed debug.

22 years agoIn MachoPython print "Pythonw" in banner to distinguish from command-line
Jack Jansen [Fri, 29 Mar 2002 14:27:06 +0000 (14:27 +0000)]
In MachoPython print "Pythonw" in banner to distinguish from command-line
python.
Removed debug output.

22 years agoAdded target "installunixprograms" which installs python and pythonw in
Jack Jansen [Fri, 29 Mar 2002 14:18:18 +0000 (14:18 +0000)]
Added target "installunixprograms" which installs python and pythonw in
/usr/local/bin (referring to the framework-based interpreter and Python.app).

Added target symlinkmacsubtree to aid in debugging.

22 years agoShell script that invokes Python.app from the command line. Called pythonw
Jack Jansen [Fri, 29 Mar 2002 14:15:22 +0000 (14:15 +0000)]
Shell script that invokes Python.app from the command line. Called pythonw
because of similarity to the same program on Windows.

22 years agoRemove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.
Tim Peters [Fri, 29 Mar 2002 03:29:08 +0000 (03:29 +0000)]
Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.

22 years agoCall PyObject_GC_UnTrack before putting an object on the list of trash.
Neil Schemenauer [Fri, 29 Mar 2002 03:07:29 +0000 (03:07 +0000)]
Call PyObject_GC_UnTrack before putting an object on the list of trash.

22 years agoIf the GC is enabled then don't use the ob_type pointer to create a list
Neil Schemenauer [Fri, 29 Mar 2002 03:05:54 +0000 (03:05 +0000)]
If the GC is enabled then don't use the ob_type pointer to create a list
of trash objects.  Use the gc_prev pointer instead.

22 years agoMake _PyObject_GC_UnTrack do nothing if WITH_CYCLE_GC is not defined.
Neil Schemenauer [Fri, 29 Mar 2002 03:04:25 +0000 (03:04 +0000)]
Make _PyObject_GC_UnTrack do nothing if WITH_CYCLE_GC is not defined.

22 years agoNews for SF #535905.
Guido van Rossum [Fri, 29 Mar 2002 01:07:24 +0000 (01:07 +0000)]
News for SF #535905.

22 years agoMark a couple of types that had not been marked.
Fred Drake [Thu, 28 Mar 2002 23:46:41 +0000 (23:46 +0000)]
Mark a couple of types that had not been marked.

22 years agoAdded comments for more entries of the type structure in the example
Fred Drake [Thu, 28 Mar 2002 23:45:22 +0000 (23:45 +0000)]
Added comments for more entries of the type structure in the example
type implementation.

22 years agoThe new files included by \verbatiminput in newtypes.tex.
Fred Drake [Thu, 28 Mar 2002 23:32:53 +0000 (23:32 +0000)]
The new files included by \verbatiminput in newtypes.tex.

22 years agoMove some of the longer example code to external fragments, and
Fred Drake [Thu, 28 Mar 2002 23:12:09 +0000 (23:12 +0000)]
Move some of the longer example code to external fragments, and
include them using \verbatiminput.  This has the advantage that pages
can still break at reasonable places, and examples that go longer than
a page won't get cut off.

Make a few small markup adjustments for consistency.

Explain that PyObject_New() is not a C function but a polymorphic
beast that returns a pointer to the type that's passed as the first
arg.

Explain why type objects use the PyObject_VAR_HEAD.

22 years agoFix getcomments() so that it doesn't fail with TypeErrors.
Jeremy Hylton [Thu, 28 Mar 2002 23:01:56 +0000 (23:01 +0000)]
Fix getcomments() so that it doesn't fail with TypeErrors.

It appears that getcomments() can get called for classes defined in
C.  Since these don't have source code, it can't do anything useful.
A function buried many levels deep was raising a TypeError that was
not caught.

Who knows why this broke...

22 years agoAdded index entries.
Fred Drake [Thu, 28 Mar 2002 22:36:56 +0000 (22:36 +0000)]
Added index entries.

22 years agoExtend \verbatiminput so that the typeset version provides the same appearance
Fred Drake [Thu, 28 Mar 2002 22:28:43 +0000 (22:28 +0000)]
Extend \verbatiminput so that the typeset version provides the same appearance
as a verbatim environment.  (The HTML version is already fine.)

22 years agonew script - helps track down symbols exported by modules but not
Skip Montanaro [Thu, 28 Mar 2002 22:01:40 +0000 (22:01 +0000)]
new script - helps track down symbols exported by modules but not
mentioned in the library reference manual

22 years agotest_trashcan: reword obscure code.
Tim Peters [Thu, 28 Mar 2002 21:22:25 +0000 (21:22 +0000)]
test_trashcan:  reword obscure code.

Bugfix candidate.

22 years agoNew test_traschcan() test in test_gc, which reliably provokes segfaults
Tim Peters [Thu, 28 Mar 2002 21:08:30 +0000 (21:08 +0000)]
New test_traschcan() test in test_gc, which reliably provokes segfaults
under 2.0, 2.1 and 2.2.

Bugfix candidate.

22 years agoMinor wording change.
Fred Drake [Thu, 28 Mar 2002 21:06:17 +0000 (21:06 +0000)]
Minor wording change.

22 years agoAdd _Py_AS_GC macro. It will be used by the trashcan code on object.c.
Neil Schemenauer [Thu, 28 Mar 2002 21:06:16 +0000 (21:06 +0000)]
Add _Py_AS_GC macro.  It will be used by the trashcan code on object.c.

22 years agoAdd missing "void" to function.
Neil Schemenauer [Thu, 28 Mar 2002 21:05:38 +0000 (21:05 +0000)]
Add missing "void" to function.

22 years agoAdd type cast.
Neil Schemenauer [Thu, 28 Mar 2002 21:04:14 +0000 (21:04 +0000)]
Add type cast.

22 years agoadd comment reminding people about class hierarchy in Doc/lib/libexcs.tex
Skip Montanaro [Thu, 28 Mar 2002 20:57:51 +0000 (20:57 +0000)]
add comment reminding people about class hierarchy in Doc/lib/libexcs.tex

22 years agoadd exception class hierarchy. This should probably be done differently,
Skip Montanaro [Thu, 28 Mar 2002 20:53:22 +0000 (20:53 +0000)]
add exception class hierarchy.  This should probably be done differently,
but at least the content is there.

22 years agoThis is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).
Guido van Rossum [Thu, 28 Mar 2002 20:34:59 +0000 (20:34 +0000)]
This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).

The fix makes it possible to call PyObject_GC_UnTrack() more than once
on the same object, and then move the PyObject_GC_UnTrack() call to
*before* the trashcan code is invoked.

BUGFIX CANDIDATE!

22 years agoAllow a page break in a code longish example.
Fred Drake [Thu, 28 Mar 2002 20:19:23 +0000 (20:19 +0000)]
Allow a page break in a code longish example.

22 years agoFix an issue that was reported in but unrelated to the main problem of
Guido van Rossum [Thu, 28 Mar 2002 20:17:52 +0000 (20:17 +0000)]
Fix an issue that was reported in but unrelated to the main problem of
SF bug 535905 (Evil Trashcan and GC interaction).

The SETLOCAL() macro should not DECREF the local variable in-place and
then store the new value; it should copy the old value to a temporary
value, then store the new value, and then DECREF the temporary value.
This is because it is possible that during the DECREF the frame is
accessed by other code (e.g. a __del__ method or gc.collect()) and the
variable would be pointing to already-freed memory.

BUGFIX CANDIDATE!

22 years agoAdd documentation on the hasfree data object.
Fred Drake [Thu, 28 Mar 2002 19:34:53 +0000 (19:34 +0000)]
Add documentation on the hasfree data object.

22 years agoReindent.
Martin v. Löwis [Thu, 28 Mar 2002 16:26:40 +0000 (16:26 +0000)]
Reindent.

22 years agoAdd a simple test of the METH_CLASS and METH_STATIC flags for type methods.
Fred Drake [Thu, 28 Mar 2002 15:49:54 +0000 (15:49 +0000)]
Add a simple test of the METH_CLASS and METH_STATIC flags for type methods.

22 years agoPatch #536117: Typo in turtle.py.
Martin v. Löwis [Thu, 28 Mar 2002 15:45:57 +0000 (15:45 +0000)]
Patch #536117: Typo in turtle.py.
2.2.2 candidate.

22 years agoMinor consistency adjustments.
Fred Drake [Thu, 28 Mar 2002 12:40:45 +0000 (12:40 +0000)]
Minor consistency adjustments.

22 years agoPYMALLOC_DEBUG routines: The "check API family" gimmick was going nowhere
Tim Peters [Thu, 28 Mar 2002 07:32:11 +0000 (07:32 +0000)]
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.

22 years agoIntroduce two new flag bits that can be set in a PyMethodDef method
Fred Drake [Thu, 28 Mar 2002 05:33:33 +0000 (05:33 +0000)]
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.

22 years agoIgnore new output directory.
Fred Drake [Wed, 27 Mar 2002 20:37:04 +0000 (20:37 +0000)]
Ignore new output directory.

22 years agoExpose C library's gettext. Fixes #516412.
Martin v. Löwis [Wed, 27 Mar 2002 18:49:02 +0000 (18:49 +0000)]
Expose C library's gettext. Fixes #516412.

22 years agoDestroy and unlink deleted NoteBook panes. Fixes #516703.
Martin v. Löwis [Wed, 27 Mar 2002 17:59:17 +0000 (17:59 +0000)]
Destroy and unlink deleted NoteBook panes. Fixes #516703.
2.2.2 candidate.

22 years agoadd seealso referring to site module doc where people can learn how to
Skip Montanaro [Wed, 27 Mar 2002 17:29:50 +0000 (17:29 +0000)]
add seealso referring to site module doc where people can learn how to
extend sys.path using .pth files.

22 years agoIgnore widgets with unknown names in winfo_children. Fixes #518283.
Martin v. Löwis [Wed, 27 Mar 2002 17:15:57 +0000 (17:15 +0000)]
Ignore widgets with unknown names in winfo_children. Fixes #518283.
2.2.2 candidate.

22 years agoRemove weakref free list. This has the side effect of fixing a memory
Neil Schemenauer [Wed, 27 Mar 2002 15:18:21 +0000 (15:18 +0000)]
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.

22 years agofix a typo in PyErr_Format table and add row for 'p' format char
Skip Montanaro [Wed, 27 Mar 2002 13:42:50 +0000 (13:42 +0000)]
fix a typo in PyErr_Format table and add row for 'p' format char
closes bug 534495

22 years agoChange sys_exit to use METH_VARARGS.
Neal Norwitz [Wed, 27 Mar 2002 13:03:09 +0000 (13:03 +0000)]
Change sys_exit to use METH_VARARGS.
sys.exit() now requires 0-1 arguments.  Previously 2+ arguments were allowed.

22 years agoDon't imply XPG4 constants from CODESET presence. Fixes #534153.
Martin v. Löwis [Wed, 27 Mar 2002 12:15:57 +0000 (12:15 +0000)]
Don't imply XPG4 constants from CODESET presence. Fixes #534153.
2.2.2 candiate.

22 years agofurther work on new config system;
Steven M. Gava [Wed, 27 Mar 2002 08:40:46 +0000 (08:40 +0000)]
further work on new config system;
recent files menu

22 years agoFill in this document a bit, adding reminders of items that should be included
Andrew M. Kuchling [Wed, 27 Mar 2002 02:29:48 +0000 (02:29 +0000)]
Fill in this document a bit, adding reminders of items that should be included

22 years agofurther work on new config system;
Steven M. Gava [Wed, 27 Mar 2002 02:25:44 +0000 (02:25 +0000)]
further work on new config system;
user defined help items

22 years ago_finally_ tracked down and eliminated a major problem
Steven M. Gava [Wed, 27 Mar 2002 00:51:53 +0000 (00:51 +0000)]
_finally_ tracked down and eliminated a major problem
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py

22 years agoAdd the "What's New" document to the index of HTML documents.
Fred Drake [Tue, 26 Mar 2002 20:29:11 +0000 (20:29 +0000)]
Add the "What's New" document to the index of HTML documents.

22 years agoImplement iterator protocol.
Neil Schemenauer [Tue, 26 Mar 2002 20:28:40 +0000 (20:28 +0000)]
Implement iterator protocol.

22 years ago__init__(): We'll try to be more RFC 2821 compliant by providing for a
Barry Warsaw [Tue, 26 Mar 2002 20:27:35 +0000 (20:27 +0000)]
__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.

22 years agoThe <link> to the stylesheet should include the type attribute.
Fred Drake [Tue, 26 Mar 2002 19:57:52 +0000 (19:57 +0000)]
The <link> to the stylesheet should include the type attribute.

22 years agoWire up the makefile to more fully support the "What's New" documents.
Fred Drake [Tue, 26 Mar 2002 19:53:56 +0000 (19:53 +0000)]
Wire up the makefile to more fully support the "What's New" documents.

22 years agoWire in the "What's New" document.
Fred Drake [Tue, 26 Mar 2002 19:18:18 +0000 (19:18 +0000)]
Wire in the "What's New" document.

22 years agoAdd a starter for the next "What's New" document.
Fred Drake [Tue, 26 Mar 2002 19:17:43 +0000 (19:17 +0000)]
Add a starter for the next "What's New" document.

22 years agoMake \url to force horizontal mode.
Fred Drake [Tue, 26 Mar 2002 19:14:41 +0000 (19:14 +0000)]
Make \url to force horizontal mode.

22 years agotime and socket were already imported in the module, no need to re-import
Neal Norwitz [Tue, 26 Mar 2002 16:25:01 +0000 (16:25 +0000)]
time and socket were already imported in the module, no need to re-import

22 years agore was already imported in the module, no need to re-import
Neal Norwitz [Tue, 26 Mar 2002 16:23:28 +0000 (16:23 +0000)]
re was already imported in the module, no need to re-import

22 years agoos was already imported in the module, no need to re-import
Neal Norwitz [Tue, 26 Mar 2002 16:21:52 +0000 (16:21 +0000)]
os was already imported in the module, no need to re-import

22 years agoCleanup x so it is not left in module
Neal Norwitz [Tue, 26 Mar 2002 16:20:26 +0000 (16:20 +0000)]
Cleanup x so it is not left in module

22 years agoMissed change METH_OLDARGS to METH_NOARGS for two aliased functions
Neal Norwitz [Tue, 26 Mar 2002 14:52:00 +0000 (14:52 +0000)]
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions

22 years agoMake object browser work in OSX (by rewriting the old browser
Just van Rossum [Tue, 26 Mar 2002 12:06:11 +0000 (12:06 +0000)]
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.

22 years agooperate as a filter when no files or directories appear on the command line
Skip Montanaro [Tue, 26 Mar 2002 11:39:26 +0000 (11:39 +0000)]
operate as a filter when no files or directories appear on the command line

22 years agoFix for SF 502085.
Guido van Rossum [Tue, 26 Mar 2002 00:51:56 +0000 (00:51 +0000)]
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).

22 years agoRemove last occurrance of PyArg_GetInt. It is deprecated,
Neal Norwitz [Mon, 25 Mar 2002 22:23:53 +0000 (22:23 +0000)]
Remove last occurrance of PyArg_GetInt. It is deprecated,

22 years agoAdd a comment that PyArg_GetInt is deprecated and should not be used
Neal Norwitz [Mon, 25 Mar 2002 22:21:58 +0000 (22:21 +0000)]
Add a comment that PyArg_GetInt is deprecated and should not be used

22 years agomake default banner match what the real interpreter displays
Skip Montanaro [Mon, 25 Mar 2002 22:04:23 +0000 (22:04 +0000)]
make default banner match what the real interpreter displays

22 years agoremove unqualified excepts - catch ImportError when trying to import
Skip Montanaro [Mon, 25 Mar 2002 21:44:07 +0000 (21:44 +0000)]
remove unqualified excepts - catch ImportError when trying to import
readline and get rid of string exception fallback when showing syntax
errors.
see bug 411881

22 years agoeliminate unqualified except when checking for presence of LC_MESSAGES
Skip Montanaro [Mon, 25 Mar 2002 21:40:36 +0000 (21:40 +0000)]
eliminate unqualified except when checking for presence of LC_MESSAGES
see bug 411881

22 years agotighten up unqualified except in currentframe()
Skip Montanaro [Mon, 25 Mar 2002 21:37:54 +0000 (21:37 +0000)]
tighten up unqualified except in currentframe()
see bug 411881

22 years agoMissed change METH_OLDARGS to METH_NOARGS for two aliased functions
Neal Norwitz [Mon, 25 Mar 2002 21:05:50 +0000 (21:05 +0000)]
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions

22 years agoRemove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
Neal Norwitz [Mon, 25 Mar 2002 20:46:46 +0000 (20:46 +0000)]
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.

22 years agoDocument the finditer() function and method.
Fred Drake [Mon, 25 Mar 2002 20:22:59 +0000 (20:22 +0000)]
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.

22 years agoUpdate master Windows build-number list for 2.2.1c2.
Tim Peters [Mon, 25 Mar 2002 19:35:58 +0000 (19:35 +0000)]
Update master Windows build-number list for 2.2.1c2.

22 years agoAdd tests for the iterkeys, itervalues and iteritems
Walter Dörwald [Mon, 25 Mar 2002 18:36:32 +0000 (18:36 +0000)]
Add tests for the iterkeys, itervalues and iteritems
methods in dict-proxy objects.

22 years agoAdd missing methods iterkeys, itervalues and iteritems to
Walter Dörwald [Mon, 25 Mar 2002 17:43:22 +0000 (17:43 +0000)]
Add missing methods iterkeys, itervalues and iteritems to
dict-proxy objects.

Add real docstrings to all methods.

22 years agoAdded description of binhex.Error.
Fred Drake [Mon, 25 Mar 2002 16:37:56 +0000 (16:37 +0000)]
Added description of binhex.Error.

22 years agoInclude obmalloc.c in the build.
Jack Jansen [Mon, 25 Mar 2002 15:43:37 +0000 (15:43 +0000)]
Include obmalloc.c in the build.

22 years agoDue to interaction between the MSL C library and the GUSI I/O library I can get reads...
Jack Jansen [Mon, 25 Mar 2002 15:32:01 +0000 (15:32 +0000)]
Due to interaction between the MSL C library and the GUSI I/O library I can get reads from sockets to work consistently either for unbuffered binary files or for buffered binary files, but not for both:-(

The workaround is to force socket.makefile() to disable buffering for binary files.

Fixes bug 534625. 2.2.1 candidate.