]>
granicus.if.org Git - python/log
Raymond Hettinger [Thu, 12 Feb 2004 09:50:42 +0000 (09:50 +0000)]
SF 895560: minor typo
Skip Montanaro [Tue, 10 Feb 2004 20:27:40 +0000 (20:27 +0000)]
need to initialize ob_type slot at run-time, at least on cygwin
Fred Drake [Tue, 10 Feb 2004 18:30:22 +0000 (18:30 +0000)]
add support for \e to the {alltt} environment
Neal Norwitz [Tue, 10 Feb 2004 18:07:16 +0000 (18:07 +0000)]
SF #894428, fix typo
Skip Montanaro [Tue, 10 Feb 2004 16:50:21 +0000 (16:50 +0000)]
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
Skip Montanaro [Tue, 10 Feb 2004 15:51:15 +0000 (15:51 +0000)]
Fix indentation error in testGetServByName and rewrite loop to avoid clumsy
sentinel variable
Raymond Hettinger [Tue, 10 Feb 2004 09:33:39 +0000 (09:33 +0000)]
Make reversed() transparent with respect to length.
Raymond Hettinger [Tue, 10 Feb 2004 09:25:40 +0000 (09:25 +0000)]
Give itertools.repeat() a length method.
Fred Drake [Mon, 9 Feb 2004 21:00:29 +0000 (21:00 +0000)]
the \file macro is no longer a good example of where \e can't be used
Fred Drake [Mon, 9 Feb 2004 20:58:08 +0000 (20:58 +0000)]
support \e in \file and \filenq; this is useful for Windows paths
Andrew M. Kuchling [Mon, 9 Feb 2004 13:23:34 +0000 (13:23 +0000)]
Minor edits
Thomas Heller [Mon, 9 Feb 2004 10:47:11 +0000 (10:47 +0000)]
Documentation for PyDescr_NewClassMethod was missing - here's at least
the function prototype.
Already backported to release23-maint.
Raymond Hettinger [Sun, 8 Feb 2004 20:25:01 +0000 (20:25 +0000)]
SF patch #892821: example for urllib2 has SyntaxError
(Contributed by George Yoshida.)
Raymond Hettinger [Sun, 8 Feb 2004 20:18:26 +0000 (20:18 +0000)]
Fix misspelled name.
Raymond Hettinger [Sun, 8 Feb 2004 20:05:40 +0000 (20:05 +0000)]
Fix typo
Raymond Hettinger [Sun, 8 Feb 2004 19:59:27 +0000 (19:59 +0000)]
SF patch #884022: dynamic execution profiling vs opcode prediction
(Contributed by Andrew I MacIntyre.)
disables opcode prediction when dynamic execution
profiling is in effect, so the profiling counters at
the top of the main interpreter loop in eval_frame()
are updated for each opcode.
Raymond Hettinger [Sun, 8 Feb 2004 19:24:18 +0000 (19:24 +0000)]
SF patch #880552: Fix typo in usage message(prechm.py)
(Contributed by George Yoshida.)
* Also convert tabs to spaces.
Raymond Hettinger [Sun, 8 Feb 2004 18:54:37 +0000 (18:54 +0000)]
SF patch #875689: >100k alloc wasted on startup
(Contributed by Mike Pall.)
Make sure fill_free_list() is called only once rather than 106 times
when pre-allocating small ints.
Raymond Hettinger [Sun, 8 Feb 2004 18:09:32 +0000 (18:09 +0000)]
SF bug #892854: typo in textwrap doc page
(Reported by Drew Perttula.)
Raymond Hettinger [Sun, 8 Feb 2004 11:32:50 +0000 (11:32 +0000)]
SF bug #892492: Multiple close() for asyncore.dispatcher.
(Contributed by Alexey Klimkin.)
Don't keep the file descriptor after the channel is deleted.
Raymond Hettinger [Sun, 8 Feb 2004 11:08:52 +0000 (11:08 +0000)]
Revert improvement to list.append() checked in before it was ready.
Raymond Hettinger [Sun, 8 Feb 2004 10:49:42 +0000 (10:49 +0000)]
Let reversed() work with itself.
Jim Fulton [Sun, 8 Feb 2004 04:21:26 +0000 (04:21 +0000)]
Fixed a bug in object.__reduce_ex__ (reduce_2) when using protocol
2. Failure to clear the error when attempts to get the __getstate__
attribute fail caused intermittent errors and odd behavior.
Raymond Hettinger [Sun, 8 Feb 2004 04:05:26 +0000 (04:05 +0000)]
Make deque.rotate() smarter. Beef-up related tests.
Barry Warsaw [Sat, 7 Feb 2004 22:43:03 +0000 (22:43 +0000)]
Patch #868499, adds -T option for code coverage. The implementation is a
fairly simpleminded adaptation of Zope3's test.py -T flag.
I also changed some booleans to use True/False where appropriate.
Raymond Hettinger [Sat, 7 Feb 2004 21:13:00 +0000 (21:13 +0000)]
* Incorporate Skip's suggestions for documentation (explain the word deque
comes from and show the differences from lists).
* Add a rotate() method.
Skip Montanaro [Sat, 7 Feb 2004 20:03:34 +0000 (20:03 +0000)]
no longer support linux1 platform
Skip Montanaro [Sat, 7 Feb 2004 20:01:11 +0000 (20:01 +0000)]
no longer support sunos4 platform
Skip Montanaro [Sat, 7 Feb 2004 13:53:46 +0000 (13:53 +0000)]
Remove support for --without-universal-newlines (see PEP 11).
Skip Montanaro [Sat, 7 Feb 2004 13:00:18 +0000 (13:00 +0000)]
Remove support for systems defining Py_PTHREAD_D[467] in
Python/thread_pthread.h.
Skip Montanaro [Sat, 7 Feb 2004 12:55:46 +0000 (12:55 +0000)]
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
time.strptime().
Skip Montanaro [Sat, 7 Feb 2004 12:50:19 +0000 (12:50 +0000)]
a couple other sunos4 support items removed
Raymond Hettinger [Sat, 7 Feb 2004 03:19:10 +0000 (03:19 +0000)]
Use collection.deque() instead of a list for a FIFO queue.
Raymond Hettinger [Sat, 7 Feb 2004 02:45:22 +0000 (02:45 +0000)]
* Fix ref counting in extend() and extendleft().
* Let deques support reversed().
Raymond Hettinger [Sat, 7 Feb 2004 02:16:24 +0000 (02:16 +0000)]
Lists work better when popping from the right.
Raymond Hettinger [Fri, 6 Feb 2004 19:04:56 +0000 (19:04 +0000)]
Have deques support high volume loads.
Raymond Hettinger [Fri, 6 Feb 2004 18:32:33 +0000 (18:32 +0000)]
SF patch #864059: optimize eval_frame
Simplified version of Neal Norwitz's patch which adds gotos for
opcodes that set "why". This skips a number of tests where the
outcome of the tests are known in advance.
Walter Dörwald [Fri, 6 Feb 2004 18:30:31 +0000 (18:30 +0000)]
Fix test failure message (from SF patch #885008)
Hye-Shik Chang [Fri, 6 Feb 2004 04:40:56 +0000 (04:40 +0000)]
Back rev 1.3 out per Raymond's request.
Fred Drake [Fri, 6 Feb 2004 04:15:22 +0000 (04:15 +0000)]
added notes about weakref changes
Hye-Shik Chang [Fri, 6 Feb 2004 02:52:15 +0000 (02:52 +0000)]
Simple is better than complex.
Walter Dörwald [Thu, 5 Feb 2004 17:36:00 +0000 (17:36 +0000)]
Fix reallocation bug in unicode.translate(): The code was comparing
characters instead of character pointers to determine space requirements.
Fred Drake [Wed, 4 Feb 2004 23:14:14 +0000 (23:14 +0000)]
Allocating a new weakref object can cause existing weakref objects for
the same object to be collected by the cyclic GC support if they are
only referenced by a cycle. If the weakref being collected was one of
the weakrefs without callbacks, some local variables for the
constructor became invalid and have to be re-computed.
The test caused a segfault under a debug build without the fix applied.
Fred Drake [Tue, 3 Feb 2004 20:55:15 +0000 (20:55 +0000)]
minor markup adjustments
Fred Drake [Tue, 3 Feb 2004 19:56:46 +0000 (19:56 +0000)]
- add tests that exercise fixes for the PyWeakref_NewRef() and
PyWeakref_NewProxy() constructors from the C API
- elaborate the getweakrefcount() and getweakrefs() tests slightly
Fred Drake [Tue, 3 Feb 2004 19:52:56 +0000 (19:52 +0000)]
Fix bug in interpretation of the "callback" argument in the constructors for
weakref ref and proxy objects; None was not being treated as identical to
NULL, though it was documented as equivalent.
Fred Drake [Tue, 3 Feb 2004 19:44:26 +0000 (19:44 +0000)]
Clarify minor point about the ref() and proxy() constructors.
This matches what is already documented for corresponding feature of the C API.
Hye-Shik Chang [Mon, 2 Feb 2004 13:39:01 +0000 (13:39 +0000)]
Fix input() builtin function to respect compiler flags.
(SF patch 876178, patch by mwh, unittest by perky)
Hye-Shik Chang [Mon, 2 Feb 2004 08:48:45 +0000 (08:48 +0000)]
Add FreeBSD support for bluetooth sockets. (SF Patch #888148)
Hye-Shik Chang [Mon, 2 Feb 2004 06:05:24 +0000 (06:05 +0000)]
Add FreeBSD support for bluetooth sockets.
(SF Patch #888148, reviewed by loewis)
Martin v. Löwis [Sun, 1 Feb 2004 18:02:48 +0000 (18:02 +0000)]
Add collectionsmodule.c.
Don't link with largeint.lib anymore.
Martin v. Löwis [Sat, 31 Jan 2004 12:34:17 +0000 (12:34 +0000)]
Patch #874083: Bluetooth support for socket module.
Fred Drake [Thu, 29 Jan 2004 15:13:08 +0000 (15:13 +0000)]
update dependency information
Raymond Hettinger [Thu, 29 Jan 2004 07:35:45 +0000 (07:35 +0000)]
Add documentation for collections.deque().
Raymond Hettinger [Thu, 29 Jan 2004 07:29:32 +0000 (07:29 +0000)]
Fix spelling.
Raymond Hettinger [Thu, 29 Jan 2004 07:27:45 +0000 (07:27 +0000)]
Add documentation for collections.deque().
Raymond Hettinger [Thu, 29 Jan 2004 06:37:52 +0000 (06:37 +0000)]
* Move collections.deque() in from the sandbox
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
Hye-Shik Chang [Wed, 28 Jan 2004 09:03:28 +0000 (09:03 +0000)]
Add missed entry for cjkcodecs._iso_2022_kr.
Fred Drake [Tue, 27 Jan 2004 21:08:04 +0000 (21:08 +0000)]
fix whitespace style (inconsistent with the rest of the docs)
Brett Cannon [Tue, 27 Jan 2004 20:17:54 +0000 (20:17 +0000)]
Removed two unneeded lines from PyObject_Compare().
Closes bug #885293 (thanks, Josiah Carlson).
Fred Drake [Tue, 27 Jan 2004 18:21:26 +0000 (18:21 +0000)]
update signature of the socket constructor
(could someone backport this to Python 2.3.x please?)
Armin Rigo [Tue, 27 Jan 2004 16:08:07 +0000 (16:08 +0000)]
Two forgotten Py_DECREF() for two out-of-memory conditions.
Skip Montanaro [Tue, 27 Jan 2004 14:49:04 +0000 (14:49 +0000)]
add hotshotmain ref
Skip Montanaro [Tue, 27 Jan 2004 14:47:23 +0000 (14:47 +0000)]
add hotshotmain.py ref
Skip Montanaro [Mon, 26 Jan 2004 19:44:48 +0000 (19:44 +0000)]
The bagpipe didn't say "no" (*), so here's a main program script useful for
running an application under hotshot's control. Only slightly embellished
from what Walter Dörwald posted to python-dev.
(*) http://www.icdc.com/~roadkill/silverstein/turtle.html
Fred Drake [Mon, 26 Jan 2004 19:40:18 +0000 (19:40 +0000)]
add missing period
Fred Drake [Mon, 26 Jan 2004 19:39:13 +0000 (19:39 +0000)]
fix markup
Skip Montanaro [Mon, 26 Jan 2004 19:30:21 +0000 (19:30 +0000)]
add references between getopt and optparse docs
Fred Drake [Mon, 26 Jan 2004 16:42:30 +0000 (16:42 +0000)]
don't wrap lines too late by default
closes SF bug #842213
Fred Drake [Mon, 26 Jan 2004 15:07:31 +0000 (15:07 +0000)]
make this distutils doc match the other in using boilerplate.tex
Tim Peters [Sun, 25 Jan 2004 03:25:40 +0000 (03:25 +0000)]
Added the cjkcodecs files to the MSVC 6 build.
Fred Drake [Fri, 23 Jan 2004 15:23:49 +0000 (15:23 +0000)]
no reason not to use boilerplate.tex now that it names the PSF
Hye-Shik Chang [Fri, 23 Jan 2004 14:36:17 +0000 (14:36 +0000)]
Fix MSVC6 warnings. (spotted by Tim Peters)
Fred Drake [Fri, 23 Jan 2004 09:01:56 +0000 (09:01 +0000)]
fix some sloppy markup to use \guilabel
Fred Drake [Fri, 23 Jan 2004 08:52:28 +0000 (08:52 +0000)]
add \guilabel macro to mark labels that occur in user interfaces
Fred Drake [Fri, 23 Jan 2004 04:05:27 +0000 (04:05 +0000)]
fix method name in example code
Kurt B. Kaiser [Wed, 21 Jan 2004 22:10:01 +0000 (22:10 +0000)]
There was an error in the Tk error dialog fix at Rev 1.84 which caused starting
w/o the subprocess to fail. Check in a fix to IDLE and IDLEfork.
M PyShell.py
Backport candidate, combine with previous.
Kurt B. Kaiser [Wed, 21 Jan 2004 19:21:11 +0000 (19:21 +0000)]
rpc.py:SocketIO - Large modules were generating large pickles when downloaded
to the execution server. The return of the OK response from the subprocess
initialization was interfering and causing the sending socket to be not
ready. Add an IO ready test to fix this. Moved the polling IO ready test
into pollpacket().
M NEWS.txt
M rpc.py
Backport candidate.
Kurt B. Kaiser [Wed, 21 Jan 2004 18:54:30 +0000 (18:54 +0000)]
Added a Tk error dialog to run.py inform the user if the subprocess can't
connect to the user GUI process. Added a timeout to the GUI's listening
socket. Added Tk error dialogs to PyShell.py to announce a failure to bind
the port or connect to the subprocess. Clean up error handling during
connection initiation phase. This is an update of Python Patch 778323.
M NEWS.txt
M PyShell.py
M ScriptBinding.py
M run.py
Backport candidate.
Fred Drake [Wed, 21 Jan 2004 18:30:28 +0000 (18:30 +0000)]
add direct link to the article in DDJ
closes SF bug #871402
Skip Montanaro [Wed, 21 Jan 2004 13:47:04 +0000 (13:47 +0000)]
expand on notion of row object type
Skip Montanaro [Wed, 21 Jan 2004 13:34:35 +0000 (13:34 +0000)]
typo
Martin v. Löwis [Wed, 21 Jan 2004 07:54:02 +0000 (07:54 +0000)]
Add cjkcodecs to build process
Barry Warsaw [Tue, 20 Jan 2004 21:07:23 +0000 (21:07 +0000)]
pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the error
messages.
Barry Warsaw [Tue, 20 Jan 2004 21:06:00 +0000 (21:06 +0000)]
grp_getgrgid(), grp_getgrnam(): Patch # 868499, improvement to the error
messages.
Raymond Hettinger [Tue, 20 Jan 2004 20:04:40 +0000 (20:04 +0000)]
Add a Guido inspired example for groupby().
Marc-André Lemburg [Tue, 20 Jan 2004 18:24:34 +0000 (18:24 +0000)]
Add news item about change in encodings search function.
Gustavo Niemeyer [Tue, 20 Jan 2004 15:24:29 +0000 (15:24 +0000)]
Removing TODO comment for None keys, as suggested by Neal Norwitz.
Gustavo Niemeyer [Tue, 20 Jan 2004 15:20:03 +0000 (15:20 +0000)]
When key is None, give up if _DB_get_type() returns -1 as well.
Gustavo Niemeyer [Tue, 20 Jan 2004 15:14:55 +0000 (15:14 +0000)]
Fixing #880531: raise TypeError when trying to use a None key with RECNO
or QUEUE database.
Marc-André Lemburg [Tue, 20 Jan 2004 09:40:14 +0000 (09:40 +0000)]
Let the default encodings search function lookup aliases before trying the codec import. This allows applications to install codecs which override (non-special-cased) builtin codecs.
Marc-André Lemburg [Tue, 20 Jan 2004 09:38:52 +0000 (09:38 +0000)]
Add some more code page aliases needed for completeness.
Hye-Shik Chang [Tue, 20 Jan 2004 09:33:30 +0000 (09:33 +0000)]
Fix a typo: s/iso_3022/iso2022/
Hye-Shik Chang [Tue, 20 Jan 2004 09:11:48 +0000 (09:11 +0000)]
Test not the standard utf-8 codec but gb18030 which is the most complex
codec in multibytecodec consumers.
Tim Peters [Sun, 18 Jan 2004 21:03:23 +0000 (21:03 +0000)]
For whatever reason, these files had \r\r\n line endings on Windows,
meaning they must have been checked in to CVS from a Linuxish box with
Windowish \r\n line endings to begin with.
Tim Peters [Sun, 18 Jan 2004 20:39:35 +0000 (20:39 +0000)]
Revert another local change that snuck into a whitespace normalization
patch.
Tim Peters [Sun, 18 Jan 2004 20:31:02 +0000 (20:31 +0000)]
Revert change accidentally checked in as part of a whitespace normalization
patch.
Tim Peters [Sun, 18 Jan 2004 20:29:55 +0000 (20:29 +0000)]
Whitespace normalization.
Andrew M. Kuchling [Sun, 18 Jan 2004 15:55:51 +0000 (15:55 +0000)]
Add CJK codecs
Hye-Shik Chang [Sat, 17 Jan 2004 14:59:36 +0000 (14:59 +0000)]
Add a news entry for importing of CJK codecs.