Tim Peters
27f883687b
Whitespace normalization.
2004-07-08 04:22:35 +00:00
Fred Drake
0e43db5baa
bump the version number for 2.4a1
2004-07-08 03:59:33 +00:00
Fred Drake
63a0191c8a
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 .
2004-07-08 03:56:12 +00:00
Neal Norwitz
1c0423a2da
Exercise xrange a bit
2004-07-08 01:59:55 +00:00
Neal Norwitz
d7be118626
Exercise some error conditions
2004-07-08 01:56:46 +00:00
Neal Norwitz
739a8f86d6
Fix a couple of signed/unsigned comparison warnings
2004-07-08 01:55:58 +00:00
Neal Norwitz
4ded4b52c4
Pass the flags along, rather than ignoring them. Backport candidate
2004-07-08 01:54:07 +00:00
Neal Norwitz
93468eac72
Remove unused macros in .c files
2004-07-08 01:49:00 +00:00
Neal Norwitz
bdcb9410c2
SF bug #978308 , Spurious errors taking bool of dead pro
...
Need to return -1 on error.
Needs backport.
2004-07-08 01:22:31 +00:00
Raymond Hettinger
bd7f76dd04
Tim gets his default traps.
2004-07-08 00:49:18 +00:00
Tim Peters
4e0e1b6a54
Whitespace normalization.
2004-07-07 20:54:48 +00:00
Tim Peters
b7e898a0e2
"#if WITH_THREAD" is incorrect; must be #ifdef instead; WITH_THREAD
...
isn't always set to an integer value when it's defined.
2004-07-07 20:42:07 +00:00
Michael W. Hudson
30ea2f223f
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.
2004-07-07 17:44:12 +00:00
Vinay Sajip
e3c330b42a
Replaced some tabs with spaces in verbatim section.
2004-07-07 15:59:49 +00:00
Andrew M. Kuchling
ea271f2d5e
[Bug #982806 ] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna
2004-07-07 14:19:09 +00:00
Andrew M. Kuchling
1263bd8b6c
[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.
2004-07-07 14:09:21 +00:00
Andrew MacIntyre
5a8b4593d3
OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c
2004-07-07 14:02:59 +00:00
Andrew MacIntyre
378d3c0e51
bring OS/2 EMX port build environment up to date
2004-07-07 13:55:25 +00:00
Andrew M. Kuchling
ee5e4cd899
[Bug #984017 ] Incorrect prototype, fixed by Timothy Stranex
2004-07-07 13:07:47 +00:00
Andrew M. Kuchling
bcefe698b0
Add logging changes
2004-07-07 13:01:53 +00:00
Andrew M. Kuchling
6fe93cdeb3
For readable() objects, the previous value of 'flags' was ignored.
...
Rearrange code for writable() case to make the parallel logic clearer
2004-07-07 12:23:53 +00:00
Thomas Heller
ad6ce46f49
Remove the annoing and useless messagebox asking about overwriting files.
...
Fixes SF #984290 .
2004-07-07 07:34:40 +00:00
Tim Peters
b8b20e22bc
Made the explanation more accurate; trimmed trailing whitespace; fixed
...
a typo.
2004-07-07 02:46:03 +00:00
Tim Peters
74979664d0
Typo repair.
2004-07-07 02:32:36 +00:00
Skip Montanaro
d916142343
whitespace normalization
2004-07-06 21:53:27 +00:00
Thomas Heller
a146feaa10
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.
2004-07-06 19:23:27 +00:00
Guido van Rossum
5124b4a082
Add msg for bug #981530 (shutil.rmtree). Somehow that got missed in
...
the checkin.
2004-07-06 17:52:32 +00:00
Barry Warsaw
7ff7d2cb0b
testGetServBy(): Use services that should be available both on *nix and
...
Windows (XP at least ;). Test in this order: echo, daytime, domain.
2004-07-06 16:48:25 +00:00
Raymond Hettinger
513ffe8112
* Fix missing return after error message is set.
...
* Add a test case that would have caught it.
2004-07-06 13:44:41 +00:00
Raymond Hettinger
2f55eb4cca
Demonstrate how to round final result.
2004-07-06 01:55:14 +00:00
Raymond Hettinger
0aeac107ca
* Add __eq__ and __ne__ so that things like list.index() work properly
...
for lists of mixed types.
* Test that sort works.
2004-07-05 22:53:03 +00:00
Raymond Hettinger
10959b1c2a
Expand examples to show polymorphism
2004-07-05 21:13:28 +00:00
Raymond Hettinger
77e13b4ead
Simplify examples.
2004-07-05 20:27:53 +00:00
Raymond Hettinger
c4f93d4410
Doc tested the recipes.
2004-07-05 20:17:13 +00:00
Raymond Hettinger
9c719bafbf
Fix typo
2004-07-05 18:56:03 +00:00
Raymond Hettinger
5548be2653
Test the logic for int(d).
2004-07-05 18:49:38 +00:00
Raymond Hettinger
ca3cc2fe21
* Update the todo list.
...
* Make ConversionSyntax signals get trapped by default.
2004-07-05 18:48:22 +00:00
Raymond Hettinger
d84efb3d93
* Added missing info on construction from a tuple.
...
* Added a recipe section.
2004-07-05 18:41:42 +00:00
Raymond Hettinger
8de63a206e
Add decimal docs to the core.
2004-07-05 05:52:03 +00:00
Raymond Hettinger
e0f1581bab
* Fixup docstrings
...
* Make capitals default part of DefaultContext
2004-07-05 05:36:39 +00:00
Andrew M. Kuchling
71432f1db6
Various edits
2004-07-05 01:40:07 +00:00
Andrew M. Kuchling
3bf85f1ae8
Various edits
2004-07-05 01:37:07 +00:00
Andrew M. Kuchling
3b7909160e
Bump version #; write introductory para
2004-07-04 16:39:40 +00:00
Andrew M. Kuchling
81e3fb4b3a
Typo fixes
2004-07-04 15:41:59 +00:00
Andrew M. Kuchling
d0b6d9d892
More additions
2004-07-04 15:35:00 +00:00
Raymond Hettinger
0ea241e9e2
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.
2004-07-04 13:53:24 +00:00
Nicholas Bastin
068979cdd6
Textual change to make the doc reflect reality
2004-07-04 04:47:40 +00:00
Raymond Hettinger
b1b605ef54
Fix clear_flags(). Make a readable (not evalable) Context repr.
2004-07-04 01:55:39 +00:00
Andrew M. Kuchling
d4be86cb09
Write another section
2004-07-04 01:44:04 +00:00
Andrew M. Kuchling
c8f8a814e2
Rewrite two sections
2004-07-04 01:26:42 +00:00