]> granicus.if.org Git - python/log
python
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

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