]>
granicus.if.org Git - python/log
Just van Rossum [Sun, 12 Oct 2003 19:27:24 +0000 (19:27 +0000)]
fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() fails
Raymond Hettinger [Sun, 12 Oct 2003 19:09:37 +0000 (19:09 +0000)]
Simplify and speedup uses of Py_BuildValue():
* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c)
* Py_BuildValue("()",a) --> PyTuple_New(0)
* Py_BuildValue("O", a) --> Py_INCREF(a)
Raymond Hettinger [Sun, 12 Oct 2003 18:24:34 +0000 (18:24 +0000)]
Extended tuple's C API to include a new function, PyTuple_Pack() that is
useful for rapidly building argument tuples without having to invoke the
more sophisticated machinery of Py_BuildValue().
Martin v. Löwis [Sun, 12 Oct 2003 17:37:01 +0000 (17:37 +0000)]
Patch #810914: Return absolute path for mkstemp. Fixes #810408.
This should not be backported to 2.3, as it might break backwards
compatibility.
Raymond Hettinger [Sun, 12 Oct 2003 17:14:11 +0000 (17:14 +0000)]
Minor fixup. "Random" was listed twice in __all__.
Brett Cannon [Sun, 12 Oct 2003 04:38:48 +0000 (04:38 +0000)]
Add mention of urlparse becoming RFC 2396 compliant.
Brett Cannon [Sun, 12 Oct 2003 04:38:06 +0000 (04:38 +0000)]
(revision purely to add comment)
Make urlparse RFC 2396 compliant.
Closes bug #450225 (thanks Michael Stone).
Brett Cannon [Sun, 12 Oct 2003 04:36:18 +0000 (04:36 +0000)]
(just for comment to fix previous commit comment)
Add Michael Stone for helping with bug #450225 (making urlparse RFC 2396
compliant).
Brett Cannon [Sun, 12 Oct 2003 04:29:10 +0000 (04:29 +0000)]
See rev. 1.250 for log message
Brett Cannon [Sun, 12 Oct 2003 04:29:10 +0000 (04:29 +0000)]
See rev. 1.42 for log message
Brett Cannon [Sun, 12 Oct 2003 04:29:10 +0000 (04:29 +0000)]
see rev. 1.13 for log message
Raymond Hettinger [Sun, 12 Oct 2003 02:02:16 +0000 (02:02 +0000)]
SF patch #819955: Erroneous \seemodule in tarfile docs
(Contributed by Johannes Gijsbers.)
Raymond Hettinger [Sat, 11 Oct 2003 19:32:18 +0000 (19:32 +0000)]
Use the simpler and faster PyArg_UnpackTuple() instead of
PyArg_ParseTuple() where possible.
Raymond Hettinger [Sat, 11 Oct 2003 17:29:04 +0000 (17:29 +0000)]
SF bug #820397: __nonzero__() returns 1/0
Altered to return a PyBool instead of a PyInt.
Backport candidate.
Fred Drake [Sat, 11 Oct 2003 05:25:24 +0000 (05:25 +0000)]
add some information about using graphics with the Python document
classes
Guido van Rossum [Fri, 10 Oct 2003 23:05:41 +0000 (23:05 +0000)]
Ouch. Remove debug code containing obscenities. :-)
Guido van Rossum [Fri, 10 Oct 2003 23:02:01 +0000 (23:02 +0000)]
The fullmodname() function chopped off the first character if the
module existed in the current directory. Fix this. Backport
candidate (I presume).
Thomas Heller [Fri, 10 Oct 2003 16:57:45 +0000 (16:57 +0000)]
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
Barry Warsaw [Thu, 9 Oct 2003 23:48:52 +0000 (23:48 +0000)]
TCPServer: Fixed typo in class docstring.
Barry Warsaw [Thu, 9 Oct 2003 22:44:05 +0000 (22:44 +0000)]
TCPServer: Fixed typo in class docstring.
Backport candidate.
Guido van Rossum [Thu, 9 Oct 2003 03:47:08 +0000 (03:47 +0000)]
Return a bool rather than an int from proxy_has_key().
Guido van Rossum [Thu, 9 Oct 2003 03:46:35 +0000 (03:46 +0000)]
Fix leak introduced by previous typeobject.c checkin.
Guido van Rossum [Wed, 8 Oct 2003 21:08:29 +0000 (21:08 +0000)]
SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):
make obj.__contains__() returns True/False instead of 1/0.
Thomas Heller [Wed, 8 Oct 2003 12:01:33 +0000 (12:01 +0000)]
Fix a typo, discovered by Joonas Paalasmaa.
Backported to 2.3
Martin v. Löwis [Mon, 6 Oct 2003 21:34:33 +0000 (21:34 +0000)]
Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.
Jeremy Hylton [Mon, 6 Oct 2003 05:15:13 +0000 (05:15 +0000)]
SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__
Not sure if this fix is great, but it's probably a small improvement.
Jeremy Hylton [Mon, 6 Oct 2003 05:08:26 +0000 (05:08 +0000)]
Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.
Raymond Hettinger [Sun, 5 Oct 2003 16:47:36 +0000 (16:47 +0000)]
Adopt Christian Stork's suggested argument order for the logic quantifiers.
Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
Raymond Hettinger [Sun, 5 Oct 2003 09:09:15 +0000 (09:09 +0000)]
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.
Anthony Baxter [Sat, 4 Oct 2003 08:04:04 +0000 (08:04 +0000)]
two bugfixes
Anthony Baxter [Sat, 4 Oct 2003 08:00:49 +0000 (08:00 +0000)]
made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the
SGI compiler and GCC seem to need this.
Anthony Baxter [Sat, 4 Oct 2003 07:46:23 +0000 (07:46 +0000)]
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.
Barry Warsaw [Sat, 4 Oct 2003 02:28:31 +0000 (02:28 +0000)]
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.
Jeremy Hylton [Fri, 3 Oct 2003 20:56:15 +0000 (20:56 +0000)]
A helper to dump info about the current frame,
assuming it is the variable f.
Martin v. Löwis [Fri, 3 Oct 2003 17:12:26 +0000 (17:12 +0000)]
Check for TclError when reading variables. Fixes #807314.
Backported to 2.3.
Fred Drake [Fri, 3 Oct 2003 15:21:38 +0000 (15:21 +0000)]
- 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
Skip Montanaro [Fri, 3 Oct 2003 14:07:07 +0000 (14:07 +0000)]
forgot the NEWS blurb about the change to csv.DictReader
Skip Montanaro [Fri, 3 Oct 2003 14:05:26 +0000 (14:05 +0000)]
tweak the docstring to not be so focused on 1.6.
Skip Montanaro [Fri, 3 Oct 2003 14:03:01 +0000 (14:03 +0000)]
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.
Martin v. Löwis [Fri, 3 Oct 2003 13:57:37 +0000 (13:57 +0000)]
Patch #813445: Add IPPROTO_IPV6 option to the socketmodule.
Martin v. Löwis [Fri, 3 Oct 2003 13:56:20 +0000 (13:56 +0000)]
Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.
Martin v. Löwis [Fri, 3 Oct 2003 13:47:44 +0000 (13:47 +0000)]
Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.
Fred Drake [Thu, 2 Oct 2003 16:30:17 +0000 (16:30 +0000)]
normalize whitespace
Fred Drake [Wed, 1 Oct 2003 18:49:55 +0000 (18:49 +0000)]
Make sure the trunk Makefile doesn't require mkhowto to be "installed"
as described in "Documenting Python".
Thomas Heller [Wed, 1 Oct 2003 17:36:45 +0000 (17:36 +0000)]
Release 2.3.2 (final) has a windows build number of 49.
Anthony Baxter [Wed, 1 Oct 2003 07:24:54 +0000 (07:24 +0000)]
updated HPUX notes.
Gregory P. Smith [Wed, 1 Oct 2003 06:48:51 +0000 (06:48 +0000)]
bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length
of the current value without reading the value itself.
Fred Drake [Wed, 1 Oct 2003 04:15:09 +0000 (04:15 +0000)]
Various minor updates in the description of mkhowto.
Fred Drake [Wed, 1 Oct 2003 04:07:44 +0000 (04:07 +0000)]
no longer assign into sys; "print chevron" is the way to go
Fred Drake [Wed, 1 Oct 2003 04:03:54 +0000 (04:03 +0000)]
We're long past worrying about Python versions older than 1.5.2;
remove old compatibility definition of os.path.abspath().
Fred Drake [Tue, 30 Sep 2003 20:00:43 +0000 (20:00 +0000)]
Work around minor markup issue: we don't want markup to escape into
the module index.
Fred Drake [Tue, 30 Sep 2003 15:43:20 +0000 (15:43 +0000)]
Fix stupid style bug in a second place.
Fred Drake [Tue, 30 Sep 2003 15:40:33 +0000 (15:40 +0000)]
Fix stupid style bug.
Anthony Baxter [Tue, 30 Sep 2003 14:58:59 +0000 (14:58 +0000)]
workaround for OpenBSD compiler bug w.r.t. handling of overflows.
Steve Purcell [Tue, 30 Sep 2003 09:25:32 +0000 (09:25 +0000)]
Removed redundant 'return' statement. (Issue 813159)
Anthony Baxter [Tue, 30 Sep 2003 07:07:08 +0000 (07:07 +0000)]
added 2.3.2
Fred Drake [Mon, 29 Sep 2003 17:26:08 +0000 (17:26 +0000)]
Update to match the version used to build the 2.3.2c1 documentation.
Fred Drake [Sun, 28 Sep 2003 22:14:29 +0000 (22:14 +0000)]
- 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
Fred Drake [Sun, 28 Sep 2003 19:03:36 +0000 (19:03 +0000)]
Make the embedded hyperlinks work.
Fred Drake [Sun, 28 Sep 2003 16:25:43 +0000 (16:25 +0000)]
- update pkglist.html more frequently, and explain why that's helpful
- add a comment explaining what pkglist.html is for
Fred Drake [Sun, 28 Sep 2003 03:11:09 +0000 (03:11 +0000)]
Update the list of directories passed to py2texi.el. The ordering was
wrong, and commontex/ needed to be added.
Fred Drake [Sun, 28 Sep 2003 03:10:09 +0000 (03:10 +0000)]
Make the "path math" more robust, and support both relative and
absolute paths as input.
Gregory P. Smith [Sat, 27 Sep 2003 23:00:19 +0000 (23:00 +0000)]
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)
Fred Drake [Sat, 27 Sep 2003 22:07:05 +0000 (22:07 +0000)]
Load the version information from ../Include/patchlevel.h, so there are
fewer changes to make to version numbers after a release.
Raymond Hettinger [Sat, 27 Sep 2003 20:19:02 +0000 (20:19 +0000)]
* 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.
Thomas Heller [Sat, 27 Sep 2003 20:03:59 +0000 (20:03 +0000)]
The windows build number for 2.3.2c1 is 48
Thomas Heller [Sat, 27 Sep 2003 19:35:37 +0000 (19:35 +0000)]
re.sub expands escape sequences in it's second argument.
Will backport to 2.3 myself.
Thomas Heller [Sat, 27 Sep 2003 19:32:04 +0000 (19:32 +0000)]
Typo: documnetation -> documentation
Will backport to 2.3
Fred Drake [Sat, 27 Sep 2003 18:59:43 +0000 (18:59 +0000)]
Lots of markup corrections. Some are minor, but others are not: the
contents of an \item should not be enclosed in a group!
Fred Drake [Sat, 27 Sep 2003 16:04:23 +0000 (16:04 +0000)]
Make sure LaTeX2HTML's $TEXINPUTS variable is initialized to include
directories identified in the TEXINPUTS environment variable.
I think this is the last part of the fix for the version number
problems seen in the documentation for the 2.3.1 release.
Anthony Baxter [Sat, 27 Sep 2003 09:12:27 +0000 (09:12 +0000)]
fix for bug #811160 - autoconf vs. hp/ux system header files.
also applied to release23-maint.
Note that aclocal.m4 can go away when autoconf 2.58 is out.
Fred Drake [Sat, 27 Sep 2003 07:48:25 +0000 (07:48 +0000)]
update one more reference to a file that moved from texinputs/ to
commontex/
Fred Drake [Sat, 27 Sep 2003 07:37:09 +0000 (07:37 +0000)]
Adjust the organization a bit and update some of the comments to
better explain what's happening.
Fred Drake [Sat, 27 Sep 2003 07:18:52 +0000 (07:18 +0000)]
add commontex/ to the list of directories described here
Fred Drake [Sat, 27 Sep 2003 07:16:32 +0000 (07:16 +0000)]
point to the new location of the license information
Fred Drake [Sat, 27 Sep 2003 07:11:17 +0000 (07:11 +0000)]
Move content input files shared among the documents into a new directory
(commontex/), leaving only style support files in texinputs/. This makes
texinputs/ part of the formatting tools while commontex/ is strictly part
of the actual documentation.
Fred Drake [Sat, 27 Sep 2003 07:05:12 +0000 (07:05 +0000)]
- use string methods
- make TEXINPUTS work the way it's supposed to in TeX-ish tools
Fred Drake [Sat, 27 Sep 2003 05:52:16 +0000 (05:52 +0000)]
Fix the most recent change to the invocation of the mkhowto script so
that it works for all targets.
The issue here is that there are two different levels in the directory
tree at which we execute mkhowto, so we can't define it just once
using a relative path (at least not with the current implementation
and Makefile structure). We use the GNUish $(shell) function here to
work around that restriction by identifying mkhowto using an absolute
path.
Raymond Hettinger [Sat, 27 Sep 2003 05:42:14 +0000 (05:42 +0000)]
Fix spelling and add markup.
Andrew M. Kuchling [Fri, 26 Sep 2003 13:45:18 +0000 (13:45 +0000)]
[Bug #812936] Correct the documentation for RotatingFileHandler.
[2.3 bugfix candidate]
Fred Drake [Thu, 25 Sep 2003 15:25:37 +0000 (15:25 +0000)]
define a variable to specify the mkhowto program itself, as for any
other application
Skip Montanaro [Thu, 25 Sep 2003 14:50:29 +0000 (14:50 +0000)]
Typo. HAVE_SYNC -> HAVE_FSYNC
Skip Montanaro [Thu, 25 Sep 2003 14:50:04 +0000 (14:50 +0000)]
Type. HAVE_SYNC -> HAVE_FSYNC
Skip Montanaro [Thu, 25 Sep 2003 14:49:15 +0000 (14:49 +0000)]
Typo: HAVE_SYNC -> HAVE_FSYNC
Thomas Heller [Thu, 25 Sep 2003 06:26:46 +0000 (06:26 +0000)]
Typo: sys.prefex -> sys.prefix
Closes SF# 812152
Baskport candidate for release23-main
Skip Montanaro [Wed, 24 Sep 2003 16:53:02 +0000 (16:53 +0000)]
Add a glossary to the tutorial. Also generate an index. At the moment this
mostly only references glossary entries.
Skip Montanaro [Wed, 24 Sep 2003 16:51:23 +0000 (16:51 +0000)]
first cut at a glossary
Fred Drake [Wed, 24 Sep 2003 04:11:47 +0000 (04:11 +0000)]
- update to reflect that base classes can be class types as well as
"classic" class objects
[partially fixes SF bug #453684]
- add note that new-style classes can use descriptors to implement
instance variables in different ways
Raymond Hettinger [Wed, 24 Sep 2003 03:58:56 +0000 (03:58 +0000)]
Fix whitespace in example
Raymond Hettinger [Wed, 24 Sep 2003 03:57:36 +0000 (03:57 +0000)]
Fix typo in the comments.
Raymond Hettinger [Wed, 24 Sep 2003 03:56:07 +0000 (03:56 +0000)]
Add more identity tests.
Anthony Baxter [Wed, 24 Sep 2003 01:36:13 +0000 (01:36 +0000)]
updates from sean
Thomas Heller [Tue, 23 Sep 2003 20:54:48 +0000 (20:54 +0000)]
Build number for Python 2.3.1.
Forward ported from release23-maint.
Thomas Heller [Tue, 23 Sep 2003 20:53:10 +0000 (20:53 +0000)]
Let IDLE use the HTMLHelp docs on Windows, if found.
Already 'backported' to release23-maint.
Thomas Heller [Tue, 23 Sep 2003 20:50:47 +0000 (20:50 +0000)]
Change the default window size to 1024x768. This shows at least the
whole main page.
Support 2.3 and 2.4 docs in HTMLHelp format.
Already 'backported' to release-23maint.
Raymond Hettinger [Tue, 23 Sep 2003 20:21:01 +0000 (20:21 +0000)]
Added codec for bz2 compression.
Anthony Baxter [Tue, 23 Sep 2003 15:01:49 +0000 (15:01 +0000)]
note about HP compiler. CC="cc -Ae" is least broken, but still broken
Steve Purcell [Tue, 23 Sep 2003 08:41:53 +0000 (08:41 +0000)]
Topical change: use 'startswith()' to identify test methods with a
given prefix rather than comparing a slice.
Fred Drake [Tue, 23 Sep 2003 05:21:49 +0000 (05:21 +0000)]
add entry for 2.3.1
Anthony Baxter [Tue, 23 Sep 2003 02:42:29 +0000 (02:42 +0000)]
include 2.3.1