Brett Cannon
5d9ca4ebfd
Add mention of urlparse becoming RFC 2396 compliant.
2003-10-12 04:38:48 +00:00
Brett Cannon
112c1d932a
(revision purely to add comment)
...
Make urlparse RFC 2396 compliant.
Closes bug #450225 (thanks Michael Stone).
2003-10-12 04:38:06 +00:00
Brett Cannon
3da46f0b10
(just for comment to fix previous commit comment)
...
Add Michael Stone for helping with bug #450225 (making urlparse RFC 2396
compliant).
2003-10-12 04:36:18 +00:00
Brett Cannon
eab353ddc7
See rev. 1.250 for log message
2003-10-12 04:29:10 +00:00
Brett Cannon
8da2a52dd6
See rev. 1.42 for log message
2003-10-12 04:29:10 +00:00
Brett Cannon
82860df417
see rev. 1.13 for log message
2003-10-12 04:29:10 +00:00
Raymond Hettinger
aac6ae9f26
SF patch #819955 : Erroneous \seemodule in tarfile docs
...
(Contributed by Johannes Gijsbers.)
2003-10-12 02:02:16 +00:00
Raymond Hettinger
56bb16f1b3
Use the simpler and faster PyArg_UnpackTuple() instead of
...
PyArg_ParseTuple() where possible.
2003-10-11 19:32:18 +00:00
Raymond Hettinger
f34f2646a1
SF bug #820397 : __nonzero__() returns 1/0
...
Altered to return a PyBool instead of a PyInt.
Backport candidate.
2003-10-11 17:29:04 +00:00
Fred Drake
40b9df2fea
add some information about using graphics with the Python document
...
classes
2003-10-11 05:25:24 +00:00
Guido van Rossum
80bd5ca722
Ouch. Remove debug code containing obscenities. :-)
2003-10-10 23:05:41 +00:00
Guido van Rossum
b427c00376
The fullmodname() function chopped off the first character if the
...
module existed in the current directory. Fix this. Backport
candidate (I presume).
2003-10-10 23:02:01 +00:00
Thomas Heller
13dbabe46e
To build on windows, the manual editing of the python_nt.rc file to
...
change the version number is no longer required.
Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.
Will backport to 2.3
2003-10-10 16:57:45 +00:00
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