summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce two new flag bits that can be set in a PyMethodDef methodFred Drake2002-03-285-6/+74
| | | | | | | | | | | | | | | | | | | 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.
* Ignore new output directory.Fred Drake2002-03-271-0/+1
|
* Expose C library's gettext. Fixes #516412.Martin v. Löwis2002-03-276-342/+448
|
* Destroy and unlink deleted NoteBook panes. Fixes #516703.Martin v. Löwis2002-03-271-1/+2
| | | | 2.2.2 candidate.
* add seealso referring to site module doc where people can learn how toSkip Montanaro2002-03-271-0/+6
| | | | extend sys.path using .pth files.
* Ignore widgets with unknown names in winfo_children. Fixes #518283.Martin v. Löwis2002-03-271-3/+11
| | | | 2.2.2 candidate.
* Remove weakref free list. This has the side effect of fixing a memoryNeil Schemenauer2002-03-271-26/+11
| | | | | management bug. Also, move some duplicated code into the new_weakref fucntion.
* fix a typo in PyErr_Format table and add row for 'p' format charSkip Montanaro2002-03-271-1/+2
| | | | closes bug 534495
* Change sys_exit to use METH_VARARGS.Neal Norwitz2002-03-272-2/+8
| | | | sys.exit() now requires 0-1 arguments. Previously 2+ arguments were allowed.
* Don't imply XPG4 constants from CODESET presence. Fixes #534153.Martin v. Löwis2002-03-271-1/+4
| | | | 2.2.2 candiate.
* further work on new config system;Steven M. Gava2002-03-273-8/+79
| | | | recent files menu
* Fill in this document a bit, adding reminders of items that should be includedAndrew M. Kuchling2002-03-271-5/+99
|
* further work on new config system;Steven M. Gava2002-03-275-26/+56
| | | | user defined help items
* _finally_ tracked down and eliminated a major problemSteven M. Gava2002-03-271-4/+7
| | | | | in PyShell.py that was causing extreme headaches in working on EditorWindow.py
* Add the "What's New" document to the index of HTML documents.Fred Drake2002-03-262-11/+30
|
* Implement iterator protocol.Neil Schemenauer2002-03-261-4/+13
|
* __init__(): We'll try to be more RFC 2821 compliant by providing for aBarry Warsaw2002-03-261-2/+11
| | | | | | | | | | | | | | | 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.
* The <link> to the stylesheet should include the type attribute.Fred Drake2002-03-261-1/+1
|
* Wire up the makefile to more fully support the "What's New" documents.Fred Drake2002-03-261-2/+14
|
* Wire in the "What's New" document.Fred Drake2002-03-261-4/+21
|
* Add a starter for the next "What's New" document.Fred Drake2002-03-261-0/+21
|
* Make \url to force horizontal mode.Fred Drake2002-03-261-0/+1
|
* time and socket were already imported in the module, no need to re-importNeal Norwitz2002-03-261-3/+1
|
* re was already imported in the module, no need to re-importNeal Norwitz2002-03-261-1/+0
|
* os was already imported in the module, no need to re-importNeal Norwitz2002-03-261-1/+0
|
* Cleanup x so it is not left in moduleNeal Norwitz2002-03-261-0/+1
|
* Missed change METH_OLDARGS to METH_NOARGS for two aliased functionsNeal Norwitz2002-03-261-2/+2
|
* Make object browser work in OSX (by rewriting the old browserJust van Rossum2002-03-262-2/+146
| | | | LDEF in Python). If at all possible, this should go into 2.2.1.
* operate as a filter when no files or directories appear on the command lineSkip Montanaro2002-03-261-9/+17
|
* Fix for SF 502085.Guido van Rossum2002-03-261-1/+5
| | | | | | Don't die when issubclass(t, TypeType) fails. Bugfix candidate (but I think it's too late for 2.2.1).
* Remove last occurrance of PyArg_GetInt. It is deprecated,Neal Norwitz2002-03-251-1/+1
|
* Add a comment that PyArg_GetInt is deprecated and should not be usedNeal Norwitz2002-03-251-0/+1
|
* make default banner match what the real interpreter displaysSkip Montanaro2002-03-251-1/+1
|
* remove unqualified excepts - catch ImportError when trying to importSkip Montanaro2002-03-251-7/+2
| | | | | | readline and get rid of string exception fallback when showing syntax errors. see bug 411881
* eliminate unqualified except when checking for presence of LC_MESSAGESSkip Montanaro2002-03-251-1/+1
| | | | see bug 411881
* tighten up unqualified except in currentframe()Skip Montanaro2002-03-251-2/+2
| | | | see bug 411881
* Missed change METH_OLDARGS to METH_NOARGS for two aliased functionsNeal Norwitz2002-03-251-2/+2
|
* Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.Neal Norwitz2002-03-259-122/+65
|
* Document the finditer() function and method.Fred Drake2002-03-251-2/+26
| | | | | | | | 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.
* Update master Windows build-number list for 2.2.1c2.Tim Peters2002-03-251-0/+2
|
* Add tests for the iterkeys, itervalues and iteritemsWalter Dörwald2002-03-251-0/+29
| | | | methods in dict-proxy objects.
* Add missing methods iterkeys, itervalues and iteritems toWalter Dörwald2002-03-251-6/+26
| | | | | | dict-proxy objects. Add real docstrings to all methods.
* Added description of binhex.Error.Fred Drake2002-03-251-0/+8
|
* Include obmalloc.c in the build.Jack Jansen2002-03-252-0/+0
|
* Due to interaction between the MSL C library and the GUSI I/O library I can ↵Jack Jansen2002-03-251-0/+5
| | | | | | | | 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.
* Fix SF # 532618 517704, install problems when building modules fail.Neal Norwitz2002-03-251-3/+8
| | | | Fix whitespace on a line also.
* Fix whitespace.Walter Dörwald2002-03-251-15/+15
|
* Remove bug.py. This is something I sent to Guido via email in or beforeTim Peters2002-03-252-70/+0
| | | | | | '94, demonstrating a thread bug that was later repaired via Python growing an internal import lock. It's of no current interest, and the now-std test_threaded_import.py is pretty much the same test.
* I've been waiting 8 years for KSR to re-emerge from bankruptcy. If theyTim Peters2002-03-251-4/+0
| | | | ever do, they can damn well #define _POSIX_THREADS their own damn selves.
* SMTP.__init__(): Fixed minor typo in docstring.Barry Warsaw2002-03-251-1/+1
|