]>
granicus.if.org Git - python/log
Neal Norwitz [Tue, 6 Dec 2005 07:26:02 +0000 (07:26 +0000)]
Reduce scope of feature
Neal Norwitz [Tue, 6 Dec 2005 06:36:36 +0000 (06:36 +0000)]
Remove unused macro, check is done elsewhere
Neal Norwitz [Mon, 5 Dec 2005 07:16:38 +0000 (07:16 +0000)]
Remove unnecessary extern variable
Neal Norwitz [Mon, 5 Dec 2005 01:23:48 +0000 (01:23 +0000)]
mwh spotted a copied error message, make it unique (and correct)
Neal Norwitz [Mon, 5 Dec 2005 01:17:03 +0000 (01:17 +0000)]
Fix SF #
1373161 , r41552 broke test_file on OS X
You apparently can seek(0) on sys.stdin on OS X.
But you can't go backwards, so seek(-1).
Michael W. Hudson [Mon, 5 Dec 2005 00:27:49 +0000 (00:27 +0000)]
Fix bug
[
1346144 ] Segfaults from unaligned loads in floatobject.c
by using memcpy and not just blinding casting char* to double*.
Thanks to Rune Holm for the report.
Andrew M. Kuchling [Sun, 4 Dec 2005 20:25:23 +0000 (20:25 +0000)]
[Patch #
1372995 ] Add \versionadded
Andrew M. Kuchling [Sun, 4 Dec 2005 19:53:45 +0000 (19:53 +0000)]
[Bug #
1281032 ] Pass encoding from the input source to pyexpat's ParserCreate()
Andrew M. Kuchling [Sun, 4 Dec 2005 19:11:17 +0000 (19:11 +0000)]
[Bug #
1164912 ] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string
Andrew M. Kuchling [Sun, 4 Dec 2005 17:17:46 +0000 (17:17 +0000)]
[Bug #
1041501 ] Fix example
Andrew M. Kuchling [Sun, 4 Dec 2005 17:13:12 +0000 (17:13 +0000)]
[Patch #
1039083 ] Add 'encoding' parameter to SimpleXMLRPCServer
Andrew M. Kuchling [Sun, 4 Dec 2005 16:45:05 +0000 (16:45 +0000)]
Use boolean name
Andrew M. Kuchling [Sun, 4 Dec 2005 16:34:40 +0000 (16:34 +0000)]
[Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, CGIXMLRPCRequestHandler
Andrew M. Kuchling [Sun, 4 Dec 2005 16:09:54 +0000 (16:09 +0000)]
[Bug #
1372836 ] Remove unused code
Andrew M. Kuchling [Sun, 4 Dec 2005 16:07:15 +0000 (16:07 +0000)]
Add placeholder section on old and new-style classes
Andrew M. Kuchling [Sun, 4 Dec 2005 15:36:57 +0000 (15:36 +0000)]
[Bug #792570] Under Windows, socket.read() seems to run into trouble when
asked to read tens of megabytes of data. On my Mac, it hits MemoryErrors
when reading around 15Mb in one chunk. The fix is to read the body in several
parts, not as one big piece.
It would be nice to fix the underlying socket.read() problem, too.
2.4 bugfix candidate.
Andrew M. Kuchling [Sun, 4 Dec 2005 15:07:41 +0000 (15:07 +0000)]
[Bug #
1222790 ] Set reuse-address and close-on-exec flags on the HTTP listening socket
Georg Brandl [Fri, 2 Dec 2005 13:43:08 +0000 (13:43 +0000)]
Bug #
1368481 : python.dir refers to whatsnew23
Anthony Baxter [Thu, 1 Dec 2005 02:25:11 +0000 (02:25 +0000)]
set expectations appropriately. ;)
Walter Dörwald [Wed, 30 Nov 2005 20:16:17 +0000 (20:16 +0000)]
Fix typo.
Andrew M. Kuchling [Wed, 30 Nov 2005 01:14:48 +0000 (01:14 +0000)]
Remove sorting HOWTO, after converting it to a wiki page at http://wiki.python.org/moin/HowTo/Sorting
Martin v. Löwis [Tue, 29 Nov 2005 17:09:13 +0000 (17:09 +0000)]
Silence VS2005 warnings about deprecated functions.
Martin v. Löwis [Tue, 29 Nov 2005 17:08:24 +0000 (17:08 +0000)]
Limit x86 machine instructions and Win95 support to _M_IX86.
Walter Dörwald [Tue, 29 Nov 2005 15:45:14 +0000 (15:45 +0000)]
Test another error case in PyFloat_FromString().
Fred Drake [Tue, 29 Nov 2005 12:40:58 +0000 (12:40 +0000)]
fix link
Fredrik Lundh [Tue, 29 Nov 2005 11:22:29 +0000 (11:22 +0000)]
SF#
1368827
bad link in XML-RPC documentation
Walter Dörwald [Mon, 28 Nov 2005 22:15:56 +0000 (22:15 +0000)]
Fix leaked reference to None.
Martin v. Löwis [Mon, 28 Nov 2005 17:34:23 +0000 (17:34 +0000)]
Patch #
1350409 : Port signal handling to VS 2005.
Neal Norwitz [Sun, 27 Nov 2005 20:38:31 +0000 (20:38 +0000)]
Fix memory leaks
Neal Norwitz [Sun, 27 Nov 2005 20:37:43 +0000 (20:37 +0000)]
Improve test coverage. Hope the test_file changes work the same on windows.
Martin v. Löwis [Sun, 27 Nov 2005 16:59:04 +0000 (16:59 +0000)]
Patch #
1162825 : Support non-ASCII characters in IDLE window titles.
Georg Brandl [Sat, 26 Nov 2005 16:50:44 +0000 (16:50 +0000)]
bug #
1365984 : urllib and data: URLs. Problem was that cStringIO objects cannot be assigned attributes on the fly.
Martin v. Löwis [Sat, 26 Nov 2005 11:38:24 +0000 (11:38 +0000)]
Patch #
1227966 : Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
Also set _XOPEN_SOURCE to 500.
Will backport to 2.4.
Walter Dörwald [Fri, 25 Nov 2005 17:17:12 +0000 (17:17 +0000)]
SF patch #
1364946 : Add a reference link from the dcoumentation of the encode
and decode methods to the documentation of the default error handlers.
Walter Dörwald [Fri, 25 Nov 2005 15:22:10 +0000 (15:22 +0000)]
SF patch #
1364545 : test_cmd_line.py relied on english error messages when
invoking the Python interpreter (which didn't work on non-english Windows
versions). Check return codes instead.
Neal Norwitz [Fri, 25 Nov 2005 03:19:29 +0000 (03:19 +0000)]
Remove unused _callers member. No need for types, use isinstance
Neal Norwitz [Fri, 25 Nov 2005 03:18:58 +0000 (03:18 +0000)]
Stop looping to do nothing, just pass.
Neal Norwitz [Fri, 25 Nov 2005 03:17:59 +0000 (03:17 +0000)]
No need for types, use isinstance
Neal Norwitz [Fri, 25 Nov 2005 03:16:34 +0000 (03:16 +0000)]
Use sorted() builtin
Neal Norwitz [Fri, 25 Nov 2005 03:15:49 +0000 (03:15 +0000)]
Test is still disabled, but access through public module
Neal Norwitz [Fri, 25 Nov 2005 03:14:00 +0000 (03:14 +0000)]
Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work.
Neal Norwitz [Fri, 25 Nov 2005 02:55:49 +0000 (02:55 +0000)]
Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is sometimes stable, at least in isolation)
Neal Norwitz [Fri, 25 Nov 2005 02:02:50 +0000 (02:02 +0000)]
Fix some comment typos
Neal Norwitz [Thu, 24 Nov 2005 23:28:37 +0000 (23:28 +0000)]
Fix typo in comment.
Delete globals which contain variable information at the end of the test.
This makes the test stable (no reported leaks) when running regrtest -R
to find reference leaks.
Neal Norwitz [Thu, 24 Nov 2005 22:09:18 +0000 (22:09 +0000)]
Fix a few more ref leaks. Backport candidate
Neal Norwitz [Thu, 24 Nov 2005 22:00:56 +0000 (22:00 +0000)]
Move registration of the codec search function to the module scope
so it is only executed once. Otherwise the same search function is
repeated added to the codec search path when regrtest is run with -R
and leaks are reported.
Neal Norwitz [Thu, 24 Nov 2005 21:58:51 +0000 (21:58 +0000)]
move test into a unittest.TestCase, no functional changes
Georg Brandl [Thu, 24 Nov 2005 15:37:42 +0000 (15:37 +0000)]
bug #
1281408 : make Py_BuildValue work with unsigned longs and long longs
Kurt B. Kaiser [Wed, 23 Nov 2005 15:12:19 +0000 (15:12 +0000)]
Fix main() call
Patch
1315161 sebastien blanchet
Brett Cannon [Wed, 23 Nov 2005 02:15:50 +0000 (02:15 +0000)]
Prevent threading.Thread.join() from blocking when a previous call raised an
exception (e.g., passing in an illegal argument).
Applies patch #
1314396 . Thanks Eric Blossom.
Kurt B. Kaiser [Tue, 22 Nov 2005 21:09:37 +0000 (21:09 +0000)]
1. Made advanced keybinding dialog functional.
2. Allow binding of movement keys
Georg Brandl [Tue, 22 Nov 2005 20:14:29 +0000 (20:14 +0000)]
Bug #
1357604 : os.makedirs handles UNC paths
Georg Brandl [Tue, 22 Nov 2005 19:50:14 +0000 (19:50 +0000)]
Added example for the ** operator in function calls
Georg Brandl [Tue, 22 Nov 2005 19:42:45 +0000 (19:42 +0000)]
Patch #
1255218 : libmultifile.tex: tell what a decoration is
Georg Brandl [Tue, 22 Nov 2005 19:30:31 +0000 (19:30 +0000)]
Bug #869197: setgroups rejects long integer argument
Georg Brandl [Tue, 22 Nov 2005 19:23:58 +0000 (19:23 +0000)]
Bug #
1359053 : Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode strings
Georg Brandl [Tue, 22 Nov 2005 19:18:01 +0000 (19:18 +0000)]
Prefer GNOME browser over mozilla.
Georg Brandl [Tue, 22 Nov 2005 19:15:27 +0000 (19:15 +0000)]
Add a note to os.chown that permission constants can be combined
Andrew M. Kuchling [Tue, 22 Nov 2005 19:03:16 +0000 (19:03 +0000)]
[Patch #
1094164 ] replaceChild(x,x) ends up removing x of the tree. Add fix from Felix Rabe and a test case
Andrew M. Kuchling [Tue, 22 Nov 2005 15:32:28 +0000 (15:32 +0000)]
[Patch #
1350573 ] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo.
Andrew M. Kuchling [Tue, 22 Nov 2005 15:14:44 +0000 (15:14 +0000)]
Typo fix
Andrew M. Kuchling [Tue, 22 Nov 2005 15:09:07 +0000 (15:09 +0000)]
Add generator-expression nodes
Andrew M. Kuchling [Tue, 22 Nov 2005 15:01:13 +0000 (15:01 +0000)]
Add comment about updating docs
Andrew M. Kuchling [Tue, 22 Nov 2005 14:52:31 +0000 (14:52 +0000)]
[Bug #449093] FloorDiv AST node type not listed
Walter Dörwald [Tue, 22 Nov 2005 14:12:21 +0000 (14:12 +0000)]
Use optparse instead of getopt for command line options.
Use "raise instance" instead of "raise class, args".
Modernize the code in other spots (bools, startswith()).
Walter Dörwald [Tue, 22 Nov 2005 12:58:19 +0000 (12:58 +0000)]
Avoid using str as a variable name.
Neal Norwitz [Tue, 22 Nov 2005 05:17:40 +0000 (05:17 +0000)]
improve test coverage in Python/pystrtod.c and Python/mystrtoul.c.
Kurt B. Kaiser [Tue, 22 Nov 2005 02:17:10 +0000 (02:17 +0000)]
Fix typo and update comment obsoleted by 'syntax' patch
Kurt B. Kaiser [Tue, 22 Nov 2005 01:52:22 +0000 (01:52 +0000)]
Default two second delay on attribute pop-up, less noisy interface.
(Opens immediately if TAB is typed after '.')
Kurt B. Kaiser [Tue, 22 Nov 2005 01:47:14 +0000 (01:47 +0000)]
Following 'syntax' patch, accelerator keys in menus weren't being
updated after a keyset change. Also, formatted ApplyKeyBindings()
Walter Dörwald [Mon, 21 Nov 2005 19:10:07 +0000 (19:10 +0000)]
Use basestring instead of type.StringType for checking whether a input
or output file is a file name instead of a file object. This enables
unicode file names as arguments to uu.encode() and uu.decode().
Walter Dörwald [Mon, 21 Nov 2005 18:55:56 +0000 (18:55 +0000)]
Add a test for uu.encode() that passed filenames as
in_file and out_file.
Walter Dörwald [Mon, 21 Nov 2005 17:48:12 +0000 (17:48 +0000)]
Add a rudimentary test for the platform module that at least calls each
documented function once.
Walter Dörwald [Mon, 21 Nov 2005 17:01:27 +0000 (17:01 +0000)]
Fix typo.
Jack Jansen [Mon, 21 Nov 2005 13:24:25 +0000 (13:24 +0000)]
Enable optional "const" argument to _New routines.
Neal Norwitz [Sun, 20 Nov 2005 23:58:38 +0000 (23:58 +0000)]
Fix a few more memory leaks
Document more info about the benefits of configuring without
pymalloc when running valgrind
Neal Norwitz [Sun, 20 Nov 2005 00:24:18 +0000 (00:24 +0000)]
Remove import string and use string methods
Neal Norwitz [Sat, 19 Nov 2005 23:58:29 +0000 (23:58 +0000)]
Last batch of ref leaks in new AST code.
Also converted a bunch of assert(0) to SystemError's.
There are still printfs, etc that need to be cleaned up.
Andrew M. Kuchling [Sat, 19 Nov 2005 18:43:38 +0000 (18:43 +0000)]
Fix up incomplete sentence
Kurt B. Kaiser [Fri, 18 Nov 2005 22:05:48 +0000 (22:05 +0000)]
Merge IDLE-syntax-branch r39668:41449 into trunk
A idlelib/AutoCompleteWindow.py
A idlelib/AutoComplete.py
A idlelib/HyperParser.py
M idlelib/PyShell.py
M idlelib/ParenMatch.py
M idlelib/configDialog.py
M idlelib/EditorWindow.py
M idlelib/PyParse.py
M idlelib/CallTips.py
M idlelib/CallTipWindow.py
M idlelib/run.py
M idlelib/config-extensions.def
A idlelib/MultiCall.py
Walter Dörwald [Fri, 18 Nov 2005 16:51:05 +0000 (16:51 +0000)]
Increase code coverage in Python/structmember.c from 33% to 40%
(by forcing a call to the listmember() function).
Walter Dörwald [Thu, 17 Nov 2005 18:51:34 +0000 (18:51 +0000)]
Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.
Skip Montanaro [Thu, 17 Nov 2005 18:31:09 +0000 (18:31 +0000)]
don't get me started about distutils...
Skip Montanaro [Thu, 17 Nov 2005 18:19:39 +0000 (18:19 +0000)]
note build workaround for Sol10/gcc 3.4
Walter Dörwald [Thu, 17 Nov 2005 09:36:06 +0000 (09:36 +0000)]
Fix typo in comment
(reported on the pydotorg mailing list).
Walter Dörwald [Thu, 17 Nov 2005 08:52:34 +0000 (08:52 +0000)]
Add tests for various error cases and for readbuffer_encode() and
charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c
from 83% to 95%.
Nick Coghlan [Wed, 16 Nov 2005 12:46:55 +0000 (12:46 +0000)]
Correctly handle identifiers for anonymous scopes and align genexpr name with symtable.c
Nick Coghlan [Wed, 16 Nov 2005 12:45:24 +0000 (12:45 +0000)]
Bring handling of genexpr in line with other anonymous scope names
Neal Norwitz [Wed, 16 Nov 2005 05:49:04 +0000 (05:49 +0000)]
add more doc
Neal Norwitz [Wed, 16 Nov 2005 05:12:59 +0000 (05:12 +0000)]
Fix some more memory leaks.
Call error_ret() in decode_str(). It was called in some other places,
but seemed inconsistent. It is safe to call PyTokenizer_Free() after
calling error_ret().
Neal Norwitz [Wed, 16 Nov 2005 05:04:51 +0000 (05:04 +0000)]
version was not initialized properly
Kurt B. Kaiser [Tue, 15 Nov 2005 07:20:06 +0000 (07:20 +0000)]
Better indentation after first line of string continuation.
IDLEfork Patch 681992, Noam Raphael
Neal Norwitz [Tue, 15 Nov 2005 07:17:53 +0000 (07:17 +0000)]
Fix another memory leak or two (one real, one potential)
Neal Norwitz [Tue, 15 Nov 2005 05:09:44 +0000 (05:09 +0000)]
Add a note about how to do the memory deallocation a bit.
This needs a lot of work.
Neal Norwitz [Tue, 15 Nov 2005 05:04:31 +0000 (05:04 +0000)]
Fix a whole bunch of potential memory leaks (and some real ones too)
in error conditions.
Neal Norwitz [Tue, 15 Nov 2005 04:54:23 +0000 (04:54 +0000)]
Prevent unlikely memory leak, tok should always be freed when parsetok() returns
Neal Norwitz [Tue, 15 Nov 2005 04:52:16 +0000 (04:52 +0000)]
Thou shalt not lie, there are really 5 types now
Neal Norwitz [Mon, 14 Nov 2005 04:25:03 +0000 (04:25 +0000)]
Convert all internal errors from Exception to SystemError
Remove an abort() and let a SystemError be raised.
Neal Norwitz [Mon, 14 Nov 2005 00:47:57 +0000 (00:47 +0000)]
Use convenience function
Neal Norwitz [Mon, 14 Nov 2005 00:18:03 +0000 (00:18 +0000)]
Fix memory leak with bad generator expression