Brett Cannon
f6067ec336
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.
2004-07-10 00:57:37 +00:00
Brett Cannon
12f8c4d2e3
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).
2004-07-09 23:38:18 +00:00
Neal Norwitz
37b0c1dbf4
Fix memory leak and bump the version per Greg
2004-07-09 23:33:06 +00:00
Neal Norwitz
b4a55813fe
Cleanup support for older pythons (perhaps it should be removed?)
2004-07-09 23:30:57 +00:00
Anthony Baxter
5da4c83a6b
reminder for amk
2004-07-09 16:16:46 +00:00
Raymond Hettinger
5833587d14
Add some tests for corner cases.
2004-07-09 14:26:18 +00:00
Raymond Hettinger
d87ac8f24d
* 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.
2004-07-09 10:52:54 +00:00
Raymond Hettinger
5aa478badf
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.
2004-07-09 10:02:53 +00:00
Anthony Baxter
563e449729
post-release fun
2004-07-09 07:30:10 +00:00
Anthony Baxter
7732ccb07c
post-release fun
2004-07-09 07:19:21 +00:00
Raymond Hettinger
97c9208c6c
Incorporate Facundo's suggestions.
2004-07-09 06:13:12 +00:00
Raymond Hettinger
9499658b61
Add a link to the decimal module docs.
2004-07-09 06:00:32 +00:00
Raymond Hettinger
eae05de91b
* fix the print test
...
* add more __init__ tests
2004-07-09 04:51:24 +00:00
Raymond Hettinger
a435c53e13
* balance the left/right search for getitem.
...
* use assertions instead of tests after internal calls that can't fail.
* expand test coverage
2004-07-09 04:10:20 +00:00
Skip Montanaro
2b2795ac6d
show how easy it is to manipulate individual columns - from a request on
...
c.l.py
2004-07-08 19:49:10 +00:00
Marc-André Lemburg
1dffb120b7
.encode()/.decode() patch part 2.
2004-07-08 19:13:55 +00:00
Marc-André Lemburg
d2d4598ec2
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.
2004-07-08 17:57:32 +00:00
Walter Dörwald
302fa6dc0d
Add another bunch of test cases for calendars with Sunday as the
...
first day of the week.
2004-07-08 17:14:17 +00:00
Michael W. Hudson
2384990603
PyThreadState_Swap(NULL) didn't do what I thought it did. Fixes
...
[ 987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt
2004-07-08 15:28:26 +00:00
cvs2svn
b43dbcb4e8
This commit was manufactured by cvs2svn to create tag 'r24a1'.
2004-07-08 10:24:04 +00:00
Vinay Sajip
3970c11157
Add exception handling for BaseRotatingFileHandler (SF #979252 )
2004-07-08 10:24:04 +00:00
Vinay Sajip
4bbab2bde4
FileHandler now stores the basename as an absolute path (fix for SF #982049 )
2004-07-08 10:22:35 +00:00
Raymond Hettinger
081483cd42
Fix markup and nits.
2004-07-08 09:33:00 +00:00
Raymond Hettinger
536f76b25a
Fix markup, typos, and nits.
2004-07-08 09:22:33 +00:00
Anthony Baxter
dfef882095
dont think it's still being used, but just in case
2004-07-08 07:18:34 +00:00
Martin v. Löwis
74a72b9c4c
Bump build number to 54 for 2.4.0a1
2004-07-08 07:11:33 +00:00
Anthony Baxter
275ce74f23
2.4a1
2004-07-08 06:01:42 +00:00
Anthony Baxter
3210b36a28
release dates
2004-07-08 05:59:43 +00:00
Anthony Baxter
bd377a3ece
license updates for 2.4 (cleared with tim, on behalf of the psf)
2004-07-08 05:57:59 +00:00
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