]> granicus.if.org Git - python/log
python
20 years agoSummarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
Jim Fulton [Wed, 14 Jul 2004 19:08:28 +0000 (19:08 +0000)]
Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
tutorial.

20 years agoDocumented the new Py_VISIT macro to simplify implementation of
Jim Fulton [Wed, 14 Jul 2004 19:08:17 +0000 (19:08 +0000)]
Documented the new Py_VISIT macro to simplify implementation of
tp_traverse handlers. (Tim made me do it. ;)

20 years agoImplemented a new Py_CLEAR macro. This macro should be used when
Jim Fulton [Wed, 14 Jul 2004 19:07:35 +0000 (19:07 +0000)]
Implemented a new Py_CLEAR macro. This macro should be used when
decrementing the refcount of variables that might be accessed as a
result of calling Python

20 years agoUpdated documentation to:
Jim Fulton [Wed, 14 Jul 2004 19:07:24 +0000 (19:07 +0000)]
Updated documentation to:

- point out the importance of reassigning data members before
  assigning thier values

- correct my missconception about return values from visitprocs. Sigh.

- mention the labor saving Py_VISIT and Py_CLEAR macros.

20 years agoPorted some features from zope:
Jim Fulton [Wed, 14 Jul 2004 19:06:50 +0000 (19:06 +0000)]
Ported some features from zope:

- Fixed the display of tests in verbose output
- Allow setUp and tearDown functions to be provided for DocTestSuites.

20 years ago* Hide a loop induction variable that was inadvertantly being picked up
Raymond Hettinger [Wed, 14 Jul 2004 16:35:30 +0000 (16:35 +0000)]
* Hide a loop induction variable that was inadvertantly being picked up
  by the locals() call in the context constructor.

* Remove unnecessary properties for int, exp, and sign which duplicated
  information returned by as_tuple().

20 years ago* Rename "Signals" to "_signals" making it non-public.
Raymond Hettinger [Wed, 14 Jul 2004 15:41:57 +0000 (15:41 +0000)]
* Rename "Signals" to "_signals" making it non-public.
* Context.create_decimal can take a zero default just like Decimal().
* Fix typo in comment.

20 years agoRecompiled after source file changes.
Thomas Heller [Wed, 14 Jul 2004 15:22:05 +0000 (15:22 +0000)]
Recompiled after source file changes.

20 years agoIgnore some more build products.
Thomas Heller [Wed, 14 Jul 2004 15:19:45 +0000 (15:19 +0000)]
Ignore some more build products.

20 years agoAdd a warning so that it isn't forgotten to recreate the binaries AND
Thomas Heller [Wed, 14 Jul 2004 15:17:04 +0000 (15:17 +0000)]
Add a warning so that it isn't forgotten to recreate the binaries AND
CHECK INTO CVS if these files are changed.

20 years agoDon't complain that non-existant registry entries cannot be deleted.
Thomas Heller [Wed, 14 Jul 2004 14:53:50 +0000 (14:53 +0000)]
Don't complain that non-existant registry entries cannot be deleted.

20 years agoThis is Pete Shinners' patch from his bug report
Michael W. Hudson [Wed, 14 Jul 2004 11:28:06 +0000 (11:28 +0000)]
This is Pete Shinners' patch from his bug report

[ 984722 ] Py_BuildValue loses reference counts on error

I'm ever-so-slightly uneasy at the amount of work this can do with an
exception pending, but I don't think that this can result in anything
more serious than a strange error message.

20 years ago- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
Guido van Rossum [Wed, 14 Jul 2004 00:48:58 +0000 (00:48 +0000)]
- Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
  the documented behavior: the function passed to the onerror()
  handler can now also be os.listdir.

[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]

20 years ago- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
Guido van Rossum [Wed, 14 Jul 2004 00:45:59 +0000 (00:45 +0000)]
- Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
  the documented behavior: the function passed to the onerror()
  handler can now also be os.listdir.

[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]

20 years agoIt helps when doing checks if something is in a tuple of strings that if you
Brett Cannon [Wed, 14 Jul 2004 00:43:51 +0000 (00:43 +0000)]
It helps when doing checks if something is in a tuple of strings that if you
put everything in the tuple in caps to use str.upper() instead of str.lower().

20 years agoclarify where \versionadded and \versionchanged should be placed when
Fred Drake [Tue, 13 Jul 2004 21:04:26 +0000 (21:04 +0000)]
clarify where \versionadded and \versionchanged should be placed when
they are used

20 years agoClaifications: visit procs are supplied by the core, users aren't
Tim Peters [Tue, 13 Jul 2004 17:18:10 +0000 (17:18 +0000)]
Claifications:  visit procs are supplied by the core, users aren't
expected to write their own.  A NULL "object" must not be passed to
the visit callback.  A non-zero return from a visit proc isn't
necessarily an error return (and it doesn't matter to the tp_traverse
code *what* it might signify, their only job is to return it).

20 years agogeneralize a bit; no need to mention my user id directly
Fred Drake [Tue, 13 Jul 2004 17:08:10 +0000 (17:08 +0000)]
generalize a bit; no need to mention my user id directly

21 years agoWordsmithing
Andrew M. Kuchling [Tue, 13 Jul 2004 14:03:31 +0000 (14:03 +0000)]
Wordsmithing

21 years agoFixes a bug in testing code handling .pth files that did not restore the original
Brett Cannon [Tue, 13 Jul 2004 07:12:25 +0000 (07:12 +0000)]
Fixes a bug in testing code handling .pth files that did not restore the original
module that is removed for testing "import" lines.  Originally deleted the
entry from sys.modules and then just let other code that needed it to import it
again.  Problem with this solution is that it lead to code that had already
imported the module in question to have their own reference to a new copy of
the module in question that new code couldn't reach.  This lead to a failure in
test_strptime since it monkey-patched the 'time' module it had a reference to
while _strptime had its own reference to another copy of 'time' from being
imported by test___all__ that it was using for a calculation.

Also moved the testing code out of the PthFile class and into the actual test
class.  This was to stop using 'assert' which is useless with a -O execution.

21 years agoAdd another point in the "Restrictions" section about how the handling of FTP
Brett Cannon [Tue, 13 Jul 2004 00:48:42 +0000 (00:48 +0000)]
Add another point in the "Restrictions" section about how the handling of FTP
URLs will seemingly succeed to read a URL that points to a file whose
permissions you do not have to read.

Backport candidate once everyone agrees with the wording.

21 years agoUsing repr() generates entries that the current stats package can't
Nicholas Bastin [Mon, 12 Jul 2004 23:38:02 +0000 (23:38 +0000)]
Using repr() generates entries that the current stats package can't
collate, so setting it back to the function name

21 years agoUpdated my email address to something that works <wink>.
Barry Warsaw [Mon, 12 Jul 2004 23:10:08 +0000 (23:10 +0000)]
Updated my email address to something that works <wink>.

21 years agoFix test case for when time.tzname[0] is either UTC or GMT. Also have test
Brett Cannon [Mon, 12 Jul 2004 19:34:02 +0000 (19:34 +0000)]
Fix test case for when time.tzname[0] is either UTC or GMT.  Also have test
output more telling details when there is a failure.

21 years agoFixed minor bugs in the example configuration file
Vinay Sajip [Mon, 12 Jul 2004 15:48:04 +0000 (15:48 +0000)]
Fixed minor bugs in the example configuration file

21 years agoFix SF Bug #989066
Nicholas Bastin [Mon, 12 Jul 2004 13:44:26 +0000 (13:44 +0000)]
Fix SF Bug #989066

21 years agoUse set() instead of sets.Set()
Raymond Hettinger [Mon, 12 Jul 2004 13:29:10 +0000 (13:29 +0000)]
Use set() instead of sets.Set()

21 years agoSmall elaboration and typo fixes.
Raymond Hettinger [Mon, 12 Jul 2004 13:22:14 +0000 (13:22 +0000)]
Small elaboration and typo fixes.

21 years agoAdd more known macros.
Raymond Hettinger [Mon, 12 Jul 2004 13:16:49 +0000 (13:16 +0000)]
Add more known macros.

21 years agothis is patch
Michael W. Hudson [Mon, 12 Jul 2004 13:15:56 +0000 (13:15 +0000)]
this is patch

[ 988698 ] compiler.transformer fix for (a, b) = 1, 2

fixing bug

[ 988613 ] compiler.transformer and tuple unpacking

21 years agoFix markup.
Raymond Hettinger [Mon, 12 Jul 2004 13:00:45 +0000 (13:00 +0000)]
Fix markup.

21 years agoFreeBSD's services file contains an additional echo service entry, with
Andrew MacIntyre [Mon, 12 Jul 2004 12:10:30 +0000 (12:10 +0000)]
FreeBSD's services file contains an additional echo service entry, with
a non-standard protocol and on a lower port than the tcp/udp entries,
which breaks the assumption that there will only be one service by a
given name on a given port when no protocol is specified.

Previous versions of this code have had other problems as a result of
different service definitions amongst common platforms.  As this platform
has an extra, unexpected, service entry, I've special cased the platform
rather than re-order the list of services checked to highlight the pitfall.

21 years agoinstall test/decimaltestdata as well
Anthony Baxter [Mon, 12 Jul 2004 09:33:39 +0000 (09:33 +0000)]
install test/decimaltestdata as well

21 years agoinstall test/decimaltestdata as well
Anthony Baxter [Mon, 12 Jul 2004 09:25:18 +0000 (09:25 +0000)]
install test/decimaltestdata as well

21 years agoRemoved debugging print statements from TimedRotatingFileHandler, and sorted list...
Vinay Sajip [Mon, 12 Jul 2004 09:21:41 +0000 (09:21 +0000)]
Removed debugging print statements from TimedRotatingFileHandler, and sorted list returned by glob.glob() (SF #987166)

21 years agoanother note for amk
Anthony Baxter [Mon, 12 Jul 2004 08:15:37 +0000 (08:15 +0000)]
another note for amk

21 years agoSimplified the new get/get_nowait/put/put_nowait implementations a bit.
Tim Peters [Mon, 12 Jul 2004 01:20:32 +0000 (01:20 +0000)]
Simplified the new get/get_nowait/put/put_nowait implementations a bit.

21 years agoBug #788520: Queue class has logic error when non-blocking
Tim Peters [Mon, 12 Jul 2004 00:45:14 +0000 (00:45 +0000)]
Bug #788520: Queue class has logic error when non-blocking

I don't agree it had a bug (see the report), so this is *not* a candidate
for backporting, but the docs were confusing and the Queue implementation
was old enough to vote.

Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of
Conditions (not_full and not_empty), sharing a common mutex.  The code
is 1/4 the size now, and 6.25x easier to understand.  For blocking
with timeout, we also get to reuse (indirectly) the tedious timeout
code from threading.Condition.  The Full and Empty exceptions raised
by non-blocking calls are now easy (instead of nearly impossible) to
explain truthfully:  Full is raised if and only if the Queue truly
is full when the non-blocking put call checks the queue size, and
similarly for Empty versus non-blocking get.

What I don't know is whether the new implementation is slower (or
faster) than the old one.  I don't really care.  Anyone who cares
a lot is encouraged to check that.

21 years agoSF patch 986010: add missing doc for datetime C API, from
Tim Peters [Sun, 11 Jul 2004 19:26:19 +0000 (19:26 +0000)]
SF patch 986010: add missing doc for datetime C API, from
Anthony Tuininga.

This is a derived patch, taking the opportunity to add some organization
to the now-large pile of datetime-related macros, and to factor out
tedious repeated text.

Also improved some clumsy wording in NEWS.

21 years agoRemove tabs introduced in last commit.
Brett Cannon [Sun, 11 Jul 2004 19:16:21 +0000 (19:16 +0000)]
Remove tabs introduced in last commit.

21 years agoPatch [ 972332 ] urllib2 FTPHandler bugs / John J. Lee
Kurt B. Kaiser [Sun, 11 Jul 2004 17:14:13 +0000 (17:14 +0000)]
Patch [ 972332 ] urllib2 FTPHandler bugs / John J. Lee
Modified Files:
urllib2.py test/test_urllib2.py

21 years agoAdd FAQ on non-GNU make error. Update copyright date to 2004.
Kurt B. Kaiser [Sun, 11 Jul 2004 16:40:31 +0000 (16:40 +0000)]
Add FAQ on non-GNU make error.  Update copyright date to 2004.

21 years agoAdded documentation for the "smtpd" module.
Fred Drake [Sun, 11 Jul 2004 16:25:25 +0000 (16:25 +0000)]
Added documentation for the "smtpd" module.
Closes SF bug #450803.

21 years agoStyle nit.
Raymond Hettinger [Sun, 11 Jul 2004 13:20:11 +0000 (13:20 +0000)]
Style nit.

21 years agoFix decimal write-up nits.
Raymond Hettinger [Sun, 11 Jul 2004 12:49:47 +0000 (12:49 +0000)]
Fix decimal write-up nits.

21 years agoMinor improvements, fixups and wording changes everywhere.
Raymond Hettinger [Sun, 11 Jul 2004 12:40:19 +0000 (12:40 +0000)]
Minor improvements, fixups and wording changes everywhere.

21 years agoClarify requirement for GNU make
Kurt B. Kaiser [Sun, 11 Jul 2004 04:10:14 +0000 (04:10 +0000)]
Clarify requirement for GNU make

21 years agoPatch 851752 (fixes bug 820583)
Kurt B. Kaiser [Sun, 11 Jul 2004 02:13:17 +0000 (02:13 +0000)]
Patch 851752 (fixes bug 820583)
Patch by John J Lee
Reviewed by Jeff Epler / KBK
Doc built OK.

urlopen() may return None if no handler handles the request.

Also clarify what install_opener does.

M liburllib2.tex

21 years agoSequenceMatcher(None, [], []).get_grouped_opcodes() now returns a generator
Brett Cannon [Sat, 10 Jul 2004 23:54:07 +0000 (23:54 +0000)]
SequenceMatcher(None, [], []).get_grouped_opcodes() now returns a generator
that behaves as if both lists has an empty string in each of them.

Closes bug #979794 (and duplicate bug #980117).

21 years ago[Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addresses
Andrew M. Kuchling [Sat, 10 Jul 2004 23:39:35 +0000 (23:39 +0000)]
[Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addresses

21 years agoDebug output is now printed to sys.stderr .
Brett Cannon [Sat, 10 Jul 2004 23:14:30 +0000 (23:14 +0000)]
Debug output is now printed to sys.stderr .

Closes bug #980938.

21 years agoFix minor error in example.
Brett Cannon [Sat, 10 Jul 2004 23:06:07 +0000 (23:06 +0000)]
Fix minor error in example.

21 years agoposixpath.realpath() now detects symlink loops and returns the path just before
Brett Cannon [Sat, 10 Jul 2004 22:55:15 +0000 (22:55 +0000)]
posixpath.realpath() now detects symlink loops and returns the path just before
the loop starts.

Closes bug #930024.  Thanks AM Kuchling.

21 years agoAdd PyArg_VaParseTupleAndKeywords(). Document this function and
Brett Cannon [Sat, 10 Jul 2004 22:20:32 +0000 (22:20 +0000)]
Add PyArg_VaParseTupleAndKeywords().  Document this function and
PyArg_VaParse().

Closes patch #550732.  Thanks Greg Chapman.

21 years ago[Patch #981794] Add support for Firefox/Firebird
Andrew M. Kuchling [Sat, 10 Jul 2004 22:07:02 +0000 (22:07 +0000)]
[Patch #981794] Add support for Firefox/Firebird

21 years ago[Patch 988444]
Andrew M. Kuchling [Sat, 10 Jul 2004 22:02:11 +0000 (22:02 +0000)]
[Patch 988444]
Read multiple special headers
- fixed/improved handling of extended/special headers
in read-mode (adding new extended headers should be
less painful now).
- improved nts() function.
- removed TarFile.chunks datastructure which is not
(and was never) needed.
- fixed TarInfo.tobuf(), fields could overflow with too
large values, values are now clipped.

21 years ago[Patch #965175] Incorporate a suggestion for a better error message
Andrew M. Kuchling [Sat, 10 Jul 2004 21:49:45 +0000 (21:49 +0000)]
[Patch #965175] Incorporate a suggestion for a better error message

21 years agoChange some declarations from ``char *`` to ``const char *``. Also added
Brett Cannon [Sat, 10 Jul 2004 21:41:14 +0000 (21:41 +0000)]
Change some declarations from ``char *`` to ``const char *``.  Also added
docstrings for decode and encode; accidentally were left out of the PyMethodDev
table.

21 years ago[Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for compatibility...
Andrew M. Kuchling [Sat, 10 Jul 2004 21:36:55 +0000 (21:36 +0000)]
[Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for compatibility with various broken SSL implementations out there.

21 years agoAdd item
Andrew M. Kuchling [Sat, 10 Jul 2004 21:21:55 +0000 (21:21 +0000)]
Add item

21 years ago[Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes in Python...
Andrew M. Kuchling [Sat, 10 Jul 2004 21:15:17 +0000 (21:15 +0000)]
[Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes in Python 2.3.
(It turns out that the Debian unstable packaging of Python 2.3.4 includes this patch.)
Patch by Tino Lange.

21 years agoClarify docs for inspect.getargspec() that the fourth value is None when there
Brett Cannon [Sat, 10 Jul 2004 21:13:06 +0000 (21:13 +0000)]
Clarify docs for inspect.getargspec() that the fourth value is None when there
are no default arguments for the function.

21 years agoMake ntpath compress multiple slashes between drive letter and the rest of the
Brett Cannon [Sat, 10 Jul 2004 20:42:22 +0000 (20:42 +0000)]
Make ntpath compress multiple slashes between drive letter and the rest of the
path.  Also clarifies UNC handling and adds appropriate tests.

Applies patch #988607 to fix bug #980327.  Thanks Paul Moore.

21 years ago[Patch #988602] Move the urllib2 tests into the test framework
Andrew M. Kuchling [Sat, 10 Jul 2004 19:46:40 +0000 (19:46 +0000)]
[Patch #988602] Move the urllib2 tests into the test framework

21 years agoAdd comments at end of every #endif and fix ones already there when for closing
Brett Cannon [Sat, 10 Jul 2004 19:30:39 +0000 (19:30 +0000)]
Add comments at end of every #endif and fix ones already there when for closing
off #ifndef's.

21 years agoAdd note about closing of bug #679953 and add Jimmy Burgett for helping out to
Brett Cannon [Sat, 10 Jul 2004 19:13:42 +0000 (19:13 +0000)]
Add note about closing of bug #679953 and add Jimmy Burgett for helping out to
Misc/ACKS.

21 years agoMake struct formats for specifying file size to be unsigned instead of signed
Brett Cannon [Sat, 10 Jul 2004 19:09:20 +0000 (19:09 +0000)]
Make struct formats for specifying file size to be unsigned instead of signed
(ZIP file spec. says in section K, "General notes" in point 1 that unless
specified otherwise values are unsigned and they are not specified as signed in
the spec).

Closes bug #679953.  Thanks Jimmy Burgett.

21 years agoAdd an item
Andrew M. Kuchling [Sat, 10 Jul 2004 18:43:32 +0000 (18:43 +0000)]
Add an item

21 years ago[Patch #969900] Various corrections and updates to cookielib docs
Andrew M. Kuchling [Sat, 10 Jul 2004 18:41:28 +0000 (18:41 +0000)]
[Patch #969900] Various corrections and updates to cookielib docs

21 years ago[Patch #969907] Add traceback to warning output
Andrew M. Kuchling [Sat, 10 Jul 2004 18:32:12 +0000 (18:32 +0000)]
[Patch #969907] Add traceback to warning output

21 years ago[Patch #972310] Apply correction to docs
Andrew M. Kuchling [Sat, 10 Jul 2004 18:28:33 +0000 (18:28 +0000)]
[Patch #972310] Apply correction to docs

21 years agoIn poll(), check connections for exceptional conditions
Andrew M. Kuchling [Sat, 10 Jul 2004 17:36:11 +0000 (17:36 +0000)]
In poll(), check connections for exceptional conditions

21 years agoAdded note about new codecs module APIs.
Marc-André Lemburg [Sat, 10 Jul 2004 16:16:06 +0000 (16:16 +0000)]
Added note about new codecs module APIs.

21 years agoFix typo.
Raymond Hettinger [Sat, 10 Jul 2004 16:11:03 +0000 (16:11 +0000)]
Fix typo.

21 years ago[Bug 949832] Fix example; edit sentence
Andrew M. Kuchling [Sat, 10 Jul 2004 16:01:10 +0000 (16:01 +0000)]
[Bug 949832] Fix example; edit sentence

21 years agoReturn value from .close(); move .set_file up
Andrew M. Kuchling [Sat, 10 Jul 2004 15:51:19 +0000 (15:51 +0000)]
Return value from .close(); move .set_file up

21 years ago[Bug #835415] AIX can return modes that are >65536, which causes an OverflowError...
Andrew M. Kuchling [Sat, 10 Jul 2004 15:40:29 +0000 (15:40 +0000)]
[Bug #835415] AIX can return modes that are >65536, which causes an OverflowError.  Fix from Albert Chin

21 years ago[Patch #988504] Fix HTTP error handling via a patch from John J. Lee
Andrew M. Kuchling [Sat, 10 Jul 2004 15:34:34 +0000 (15:34 +0000)]
[Patch #988504] Fix HTTP error handling via a patch from John J. Lee

21 years ago[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
Andrew M. Kuchling [Sat, 10 Jul 2004 14:19:21 +0000 (14:19 +0000)]
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant

21 years ago[Patch #987052 from Thomas Guettler]
Andrew M. Kuchling [Sat, 10 Jul 2004 14:14:51 +0000 (14:14 +0000)]
[Patch #987052  from Thomas Guettler]
Don't output empty tags
Escape page header
Remove <p> before <table> (tidy complains)

21 years agoImprove Context construction and representation:
Raymond Hettinger [Sat, 10 Jul 2004 14:14:37 +0000 (14:14 +0000)]
Improve Context construction and representation:

* Rename "trap_enablers" to just "traps".
* Simplify names of "settraps" and "setflags" to just "traps" and "flags".
* Show "capitals" in the context representation
* Simplify the Context constructor to match its repr form so that only
  the set flags and traps need to be listed.
* Representation can now be run through eval().

Improve the error message when the Decimal constructor is given a float.

The test suite no longer needs a duplicate reset_flags method.

21 years agoRemove a few elderly sentences
Andrew M. Kuchling [Sat, 10 Jul 2004 13:48:54 +0000 (13:48 +0000)]
Remove a few elderly sentences

21 years agoReplace example with simpler alternative using PyGILState_{Ensure,Require). Can...
Andrew M. Kuchling [Sat, 10 Jul 2004 13:42:52 +0000 (13:42 +0000)]
Replace example with simpler alternative using PyGILState_{Ensure,Require).  Can someone please confirm this change is OK?

21 years ago[Bug #987835] Add documentation from PEP 311. (Untested TeX code.)
Andrew M. Kuchling [Sat, 10 Jul 2004 13:31:18 +0000 (13:31 +0000)]
[Bug #987835] Add documentation from PEP 311.  (Untested TeX code.)

21 years agoAdd generic codecs.encode() and .decode() APIs that don't impose
Marc-André Lemburg [Sat, 10 Jul 2004 12:06:10 +0000 (12:06 +0000)]
Add generic codecs.encode() and .decode() APIs that don't impose
any restriction on the return type (like unicode.encode() et al. do).

21 years agoFix a copy&paste typo.
Marc-André Lemburg [Sat, 10 Jul 2004 12:04:20 +0000 (12:04 +0000)]
Fix a copy&paste typo.

21 years agoSF bug #987486: fix typo.
Raymond Hettinger [Sat, 10 Jul 2004 11:15:56 +0000 (11:15 +0000)]
SF bug #987486: fix typo.

21 years agoSF bug 988387: markup nits.
Raymond Hettinger [Sat, 10 Jul 2004 11:11:15 +0000 (11:11 +0000)]
SF bug 988387:  markup nits.

21 years agoRestructure testing of .pth files. Move previous functions into a class and
Brett Cannon [Sat, 10 Jul 2004 02:10:45 +0000 (02:10 +0000)]
Restructure testing of .pth files.  Move previous functions into a class and
create a testing method that can be called to make sure that the handling of
the .pth file was correct.

21 years agoAdd an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's
Brett Cannon [Sat, 10 Jul 2004 00:57:37 +0000 (00:57 +0000)]
Add an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's
incorrect declaration for ypall_callback in /usr/include/rpcsvc/ypcInt.h .
Shouldn't hurt any code since the differences are unsigned long instead of int and
void * instead of char *.  Removes warning about improper function pointer
assignment during compilation.

21 years agoChange argument list for addsitedir() to not require a second argument and thus
Brett Cannon [Fri, 9 Jul 2004 23:38:18 +0000 (23:38 +0000)]
Change argument list for addsitedir() to not require a second argument and thus
match old verion's argument list (overlooked since API of the file is
undocumented).

21 years agoFix memory leak and bump the version per Greg
Neal Norwitz [Fri, 9 Jul 2004 23:33:06 +0000 (23:33 +0000)]
Fix memory leak and bump the version per Greg

21 years agoCleanup support for older pythons (perhaps it should be removed?)
Neal Norwitz [Fri, 9 Jul 2004 23:30:57 +0000 (23:30 +0000)]
Cleanup support for older pythons (perhaps it should be removed?)

21 years agoreminder for amk
Anthony Baxter [Fri, 9 Jul 2004 16:16:46 +0000 (16:16 +0000)]
reminder for amk

21 years agoAdd some tests for corner cases.
Raymond Hettinger [Fri, 9 Jul 2004 14:26:18 +0000 (14:26 +0000)]
Add some tests for corner cases.

21 years ago* Update the test suite to reflect that ConversionSyntax was no longer
Raymond Hettinger [Fri, 9 Jul 2004 10:52:54 +0000 (10:52 +0000)]
* Update the test suite to reflect that ConversionSyntax was no longer
  public.
* Removed the non-signal conditions from __all__.
* Removed the XXX comment which was resolved.
* Use ^ instead of operator.xor
* Remove the threading lock which is no longer necessary.

21 years agoModule and tests:
Raymond Hettinger [Fri, 9 Jul 2004 10:02:53 +0000 (10:02 +0000)]
Module and tests:
* Map conditions to related signals.
* Make contexts unhashable.
* Eliminate used "default" attribute in exception definitions.
* Eliminate the _filterfunc in favor of a straight list.

Docs:
* Eliminate documented references to conditions that are not signals.
* Eliminate parenthetical notes such as "1/0 --> Inf" which are no
  longer true with the new defaults.

21 years agopost-release fun
Anthony Baxter [Fri, 9 Jul 2004 07:30:10 +0000 (07:30 +0000)]
post-release fun

21 years agopost-release fun
Anthony Baxter [Fri, 9 Jul 2004 07:19:21 +0000 (07:19 +0000)]
post-release fun

21 years agoIncorporate Facundo's suggestions.
Raymond Hettinger [Fri, 9 Jul 2004 06:13:12 +0000 (06:13 +0000)]
Incorporate Facundo's suggestions.