]>
granicus.if.org Git - python/log
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.
Tim Peters [Wed, 7 Jul 2004 02:32:36 +0000 (02:32 +0000)]
Typo repair.
Skip Montanaro [Tue, 6 Jul 2004 21:53:27 +0000 (21:53 +0000)]
whitespace normalization
Thomas Heller [Tue, 6 Jul 2004 19:23:27 +0000 (19:23 +0000)]
Fix SF#983164.
Patch from Mark Hammond:
bdist_wininst attempts to use the correct MSVC runtime for the current
version of Python. This doesn't work correctly when --target-version
is set. In that case, bdist_wininst still uses the *current*
sys.version (ie, 2.4) rather than the version specified as
--target-version. Thus, the msvc7 runtime based executable stub is
*always* used.
This patch "hard-codes" knowledge of earlier Python versions,
providing the correct result when Python 2.4 is used to build Python
2.3 and earlier distributions.
Remove the short variant (-v) of the --target-version command line
options, it conflicts with the --verbose/-v standard distutils switch.
Guido van Rossum [Tue, 6 Jul 2004 17:52:32 +0000 (17:52 +0000)]
Add msg for bug #981530 (shutil.rmtree). Somehow that got missed in
the checkin.
Barry Warsaw [Tue, 6 Jul 2004 16:48:25 +0000 (16:48 +0000)]
testGetServBy(): Use services that should be available both on *nix and
Windows (XP at least ;). Test in this order: echo, daytime, domain.
Raymond Hettinger [Tue, 6 Jul 2004 13:44:41 +0000 (13:44 +0000)]
* Fix missing return after error message is set.
* Add a test case that would have caught it.
Raymond Hettinger [Tue, 6 Jul 2004 01:55:14 +0000 (01:55 +0000)]
Demonstrate how to round final result.
Raymond Hettinger [Mon, 5 Jul 2004 22:53:03 +0000 (22:53 +0000)]
* Add __eq__ and __ne__ so that things like list.index() work properly
for lists of mixed types.
* Test that sort works.
Raymond Hettinger [Mon, 5 Jul 2004 21:13:28 +0000 (21:13 +0000)]
Expand examples to show polymorphism
Raymond Hettinger [Mon, 5 Jul 2004 20:27:53 +0000 (20:27 +0000)]
Simplify examples.
Raymond Hettinger [Mon, 5 Jul 2004 20:17:13 +0000 (20:17 +0000)]
Doc tested the recipes.
Raymond Hettinger [Mon, 5 Jul 2004 18:56:03 +0000 (18:56 +0000)]
Fix typo
Raymond Hettinger [Mon, 5 Jul 2004 18:49:38 +0000 (18:49 +0000)]
Test the logic for int(d).
Raymond Hettinger [Mon, 5 Jul 2004 18:48:22 +0000 (18:48 +0000)]
* Update the todo list.
* Make ConversionSyntax signals get trapped by default.
Raymond Hettinger [Mon, 5 Jul 2004 18:41:42 +0000 (18:41 +0000)]
* Added missing info on construction from a tuple.
* Added a recipe section.
Raymond Hettinger [Mon, 5 Jul 2004 05:52:03 +0000 (05:52 +0000)]
Add decimal docs to the core.
Raymond Hettinger [Mon, 5 Jul 2004 05:36:39 +0000 (05:36 +0000)]
* Fixup docstrings
* Make capitals default part of DefaultContext
Andrew M. Kuchling [Mon, 5 Jul 2004 01:40:07 +0000 (01:40 +0000)]
Various edits
Andrew M. Kuchling [Mon, 5 Jul 2004 01:37:07 +0000 (01:37 +0000)]
Various edits
Andrew M. Kuchling [Sun, 4 Jul 2004 16:39:40 +0000 (16:39 +0000)]
Bump version #; write introductory para
Andrew M. Kuchling [Sun, 4 Jul 2004 15:41:59 +0000 (15:41 +0000)]
Typo fixes
Andrew M. Kuchling [Sun, 4 Jul 2004 15:35:00 +0000 (15:35 +0000)]
More additions
Raymond Hettinger [Sun, 4 Jul 2004 13:53:24 +0000 (13:53 +0000)]
Changed the rounding constant values to match their variable names.
This serves to made the context representation more useful (the names in
match the names out).
Removed the link to ReXX. That document did not shed add anything to
information already in the spec.
Further tighten the public API to improve usability:
* Emax and Emin are set through Context(). Their defaults are set in the
DefaultContext, so there is no need to expose DEFAULT_MAX_EXPONENT
and DEFAULT_MIN_EXPONENT.
* The string functions isnan() and isinfinity() were only used internal to
the module and were not among the test cases. External use cases are
served by the Decimal constructor. So, made these private.
Nicholas Bastin [Sun, 4 Jul 2004 04:47:40 +0000 (04:47 +0000)]
Textual change to make the doc reflect reality
Raymond Hettinger [Sun, 4 Jul 2004 01:55:39 +0000 (01:55 +0000)]
Fix clear_flags(). Make a readable (not evalable) Context repr.
Andrew M. Kuchling [Sun, 4 Jul 2004 01:44:04 +0000 (01:44 +0000)]
Write another section
Andrew M. Kuchling [Sun, 4 Jul 2004 01:26:42 +0000 (01:26 +0000)]
Rewrite two sections