]> granicus.if.org Git - python/log
python
18 years ago[Bug #1470026] Include link to list of classifiers
Andrew M. Kuchling [Mon, 5 Jun 2006 19:08:25 +0000 (19:08 +0000)]
[Bug #1470026] Include link to list of classifiers

18 years agoRemove use of Trove name, which isn't very helpful to users
Andrew M. Kuchling [Mon, 5 Jun 2006 19:05:32 +0000 (19:05 +0000)]
Remove use of Trove name, which isn't very helpful to users

18 years ago * fix DBCursor.pget() bug with keyword argument names when no data= is
Gregory P. Smith [Mon, 5 Jun 2006 18:48:21 +0000 (18:48 +0000)]
  * fix DBCursor.pget() bug with keyword argument names when no data= is
    supplied [SF pybsddb bug #1477863]

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Mon, 5 Jun 2006 18:36:54 +0000 (18:36 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Mon, 5 Jun 2006 18:36:12 +0000 (18:36 +0000)]
Whitespace normalization.

18 years agoforgot to add this file in previous commit
Gregory P. Smith [Mon, 5 Jun 2006 18:20:07 +0000 (18:20 +0000)]
forgot to add this file in previous commit

18 years ago * add support for DBSequence objects [patch #1466734]
Gregory P. Smith [Mon, 5 Jun 2006 17:38:04 +0000 (17:38 +0000)]
  * add support for DBSequence objects [patch #1466734]

18 years agomention the just committed bsddb changes
Gregory P. Smith [Mon, 5 Jun 2006 02:02:25 +0000 (02:02 +0000)]
mention the just committed bsddb changes

18 years ago * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902]
Gregory P. Smith [Mon, 5 Jun 2006 01:56:15 +0000 (01:56 +0000)]
  * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902]

18 years agoMake doctest news more accurate.
Tim Peters [Mon, 5 Jun 2006 01:48:21 +0000 (01:48 +0000)]
Make doctest news more accurate.

18 years agoWhitespace normalization.
Tim Peters [Mon, 5 Jun 2006 01:47:24 +0000 (01:47 +0000)]
Whitespace normalization.

18 years agoRemove doctest.testmod's deprecated (in 2.4) `isprivate`
Tim Peters [Mon, 5 Jun 2006 01:43:03 +0000 (01:43 +0000)]
Remove doctest.testmod's deprecated (in 2.4) `isprivate`
argument.  A lot of hair went into supporting that!

18 years ago * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885]
Gregory P. Smith [Mon, 5 Jun 2006 01:39:52 +0000 (01:39 +0000)]
  * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885]

18 years agoFix a potentially invalid memory access of CJKCodecs' shift-jis
Hye-Shik Chang [Mon, 5 Jun 2006 00:59:54 +0000 (00:59 +0000)]
Fix a potentially invalid memory access of CJKCodecs' shift-jis
decoder.  (found by Neal Norwitz)

18 years ago"Flat is better than nested."
Tim Peters [Mon, 5 Jun 2006 00:55:26 +0000 (00:55 +0000)]
"Flat is better than nested."

Move the long-winded, multiply-nested -R support out
of runtest() and into some module-level helper functions.
This makes runtest() and the -R code easier to follow.
That in turn allowed seeing some opportunities for code
simplification, and made it obvious that reglog.txt
never got closed.

18 years agofix a bug in the previous commit. don't leak empty list on error return and
Gregory P. Smith [Mon, 5 Jun 2006 00:33:35 +0000 (00:33 +0000)]
fix a bug in the previous commit.  don't leak empty list on error return and
fix the additional rare (out of memory only) bug that it was supposed to fix
of not freeing log_list when the python allocator failed.

18 years agobugfix: when log_archive was called with the DB_ARCH_REMOVE flag present
Gregory P. Smith [Mon, 5 Jun 2006 00:31:01 +0000 (00:31 +0000)]
bugfix: when log_archive was called with the DB_ARCH_REMOVE flag present
in BerkeleyDB >= 4.2 it tried to construct a list out of an uninitialized
char **log_list.

feature: export the DB_ARCH_REMOVE flag by name in the module on BerkeleyDB >= 4.2.

18 years agoMention second encoding speedup
Andrew M. Kuchling [Mon, 5 Jun 2006 00:08:09 +0000 (00:08 +0000)]
Mention second encoding speedup

18 years agoRevert revisions:
Tim Peters [Sun, 4 Jun 2006 23:52:47 +0000 (23:52 +0000)]
Revert revisions:

46640 Patch #1454481:  Make thread stack size runtime tunable.
46647 Markup fix

The first is causing many buildbots to fail test runs, and there
are multiple causes with seemingly no immediate prospects for
repairing them.  See python-dev discussion.

Note that a branch can (and should) be created for resolving these
problems, like

svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH

followed by merging rev 46647 to the new branch.

18 years agoWhitespace normalization.
Tim Peters [Sun, 4 Jun 2006 23:43:53 +0000 (23:43 +0000)]
Whitespace normalization.

18 years agoBug #1500293: fix memory leaks in _subprocess module.
Georg Brandl [Sun, 4 Jun 2006 22:15:37 +0000 (22:15 +0000)]
Bug #1500293: fix memory leaks in _subprocess module.

18 years agoPatch #1346214: correctly optimize away "if 0"-style stmts
Georg Brandl [Sun, 4 Jun 2006 21:56:52 +0000 (21:56 +0000)]
Patch #1346214: correctly optimize away "if 0"-style stmts
(thanks to Neal for review)

18 years agoRepair refleaks in unicodeobject.
Georg Brandl [Sun, 4 Jun 2006 21:46:16 +0000 (21:46 +0000)]
Repair refleaks in unicodeobject.

18 years agoPatch #1359618: Speed-up charmap encoder.
Martin v. Löwis [Sun, 4 Jun 2006 19:36:28 +0000 (19:36 +0000)]
Patch #1359618: Speed-up charmap encoder.

18 years agoMarkup fix
George Yoshida [Sun, 4 Jun 2006 17:17:25 +0000 (17:17 +0000)]
Markup fix

18 years agoRemove a redundant word
George Yoshida [Sun, 4 Jun 2006 17:04:12 +0000 (17:04 +0000)]
Remove a redundant word

18 years agos_methods[]: Stop compiler warnings by casting
Tim Peters [Sun, 4 Jun 2006 15:49:07 +0000 (15:49 +0000)]
s_methods[]:  Stop compiler warnings by casting
s_unpack_from to PyCFunction.

18 years agoDrop Mac wrappers for the WASTE library.
Ronald Oussoren [Sun, 4 Jun 2006 14:24:59 +0000 (14:24 +0000)]
Drop Mac wrappers for the WASTE library.

18 years ago"Import" LDFLAGS in Mac/OSX/Makefile.in to ensure pythonw gets build with
Ronald Oussoren [Sun, 4 Jun 2006 14:05:28 +0000 (14:05 +0000)]
"Import" LDFLAGS in Mac/OSX/Makefile.in to ensure pythonw gets build with
the right compiler flags.

18 years agoFixes in struct and socket from merge reviews.
Martin Blais [Sun, 4 Jun 2006 13:49:49 +0000 (13:49 +0000)]
Fixes in struct and socket from merge reviews.

- Following Guido's comments, renamed

  * pack_to -> pack_into
  * recv_buf -> recv_into
  * recvfrom_buf -> recvfrom_into

- Made fixes to _struct.c according to Neal Norwitz comments on the checkins
  list.

- Converted some ints into the appropriate -- I hope -- ssize_t and size_t.

18 years agoclean up function declarations to conform to PEP-7 style.
Andrew MacIntyre [Sun, 4 Jun 2006 12:59:59 +0000 (12:59 +0000)]
clean up function declarations to conform to PEP-7 style.

18 years agoPatch #1454481: Make thread stack size runtime tunable.
Andrew MacIntyre [Sun, 4 Jun 2006 12:31:09 +0000 (12:31 +0000)]
Patch #1454481:  Make thread stack size runtime tunable.

18 years agoSF #1499797, Fix for memory leak in WindowsError_str
Neal Norwitz [Sun, 4 Jun 2006 06:19:31 +0000 (06:19 +0000)]
SF #1499797, Fix for memory leak in WindowsError_str

18 years ago_PyObject_DebugMalloc(): The return value should add
Tim Peters [Sun, 4 Jun 2006 03:38:04 +0000 (03:38 +0000)]
_PyObject_DebugMalloc():  The return value should add
2*sizeof(size_t) now, not 8.  This probably accounts for
current disasters on the 64-bit buildbot slaves.

18 years agoIn a PYMALLOC_DEBUG build obmalloc adds extra debugging info
Tim Peters [Sun, 4 Jun 2006 03:26:02 +0000 (03:26 +0000)]
In a PYMALLOC_DEBUG build obmalloc adds extra debugging info
to each allocated block.  This was using 4 bytes for each such
piece of info regardless of platform.  This didn't really matter
before (proof: no bug reports, and the debug-build obmalloc would
have assert-failed if it was ever asked for a chunk of memory
>= 2**32 bytes), since container indices were plain ints.  But after
the Py_ssize_t changes, it's at least theoretically possible to
allocate a list or string whose guts exceed 2**32 bytes, and the
PYMALLOC_DEBUG routines would fail then (having only 4 bytes
to record the originally requested size).

Now we use sizeof(size_t) bytes for each of a PYMALLOC_DEBUG
build's extra debugging fields.  This won't make any difference
on 32-bit boxes, but will add 16 bytes to each allocation in
a debug build on a 64-bit box.

18 years agoWhitespace normalization.
Tim Peters [Sun, 4 Jun 2006 01:22:53 +0000 (01:22 +0000)]
Whitespace normalization.

18 years agoAdd more whitespace; use a better socket name
Andrew M. Kuchling [Sat, 3 Jun 2006 23:59:36 +0000 (23:59 +0000)]
Add more whitespace; use a better socket name

18 years agoRemove dangling reference
Andrew M. Kuchling [Sat, 3 Jun 2006 23:51:21 +0000 (23:51 +0000)]
Remove dangling reference

18 years agoRemove xmlrpc/ directory
Andrew M. Kuchling [Sat, 3 Jun 2006 23:47:22 +0000 (23:47 +0000)]
Remove xmlrpc/ directory

18 years agoRemove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module.
Andrew M. Kuchling [Sat, 3 Jun 2006 23:46:36 +0000 (23:46 +0000)]
Remove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module.

18 years agoThis demo requires Medusa (not just asyncore); remove it
Andrew M. Kuchling [Sat, 3 Jun 2006 23:43:22 +0000 (23:43 +0000)]
This demo requires Medusa (not just asyncore); remove it

18 years agoUse functions; modernize code
Andrew M. Kuchling [Sat, 3 Jun 2006 23:39:07 +0000 (23:39 +0000)]
Use functions; modernize code

18 years agoPut code in a main() function; loosen up the spacing to match current code style
Andrew M. Kuchling [Sat, 3 Jun 2006 23:15:56 +0000 (23:15 +0000)]
Put code in a main() function; loosen up the spacing to match current code style

18 years agoDocstring fix; use True
Andrew M. Kuchling [Sat, 3 Jun 2006 23:09:58 +0000 (23:09 +0000)]
Docstring fix; use True

18 years agoUse true division, and the True value
Andrew M. Kuchling [Sat, 3 Jun 2006 23:07:21 +0000 (23:07 +0000)]
Use true division, and the True value

18 years agoUse True; value returned from main is unused
Andrew M. Kuchling [Sat, 3 Jun 2006 23:02:15 +0000 (23:02 +0000)]
Use True; value returned from main is unused

18 years agoSome code tidying; use curses.wrapper
Andrew M. Kuchling [Sat, 3 Jun 2006 22:59:59 +0000 (22:59 +0000)]
Some code tidying; use curses.wrapper

18 years agoDrop 0 parameter
Andrew M. Kuchling [Sat, 3 Jun 2006 22:59:23 +0000 (22:59 +0000)]
Drop 0 parameter

18 years agoUpdate readme
Andrew M. Kuchling [Sat, 3 Jun 2006 22:44:42 +0000 (22:44 +0000)]
Update readme

18 years ago"_self" is a said to be a reserved word in Watcom C 10.6. I'm
Fredrik Lundh [Sat, 3 Jun 2006 21:56:05 +0000 (21:56 +0000)]
"_self" is a said to be a reserved word in Watcom C 10.6.  I'm
not sure that's really standard compliant behaviour, but I guess
we have to fix that anyway...

18 years ago[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
Andrew M. Kuchling [Sat, 3 Jun 2006 19:02:35 +0000 (19:02 +0000)]
[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
Fix by renaming the variable.

In a different module, Neal fixed it by renaming _self to self.  There's
already a variable named 'self' here, so I used selfptr.

(I'm committing this on a Mac without Tk, but it's a simple search-and-replace.
<crosses fingers>, so  I'll watch the buildbots and see what happens.)

18 years agoMinor rewording
Andrew M. Kuchling [Sat, 3 Jun 2006 18:43:24 +0000 (18:43 +0000)]
Minor rewording

18 years ago[Bug #1441864] Clarify description of 'data' argument
Andrew M. Kuchling [Sat, 3 Jun 2006 18:41:28 +0000 (18:41 +0000)]
[Bug #1441864] Clarify description of 'data' argument

18 years ago[Bug #1475554] Strengthen text to say 'must' instead of 'should'
Andrew M. Kuchling [Sat, 3 Jun 2006 18:33:35 +0000 (18:33 +0000)]
[Bug #1475554] Strengthen text to say 'must' instead of 'should'

18 years ago[Bug #1472084] Fix description of do_tag
Andrew M. Kuchling [Sat, 3 Jun 2006 18:09:41 +0000 (18:09 +0000)]
[Bug #1472084] Fix description of do_tag

18 years agoUpdated version (win32-icons2.zip) from #1490384.
Martin v. Löwis [Sat, 3 Jun 2006 07:42:26 +0000 (07:42 +0000)]
Updated version (win32-icons2.zip) from #1490384.

18 years agoPort to OpenBSD 3.9. Patch from Aldo Cortesi.
Martin v. Löwis [Sat, 3 Jun 2006 07:37:13 +0000 (07:37 +0000)]
Port to OpenBSD 3.9. Patch from Aldo Cortesi.

18 years agoRemove Mac OS 9 support (http://mail.python.org/pipermail/python-dev/2006-June/065538...
Neal Norwitz [Sat, 3 Jun 2006 04:49:00 +0000 (04:49 +0000)]
Remove Mac OS 9 support (http://mail.python.org/pipermail/python-dev/2006-June/065538.html)

18 years agopprint functions used to sort a dict (by key) if and only if
Tim Peters [Fri, 2 Jun 2006 23:22:51 +0000 (23:22 +0000)]
pprint functions used to sort a dict (by key) if and only if
the output required more than one line.  "Small" dicts got
displayed in seemingly random order (the hash-induced order
produced by dict.__repr__).  None of this was documented.
Now pprint functions always sort dicts by key, and the docs
promise it.

This was proposed and agreed to during the PyCon 2006 core
sprint -- I just didn't have time for it before now.

18 years agoFixed struct test to not use unittest.
Martin Blais [Fri, 2 Jun 2006 13:03:43 +0000 (13:03 +0000)]
Fixed struct test to not use unittest.

18 years agoPatch #1357836:
Neal Norwitz [Fri, 2 Jun 2006 06:23:00 +0000 (06:23 +0000)]
Patch #1357836:

Prevent an invalid memory read from test_coding in case the done flag is set.
In that case, the loop isn't entered.  I wonder if rather than setting
the done flag in the cases before the loop, if they should just exit early.

This code looks like it should be refactored.

Backport candidate (also the early break above if decoding_fgets fails)

18 years agoMore memory leaks from valgrind
Neal Norwitz [Fri, 2 Jun 2006 04:54:52 +0000 (04:54 +0000)]
More memory leaks from valgrind

18 years agoFix memory leak found by valgrind.
Neal Norwitz [Fri, 2 Jun 2006 04:50:49 +0000 (04:50 +0000)]
Fix memory leak found by valgrind.

18 years agoConvert docstrings to comments so regrtest -v prints method names
Neal Norwitz [Fri, 2 Jun 2006 04:45:53 +0000 (04:45 +0000)]
Convert docstrings to comments so regrtest -v prints method names

18 years agoArmin committed his patch while I was reviewing it (I'm sure
Tim Peters [Thu, 1 Jun 2006 15:50:44 +0000 (15:50 +0000)]
Armin committed his patch while I was reviewing it (I'm sure
he didn't know this), so merged in some changes I made during
review.  Nothing material apart from changing a new `mask` local
from int to Py_ssize_t.  Mostly this is repairing comments that
were made incorrect, and adding new comments.  Also a few
minor code rewrites for clarity or helpful succinctness.

18 years agoRe-enable a new empty-string test added during the NFS sprint,
Tim Peters [Thu, 1 Jun 2006 13:56:26 +0000 (13:56 +0000)]
Re-enable a new empty-string test added during the NFS sprint,
but disabled then because str and unicode strings gave different
results.  The implementations were repaired later during the
sprint, but the new test remained disabled.

18 years agoRecord bugs 1275608 and 1456209 as being fixed.
Tim Peters [Thu, 1 Jun 2006 13:49:23 +0000 (13:49 +0000)]
Record bugs 1275608 and 1456209 as being fixed.

18 years agoWhitespace normalization.
Tim Peters [Thu, 1 Jun 2006 13:41:46 +0000 (13:41 +0000)]
Whitespace normalization.

18 years ago[ 1497053 ] Let dicts propagate the exceptions in user __eq__().
Armin Rigo [Thu, 1 Jun 2006 13:19:12 +0000 (13:19 +0000)]
1497053 ] Let dicts propagate the exceptions in user __eq__().

1456209 ] dictresize() vulnerability ( <- backport candidate ).

18 years agoSome code style tweaks, and remove apply.
Georg Brandl [Thu, 1 Jun 2006 13:00:49 +0000 (13:00 +0000)]
Some code style tweaks, and remove apply.

18 years agoCorrectly dispatch Faults in loads (patch #1498627)
Georg Brandl [Thu, 1 Jun 2006 12:30:46 +0000 (12:30 +0000)]
Correctly dispatch Faults in loads (patch #1498627)

18 years agoCorrectly allocate complex types with tp_alloc. (bug #1498638)
Georg Brandl [Thu, 1 Jun 2006 08:27:32 +0000 (08:27 +0000)]
Correctly allocate complex types with tp_alloc. (bug #1498638)

18 years agoCorrectly unpickle 2.4 exceptions via __setstate__ (patch #1498571)
Georg Brandl [Thu, 1 Jun 2006 06:39:19 +0000 (06:39 +0000)]
Correctly unpickle 2.4 exceptions via __setstate__ (patch #1498571)

18 years agoRemove ; at end of macro. There was a compiler recently that warned
Neal Norwitz [Thu, 1 Jun 2006 05:32:49 +0000 (05:32 +0000)]
Remove ; at end of macro.  There was a compiler recently that warned
about extra semi-colons.  It may have been the HP C compiler.
This file will trigger a bunch of those warnings now.

18 years agoRepaired error in new comment.
Tim Peters [Wed, 31 May 2006 15:34:37 +0000 (15:34 +0000)]
Repaired error in new comment.

18 years ago_range_error(): Speed and simplify (there's no real need for
Tim Peters [Wed, 31 May 2006 15:33:22 +0000 (15:33 +0000)]
_range_error():  Speed and simplify (there's no real need for
loops here).  Assert that size_t is actually big enough, and
that f->size is at least one.  Wrap a long line.

18 years agoTrimmed trailing whitespace.
Tim Peters [Wed, 31 May 2006 14:28:07 +0000 (14:28 +0000)]
Trimmed trailing whitespace.

18 years agoMention SimpleXMLRPCServer change
Andrew M. Kuchling [Wed, 31 May 2006 14:12:47 +0000 (14:12 +0000)]
Mention SimpleXMLRPCServer change

18 years ago[Bug #1473048]
Andrew M. Kuchling [Wed, 31 May 2006 14:08:48 +0000 (14:08 +0000)]
[Bug #1473048]
SimpleXMLRPCServer and DocXMLRPCServer don't look at
the path of the HTTP request at all; you can POST or
GET from / or /RPC2 or /blahblahblah with the same results.
Security scanners that look for /cgi-bin/phf will therefore report
lots of vulnerabilities.

Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class,
and report a 404 error if the path isn't on the allowed list.

Possibly-controversial aspect of this change: the default makes only
'/' and '/RPC2' legal.  Maybe this will break people's applications
(though I doubt it).  We could just set the default to an empty tuple,
which would exactly match the current behaviour.

18 years agoFixup the PCBuild8 project directory. exceptions.c have moved to Objects, and the...
Kristján Valur Jónsson [Wed, 31 May 2006 13:35:41 +0000 (13:35 +0000)]
Fixup the PCBuild8 project directory.  exceptions.c have moved to Objects, and the functionalmodule.c has been replaced with _functoolsmodule.c.  Other minor changes to .vcproj files and .sln to fix compilation

18 years ago'functional' module was renamed to 'functools'
Andrew M. Kuchling [Wed, 31 May 2006 13:18:56 +0000 (13:18 +0000)]
'functional' module was renamed to 'functools'

18 years agoPyTuple_Pack is not available in Python 2.3, but ctypes must stay
Thomas Heller [Wed, 31 May 2006 11:37:58 +0000 (11:37 +0000)]
PyTuple_Pack is not available in Python 2.3, but ctypes must stay
compatible with that.

18 years agoOn 64-bit platforms running test_struct after test_tarfile would fail
Neal Norwitz [Wed, 31 May 2006 09:02:44 +0000 (09:02 +0000)]
On 64-bit platforms running test_struct after test_tarfile would fail
since the deprecation warning wouldn't be raised.

18 years agoRevert last checkin, it is better to do make distclean
Neal Norwitz [Wed, 31 May 2006 08:01:08 +0000 (08:01 +0000)]
Revert last checkin, it is better to do make distclean

18 years agoCalculate smallest properly (it was off by one) and use proper ssize_t types for...
Neal Norwitz [Wed, 31 May 2006 07:43:27 +0000 (07:43 +0000)]
Calculate smallest properly (it was off by one) and use proper ssize_t types for Win64

18 years agoClarify wording on default values for strptime(); defaults are used when better
Brett Cannon [Wed, 31 May 2006 02:19:54 +0000 (02:19 +0000)]
Clarify wording on default values for strptime(); defaults are used when better
values cannot be inferred.

Closes bug #1496315.

18 years agoWhitespace normalization.
Tim Peters [Tue, 30 May 2006 23:28:02 +0000 (23:28 +0000)]
Whitespace normalization.

18 years agochanged count to return 0 for slices outside the source string
Fredrik Lundh [Tue, 30 May 2006 17:39:58 +0000 (17:39 +0000)]
changed count to return 0 for slices outside the source string

18 years agoChange wrapping terminology to overflow masking
Bob Ippolito [Tue, 30 May 2006 17:37:54 +0000 (17:37 +0000)]
Change wrapping terminology to overflow masking

18 years agochanged find/rfind to return -1 for matches outside the source string
Fredrik Lundh [Tue, 30 May 2006 17:11:48 +0000 (17:11 +0000)]
changed find/rfind to return -1 for matches outside the source string

18 years agoPyLong_FromString(): Continued fraction analysis (explained in
Tim Peters [Tue, 30 May 2006 15:53:34 +0000 (15:53 +0000)]
PyLong_FromString():  Continued fraction analysis (explained in
a new comment) suggests there are almost certainly large input
integers in all non-binary input bases for which one Python digit
too few is initally allocated to hold the final result.  Instead
of assert-failing when that happens, allocate more space.  Alas,
I estimate it would take a few days to find a specific such case,
so this isn't backed up by a new test (not to mention that such
a case may take hours to run, since conversion time is quadratic
in the number of digits, and preliminary attempts suggested that
the smallest such inputs contain at least a million digits).

18 years agoAdd SoC name, and reorganize this section a bit
Andrew M. Kuchling [Tue, 30 May 2006 12:52:01 +0000 (12:52 +0000)]
Add SoC name, and reorganize this section a bit

18 years agoConvert test_exceptions to unittest.
Georg Brandl [Tue, 30 May 2006 08:47:19 +0000 (08:47 +0000)]
Convert test_exceptions to unittest.

18 years agoDo the check for no keyword arguments in __init__ so that
Georg Brandl [Tue, 30 May 2006 08:17:00 +0000 (08:17 +0000)]
Do the check for no keyword arguments in __init__ so that
subclasses of Exception can be supplied keyword args

18 years agoI'm impatient. I think this will fix a few more problems with the buildbots.
Neal Norwitz [Tue, 30 May 2006 07:36:54 +0000 (07:36 +0000)]
I'm impatient.  I think this will fix a few more problems with the buildbots.
I'm not sure this is the best approach, but I can't think of anything better.
If this creates problems, feel free to revert, but I think it's safe and
should make things a little better.

18 years agoDisallow keyword args for exceptions.
Georg Brandl [Tue, 30 May 2006 07:34:45 +0000 (07:34 +0000)]
Disallow keyword args for exceptions.

18 years agoDon't fail if the (sub)pkgname already exist.
Neal Norwitz [Tue, 30 May 2006 07:21:10 +0000 (07:21 +0000)]
Don't fail if the (sub)pkgname already exist.

18 years agoAdd a test case for exception pickling. args is never NULL.
Georg Brandl [Tue, 30 May 2006 07:13:29 +0000 (07:13 +0000)]
Add a test case for exception pickling. args is never NULL.

18 years agoRestore exception pickle support. #1497319.
Georg Brandl [Tue, 30 May 2006 07:04:55 +0000 (07:04 +0000)]
Restore exception pickle support. #1497319.

18 years agodict_print(): So that Neal & I don't spend the rest of
Tim Peters [Tue, 30 May 2006 05:23:59 +0000 (05:23 +0000)]
dict_print():  So that Neal & I don't spend the rest of
our lives taking turns rewriting code that works ;-),
get rid of casting illusions by declaring a new variable
with the obvious type.