]> granicus.if.org Git - python/log
python
22 years agoSeparate out a \cfuncline macro from the cfuncdesc environment.
Fred Drake [Mon, 15 Apr 2002 20:48:40 +0000 (20:48 +0000)]
Separate out a \cfuncline macro from the cfuncdesc environment.
This matches many other of the *desc environments, and is useful when
multiple functions share a description.

22 years agoDocument the cmemberdesc environment.
Fred Drake [Mon, 15 Apr 2002 20:10:23 +0000 (20:10 +0000)]
Document the cmemberdesc environment.

22 years agoehlo(): A proper fix for SF bug #498572. RFC 1869 describes ESMTP
Barry Warsaw [Mon, 15 Apr 2002 20:03:30 +0000 (20:03 +0000)]
ehlo(): A proper fix for SF bug #498572.  RFC 1869 describes ESMTP
which requires that if there are ehlo parameters returned with an ehlo
keyword (in the response to EHLO), the keyword and parameters must be
delimited by an ASCII space.  Thus responses like

    250-AUTH=LOGIN

should be ignored as non-conformant to the RFC (the `=' isn't allowed
in the ehlo keyword).

This is a bug fix candidate.

22 years agoBetter documentation for GetArgv() and the ProgressBar type.
Fred Drake [Mon, 15 Apr 2002 19:53:35 +0000 (19:53 +0000)]
Better documentation for GetArgv() and the ProgressBar type.
Back-porting to release22-maint.
This closes SF patch #496705.

22 years agoBe consistent in presenting the signatures.
Fred Drake [Mon, 15 Apr 2002 19:46:40 +0000 (19:46 +0000)]
Be consistent in presenting the signatures.

22 years agoAdd docs for os.fchdir().
Fred Drake [Mon, 15 Apr 2002 19:41:27 +0000 (19:41 +0000)]
Add docs for os.fchdir().

22 years agoposix_fildes(): New helper: run a function that takes a file descriptor
Fred Drake [Mon, 15 Apr 2002 19:40:07 +0000 (19:40 +0000)]
posix_fildes():  New helper: run a function that takes a file descriptor
    and returns None.  This allows any object that supports the fileno()
    method to be passed as a file descriptor, not just an integer.

posix_fchdir():  New exposed function: implements posix.fchdir().  This
    closes SF feature #536796.

posix_fsync(), posix_fdatasync():  Convert to use posix_fildes() instead
    of posix_int().  This also changes them from METH_VARARGS to METH_O
    functions.

setup_confname_table():  Remove unused variable.  Change to take a module
    rather than a dict to save the resulting table into.

setup_confname_tables():  Change to take a module instead of a dict to
    pass to setup_confname_table().

22 years agoGenerate the right annotations in the index entries.
Fred Drake [Mon, 15 Apr 2002 19:35:29 +0000 (19:35 +0000)]
Generate the right annotations in the index entries.
Thanks to Thomas Heller for the sharp eye.

22 years agoAdd a test for fchdir().
Fred Drake [Mon, 15 Apr 2002 19:20:27 +0000 (19:20 +0000)]
Add a test for fchdir().
This is part of SF feature #536796.

22 years agoIntegrated more text from Guido.
Fred Drake [Mon, 15 Apr 2002 18:44:46 +0000 (18:44 +0000)]
Integrated more text from Guido.

22 years agoMove the listing of the type structure, since both the C API reference and
Fred Drake [Mon, 15 Apr 2002 18:43:20 +0000 (18:43 +0000)]
Move the listing of the type structure, since both the C API reference and
the Extending & Embedding manual use it.

22 years agoReturn the orginal string only if it's a real str or unicode
Walter Dörwald [Mon, 15 Apr 2002 18:42:15 +0000 (18:42 +0000)]
Return the orginal string only if it's a real str or unicode
instance, otherwise make a copy.

22 years agoClean up the application of style to verbatim text.
Fred Drake [Mon, 15 Apr 2002 18:41:31 +0000 (18:41 +0000)]
Clean up the application of style to verbatim text.
This moves styling to the stylesheet; the use of <dl> structures to control
style sometimes produced improper indentation of subsequent text in many
browsers when the text was already part of the <dl> structure (as in a
function or class description).

22 years agoAdd support for \cmemberline and the cmemberdesc environment.
Fred Drake [Mon, 15 Apr 2002 17:46:00 +0000 (17:46 +0000)]
Add support for \cmemberline and the cmemberdesc environment.

22 years agoRemove unused variable reported by Walter Dörwald
Neal Norwitz [Mon, 15 Apr 2002 16:29:00 +0000 (16:29 +0000)]
Remove unused variable reported by Walter Dörwald

22 years agoAdd item
Andrew M. Kuchling [Mon, 15 Apr 2002 14:05:59 +0000 (14:05 +0000)]
Add item

22 years agoRemove 'const' from local variable declaration in string_zfill() -- it
Guido van Rossum [Mon, 15 Apr 2002 13:48:52 +0000 (13:48 +0000)]
Remove 'const' from local variable declaration in string_zfill() -- it
isn't constant, so why bother.

Folded long lines.

Whitespace normalization.

22 years agoApply the second version of SF patch http://www.python.org/sf/536241
Walter Dörwald [Mon, 15 Apr 2002 13:36:47 +0000 (13:36 +0000)]
Apply the second version of SF patch http://www.python.org/sf/536241

Add a method zfill to str, unicode and UserString and change
Lib/string.py accordingly.

This activates the zfill version in unicodeobject.c that was
commented out and implements the same in stringobject.c. It also
adds the test for unicode support in Lib/string.py back in and
uses repr() instead() of str() (as it was before Lib/string.py 1.62)

22 years agoposix.mknod() and {}.pop() were added
Neal Norwitz [Mon, 15 Apr 2002 12:46:11 +0000 (12:46 +0000)]
posix.mknod() and {}.pop() were added

22 years agoDeprecate % as well. The message for deprecation of //, % and divmod
Guido van Rossum [Mon, 15 Apr 2002 12:39:12 +0000 (12:39 +0000)]
Deprecate % as well.  The message for deprecation of //, % and divmod
is the same in all three cases (mostly because // calls divmod :-).

22 years agoAdd news about deprecated complex ops.
Guido van Rossum [Mon, 15 Apr 2002 12:36:47 +0000 (12:36 +0000)]
Add news about deprecated complex ops.

22 years agoupdate build infrastructure for pymalloc and bool changes
Andrew MacIntyre [Mon, 15 Apr 2002 12:09:45 +0000 (12:09 +0000)]
update build infrastructure for pymalloc and bool changes

22 years agoAdd items
Andrew M. Kuchling [Mon, 15 Apr 2002 02:27:55 +0000 (02:27 +0000)]
Add items

22 years agoSF bug #543387.
Guido van Rossum [Mon, 15 Apr 2002 01:41:56 +0000 (01:41 +0000)]
SF bug #543387.

Complex numbers implement divmod() and //, neither of which makes one
lick of sense.  Unfortunately this is documented, so I'm adding a
deprecation warning now, so we can delete this silliness, oh, around
2005 or so.

Bugfix candidate (At least for 2.2.2, I think.)

22 years agoFour more names for the hall of fame.
Guido van Rossum [Mon, 15 Apr 2002 01:05:01 +0000 (01:05 +0000)]
Four more names for the hall of fame.

22 years agoSF bug #541883 (Vincent Fiack).
Guido van Rossum [Mon, 15 Apr 2002 01:03:30 +0000 (01:03 +0000)]
SF bug #541883 (Vincent Fiack).

A stupid bug in object_set_class(): didn't check for value==NULL
before checking its type.

Bugfix candidate.

22 years agoAdd exit as alias for quit, as the easiest way to address SF bug
Guido van Rossum [Mon, 15 Apr 2002 00:48:24 +0000 (00:48 +0000)]
Add exit as alias for quit, as the easiest way to address SF bug
#543674.

Bugfix candidate.

22 years agoSF bug #543318 (Frank J. Tobin).
Guido van Rossum [Mon, 15 Apr 2002 00:36:48 +0000 (00:36 +0000)]
SF bug #543318 (Frank J. Tobin).

In DatagramRequestHandler.setup(), the wfile initialization should be
StringIO.StringIO(), not StringIO.StringIO(slf.packet).

Bugfix candidate (all the way back to Python 1.5.2 :-).

22 years agoFix from SF bug #541980 (Jacques A. Vidrine).
Guido van Rossum [Mon, 15 Apr 2002 00:25:01 +0000 (00:25 +0000)]
Fix from SF bug #541980 (Jacques A. Vidrine).

When os.stat() for a file raises OSError, turn it into IOError per
documentation.

Bugfix candidate.

22 years agoProvisional fix for writefile() [SF bug # 541730].
Guido van Rossum [Mon, 15 Apr 2002 00:19:12 +0000 (00:19 +0000)]
Provisional fix for writefile() [SF bug # 541730].

The problem was that an exception can occur in the text.get() call or
in the write() call, when the text buffer contains non-ASCII
characters.  This causes the previous contents of the file to be lost.

The provisional fix is to call str(self.text.get(...)) *before*
opening the file, so that if the exception occurs, we never open the
file.

Two orthogonal better solutions have to wait for policy decisions:

1. We could try to encode the data as Latin-1 or as UTF-8; but that
   would require IDLE to grow a notion of file encoding which requires
   more thought.

2. We could make backups before overwriting a file.  This requires
   more thought because it needs to be fast and cross-platform and
   configurable.

22 years agoEnable universal newline support for MacPython.
Jack Jansen [Sun, 14 Apr 2002 22:13:35 +0000 (22:13 +0000)]
Enable universal newline support for MacPython.

22 years agoSF bug 543840: complex(string) accepts strings with \0
Tim Peters [Sun, 14 Apr 2002 22:04:03 +0000 (22:04 +0000)]
SF bug 543840: complex(string) accepts strings with \0
complex_subtype_from_string():  this stopped parsing at the first 0
byte, as if that were the end of the input string.

Bugfix candidate.

22 years agoTest suite for universal newline support.
Jack Jansen [Sun, 14 Apr 2002 20:17:18 +0000 (20:17 +0000)]
Test suite for universal newline support.

22 years agoMass checkin of universal newline support.
Jack Jansen [Sun, 14 Apr 2002 20:12:41 +0000 (20:12 +0000)]
Mass checkin of universal newline support.
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.

See PEP278 for details.

22 years agoPatch #540583: Open MS Help Docs if available.
Martin v. Löwis [Sun, 14 Apr 2002 10:30:51 +0000 (10:30 +0000)]
Patch #540583: Open MS Help Docs if available.

22 years agoPatch #542569: tp_print tp_repr tp_str in test_bool.py.
Martin v. Löwis [Sun, 14 Apr 2002 10:22:29 +0000 (10:22 +0000)]
Patch #542569: tp_print tp_repr tp_str in test_bool.py.

22 years agoPatch #543447: Add posix.mknod.
Martin v. Löwis [Sun, 14 Apr 2002 10:19:44 +0000 (10:19 +0000)]
Patch #543447: Add posix.mknod.

22 years agoPatch #542659: Eliminate duplicate check for NULL of freevars/cellvars.
Martin v. Löwis [Sun, 14 Apr 2002 09:53:49 +0000 (09:53 +0000)]
Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars.

22 years agoinitpwd(): Clean up initialization, avoid PyModule_GetDict().
Fred Drake [Sat, 13 Apr 2002 21:07:45 +0000 (21:07 +0000)]
initpwd():  Clean up initialization, avoid PyModule_GetDict().

22 years agoBDFL agreed with Tim: rehabilitate randint().
Neal Norwitz [Sat, 13 Apr 2002 14:41:19 +0000 (14:41 +0000)]
BDFL agreed with Tim: rehabilitate randint().

22 years agoFold long lines. (Walter, please take note! :-)
Guido van Rossum [Sat, 13 Apr 2002 14:06:36 +0000 (14:06 +0000)]
Fold long lines. (Walter, please take note! :-)

22 years agoAdd pop() to UserDict.
Guido van Rossum [Sat, 13 Apr 2002 14:03:38 +0000 (14:03 +0000)]
Add pop() to UserDict.

22 years ago_PyObject_DebugDumpStats: renamed to _PyObject_DebugMallocStats.
Tim Peters [Sat, 13 Apr 2002 08:29:14 +0000 (08:29 +0000)]
_PyObject_DebugDumpStats:  renamed to _PyObject_DebugMallocStats.
Added code to call this when PYMALLOC_DEBUG is enabled, and envar
PYTHONMALLOCSTATS is set, whenever a new arena is obtained and once
late in the Python shutdown process.

22 years agoSF bug 543148: Memory leak with stackframes + inspect.
Tim Peters [Sat, 13 Apr 2002 05:21:47 +0000 (05:21 +0000)]
SF bug 543148:  Memory leak with stackframes + inspect.
Put a bound on the number of frameobjects that can live in the
frameobject free_list.

Am also backporting to 2.2.  I don't intend to backport to 2.1 (too
much work -- lots of cyclic structures leak there, and the GC API).

22 years agoDocument the optional argument to the .strip(), .rstrip(), .strip() string
Fred Drake [Sat, 13 Apr 2002 02:43:39 +0000 (02:43 +0000)]
Document the optional argument to the .strip(), .rstrip(), .strip() string
methods.
Part of SF feature #444708.

22 years agoNews for strip methods.
Guido van Rossum [Sat, 13 Apr 2002 00:59:05 +0000 (00:59 +0000)]
News for strip methods.

22 years agoPartially implement SF feature request 444708.
Guido van Rossum [Sat, 13 Apr 2002 00:56:08 +0000 (00:56 +0000)]
Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

22 years agoAdd news about memory managent APIs changing.
Neil Schemenauer [Fri, 12 Apr 2002 23:00:08 +0000 (23:00 +0000)]
Add news about memory managent APIs changing.

22 years agoAdditional support for describing C structure members.
Fred Drake [Fri, 12 Apr 2002 22:48:02 +0000 (22:48 +0000)]
Additional support for describing C structure members.

22 years agoIntegrate a bunch of new text from Guido.
Fred Drake [Fri, 12 Apr 2002 22:47:18 +0000 (22:47 +0000)]
Integrate a bunch of new text from Guido.

22 years agoAddrlistClass -> AddressList
Barry Warsaw [Fri, 12 Apr 2002 20:55:31 +0000 (20:55 +0000)]
AddrlistClass -> AddressList

22 years agoAddrlistClass -> AddressList
Barry Warsaw [Fri, 12 Apr 2002 20:50:05 +0000 (20:50 +0000)]
AddrlistClass -> AddressList

22 years agoSmall anal correctness tweaks:
Tim Peters [Fri, 12 Apr 2002 20:49:36 +0000 (20:49 +0000)]
Small anal correctness tweaks:

_PyObject_DebugMalloc:  explicitly cast PyObject_Malloc's result to the
target pointer type.

_PyObject_DebugDumpStats:  change decl of arena_alignment from unsigned
int to unsigned long.

This is for the 2.3 release only (it's new code).

22 years agoBDFL agreed with Tim: rehabilitate randint().
Fred Drake [Fri, 12 Apr 2002 20:01:47 +0000 (20:01 +0000)]
BDFL agreed with Tim: rehabilitate randint().

22 years agoUpdate the type of the tp_free slot.
Fred Drake [Fri, 12 Apr 2002 19:49:13 +0000 (19:49 +0000)]
Update the type of the tp_free slot.

22 years agoWarn people away from PyModule_GetDict(), but not too strongly.
Fred Drake [Fri, 12 Apr 2002 19:32:07 +0000 (19:32 +0000)]
Warn people away from PyModule_GetDict(), but not too strongly.
(The real issue is whether modules can benefit from an alternate
implementation strategy rather than using a dictionary.  We should migrate
away from direct dictionary manipulation to allow more room for Jeremy to
flex the implementation with changes in globals lookup.)

22 years agoNews about dict.pop().
Guido van Rossum [Fri, 12 Apr 2002 19:22:48 +0000 (19:22 +0000)]
News about dict.pop().

22 years agoDo not use PyModule_GetDict().
Fred Drake [Fri, 12 Apr 2002 19:08:31 +0000 (19:08 +0000)]
Do not use PyModule_GetDict().
Clean up the example of exporting a C-callable API from an extension module.
Add a hyperlink to a related section in the Python/C API reference.

22 years agoChange example of retrieving & calling a Python function to not use
Fred Drake [Fri, 12 Apr 2002 19:04:17 +0000 (19:04 +0000)]
Change example of retrieving & calling a Python function to not use
PyModule_GetDict(), which is also more flexible: it does not assume that the
"module" is a real module.

22 years agoChange the type of the tp_dealloc back to what it really is.
Fred Drake [Fri, 12 Apr 2002 18:28:08 +0000 (18:28 +0000)]
Change the type of the tp_dealloc back to what it really is.
Change a section title to fit in better.

22 years agoBump AC_PREREQ to 2.53.
Martin v. Löwis [Fri, 12 Apr 2002 17:25:21 +0000 (17:25 +0000)]
Bump AC_PREREQ to 2.53.

22 years agoI am mad. This test never worked!
Guido van Rossum [Fri, 12 Apr 2002 16:25:39 +0000 (16:25 +0000)]
I am mad.  This test never worked!

The test function's signature should be

    test(methodname, input, output, *args)

but the output argument was omitted.  This caused all tests to fail,
because the expected output was passed as the initial argument to the
method call.  But because of the way the test works (it compares the
results for a regular string to the results for a UserString instance
with the same value, and it's OK if both raise the same exception) the
test never failed!

I've fixed this, and also cleaned up a few warts in the verbose
output.  Finally, I've made it possible to run the test stand-alone in
verbose mode by passing -v as a command line argument.

Now, the test will report failure related to zfill.  That's not my
fault, that's a legitimate problem: the string_tests.py file contains
a test for the zfill() method (just added) but this method is not
implemented.  The responsible party will surely fix this soon now.

22 years agoModernize the minimal example of an extension type.
Fred Drake [Fri, 12 Apr 2002 16:17:06 +0000 (16:17 +0000)]
Modernize the minimal example of an extension type.

22 years agoAdd a (very) simple description of PyType_Ready().
Fred Drake [Fri, 12 Apr 2002 16:15:10 +0000 (16:15 +0000)]
Add a (very) simple description of PyType_Ready().

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