]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Raymond Hettinger [Sat, 7 Dec 2002 10:15:38 +0000 (10:15 +0000)]
Fix typo in abstract.c which caused __rpow__ to not be invoked.
Added related testcase.
Closes SF bug #643260.
Raymond Hettinger [Sat, 7 Dec 2002 09:41:21 +0000 (09:41 +0000)]
Add __all__ to Reference Manual index.
Closes SF 643227.
Tim Peters [Sat, 7 Dec 2002 02:28:17 +0000 (02:28 +0000)]
Backport from head.
slot_tp_hash(): In the normal path, this leaked a reference to the
integer hash object returned by __hash__().
Fred Drake [Fri, 6 Dec 2002 18:52:07 +0000 (18:52 +0000)]
Remove extra ")" in example.
Fred Drake [Fri, 6 Dec 2002 16:43:58 +0000 (16:43 +0000)]
Typo: "dead lock" --> "deadlock"
Michael W. Hudson [Fri, 6 Dec 2002 15:33:01 +0000 (15:33 +0000)]
Fix bugs:
[ 534748 ] Removing _tkinter considered harmful
[ 645383 ] Give some clue why modules fail...
by slapping the code from the trunk across to the release22-maint
branch.
Walter Dörwald [Fri, 6 Dec 2002 10:17:35 +0000 (10:17 +0000)]
Backport version 1.21:
Document that the second argument to PyObject_IsInstance
may be a tuple. This closes SF patch
http://www.python.org/sf/649095
Fred Drake [Tue, 3 Dec 2002 22:58:04 +0000 (22:58 +0000)]
Fix problem in example code. It's minor in this particular example,
but can lead to mysterious problems in real applications.
Fred Drake [Tue, 3 Dec 2002 18:50:42 +0000 (18:50 +0000)]
Fix example regular expressions that simulate scanf() constructs.
Neal Norwitz [Mon, 2 Dec 2002 04:47:10 +0000 (04:47 +0000)]
Fix SF # 646578, Documentation Typo
Neal Norwitz [Mon, 2 Dec 2002 04:44:33 +0000 (04:44 +0000)]
Remove unused variable
Andrew M. Kuchling [Wed, 27 Nov 2002 18:58:22 +0000 (18:58 +0000)]
Update 2.2 document
Fred Drake [Wed, 27 Nov 2002 05:26:24 +0000 (05:26 +0000)]
Clarify the interpretation of the __getstate__() return value for
new-style classes.
Closes SF bug #637941.
Fred Drake [Tue, 26 Nov 2002 22:14:19 +0000 (22:14 +0000)]
Add missing dependency information for the "What's New" document.
Michael W. Hudson [Tue, 26 Nov 2002 09:42:57 +0000 (09:42 +0000)]
Backport my (!) revision 1.50:
Well, Fred never did explain why the code to determine whether the
calling Python was installed was so complicated, so I simplified it.
This should get the snake-farm's build scripts working again.
Neal Norwitz [Fri, 22 Nov 2002 23:29:47 +0000 (23:29 +0000)]
Fix SF # 640557, '64-bit' systems and the dbm module
datum.dsize can apparently be long on some systems.
Ensure we pass an int* to PyArg_Parse("s#"), not &datum.dsize
Neal Norwitz [Wed, 20 Nov 2002 23:38:20 +0000 (23:38 +0000)]
Backport fix for SF #640094, on win32 getpass runs into unix_getpass
Make sure we have a UNIX-compatible termios.
Apparently, McMillan Installer made a termios on windows
which caused unix_getpass to be used instead of win_getpass
Andrew M. Kuchling [Wed, 20 Nov 2002 16:14:31 +0000 (16:14 +0000)]
Backport rev. 1.14:
Allow unknown keyword arguments to the Extension class, and warn about them.
Andrew M. Kuchling [Wed, 20 Nov 2002 15:05:41 +0000 (15:05 +0000)]
Backport of rev1.57:
Make the Distribution() constructor forgiving of unknown keyword
arguments, triggering a warning instead of raising an exception. (In
1.5.2/2.0, it will print to stderr.)
Neal Norwitz [Wed, 20 Nov 2002 02:38:10 +0000 (02:38 +0000)]
Backport Neil Schemenauer's fix for SF #529750,
Circular reference makes Py_Init crash
Modified to keep _Py_ResetReferences() API, but make it a no-op.
It's not called now (for 2.3 it was completely removed).
Guido van Rossum [Tue, 19 Nov 2002 19:22:25 +0000 (19:22 +0000)]
Add more names to ok_sys_names, including hexversion; otherwise the
sre module and everything using it (e.g. re and glob) won't work.
Fred Drake [Sat, 16 Nov 2002 00:45:14 +0000 (00:45 +0000)]
Note that str.zfill() and the optional argument to str.strip(),
.lstrip(), and .rstrip() were all added in 2.2.2. ;-(
Closes SF bug #639170.
Neal Norwitz [Fri, 15 Nov 2002 23:01:37 +0000 (23:01 +0000)]
SF 639138, Ref. calendar module in time docs
Martin v. Löwis [Fri, 15 Nov 2002 07:27:03 +0000 (07:27 +0000)]
Explain what to do in case of missing shared libraries. Fixes #635929.
Fred Drake [Thu, 14 Nov 2002 22:49:20 +0000 (22:49 +0000)]
The "Up" link should point to index.html, not ./, since these
documents are used from local filesystems as well as through
webservers.
Closes SF bug #624024; not needed on the trunk.
Neal Norwitz [Thu, 14 Nov 2002 03:32:08 +0000 (03:32 +0000)]
Update the docstring to match the code.
Neal Norwitz [Thu, 14 Nov 2002 02:22:34 +0000 (02:22 +0000)]
Fix SF # 505427, socket module fails to build on HPUX10
h_errno is not defined on HPUX with the 2.2 build env't
(ie, _XOPEN_SOURCE_EXTENDED is not defined)
Fred Drake [Wed, 13 Nov 2002 19:06:00 +0000 (19:06 +0000)]
Document struct_time and the field names.
Fred Drake [Wed, 13 Nov 2002 17:56:23 +0000 (17:56 +0000)]
Add \funcline, \funclineni, and \methodlineni to the list of functions
that are processed before their arguments.
Closes SF bug #637807.
Fred Drake [Wed, 13 Nov 2002 17:47:53 +0000 (17:47 +0000)]
Fix broken markup.
Closes SF bug #637807.
Fred Drake [Wed, 13 Nov 2002 15:53:23 +0000 (15:53 +0000)]
Typo: it's --> its
Closes SF bug #637810.
Fred Drake [Wed, 13 Nov 2002 15:33:13 +0000 (15:33 +0000)]
Update: Older versions of Python crashed when calling repr()
(including the implied call using back-ticks) of a recursive object,
but this is no longer the case.
Reported by Manus Hand via email.
Fred Drake [Wed, 13 Nov 2002 15:15:11 +0000 (15:15 +0000)]
Clarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
add any package support structure even if a dotted-name is passed for
the module.
Closes SF bug #424106.
Fred Drake [Tue, 12 Nov 2002 23:13:40 +0000 (23:13 +0000)]
Clarified meaning of \w and \W with respect to the UNICODE and LOCALE flags.
Closes SF bug #635595.
Neal Norwitz [Tue, 12 Nov 2002 23:10:31 +0000 (23:10 +0000)]
SF # 627900, Bytecode copy bug in freeze
Pass co_freevars and co_cellvars to new.code().
Fred Drake [Tue, 12 Nov 2002 22:21:01 +0000 (22:21 +0000)]
Handle the Content-Type header a little more appropriately: if it
contains options, drop them to get the major/minor content type.
Modified from the supplied patch to support more whitespace variation.
Closes SF patch #613605.
Fred Drake [Tue, 12 Nov 2002 22:07:48 +0000 (22:07 +0000)]
Clarified documentation of tempnam().
Closes SF bug #635656.
Andrew M. Kuchling [Tue, 12 Nov 2002 19:01:04 +0000 (19:01 +0000)]
Commit version 1.02 (CVS revision 1.59) of whatsnew22.tex, which
fixes various small errors and adds mention of the 2.2.1 and 2.2.2 releases.
Martin v. Löwis [Sat, 9 Nov 2002 19:02:34 +0000 (19:02 +0000)]
Search for tix subdirectories. Fixes #564729.
Martin v. Löwis [Fri, 8 Nov 2002 12:11:03 +0000 (12:11 +0000)]
Make strip work as documented.
Fred Drake [Fri, 8 Nov 2002 07:42:58 +0000 (07:42 +0000)]
Fix typo only present in the r22-maint branch.
Raymond Hettinger [Fri, 8 Nov 2002 05:48:11 +0000 (05:48 +0000)]
Clarify what it means to require Python 1.5.2.
Neal Norwitz [Thu, 7 Nov 2002 00:28:54 +0000 (00:28 +0000)]
Backport 1.72:
SF bug 630824: pydoc Helper keywords missing 'yield'
Wow, what a brittle subsystem! Fixed, maybe, provided Fred doesn't
shuffle the docs around.
Neal Norwitz [Thu, 7 Nov 2002 00:23:38 +0000 (00:23 +0000)]
Backport 1.72:
Fix for bug #626172: crash using unicode latin1 single char
Neal Norwitz [Thu, 7 Nov 2002 00:22:53 +0000 (00:22 +0000)]
Backport 2.173:
Fix for bug #626172: crash using unicode latin1 single char
Finn Bock [Wed, 6 Nov 2002 11:45:51 +0000 (11:45 +0000)]
Backport 1.6->1.7: Skip the test_nocaret test when running as jython.
Jython happens to add a caret in this case too.
Finn Bock [Wed, 6 Nov 2002 11:41:48 +0000 (11:41 +0000)]
Backport 1.8->1.9: Make the test pass for jython where there are no
sys.executable.
Fred Drake [Tue, 5 Nov 2002 22:19:27 +0000 (22:19 +0000)]
Minor cleanups, markup.
Fred Drake [Tue, 5 Nov 2002 16:53:15 +0000 (16:53 +0000)]
Fix minor markup nits.
Raymond Hettinger [Tue, 5 Nov 2002 06:08:11 +0000 (06:08 +0000)]
SF 633560: tokenize.__all__ needs "generate_tokens"
Neal Norwitz [Mon, 4 Nov 2002 23:40:47 +0000 (23:40 +0000)]
Backport last checkin:
SF #633013, Fix NIS causing interpreter core dump
Prevent the lengths passed to PyString_FromStringAndSize()
from being negative in some cases.
Fred Drake [Mon, 4 Nov 2002 20:50:39 +0000 (20:50 +0000)]
Update config.h to pyconfig.h and config.h.in to pyconfig.h.in.
Andrew M. Kuchling [Mon, 4 Nov 2002 13:33:47 +0000 (13:33 +0000)]
Backport to 2.2: [Bug #570655] Fix misleading option text
Martin v. Löwis [Sun, 3 Nov 2002 17:23:14 +0000 (17:23 +0000)]
Support @euro modifiers. Fixes #554676.
Neal Norwitz [Sun, 3 Nov 2002 13:13:54 +0000 (13:13 +0000)]
Fix SF #632864, Typo string instead of sting in LibDoc.
Neal Norwitz [Sun, 3 Nov 2002 02:57:24 +0000 (02:57 +0000)]
Fix SF # 518775, buffer object API description truncated
Neal Norwitz [Sun, 3 Nov 2002 00:37:57 +0000 (00:37 +0000)]
Fix SF # 631066, running regrtest in user mode fails
Try to write to TESTFN, if that fails, try TESTFN in /tmp
If that fails, print a warning and go on.
Neal Norwitz [Sun, 3 Nov 2002 00:15:46 +0000 (00:15 +0000)]
Fix SF #618146, overflow error in calendar module
Fred Drake [Fri, 1 Nov 2002 21:34:39 +0000 (21:34 +0000)]
Update example for the type() function to use the currently accepted
preference of using "is" instead of "==" to compare types, use
built-in names where available, and point to the isinstance()
function.
Closes SF bug #632196.
Finn Bock [Fri, 1 Nov 2002 19:12:55 +0000 (19:12 +0000)]
Patch #631972: Adds an is_jython flag.
Fred Drake [Wed, 30 Oct 2002 18:18:08 +0000 (18:18 +0000)]
Add notes to the asctime() and ctime() descriptions to make it
explicit that locale information is not used. There wasn't anything
that implied it was, but this has confused users.
Raymond Hettinger [Wed, 30 Oct 2002 06:33:33 +0000 (06:33 +0000)]
Added missing names to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 05:26:45 +0000 (05:26 +0000)]
Patrick K. O'Brien noticed that kwlist was missing from __all__.
Added because it is part of the documented interface.
Jack Jansen [Tue, 29 Oct 2002 22:06:28 +0000 (22:06 +0000)]
Files used for MacPython 2.2.2 distribution.
Jack Jansen [Tue, 29 Oct 2002 22:03:45 +0000 (22:03 +0000)]
Added a few printfs in case of unexpected situations during application startup.
Jack Jansen [Tue, 29 Oct 2002 22:01:06 +0000 (22:01 +0000)]
Stop-gap to forestall test_email failing in MacPython: disable the line-ending test.
Jack Jansen [Tue, 29 Oct 2002 22:00:06 +0000 (22:00 +0000)]
The previous patch needed a little massaging for 2.2.
Jack Jansen [Tue, 29 Oct 2002 21:59:20 +0000 (21:59 +0000)]
Fixed silly typo in previous fix. Needs to be ported forward.
Fred Drake [Mon, 28 Oct 2002 19:30:45 +0000 (19:30 +0000)]
Chapter titles that get split over multiple lines in the typeset
formats can't have whitespace after the last non-blank character (bug
in LaTeX?); fix up a couple of instances of this.
Update an email address.
Raymond Hettinger [Sat, 26 Oct 2002 03:15:03 +0000 (03:15 +0000)]
Clarify packages in tutorial. Closes SF bug #616211.
Jack Jansen [Fri, 25 Oct 2002 20:37:43 +0000 (20:37 +0000)]
Backport of 1.25:
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
Jack Jansen [Fri, 25 Oct 2002 20:36:53 +0000 (20:36 +0000)]
Backport of 1.5:
Under Jaguar it seems that 'errn' return value keyword parameters don't
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.
Fred Drake [Fri, 25 Oct 2002 16:56:16 +0000 (16:56 +0000)]
- The "-" format flag overrides the "0" flag, not the "-" flag.
- Documented the alternate forms, which were claimed to be documented
but were not.
Fred Drake [Thu, 24 Oct 2002 20:55:07 +0000 (20:55 +0000)]
Correct the description of PyErr_Restore().
Closes SF bug #577000.
Fred Drake [Thu, 24 Oct 2002 19:58:03 +0000 (19:58 +0000)]
Relocate an index entry so named anchors are not generated in a section head.
Closes SF bug #546579.
Fred Drake [Thu, 24 Oct 2002 19:36:41 +0000 (19:36 +0000)]
Update an example to use the DOM implementation object. Explain that
the parse() and parseString() functions use a separate parser, not
actually implement a parser. (This is a common question.)
Fred Drake [Wed, 23 Oct 2002 20:24:46 +0000 (20:24 +0000)]
Deal with a FAQ:
Explain that the "xml" package requires that at least one
SAX-compliant XML parser be installed, and why this may not be
available by default. Point to the PyXML package as an extended
version of the "xml" package that can provide this fuctionality.
Note that the docs for the xml.dom and xml.sax packages are the
definitiona of the Python bindings for the DOM and SAX interfaces.
Fred Drake [Tue, 22 Oct 2002 21:58:39 +0000 (21:58 +0000)]
Moved description of _urlopener adjacent to the related functions.
Added missing import to example code.
Added documentation for pathname2url(), url2pathname().
Closes SF bug #623196.
Fred Drake [Tue, 22 Oct 2002 21:20:24 +0000 (21:20 +0000)]
Yes, we have moved past 2.2.2.
Fred Drake [Tue, 22 Oct 2002 21:06:24 +0000 (21:06 +0000)]
Work around the fact that "maint" alone is a symlink now.
Fred Drake [Tue, 22 Oct 2002 21:01:33 +0000 (21:01 +0000)]
Describe __path__ along with the rest of the package description.
Closes SF bug #626554.
Fred Drake [Tue, 22 Oct 2002 20:21:06 +0000 (20:21 +0000)]
Clarified the error cases and Unicode handling of PyString_AsString(),
PyString_AsStringAndSize(), and PyString_AS_STRING().
Closes SF bug #606463.
Fred Drake [Tue, 22 Oct 2002 15:06:01 +0000 (15:06 +0000)]
Clarify what versions of Windows are supported, and add Linux
specifically.
Fred Drake [Fri, 18 Oct 2002 18:16:47 +0000 (18:16 +0000)]
Fix markup for tilde in URL.
Fred Drake [Fri, 18 Oct 2002 16:50:39 +0000 (16:50 +0000)]
Fix reference to the Fetchmail FAQ:
- URL was missing an "m"
- markup for tilde was wrong
- URL was marked as the title
- actual title was omitted
"make webcheck" didn't catch this; not sure why.
Removed some spurious end-of-line whitespace.
Neal Norwitz [Fri, 18 Oct 2002 16:45:39 +0000 (16:45 +0000)]
Backport:
Fix SF # 624982, Potential AV in slot_sq_item, by Greg Chapman
Don't crash when getting value of a property raises an exception
Fred Drake [Fri, 18 Oct 2002 16:34:26 +0000 (16:34 +0000)]
Fix markup for tilde in URL.
Fred Drake [Fri, 18 Oct 2002 15:21:29 +0000 (15:21 +0000)]
Added cross-references to related material on exceptions.
Closes SF bug #217195.
Make sure section numbers wrap together with the preceeding word
("section").
Fred Drake [Fri, 18 Oct 2002 15:19:11 +0000 (15:19 +0000)]
Added cross-references to related material on exceptions.
Closes SF bug #217195.
Fred Drake [Fri, 18 Oct 2002 14:38:25 +0000 (14:38 +0000)]
Backport Neal Norwitz's patch from revision 1.14:
Don't screw up the names of the nodes we're looking up.
This fixes two SF bugs:
217195 - Broken \ref link in documentation
484967 - bad links at Ref Guide
Guido van Rossum [Fri, 18 Oct 2002 14:06:02 +0000 (14:06 +0000)]
Fix (real! :-) memory leaks in half_cmp and half_binop.
Perhaps found by NealN and valgrind. Will forward port.
Guido van Rossum [Fri, 18 Oct 2002 13:52:42 +0000 (13:52 +0000)]
Sigh. That wasn't a memory leak, that was Guido committing before
running tests. Withdraw 2.183 and its backport.
Guido van Rossum [Fri, 18 Oct 2002 13:42:21 +0000 (13:42 +0000)]
Backport of 2.183:
Fix memory leak in add_subclass() found by NealN with valgrind.
Neal Norwitz [Thu, 17 Oct 2002 22:17:43 +0000 (22:17 +0000)]
Add new encoding for Ukrainian Cyrillic
cvs2svn [Thu, 17 Oct 2002 22:17:43 +0000 (22:17 +0000)]
This commit was manufactured by cvs2svn to create branch
'release22-maint'.
Fred Drake [Wed, 16 Oct 2002 21:26:01 +0000 (21:26 +0000)]
Document urldefrag().
Fred Drake [Wed, 16 Oct 2002 21:24:52 +0000 (21:24 +0000)]
Added missing entries to __all__.
cvs2svn [Mon, 14 Oct 2002 20:11:50 +0000 (20:11 +0000)]
This commit was manufactured by cvs2svn to create tag 'r222'.
Guido van Rossum [Mon, 14 Oct 2002 20:11:50 +0000 (20:11 +0000)]
News about last-minute fix for SF bug 620705 (urlparse).
Guido van Rossum [Mon, 14 Oct 2002 20:08:50 +0000 (20:08 +0000)]
Backporting urlparse.py:1.34, test_urlparse.py:1.8:
Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
[SF bug 620705]