]> granicus.if.org Git - python/log
python
22 years agoUpdate the type of tp_dealloc.
Fred Drake [Fri, 12 Apr 2002 15:37:43 +0000 (15:37 +0000)]
Update the type of tp_dealloc.

22 years agoSpell Raymond Hettinger's name write
Neal Norwitz [Fri, 12 Apr 2002 15:18:22 +0000 (15:18 +0000)]
Spell Raymond Hettinger's name write

22 years agoAdd Raymond Hettinger, CPA.
Guido van Rossum [Fri, 12 Apr 2002 15:12:47 +0000 (15:12 +0000)]
Add Raymond Hettinger, CPA.

22 years agoAdd Raymond Hettinger's d.pop(). See SF patch 539949.
Guido van Rossum [Fri, 12 Apr 2002 15:11:59 +0000 (15:11 +0000)]
Add Raymond Hettinger's d.pop().  See SF patch 539949.

22 years ago- Added support for inherent pointer types (typedefs of arrays)
Jack Jansen [Fri, 12 Apr 2002 13:21:49 +0000 (13:21 +0000)]
- Added support for inherent pointer types (typedefs of arrays)
- Added a debug class variable to enable parser debugging.

22 years agoGive type name when complaining about using input-only type for output
Jack Jansen [Fri, 12 Apr 2002 13:14:54 +0000 (13:14 +0000)]
Give type name when complaining about using input-only type for output
or v.v.

22 years agoRemove acconfig.h.
Martin v. Löwis [Fri, 12 Apr 2002 09:58:45 +0000 (09:58 +0000)]
Remove acconfig.h.

22 years agoRemove unused macros.
Martin v. Löwis [Fri, 12 Apr 2002 09:55:28 +0000 (09:55 +0000)]
Remove unused macros.

22 years agoUpdate to autoconf 2.5x.
Martin v. Löwis [Fri, 12 Apr 2002 09:54:03 +0000 (09:54 +0000)]
Update to autoconf 2.5x.

22 years ago_PyObject_DebugRealloc(): rewritten to let the underlying realloc do
Tim Peters [Fri, 12 Apr 2002 08:52:50 +0000 (08:52 +0000)]
_PyObject_DebugRealloc():  rewritten to let the underlying realloc do
most of the work.  In particular, if the underlying realloc is able to
grow the memory block in place, great (this routine used to do a fresh
malloc + memcpy every time a block grew).  BTW, I'm not so keen here on
avoiding possible quadratic-time realloc patterns as I am on making
the debug pymalloc more invisible (the more it uses memory "just like"
the underlying allocator, the better the chance that a suspected memory
corruption bug won't vanish when the debug malloc is turned on).

22 years ago_PyObject_DebugDumpAddress(): clarify an output message.
Tim Peters [Fri, 12 Apr 2002 07:43:07 +0000 (07:43 +0000)]
_PyObject_DebugDumpAddress():  clarify an output message.

22 years agoPYMALLOC_{CLEAN, DEAD, FORBIDDEN}BYTE symbols: remove the PYMALLOC_
Tim Peters [Fri, 12 Apr 2002 07:38:53 +0000 (07:38 +0000)]
PYMALLOC_{CLEAN, DEAD, FORBIDDEN}BYTE symbols:  remove the PYMALLOC_
prefix.  These symbols are private to the file, and the PYMALLOC_ gets
in the way (overly long code lines, comments, and error messages).

22 years agoFirst stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with
Tim Peters [Fri, 12 Apr 2002 07:22:56 +0000 (07:22 +0000)]
First stab at rationalizing the PyMem_ API.  Mixing PyObject_xyz with
PyMem_{Del, DEL} doesn't work yet (compilation problems).

pyport.h:  _PyMem_EXTRA is gone.

pmem.h:  Repaired comments.  PyMem_{Malloc, MALLOC} and
PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when
asking for 0 bytes, and when passing a NULL pointer to the latter.

object.c:  PyMem_{Malloc, Realloc} just call their macro versions
now, since the latter take care of the x-platform 0 and NULL stuff
by themselves now.

pypcre.c, grow_stack():  So sue me.  On two lines, this called
PyMem_RESIZE to grow a "const" area.  It's not legit to realloc a
const area, so the compiler warned given the new expansion of
PyMem_RESIZE.  It would have gotten the same warning before if it
had used PyMem_Resize() instead; the older macro version, but not the
function version, silently cast away the constness.  IMO that was a wrong
thing to do, and the docs say the macro versions of PyMem_xyz are
deprecated anyway.  If somebody else is resizing const areas with the
macro spelling, they'll get a warning when they recompile now too.

22 years agoFirst cut at repairing out-of-date comments; make alignment of macro defs
Tim Peters [Fri, 12 Apr 2002 05:21:34 +0000 (05:21 +0000)]
First cut at repairing out-of-date comments; make alignment of macro defs
all the same within the #ifdef WITH_PYMALLOC block.

22 years agoMove PyObject_Malloc and PyObject_Free here from object.c. Remove
Neil Schemenauer [Fri, 12 Apr 2002 03:10:20 +0000 (03:10 +0000)]
Move PyObject_Malloc and PyObject_Free here from object.c.  Remove
PyMalloc_ prefix and use PyObject_ instead.  I'm not sure about the
debugging functions.  Perhaps they should stay as PyMalloc_.

22 years agoMove PyObject_Malloc and PyObject_Free to obmalloc.c.
Neil Schemenauer [Fri, 12 Apr 2002 03:08:42 +0000 (03:08 +0000)]
Move PyObject_Malloc and PyObject_Free to obmalloc.c.

22 years agoRemove PyMalloc_*.
Neil Schemenauer [Fri, 12 Apr 2002 03:07:20 +0000 (03:07 +0000)]
Remove PyMalloc_*.

22 years agoChange signature of _PyObject_GC_Malloc to match PyObject_MALLOC.
Neil Schemenauer [Fri, 12 Apr 2002 03:06:53 +0000 (03:06 +0000)]
Change signature of _PyObject_GC_Malloc to match PyObject_MALLOC.
PyObject_Del and PyObject_GC_Del can now be used as a function
designators.

22 years agoPyObject_GC_Del can now be used as a function designator.
Neil Schemenauer [Fri, 12 Apr 2002 03:05:52 +0000 (03:05 +0000)]
PyObject_GC_Del can now be used as a function designator.

22 years agoRemove PyMalloc_New and PyMalloc_Del.
Neil Schemenauer [Fri, 12 Apr 2002 03:05:37 +0000 (03:05 +0000)]
Remove PyMalloc_New and PyMalloc_Del.

22 years agoRemove PyMalloc_New, _PyMalloc_MALLOC, and PyMalloc_Del.
Neil Schemenauer [Fri, 12 Apr 2002 03:05:19 +0000 (03:05 +0000)]
Remove PyMalloc_New, _PyMalloc_MALLOC, and PyMalloc_Del.

22 years agoRemove PyMalloc_New and PyMalloc_Del.
Neil Schemenauer [Fri, 12 Apr 2002 02:44:55 +0000 (02:44 +0000)]
Remove PyMalloc_New and PyMalloc_Del.

22 years agoPyObject_GC_Del can now be used as a function designator.
Neil Schemenauer [Fri, 12 Apr 2002 02:44:22 +0000 (02:44 +0000)]
PyObject_GC_Del can now be used as a function designator.

22 years agoPyObject_Del can now be used as a function designator.
Neil Schemenauer [Fri, 12 Apr 2002 02:44:10 +0000 (02:44 +0000)]
PyObject_Del can now be used as a function designator.

22 years agoPyObject_GC_Del and PyObject_Del can now be used as a function
Neil Schemenauer [Fri, 12 Apr 2002 02:43:00 +0000 (02:43 +0000)]
PyObject_GC_Del and PyObject_Del can now be used as a function
designators.

Remove PyMalloc_New.

22 years agoAllow PyObject_Del to be used as a function designator. Provide binary
Neil Schemenauer [Fri, 12 Apr 2002 02:41:03 +0000 (02:41 +0000)]
Allow PyObject_Del to be used as a function designator.  Provide binary
compatibility function.

Make PyObject_GC_Track and PyObject_GC_UnTrack functions instead of
trivial macros wrapping functions.  Provide binary compatibility
functions.

22 years agoRemove PyMalloc_* symbols. PyObject_Malloc now uses pymalloc if
Neil Schemenauer [Fri, 12 Apr 2002 02:39:18 +0000 (02:39 +0000)]
Remove PyMalloc_* symbols.  PyObject_Malloc now uses pymalloc if
it's enabled.

22 years agoRemove PyMalloc_* symbols. PyObject_Malloc now uses pymalloc if
Neil Schemenauer [Fri, 12 Apr 2002 02:38:45 +0000 (02:38 +0000)]
Remove PyMalloc_* symbols.  PyObject_Malloc now uses pymalloc if
it's enabled.

Allow PyObject_Del, PyObject_Free, and PyObject_GC_Del to be used as
function designators.  Provide source compatibility macros.

Make PyObject_GC_Track and PyObject_GC_UnTrack functions instead of
trivial macros wrapping functions.

22 years agoChange the type of the tp_free from 'destructor' to 'freefunc'.
Neil Schemenauer [Fri, 12 Apr 2002 01:57:06 +0000 (01:57 +0000)]
Change the type of the tp_free from 'destructor' to 'freefunc'.

22 years agoRemoved more hair in support of future-generator stmts.
Tim Peters [Fri, 12 Apr 2002 01:20:10 +0000 (01:20 +0000)]
Removed more hair in support of future-generator stmts.

22 years agoGet rid of backward compatibility modules. Do this fairly early in the 2.3 cycle...
Jack Jansen [Thu, 11 Apr 2002 21:03:37 +0000 (21:03 +0000)]
Get rid of backward compatibility modules. Do this fairly early in the 2.3 cycle so we don't shoot ourselves in the foot later.

22 years agoClean up the "all" support for -u.
Fred Drake [Thu, 11 Apr 2002 20:58:54 +0000 (20:58 +0000)]
Clean up the "all" support for -u.

22 years agoGuido sez to remove the deprecation warning for a year.
Fred Drake [Thu, 11 Apr 2002 20:57:30 +0000 (20:57 +0000)]
Guido sez to remove the deprecation warning for a year.
The deprecation is now listed in PEP 4.

22 years agoGot rid of obsolete defines.
Jack Jansen [Thu, 11 Apr 2002 20:56:15 +0000 (20:56 +0000)]
Got rid of obsolete defines.

22 years agoGot rid of obsolete appearance flag.
Jack Jansen [Thu, 11 Apr 2002 20:56:13 +0000 (20:56 +0000)]
Got rid of obsolete appearance flag.

22 years agoAdded boolobject.c
Jack Jansen [Thu, 11 Apr 2002 20:54:58 +0000 (20:54 +0000)]
Added boolobject.c

22 years agoAt CNRI's request, I'm changing the status of 1.6.1 from
Guido van Rossum [Thu, 11 Apr 2002 20:54:35 +0000 (20:54 +0000)]
At CNRI's request, I'm changing the status of 1.6.1 from
not-GPL-compatible to GPL-compatible, with a footnote explaining that
RMS disagrees.  I'm not going to discuss this further -- both sides
(CNRI and RMS) will argue their POV till they're blue in the face.

22 years agoGot rid of ifdefs for long-obsolete GUSI versions and other lurkers.
Jack Jansen [Thu, 11 Apr 2002 20:53:03 +0000 (20:53 +0000)]
Got rid of ifdefs for long-obsolete GUSI versions and other lurkers.

22 years agoThese are long obsolete. Get rid of them.
Jack Jansen [Thu, 11 Apr 2002 20:50:39 +0000 (20:50 +0000)]
These are long obsolete. Get rid of them.

22 years agoGot rid of ifdefs for long-obsolete GUSI versions and other stuff that is now standar...
Jack Jansen [Thu, 11 Apr 2002 20:48:25 +0000 (20:48 +0000)]
Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is now standard (appearance, interned strings)

22 years agoGot rid of ifdefs for long-obsolete GUSI versions.
Jack Jansen [Thu, 11 Apr 2002 20:46:23 +0000 (20:46 +0000)]
Got rid of ifdefs for long-obsolete GUSI versions.

22 years agoGet rid of USE_CACHE_ALIGNED. It has no function anymore.
Jack Jansen [Thu, 11 Apr 2002 20:41:18 +0000 (20:41 +0000)]
Get rid of USE_CACHE_ALIGNED. It has no function anymore.

22 years agoSince xmllib is deprecated now, suppress the DeprecationWarning its test
Tim Peters [Thu, 11 Apr 2002 20:18:40 +0000 (20:18 +0000)]
Since xmllib is deprecated now, suppress the DeprecationWarning its test
module necessarily raises.

22 years agoIgnore more deprecation warnings.
Tim Peters [Thu, 11 Apr 2002 20:04:12 +0000 (20:04 +0000)]
Ignore more deprecation warnings.

22 years agoStop sucking up xmllib -- it's deprecated.
Tim Peters [Thu, 11 Apr 2002 19:54:11 +0000 (19:54 +0000)]
Stop sucking up xmllib -- it's deprecated.

22 years agoI don't expect test_email_codecs to run on Windows.
Tim Peters [Thu, 11 Apr 2002 19:52:58 +0000 (19:52 +0000)]
I don't expect test_email_codecs to run on Windows.

22 years agoAdded the resource name "all" to enable all of the optional resource uses.
Fred Drake [Thu, 11 Apr 2002 16:39:16 +0000 (16:39 +0000)]
Added the resource name "all" to enable all of the optional resource uses.
This is nice for use with "make TESTOPTS='-u all' test".

22 years agoDocument __unicode__. Fixes #541245.
Martin v. Löwis [Thu, 11 Apr 2002 12:39:35 +0000 (12:39 +0000)]
Document __unicode__. Fixes #541245.

22 years agoExplain octal escapes. Fixes #542226.
Martin v. Löwis [Thu, 11 Apr 2002 12:24:12 +0000 (12:24 +0000)]
Explain octal escapes. Fixes #542226.

22 years agoSF bug 542181: Realloc behavior
Tim Peters [Thu, 11 Apr 2002 06:36:45 +0000 (06:36 +0000)]
SF bug 542181:  Realloc behavior
The bug report pointed out a bogosity in the comment block explaining
thread safety for arena management.  Repaired that comment, repaired a
couple others while I was at it, and added an assert.

_PyMalloc_DebugRealloc:  If this needed to get more memory, but couldn't,
it erroneously freed the original memory.  Repaired that.

This is for 2.3 only (unless we decide to backport the new pymalloc).

22 years agoDifferent .pyc icon - use "paler" colors to better differentiate it from the main...
Mark Hammond [Thu, 11 Apr 2002 05:40:34 +0000 (05:40 +0000)]
Different .pyc icon - use "paler" colors to better differentiate it from the main .py icon.  As discussed with Tim (prompted by cl.lpy posting)

22 years agoImprove coverage of Objects/weakrefobject.c.
Fred Drake [Thu, 11 Apr 2002 03:59:42 +0000 (03:59 +0000)]
Improve coverage of Objects/weakrefobject.c.

22 years agoAdd a name
Andrew M. Kuchling [Wed, 10 Apr 2002 21:53:22 +0000 (21:53 +0000)]
Add a name

22 years agoAdd deprecation warning to 'pre' module
Andrew M. Kuchling [Wed, 10 Apr 2002 21:36:11 +0000 (21:36 +0000)]
Add deprecation warning to 'pre' module

22 years agoRemove mention of 'pre' module
Andrew M. Kuchling [Wed, 10 Apr 2002 21:28:31 +0000 (21:28 +0000)]
Remove mention of 'pre' module

(2.2 bugfix candidate?)

22 years agoRemove support for importing 'pre' module
Andrew M. Kuchling [Wed, 10 Apr 2002 21:15:40 +0000 (21:15 +0000)]
Remove support for importing 'pre' module

22 years agoSync'ing with standalone email package 2.0.1. This adds support for
Barry Warsaw [Wed, 10 Apr 2002 21:01:31 +0000 (21:01 +0000)]
Sync'ing with standalone email package 2.0.1.  This adds support for
non-us-ascii character sets in headers and bodies.  Some API changes
(with DeprecationWarnings for the old APIs).  Better RFC-compliant
implementations of base64 and quoted-printable.

Updated test cases.  Documentation updates to follow (after I finish
writing them ;).

22 years agoBug fix for UTF-8 encoding bug (buffer overrun) #541828.
Marc-André Lemburg [Wed, 10 Apr 2002 20:36:13 +0000 (20:36 +0000)]
Bug fix for UTF-8 encoding bug (buffer overrun) #541828.

22 years agoDocument PyType_CheckExact(), PyType_IS_GC().
Fred Drake [Wed, 10 Apr 2002 17:52:52 +0000 (17:52 +0000)]
Document PyType_CheckExact(), PyType_IS_GC().
Update description of PyType_Check().

22 years agoAdded test case for UTF-8 encoding bug #541828.
Marc-André Lemburg [Wed, 10 Apr 2002 17:18:02 +0000 (17:18 +0000)]
Added test case for UTF-8 encoding bug #541828.

22 years agoUse random instead of whrandom
Andrew M. Kuchling [Wed, 10 Apr 2002 14:54:39 +0000 (14:54 +0000)]
Use random instead of whrandom

22 years agoUse random module instead of whrandom
Andrew M. Kuchling [Wed, 10 Apr 2002 14:50:16 +0000 (14:50 +0000)]
Use random module instead of whrandom
Move imports to top

22 years agodocument all the valid encoding values
Skip Montanaro [Wed, 10 Apr 2002 04:37:09 +0000 (04:37 +0000)]
document all the valid encoding values

22 years agoWhen adding a name to the table of macros and environments, make sure it
Fred Drake [Wed, 10 Apr 2002 04:20:33 +0000 (04:20 +0000)]
When adding a name to the table of macros and environments, make sure it
is not already present.  If it is, raise an exception, since that should not
happen in a well-defined conversion.

22 years agoAdded support for \csimplemacro and csimplemacrodesc.
Fred Drake [Wed, 10 Apr 2002 04:19:12 +0000 (04:19 +0000)]
Added support for \csimplemacro and csimplemacrodesc.

22 years agoAdd deprecation warnings for modules as documented
Neal Norwitz [Wed, 10 Apr 2002 02:04:00 +0000 (02:04 +0000)]
Add deprecation warnings for modules as documented

22 years agoAdd a deprecation warning to reflect the documented deprecation of the
Fred Drake [Wed, 10 Apr 2002 01:45:11 +0000 (01:45 +0000)]
Add a deprecation warning to reflect the documented deprecation of the
whrandom module.  (The deprecation was effective in Python 2.1.)

22 years agoStarted filling in the information about some of the basic types and macros
Fred Drake [Tue, 9 Apr 2002 21:22:07 +0000 (21:22 +0000)]
Started filling in the information about some of the basic types and macros
used to define Python objects.

22 years agoRepair 2.2.1 release date.
Tim Peters [Tue, 9 Apr 2002 21:18:37 +0000 (21:18 +0000)]
Repair 2.2.1 release date.

22 years agoUpdate to use the new \csimplemacro macro
Fred Drake [Tue, 9 Apr 2002 21:09:42 +0000 (21:09 +0000)]
Update to use the new \csimplemacro macro

22 years agoDocument the \csimplemacro macro and the csimplemacrodesc environment.
Fred Drake [Tue, 9 Apr 2002 20:17:42 +0000 (20:17 +0000)]
Document the \csimplemacro macro and the csimplemacrodesc environment.

22 years agoAdd \csimplemacro to parallel the csimplemacrodesc environment.
Fred Drake [Tue, 9 Apr 2002 20:16:47 +0000 (20:16 +0000)]
Add \csimplemacro to parallel the csimplemacrodesc environment.
Fix a typo in the comments for csimplemacrodesc.

22 years agoUpdate docs for bool changes by Guido around April 6
Neal Norwitz [Tue, 9 Apr 2002 18:15:00 +0000 (18:15 +0000)]
Update docs for bool changes by Guido around April 6

22 years agoUpdate docstring to reflect code change to bool
Neal Norwitz [Tue, 9 Apr 2002 18:12:58 +0000 (18:12 +0000)]
Update docstring to reflect code change to bool

22 years agois_builtin() is not a Boolean -- it can return -1, 0, 1. [SF #541652]
Guido van Rossum [Tue, 9 Apr 2002 18:00:58 +0000 (18:00 +0000)]
is_builtin() is not a Boolean -- it can return -1, 0, 1.  [SF #541652]

22 years agoIgnore an output directory for intermediates here as well.
Fred Drake [Tue, 9 Apr 2002 14:54:26 +0000 (14:54 +0000)]
Ignore an output directory for intermediates here as well.

22 years agoFix typo: coverted --> converted. Reported by Francois Pinard.
Fred Drake [Tue, 9 Apr 2002 14:39:10 +0000 (14:39 +0000)]
Fix typo: coverted --> converted.  Reported by Francois Pinard.

22 years agoRemove unconditional debugging prints.
Thomas Heller [Tue, 9 Apr 2002 14:16:07 +0000 (14:16 +0000)]
Remove unconditional debugging prints.

22 years agoSet the warn_dir option to 0 before running the install command.
Thomas Heller [Tue, 9 Apr 2002 14:14:38 +0000 (14:14 +0000)]
Set the warn_dir option to 0 before running the install command.
This suppresses bogus warnings about modules installed into a directory
not in sys.path.

Bugfix candidate.

22 years agoFix an obvious bug.
Thomas Heller [Tue, 9 Apr 2002 12:50:13 +0000 (12:50 +0000)]
Fix an obvious bug.

22 years agoUpdate the table of releases.
Fred Drake [Mon, 8 Apr 2002 21:57:31 +0000 (21:57 +0000)]
Update the table of releases.

22 years agoUpdate table of releases.
Tim Peters [Mon, 8 Apr 2002 21:36:47 +0000 (21:36 +0000)]
Update table of releases.

22 years agoPatch #512005: getrusage() returns struct-like object.
Martin v. Löwis [Mon, 8 Apr 2002 21:28:20 +0000 (21:28 +0000)]
Patch #512005: getrusage() returns struct-like object.

22 years agoChange 2.1.3 release date.
Tim Peters [Mon, 8 Apr 2002 18:47:34 +0000 (18:47 +0000)]
Change 2.1.3 release date.

22 years agoUpdate 2.1.3 Windows buildno.
Tim Peters [Mon, 8 Apr 2002 18:00:26 +0000 (18:00 +0000)]
Update 2.1.3 Windows buildno.

22 years agoPatch #539392: Invoke setlocale, try opening the file in demo mode.
Martin v. Löwis [Mon, 8 Apr 2002 14:51:31 +0000 (14:51 +0000)]
Patch #539392: Invoke setlocale, try opening the file in demo mode.

22 years agoMove Unicode finalization further down in the chain.
Marc-André Lemburg [Mon, 8 Apr 2002 08:19:36 +0000 (08:19 +0000)]
Move Unicode finalization further down in the chain.
Fixes bug #525620.

22 years agoDo not call "knee" a standard module, and point to the new location.
Fred Drake [Mon, 8 Apr 2002 05:22:30 +0000 (05:22 +0000)]
Do not call "knee" a standard module, and point to the new location.
This addresses the issue in SF bug #515745.

22 years agoSF bug 538827: Python open w/ MSVC6: bad error msgs.
Tim Peters [Mon, 8 Apr 2002 04:13:12 +0000 (04:13 +0000)]
SF bug 538827:  Python open w/ MSVC6: bad error msgs.
open_the_file:  Some (not all) flavors of Windows set errno to EINVAL
when passed a syntactically invalid filename.  Python turned that into an
incomprehensible complaint about the mode string.  Fixed by special-casing
MSVC.

22 years ago- A type can now inherit its metatype from its base type. Previously,
Guido van Rossum [Mon, 8 Apr 2002 01:38:42 +0000 (01:38 +0000)]
- A type can now inherit its metatype from its base type.  Previously,
  when PyType_Ready() was called, if ob_type was found to be NULL, it
  was always set to &PyType_Type; now it is set to base->ob_type,
  where base is tp_base, defaulting to &PyObject_Type.

- PyType_Ready() accidentally did not inherit tp_is_gc; now it does.

Bugfix candidate.

22 years agoMove knee.py from Lib/ to Demo/imputil/. Fixes #515745.
Martin v. Löwis [Sun, 7 Apr 2002 16:29:36 +0000 (16:29 +0000)]
Move knee.py from Lib/ to Demo/imputil/. Fixes #515745.

22 years agoPartial introduction of bools where appropriate.
Guido van Rossum [Sun, 7 Apr 2002 06:36:23 +0000 (06:36 +0000)]
Partial introduction of bools where appropriate.

22 years agoReturn bools from functions named is_<whatever>().
Guido van Rossum [Sun, 7 Apr 2002 06:34:38 +0000 (06:34 +0000)]
Return bools from functions named is_<whatever>().

22 years agoLock methods acquire() and locked() now return bools.
Guido van Rossum [Sun, 7 Apr 2002 06:32:21 +0000 (06:32 +0000)]
Lock methods acquire() and locked() now return bools.

22 years agoisatty() should return a bool.
Guido van Rossum [Sun, 7 Apr 2002 06:28:00 +0000 (06:28 +0000)]
isatty() should return a bool.

22 years agoMove autoheader declarations into configure.in.
Martin v. Löwis [Sat, 6 Apr 2002 10:10:49 +0000 (10:10 +0000)]
Move autoheader declarations into configure.in.

22 years agoMinor clarification about what's actually promised for PyMem_Malloc(0).
Tim Peters [Sat, 6 Apr 2002 09:14:33 +0000 (09:14 +0000)]
Minor clarification about what's actually promised for PyMem_Malloc(0).
I probably didn't do a correct thing for the LaTeX spelling of the
integer 1.

22 years agoAdd standard header preamble and footer, a-la intobject.h. Main purpose is extern...
Mark Hammond [Sat, 6 Apr 2002 03:58:41 +0000 (03:58 +0000)]
Add standard header preamble and footer, a-la intobject.h.  Main purpose is extern "C" for C++ programs.

22 years agoMinor improvements to the stats output dump, including adding commas to
Tim Peters [Sat, 6 Apr 2002 01:45:35 +0000 (01:45 +0000)]
Minor improvements to the stats output dump, including adding commas to
the big numbers.

22 years ago- Changed new-style class instantiation so that when C's __new__
Guido van Rossum [Sat, 6 Apr 2002 01:05:01 +0000 (01:05 +0000)]
- Changed new-style class instantiation so that when C's __new__
  method returns something that's not a C instance, its __init__ is
  not called.  [SF bug #537450]