Brett Cannon
3ffff2a270
Add comments at end of every #endif and fix ones already there when for closing
...
off #ifndef's.
2004-07-10 19:30:39 +00:00
Brett Cannon
e67511809b
Add note about closing of bug #679953 and add Jimmy Burgett for helping out to
...
Misc/ACKS.
2004-07-10 19:13:42 +00:00
Brett Cannon
ff450f7512
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.
2004-07-10 19:09:20 +00:00
Andrew M. Kuchling
64ed298d7a
Add an item
2004-07-10 18:43:32 +00:00
Andrew M. Kuchling
3a2418a1d6
[Patch #969900 ] Various corrections and updates to cookielib docs
2004-07-10 18:41:28 +00:00
Andrew M. Kuchling
ae40c2f795
[Patch #969907 ] Add traceback to warning output
2004-07-10 18:32:12 +00:00
Andrew M. Kuchling
300ce19592
[Patch #972310 ] Apply correction to docs
2004-07-10 18:28:33 +00:00
Andrew M. Kuchling
0fff6c8651
In poll(), check connections for exceptional conditions
2004-07-10 17:36:11 +00:00
Marc-André Lemburg
88fcca6815
Added note about new codecs module APIs.
2004-07-10 16:16:06 +00:00
Raymond Hettinger
21f9fce968
Fix typo.
2004-07-10 16:11:03 +00:00
Andrew M. Kuchling
099bd524a4
[Bug 949832] Fix example; edit sentence
2004-07-10 16:01:10 +00:00
Andrew M. Kuchling
dfa74b97ec
Return value from .close(); move .set_file up
2004-07-10 15:51:19 +00:00
Andrew M. Kuchling
55430213c5
[Bug #835415 ] AIX can return modes that are >65536, which causes an OverflowError. Fix from Albert Chin
2004-07-10 15:40:29 +00:00
Andrew M. Kuchling
f9ea7c067a
[Patch #988504 ] Fix HTTP error handling via a patch from John J. Lee
2004-07-10 15:34:34 +00:00
Andrew M. Kuchling
42851ab490
[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
2004-07-10 14:19:21 +00:00
Andrew M. Kuchling
5fcefdb326
[Patch #987052 from Thomas Guettler]
...
Don't output empty tags
Escape page header
Remove <p> before <table> (tidy complains)
2004-07-10 14:14:51 +00:00
Raymond Hettinger
bf4406971c
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.
2004-07-10 14:14:37 +00:00
Andrew M. Kuchling
d9dfe0213f
Remove a few elderly sentences
2004-07-10 13:48:54 +00:00
Andrew M. Kuchling
ff8113f8d0
Replace example with simpler alternative using PyGILState_{Ensure,Require). Can someone please confirm this change is OK?
2004-07-10 13:42:52 +00:00
Andrew M. Kuchling
371d98ab15
[Bug #987835 ] Add documentation from PEP 311. (Untested TeX code.)
2004-07-10 13:31:18 +00:00
Marc-André Lemburg
3f41974525
Add generic codecs.encode() and .decode() APIs that don't impose
...
any restriction on the return type (like unicode.encode() et al. do).
2004-07-10 12:06:10 +00:00
Marc-André Lemburg
126b44cd41
Fix a copy&paste typo.
2004-07-10 12:04:20 +00:00
Raymond Hettinger
0d278b861e
SF bug #987486 : fix typo.
2004-07-10 11:15:56 +00:00
Raymond Hettinger
682be2249d
SF bug 988387: markup nits.
2004-07-10 11:11:15 +00:00
Brett Cannon
64a8470246
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.
2004-07-10 02:10:45 +00:00
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