]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
22 years agoBackport 1.40 and 1.41 so that inspect isn't fooled by single line
Raymond Hettinger [Sun, 19 Jan 2003 14:16:19 +0000 (14:16 +0000)] 
Backport 1.40 and 1.41 so that inspect isn't fooled by single line
definitions, pass statements, and lambdas.

22 years agoBackport 1.33 from trunk:
Guido van Rossum [Mon, 13 Jan 2003 21:21:00 +0000 (21:21 +0000)] 
Backport 1.33 from trunk:

Duh.  cmdqueue should be an instance variable, not a class variable.
This was introduced in 1998 in rev. 1.13, where I imported extensive
patches that, I am sad to say, I didn't review as carefully as I
should have.

22 years agoBackport 1.60 from trunk:
Guido van Rossum [Mon, 13 Jan 2003 21:16:24 +0000 (21:16 +0000)] 
Backport 1.60 from trunk:

Duh.  The do_EOF() implementation was bogus.  Make it more like
do_quit() -- but print a blank line first.

22 years agoBackport:
Neal Norwitz [Mon, 13 Jan 2003 20:17:22 +0000 (20:17 +0000)] 
Backport:

Fix SF bug #667147, Segmentation fault printing str subclass

Fix infinite recursion which occurred when printing an object
whose __str__() returned self.

22 years agosupports_unicode_filenames should not have been backported, test___all__ now passed
Neal Norwitz [Mon, 13 Jan 2003 19:29:38 +0000 (19:29 +0000)] 
supports_unicode_filenames should not have been backported, test___all__ now passed

22 years agoBackport Guido's checkins which disabled the bastion tests
Neal Norwitz [Mon, 13 Jan 2003 19:24:05 +0000 (19:24 +0000)] 
Backport Guido's checkins which disabled the bastion tests

22 years agoGet the test to pass again by backporting Guido's checkin 1.173:
Neal Norwitz [Mon, 13 Jan 2003 19:22:44 +0000 (19:22 +0000)] 
Get the test to pass again by backporting Guido's checkin 1.173:
Disable the rexec test now that rexec is out of grace.

22 years agoSF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' and
Raymond Hettinger [Mon, 13 Jan 2003 04:33:36 +0000 (04:33 +0000)] 
SF patch 664183 and SF bug 664044:  Note that both  u'%s' % 'x'  and
'%s' % u'x'  return a unicode object.

22 years agoBackport last change:
Neal Norwitz [Sun, 12 Jan 2003 14:57:53 +0000 (14:57 +0000)] 
Backport last change:
SF #665570, curses causes interpreter crash

The interpreter doesn't crash, but it does call exit() in libncurses.
Add a note to this effect.

22 years agoSince the WH generator never produced zero, it wasn't fair to characterize
Raymond Hettinger [Sat, 11 Jan 2003 23:42:07 +0000 (23:42 +0000)] 
Since the WH generator never produced zero, it wasn't fair to characterize
this as a fix to a long outstanding bug.  Instead, it makes sure that the
methods work as documented with any generator.

22 years agoSF #659228, fix realpath() not being exported from os.path
Neal Norwitz [Fri, 10 Jan 2003 23:51:56 +0000 (23:51 +0000)] 
SF #659228, fix realpath() not being exported from os.path

22 years agoBackport for SF # 659228, 'realpath' function missing from os.path
Neal Norwitz [Fri, 10 Jan 2003 23:47:53 +0000 (23:47 +0000)] 
Backport for SF # 659228, 'realpath' function missing from os.path

22 years agoFix for SF #639945, 64-bit bug on AIX when loading dynamic modules
Neal Norwitz [Fri, 10 Jan 2003 23:34:01 +0000 (23:34 +0000)] 
Fix for SF #639945, 64-bit bug on AIX when loading dynamic modules

22 years agoBackport 2.12: Fix for SF #639945, 64-bit bug on AIX when loading
Neal Norwitz [Fri, 10 Jan 2003 23:32:02 +0000 (23:32 +0000)] 
Backport 2.12:  Fix for SF #639945, 64-bit bug on AIX when loading
dynamic modules

22 years agobackport:
Neal Norwitz [Fri, 10 Jan 2003 21:02:41 +0000 (21:02 +0000)] 
backport:
SF #665913, Fix mmap module core dump with unix

Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.

22 years agoRetrospectively fix code to handle IE's additional characters on certain
Steve Holden [Wed, 8 Jan 2003 21:17:35 +0000 (21:17 +0000)] 
Retrospectively fix code to handle IE's additional characters on certain
web transactions more gracefully (through a fairly ugly hack). See bugs
430610 and 427345.

22 years agoWent through the CVS logs for 2.2 and recorded all the relevant
Guido van Rossum [Tue, 7 Jan 2003 23:10:48 +0000 (23:10 +0000)] 
Went through the CVS logs for 2.2 and recorded all the relevant
fixes.  Not that I'm releasing 2.2.3 tomorrow, but I'd like to be
prepared.

22 years agoSabotage rexec.py and Bastion.py. These are not secure in Python 2.2
Guido van Rossum [Tue, 7 Jan 2003 23:01:21 +0000 (23:01 +0000)] 
Sabotage rexec.py and Bastion.py.  These are not secure in Python 2.2
or 2.3.

22 years agoBackport typeobject.c revision 2.201 plus associated tests from 2.3:
Guido van Rossum [Tue, 7 Jan 2003 21:49:18 +0000 (21:49 +0000)] 
Backport typeobject.c revision 2.201 plus associated tests from 2.3:

Add a refinement to SLOT1BINFULL() that fixes the problem reported in
SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right
class actually overrides it.

Also backport a test for a feature that broke in 2.3 (__dict__ of a
new-style class with a user-defined metaclass should be a proxy).

22 years agoBackport typeobject.c revision 2.201 plus associated tests from 2.3:
Guido van Rossum [Tue, 7 Jan 2003 21:47:44 +0000 (21:47 +0000)] 
Backport typeobject.c revision 2.201 plus associated tests from 2.3:

Add a refinement to SLOT1BINFULL() that fixes the problem reported in
SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right
class actually overrides it.

22 years agoBackport 2.58 from trunk (minus the cleanup):
Guido van Rossum [Tue, 7 Jan 2003 20:40:15 +0000 (20:40 +0000)] 
Backport 2.58 from trunk (minus the cleanup):

Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread
state swaps in readline).

22 years agoStrike any hint that from-import-* could ever be reasonable; it's a
Fred Drake [Mon, 6 Jan 2003 16:38:48 +0000 (16:38 +0000)] 
Strike any hint that from-import-* could ever be reasonable; it's a
vile abomination and should be eradicated!

22 years agoCorrect long standing bugs in the methods for random distributions.
Raymond Hettinger [Sat, 4 Jan 2003 09:30:32 +0000 (09:30 +0000)] 
Correct long standing bugs in the methods for random distributions.
The range of u=random() is [0,1), so log(u) and 1/x can fail.
Fix by setting u=1-random() or by reselecting for a usable value.

22 years agoBackport MAL's patch for bug #659709: bogus computation of float length
Raymond Hettinger [Thu, 2 Jan 2003 22:08:39 +0000 (22:08 +0000)] 
Backport MAL's patch for bug #659709: bogus computation of float length

22 years agoDocument that apply() is deprecated. See:
Fred Drake [Thu, 2 Jan 2003 04:54:22 +0000 (04:54 +0000)] 
Document that apply() is deprecated.  See:
http://mail.python.org/pipermail/python-dev/2003-January/031556.html

22 years agoSF Bug 645777: list.extend() works with any iterable and is no longer
Raymond Hettinger [Sun, 29 Dec 2002 05:59:09 +0000 (05:59 +0000)] 
SF Bug 645777:  list.extend() works with any iterable and is no longer
experimental.

22 years agoAdd test for SF #658106. Will backport.
Neal Norwitz [Tue, 24 Dec 2002 15:26:55 +0000 (15:26 +0000)] 
Add test for SF #658106.  Will backport.

22 years agoSort out indentatoin (don't know how that happened).
Michael W. Hudson [Tue, 24 Dec 2002 14:52:49 +0000 (14:52 +0000)] 
Sort out indentatoin (don't know how that happened).

22 years agoFix SF #658106, Setting __class__ to NoneType
Neal Norwitz [Tue, 24 Dec 2002 14:48:41 +0000 (14:48 +0000)] 
Fix SF #658106, Setting __class__ to NoneType

Backport Guido's checkin 2.171:

Disallow class assignment completely unless both old and new are heap
types.  This prevents nonsense like 2.__class__ = bool or
True.__class__ = int.

22 years ago*cough* repair utterly broken stuff from my last check-in (to do with
Michael W. Hudson [Tue, 24 Dec 2002 14:45:54 +0000 (14:45 +0000)] 
*cough* repair utterly broken stuff from my last check-in (to do with
renaming rather than deleting modules that don't import).

22 years agoBackporting a small part of the socket.py changes from 2.3: get rid
Tim Peters [Mon, 23 Dec 2002 16:26:15 +0000 (16:26 +0000)] 
Backporting a small part of the socket.py changes from 2.3:  get rid
of the socket wrapper __del__ method.  It isn't needed, and it prevents
cyclic structures containing socket objects (primarily on Windows, where
the wrapper is used) from getting garbage-collected.  People running
ZEO tests in Zope under Windows are acutely aware of this, as the
test driver prints an ever-growing gc.garbage list after each test.

22 years agoBackport documentation of left-to-right evaluation order.
Raymond Hettinger [Mon, 16 Dec 2002 23:19:19 +0000 (23:19 +0000)] 
Backport documentation of left-to-right evaluation order.
Highlight the difference for dictionaries and provide Py2.2.3
users which advanced notice that the evaluation order will
change for Py2.3.

22 years agotry_3way_compare() was returning -1 in one case where it should return
Guido van Rossum [Mon, 16 Dec 2002 22:32:46 +0000 (22:32 +0000)] 
try_3way_compare() was returning -1 in one case where it should return
-2 (i.e. an exception was set).  (This was already fixed in 2.3
through a different refactoring.)

Worth the release of Pyton 2.2.3?  Eventually, I guess...

22 years agoRevise the __all__ index entry a touch.
Fred Drake [Sat, 7 Dec 2002 15:59:37 +0000 (15:59 +0000)] 
Revise the __all__ index entry a touch.

22 years agoFix typo in abstract.c which caused __rpow__ to not be invoked.
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.

22 years agoAdd __all__ to Reference Manual index.
Raymond Hettinger [Sat, 7 Dec 2002 09:41:21 +0000 (09:41 +0000)] 
Add __all__ to Reference Manual index.
Closes SF 643227.

22 years agoBackport from head.
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__().

22 years agoRemove extra ")" in example.
Fred Drake [Fri, 6 Dec 2002 18:52:07 +0000 (18:52 +0000)] 
Remove extra ")" in example.

22 years agoTypo: "dead lock" --> "deadlock"
Fred Drake [Fri, 6 Dec 2002 16:43:58 +0000 (16:43 +0000)] 
Typo: "dead lock" --> "deadlock"

22 years agoFix bugs:
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.

22 years agoBackport version 1.21:
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

22 years agoFix problem in example code. It's minor in this particular example,
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.

22 years agoFix example regular expressions that simulate scanf() constructs.
Fred Drake [Tue, 3 Dec 2002 18:50:42 +0000 (18:50 +0000)] 
Fix example regular expressions that simulate scanf() constructs.

22 years agoFix SF # 646578, Documentation Typo
Neal Norwitz [Mon, 2 Dec 2002 04:47:10 +0000 (04:47 +0000)] 
Fix SF # 646578, Documentation Typo

22 years agoRemove unused variable
Neal Norwitz [Mon, 2 Dec 2002 04:44:33 +0000 (04:44 +0000)] 
Remove unused variable

22 years agoUpdate 2.2 document
Andrew M. Kuchling [Wed, 27 Nov 2002 18:58:22 +0000 (18:58 +0000)] 
Update 2.2 document

22 years agoClarify the interpretation of the __getstate__() return value for
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.

22 years agoAdd missing dependency information for the "What's New" document.
Fred Drake [Tue, 26 Nov 2002 22:14:19 +0000 (22:14 +0000)] 
Add missing dependency information for the "What's New" document.

22 years agoBackport my (!) revision 1.50:
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.

22 years agoFix SF # 640557, '64-bit' systems and the dbm module
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

22 years agoBackport fix for SF #640094, on win32 getpass runs into unix_getpass
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

22 years agoBackport rev. 1.14:
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.

22 years agoBackport of rev1.57:
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.)

22 years agoBackport Neil Schemenauer's fix for SF #529750,
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).

22 years agoAdd more names to ok_sys_names, including hexversion; otherwise the
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.

23 years agoNote that str.zfill() and the optional argument to str.strip(),
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.

23 years agoSF 639138, Ref. calendar module in time docs
Neal Norwitz [Fri, 15 Nov 2002 23:01:37 +0000 (23:01 +0000)] 
SF 639138, Ref. calendar module in time docs

23 years agoExplain what to do in case of missing shared libraries. Fixes #635929.
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.

23 years agoThe "Up" link should point to index.html, not ./, since these
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.

23 years agoUpdate the docstring to match the code.
Neal Norwitz [Thu, 14 Nov 2002 03:32:08 +0000 (03:32 +0000)] 
Update the docstring to match the code.

23 years agoFix SF # 505427, socket module fails to build on HPUX10
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)

23 years agoDocument struct_time and the field names.
Fred Drake [Wed, 13 Nov 2002 19:06:00 +0000 (19:06 +0000)] 
Document struct_time and the field names.

23 years agoAdd \funcline, \funclineni, and \methodlineni to the list of functions
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.

23 years agoFix broken markup.
Fred Drake [Wed, 13 Nov 2002 17:47:53 +0000 (17:47 +0000)] 
Fix broken markup.
Closes SF bug #637807.

23 years agoTypo: it's --> its
Fred Drake [Wed, 13 Nov 2002 15:53:23 +0000 (15:53 +0000)] 
Typo: it's --> its
Closes SF bug #637810.

23 years agoUpdate: Older versions of Python crashed when calling repr()
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.

23 years agoClarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
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.

23 years agoClarified meaning of \w and \W with respect to the UNICODE and LOCALE flags.
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.

23 years agoSF # 627900, Bytecode copy bug in freeze
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().

23 years agoHandle the Content-Type header a little more appropriately: if it
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.

23 years agoClarified documentation of tempnam().
Fred Drake [Tue, 12 Nov 2002 22:07:48 +0000 (22:07 +0000)] 
Clarified documentation of tempnam().
Closes SF bug #635656.

23 years agoCommit version 1.02 (CVS revision 1.59) of whatsnew22.tex, which
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.

23 years agoSearch for tix subdirectories. Fixes #564729.
Martin v. Löwis [Sat, 9 Nov 2002 19:02:34 +0000 (19:02 +0000)] 
Search for tix subdirectories. Fixes #564729.

23 years agoMake strip work as documented.
Martin v. Löwis [Fri, 8 Nov 2002 12:11:03 +0000 (12:11 +0000)] 
Make strip work as documented.

23 years agoFix typo only present in the r22-maint branch.
Fred Drake [Fri, 8 Nov 2002 07:42:58 +0000 (07:42 +0000)] 
Fix typo only present in the r22-maint branch.

23 years agoClarify what it means to require Python 1.5.2.
Raymond Hettinger [Fri, 8 Nov 2002 05:48:11 +0000 (05:48 +0000)] 
Clarify what it means to require Python 1.5.2.

23 years agoBackport 1.72:
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.

23 years agoBackport 1.72:
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

23 years agoBackport 2.173:
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

23 years agoBackport 1.6->1.7: Skip the test_nocaret test when running as jython.
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.

23 years agoBackport 1.8->1.9: Make the test pass for jython where there are no
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.

23 years agoMinor cleanups, markup.
Fred Drake [Tue, 5 Nov 2002 22:19:27 +0000 (22:19 +0000)] 
Minor cleanups, markup.

23 years agoFix minor markup nits.
Fred Drake [Tue, 5 Nov 2002 16:53:15 +0000 (16:53 +0000)] 
Fix minor markup nits.

23 years agoSF 633560: tokenize.__all__ needs "generate_tokens"
Raymond Hettinger [Tue, 5 Nov 2002 06:08:11 +0000 (06:08 +0000)] 
SF 633560:  tokenize.__all__ needs "generate_tokens"

23 years agoBackport last checkin:
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.

23 years agoUpdate config.h to pyconfig.h and config.h.in to pyconfig.h.in.
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.

23 years agoBackport to 2.2: [Bug #570655] Fix misleading option text
Andrew M. Kuchling [Mon, 4 Nov 2002 13:33:47 +0000 (13:33 +0000)] 
Backport to 2.2: [Bug #570655] Fix misleading option text

23 years agoSupport @euro modifiers. Fixes #554676.
Martin v. Löwis [Sun, 3 Nov 2002 17:23:14 +0000 (17:23 +0000)] 
Support @euro modifiers. Fixes #554676.

23 years agoFix SF #632864, Typo string instead of sting in LibDoc.
Neal Norwitz [Sun, 3 Nov 2002 13:13:54 +0000 (13:13 +0000)] 
Fix SF #632864, Typo string instead of sting in LibDoc.

23 years agoFix SF # 518775, buffer object API description truncated
Neal Norwitz [Sun, 3 Nov 2002 02:57:24 +0000 (02:57 +0000)] 
Fix SF # 518775, buffer object API description truncated

23 years agoFix SF # 631066, running regrtest in user mode fails
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.

23 years agoFix SF #618146, overflow error in calendar module
Neal Norwitz [Sun, 3 Nov 2002 00:15:46 +0000 (00:15 +0000)] 
Fix SF #618146, overflow error in calendar module

23 years agoUpdate example for the type() function to use the currently accepted
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.

23 years agoPatch #631972: Adds an is_jython flag.
Finn Bock [Fri, 1 Nov 2002 19:12:55 +0000 (19:12 +0000)] 
Patch #631972: Adds an is_jython flag.

23 years agoAdd notes to the asctime() and ctime() descriptions to make it
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.

23 years agoAdded missing names to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:33:33 +0000 (06:33 +0000)] 
Added missing names to __all__.

23 years agoPatrick K. O'Brien noticed that kwlist was missing from __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.

23 years agoFiles used for MacPython 2.2.2 distribution.
Jack Jansen [Tue, 29 Oct 2002 22:06:28 +0000 (22:06 +0000)] 
Files used for MacPython 2.2.2 distribution.

23 years agoAdded a few printfs in case of unexpected situations during application startup.
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.

23 years agoStop-gap to forestall test_email failing in MacPython: disable the line-ending test.
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.