]>
granicus.if.org Git - python/log
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.
Fred Drake [Sun, 11 Jul 2004 16:25:25 +0000 (16:25 +0000)]
Added documentation for the "smtpd" module.
Closes SF bug #450803.
Raymond Hettinger [Sun, 11 Jul 2004 13:20:11 +0000 (13:20 +0000)]
Style nit.
Raymond Hettinger [Sun, 11 Jul 2004 12:49:47 +0000 (12:49 +0000)]
Fix decimal write-up nits.
Raymond Hettinger [Sun, 11 Jul 2004 12:40:19 +0000 (12:40 +0000)]
Minor improvements, fixups and wording changes everywhere.
Kurt B. Kaiser [Sun, 11 Jul 2004 04:10:14 +0000 (04:10 +0000)]
Clarify requirement for GNU make
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
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).
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
Brett Cannon [Sat, 10 Jul 2004 23:14:30 +0000 (23:14 +0000)]
Debug output is now printed to sys.stderr .
Closes bug #980938.
Brett Cannon [Sat, 10 Jul 2004 23:06:07 +0000 (23:06 +0000)]
Fix minor error in example.
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.
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 22:07:02 +0000 (22:07 +0000)]
[Patch #981794] Add support for Firefox/Firebird
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 21:49:45 +0000 (21:49 +0000)]
[Patch #965175] Incorporate a suggestion for a better error message
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.
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 21:21:55 +0000 (21:21 +0000)]
Add item
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.
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.
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 19:46:40 +0000 (19:46 +0000)]
[Patch #988602] Move the urllib2 tests into the test framework
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.
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.
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 18:43:32 +0000 (18:43 +0000)]
Add an item
Andrew M. Kuchling [Sat, 10 Jul 2004 18:41:28 +0000 (18:41 +0000)]
[Patch #969900] Various corrections and updates to cookielib docs
Andrew M. Kuchling [Sat, 10 Jul 2004 18:32:12 +0000 (18:32 +0000)]
[Patch #969907] Add traceback to warning output
Andrew M. Kuchling [Sat, 10 Jul 2004 18:28:33 +0000 (18:28 +0000)]
[Patch #972310] Apply correction to docs
Andrew M. Kuchling [Sat, 10 Jul 2004 17:36:11 +0000 (17:36 +0000)]
In poll(), check connections for exceptional conditions
Marc-André Lemburg [Sat, 10 Jul 2004 16:16:06 +0000 (16:16 +0000)]
Added note about new codecs module APIs.
Raymond Hettinger [Sat, 10 Jul 2004 16:11:03 +0000 (16:11 +0000)]
Fix typo.
Andrew M. Kuchling [Sat, 10 Jul 2004 16:01:10 +0000 (16:01 +0000)]
[Bug 949832] Fix example; edit sentence
Andrew M. Kuchling [Sat, 10 Jul 2004 15:51:19 +0000 (15:51 +0000)]
Return value from .close(); move .set_file up
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
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
Andrew M. Kuchling [Sat, 10 Jul 2004 14:19:21 +0000 (14:19 +0000)]
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
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)
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.
Andrew M. Kuchling [Sat, 10 Jul 2004 13:48:54 +0000 (13:48 +0000)]
Remove a few elderly sentences
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?
Andrew M. Kuchling [Sat, 10 Jul 2004 13:31:18 +0000 (13:31 +0000)]
[Bug #987835] Add documentation from PEP 311. (Untested TeX code.)
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).
Marc-André Lemburg [Sat, 10 Jul 2004 12:04:20 +0000 (12:04 +0000)]
Fix a copy&paste typo.
Raymond Hettinger [Sat, 10 Jul 2004 11:15:56 +0000 (11:15 +0000)]
SF bug #987486: fix typo.
Raymond Hettinger [Sat, 10 Jul 2004 11:11:15 +0000 (11:11 +0000)]
SF bug 988387: markup nits.
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.
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.
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).
Neal Norwitz [Fri, 9 Jul 2004 23:33:06 +0000 (23:33 +0000)]
Fix memory leak and bump the version per Greg
Neal Norwitz [Fri, 9 Jul 2004 23:30:57 +0000 (23:30 +0000)]
Cleanup support for older pythons (perhaps it should be removed?)
Anthony Baxter [Fri, 9 Jul 2004 16:16:46 +0000 (16:16 +0000)]
reminder for amk
Raymond Hettinger [Fri, 9 Jul 2004 14:26:18 +0000 (14:26 +0000)]
Add some tests for corner cases.
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.
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.
Anthony Baxter [Fri, 9 Jul 2004 07:30:10 +0000 (07:30 +0000)]
post-release fun
Anthony Baxter [Fri, 9 Jul 2004 07:19:21 +0000 (07:19 +0000)]
post-release fun
Raymond Hettinger [Fri, 9 Jul 2004 06:13:12 +0000 (06:13 +0000)]
Incorporate Facundo's suggestions.
Raymond Hettinger [Fri, 9 Jul 2004 06:00:32 +0000 (06:00 +0000)]
Add a link to the decimal module docs.
Raymond Hettinger [Fri, 9 Jul 2004 04:51:24 +0000 (04:51 +0000)]
* fix the print test
* add more __init__ tests
Raymond Hettinger [Fri, 9 Jul 2004 04:10:20 +0000 (04:10 +0000)]
* balance the left/right search for getitem.
* use assertions instead of tests after internal calls that can't fail.
* expand test coverage
Skip Montanaro [Thu, 8 Jul 2004 19:49:10 +0000 (19:49 +0000)]
show how easy it is to manipulate individual columns - from a request on
c.l.py
Marc-André Lemburg [Thu, 8 Jul 2004 19:13:55 +0000 (19:13 +0000)]
.encode()/.decode() patch part 2.
Marc-André Lemburg [Thu, 8 Jul 2004 17:57:32 +0000 (17:57 +0000)]
Allow string and unicode return types from .encode()/.decode()
methods on string and unicode objects. Added unicode.decode()
which was missing for no apparent reason.
Walter Dörwald [Thu, 8 Jul 2004 17:14:17 +0000 (17:14 +0000)]
Add another bunch of test cases for calendars with Sunday as the
first day of the week.
Michael W. Hudson [Thu, 8 Jul 2004 15:28:26 +0000 (15:28 +0000)]
PyThreadState_Swap(NULL) didn't do what I thought it did. Fixes
[ 987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt
cvs2svn [Thu, 8 Jul 2004 10:24:04 +0000 (10:24 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24a1'.
Vinay Sajip [Thu, 8 Jul 2004 10:24:04 +0000 (10:24 +0000)]
Add exception handling for BaseRotatingFileHandler (SF #979252)
Vinay Sajip [Thu, 8 Jul 2004 10:22:35 +0000 (10:22 +0000)]
FileHandler now stores the basename as an absolute path (fix for SF #982049)
Raymond Hettinger [Thu, 8 Jul 2004 09:33:00 +0000 (09:33 +0000)]
Fix markup and nits.
Raymond Hettinger [Thu, 8 Jul 2004 09:22:33 +0000 (09:22 +0000)]
Fix markup, typos, and nits.
Anthony Baxter [Thu, 8 Jul 2004 07:18:34 +0000 (07:18 +0000)]
dont think it's still being used, but just in case
Martin v. Löwis [Thu, 8 Jul 2004 07:11:33 +0000 (07:11 +0000)]
Bump build number to 54 for 2.4.0a1
Anthony Baxter [Thu, 8 Jul 2004 06:01:42 +0000 (06:01 +0000)]
2.4a1
Anthony Baxter [Thu, 8 Jul 2004 05:59:43 +0000 (05:59 +0000)]
release dates
Anthony Baxter [Thu, 8 Jul 2004 05:57:59 +0000 (05:57 +0000)]
license updates for 2.4 (cleared with tim, on behalf of the psf)
Tim Peters [Thu, 8 Jul 2004 04:22:35 +0000 (04:22 +0000)]
Whitespace normalization.
Fred Drake [Thu, 8 Jul 2004 03:59:33 +0000 (03:59 +0000)]
bump the version number for 2.4a1
Fred Drake [Thu, 8 Jul 2004 03:56:12 +0000 (03:56 +0000)]
Deal with macros that have to be replaced with simple text; only a
couple of these are currently found in index data, but these should
all be handled in the same way.
Closes SF bug #952737.
Neal Norwitz [Thu, 8 Jul 2004 01:59:55 +0000 (01:59 +0000)]
Exercise xrange a bit
Neal Norwitz [Thu, 8 Jul 2004 01:56:46 +0000 (01:56 +0000)]
Exercise some error conditions
Neal Norwitz [Thu, 8 Jul 2004 01:55:58 +0000 (01:55 +0000)]
Fix a couple of signed/unsigned comparison warnings
Neal Norwitz [Thu, 8 Jul 2004 01:54:07 +0000 (01:54 +0000)]
Pass the flags along, rather than ignoring them. Backport candidate
Neal Norwitz [Thu, 8 Jul 2004 01:49:00 +0000 (01:49 +0000)]
Remove unused macros in .c files
Neal Norwitz [Thu, 8 Jul 2004 01:22:31 +0000 (01:22 +0000)]
SF bug #978308, Spurious errors taking bool of dead pro
Need to return -1 on error.
Needs backport.
Raymond Hettinger [Thu, 8 Jul 2004 00:49:18 +0000 (00:49 +0000)]
Tim gets his default traps.
Tim Peters [Wed, 7 Jul 2004 20:54:48 +0000 (20:54 +0000)]
Whitespace normalization.
Tim Peters [Wed, 7 Jul 2004 20:42:07 +0000 (20:42 +0000)]
"#if WITH_THREAD" is incorrect; must be #ifdef instead; WITH_THREAD
isn't always set to an integer value when it's defined.
Michael W. Hudson [Wed, 7 Jul 2004 17:44:12 +0000 (17:44 +0000)]
This closes patch:
[ 960406 ] unblock signals in threads
although the changes do not correspond exactly to any patch attached to
that report.
Non-main threads no longer have all signals masked.
A different interface to readline is used.
The handling of signals inside calls to PyOS_Readline is now rather
different.
These changes are all a bit scary! Review and cross-platform testing
much appreciated.
Vinay Sajip [Wed, 7 Jul 2004 15:59:49 +0000 (15:59 +0000)]
Replaced some tabs with spaces in verbatim section.
Andrew M. Kuchling [Wed, 7 Jul 2004 14:19:09 +0000 (14:19 +0000)]
[Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna
Andrew M. Kuchling [Wed, 7 Jul 2004 14:09:21 +0000 (14:09 +0000)]
[Bug #925107] Make .readline() consider self.stop. This makes read() and readline() very similar, so they're refactored into _read. Patch by Johannes Gijsbers.
2.3 bugfix candidate.
Andrew MacIntyre [Wed, 7 Jul 2004 14:02:59 +0000 (14:02 +0000)]
OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c
Andrew MacIntyre [Wed, 7 Jul 2004 13:55:25 +0000 (13:55 +0000)]
bring OS/2 EMX port build environment up to date
Andrew M. Kuchling [Wed, 7 Jul 2004 13:07:47 +0000 (13:07 +0000)]
[Bug #984017] Incorrect prototype, fixed by Timothy Stranex
Andrew M. Kuchling [Wed, 7 Jul 2004 13:01:53 +0000 (13:01 +0000)]
Add logging changes
Andrew M. Kuchling [Wed, 7 Jul 2004 12:23:53 +0000 (12:23 +0000)]
For readable() objects, the previous value of 'flags' was ignored.
Rearrange code for writable() case to make the parallel logic clearer
Thomas Heller [Wed, 7 Jul 2004 07:34:40 +0000 (07:34 +0000)]
Remove the annoing and useless messagebox asking about overwriting files.
Fixes SF #984290.
Tim Peters [Wed, 7 Jul 2004 02:46:03 +0000 (02:46 +0000)]
Made the explanation more accurate; trimmed trailing whitespace; fixed
a typo.