Barry Warsaw
b97f0b7654
TCPServer: Fixed typo in class docstring.
2003-10-09 23:48:52 +00:00
Barry Warsaw
3aaad5079b
TCPServer: Fixed typo in class docstring.
...
Backport candidate.
2003-10-09 22:44:05 +00:00
Guido van Rossum
98c65bed91
Return a bool rather than an int from proxy_has_key().
2003-10-09 03:47:08 +00:00
Guido van Rossum
22c3dda1e6
Fix leak introduced by previous typeobject.c checkin.
2003-10-09 03:46:35 +00:00
Guido van Rossum
02c58f865c
SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):
...
make obj.__contains__() returns True/False instead of 1/0.
2003-10-08 21:08:29 +00:00
Thomas Heller
95a97d59c0
Fix a typo, discovered by Joonas Paalasmaa.
...
Backported to 2.3
2003-10-08 12:01:33 +00:00
Martin v. Löwis
f563c8bbac
Patch #817329 : Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.
2003-10-06 21:34:33 +00:00
Jeremy Hylton
0a4a50dd85
SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__
...
Not sure if this fix is great, but it's probably a small improvement.
2003-10-06 05:15:13 +00:00
Jeremy Hylton
504de6bd2c
Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.
2003-10-06 05:08:26 +00:00
Raymond Hettinger
dbe3d280e7
Adopt Christian Stork's suggested argument order for the logic quantifiers.
...
Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
2003-10-05 16:47:36 +00:00
Raymond Hettinger
2f726e9093
SF bug #812202 : randint is always even
...
* Added C coded getrandbits(k) method that runs in linear time.
* Call the new method from randrange() for ranges >= 2**53.
* Adds a warning for generators not defining getrandbits() whenever they
have a call to randrange() with too large of a population.
2003-10-05 09:09:15 +00:00
Anthony Baxter
5c68ef04b7
two bugfixes
2003-10-04 08:04:04 +00:00
Anthony Baxter
bab23cfc26
made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the
...
SGI compiler and GCC seem to need this.
2003-10-04 08:00:49 +00:00
Anthony Baxter
6169c6bc1d
FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't
...
define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on
FreeBSD shows that nothing is broken by this change.
2003-10-04 07:46:23 +00:00
Barry Warsaw
b8c787606c
GNUTranslations._parse(): Initialize local variable k so that if the
...
first line of a header section isn't an RFC-ish header, it's just
ignored instead of throwing an UnboundLocalError.
Backport candidate.
2003-10-04 02:28:31 +00:00
Jeremy Hylton
f64ec0f2a1
A helper to dump info about the current frame,
...
assuming it is the variable f.
2003-10-03 20:56:15 +00:00
Martin v. Löwis
d46e684edd
Check for TclError when reading variables. Fixes #807314 .
...
Backported to 2.3.
2003-10-03 17:12:26 +00:00
Fred Drake
664a27133c
- don't re-write a SourceForge authenticated CVS root into the
...
anonymous flavor unless the user asks for it on the command line
- decompose SourceForge authenticated CVS roots correctly
2003-10-03 15:21:38 +00:00
Skip Montanaro
def9934c91
forgot the NEWS blurb about the change to csv.DictReader
2003-10-03 14:07:07 +00:00
Skip Montanaro
0b87444b1b
tweak the docstring to not be so focused on 1.6.
2003-10-03 14:05:26 +00:00
Skip Montanaro
dffeed3ffa
Make the fieldnames argument optional in the DictReader. If self.fieldnames
...
is None, the next row read is used as the fieldnames. In the common case,
this means the programmer doesn't need to know the fieldnames ahead of time.
The first row of the file will be used. In the uncommon case, this means
the programmer can set the reader's fieldnames attribute to None at any time
and have the next row read as the next set of fieldnames, so a csv file can
contain several "sections", each with different fieldnames.
2003-10-03 14:03:01 +00:00
Martin v. Löwis
3bbd6543a0
Patch #813445 : Add IPPROTO_IPV6 option to the socketmodule.
2003-10-03 13:57:37 +00:00
Martin v. Löwis
a0f1734e44
Patch #813445 : Add missing socket.IPPROTO_IPV6. Backported to 2.3.
2003-10-03 13:56:20 +00:00
Martin v. Löwis
76bafc64ce
Patch #814764 : Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.
2003-10-03 13:47:44 +00:00
Fred Drake
6f75a364e8
normalize whitespace
2003-10-02 16:30:17 +00:00
Fred Drake
a6008d08fa
Make sure the trunk Makefile doesn't require mkhowto to be "installed"
...
as described in "Documenting Python".
2003-10-01 18:49:55 +00:00
Thomas Heller
d12819cc3c
Release 2.3.2 (final) has a windows build number of 49.
2003-10-01 17:36:45 +00:00
Anthony Baxter
7c49747776
updated HPUX notes.
2003-10-01 07:24:54 +00:00
Gregory P. Smith
be0db8b125
bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length
...
of the current value without reading the value itself.
2003-10-01 06:48:51 +00:00
Fred Drake
efb3a161c3
Various minor updates in the description of mkhowto.
2003-10-01 04:15:09 +00:00
Fred Drake
4e3a27789a
no longer assign into sys; "print chevron" is the way to go
2003-10-01 04:07:44 +00:00
Fred Drake
94b3463f7e
We're long past worrying about Python versions older than 1.5.2;
...
remove old compatibility definition of os.path.abspath().
2003-10-01 04:03:54 +00:00
Fred Drake
1dc3bb4722
Work around minor markup issue: we don't want markup to escape into
...
the module index.
2003-09-30 20:00:43 +00:00
Fred Drake
292f5970ab
Fix stupid style bug in a second place.
2003-09-30 15:43:20 +00:00
Fred Drake
c504c20e5a
Fix stupid style bug.
2003-09-30 15:40:33 +00:00
Anthony Baxter
83dd43fde1
workaround for OpenBSD compiler bug w.r.t. handling of overflows.
2003-09-30 14:58:59 +00:00
Steve Purcell
3a01b7d66e
Removed redundant 'return' statement. (Issue 813159)
2003-09-30 09:25:32 +00:00
Anthony Baxter
c2b00811e0
added 2.3.2
2003-09-30 07:07:08 +00:00
Fred Drake
1da0bba420
Update to match the version used to build the 2.3.2c1 documentation.
2003-09-29 17:26:08 +00:00
Fred Drake
69db2b967a
- change computation of VERSION to use tools/getversioninfo; this is
...
more reliable than using the $Revision$ expansion
- $RELEASE is no longer needed; we can just use $VERSION now
2003-09-28 22:14:29 +00:00
Fred Drake
984920bbad
Make the embedded hyperlinks work.
2003-09-28 19:03:36 +00:00
Fred Drake
b36615d584
- update pkglist.html more frequently, and explain why that's helpful
...
- add a comment explaining what pkglist.html is for
2003-09-28 16:25:43 +00:00
Fred Drake
f7a0d68708
Update the list of directories passed to py2texi.el. The ordering was
...
wrong, and commontex/ needed to be added.
2003-09-28 03:11:09 +00:00
Fred Drake
d4956aac96
Make the "path math" more robust, and support both relative and
...
absolute paths as input.
2003-09-28 03:10:09 +00:00
Gregory P. Smith
1eb41e22ab
Use a threadsafe private DBEnv for each bsddb compatibility interface
...
db that is opened. DB_THREAD and DB_INIT_LOCK allow for multithreaded
access. DB_PRIVATE prevents the DBEnv from using the filesystem
(making it only usable by this process; and in this implementation
using one DBEnv per bsddb database)
2003-09-27 23:00:19 +00:00
Fred Drake
c8083cf1cc
Load the version information from ../Include/patchlevel.h, so there are
...
fewer changes to make to version numbers after a release.
2003-09-27 22:07:05 +00:00
Raymond Hettinger
43b5e40795
* Fix markup.
...
* Fix entry order:
- >>> before ...
- __slots__ in the S section (like __future__ is in the F section)
Need to test the repaired(?) link to Guido's webpage.
Still needs to have the module reference links made relative to
the module directory instead of the tut directory. That will
require Fred's magic touch.
2003-09-27 20:19:02 +00:00
Thomas Heller
36bd2a1da4
The windows build number for 2.3.2c1 is 48
2003-09-27 20:03:59 +00:00
Thomas Heller
6122c12031
re.sub expands escape sequences in it's second argument.
...
Will backport to 2.3 myself.
2003-09-27 19:35:37 +00:00
Thomas Heller
b7c95290de
Typo: documnetation -> documentation
...
Will backport to 2.3
2003-09-27 19:32:04 +00:00