]>
granicus.if.org Git - python/log
Fredrik Lundh [Mon, 12 Dec 2005 21:59:52 +0000 (21:59 +0000)]
r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100
make sure xml.etree can be used even if PyXML is present
(solution proposed by Philip J. Eby)
Fredrik Lundh [Mon, 12 Dec 2005 21:59:44 +0000 (21:59 +0000)]
r1076@spiff: Fredrik | 2005-12-12 22:32:28 +0100
added xml.etree documentation stub
Fredrik Lundh [Mon, 12 Dec 2005 20:53:40 +0000 (20:53 +0000)]
skip NIS entries, empty entries, etc
Fredrik Lundh [Mon, 12 Dec 2005 20:46:31 +0000 (20:46 +0000)]
skip nis entries, if not filtered out by getpwall itself
Fredrik Lundh [Mon, 12 Dec 2005 20:19:44 +0000 (20:19 +0000)]
added xml.etree test (enough of the ElementTree selftest to
make sure that all included components work)
Fredrik Lundh [Mon, 12 Dec 2005 18:54:55 +0000 (18:54 +0000)]
r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100
assorted xml.etree tweaks
Fredrik Lundh [Mon, 12 Dec 2005 15:10:44 +0000 (15:10 +0000)]
added ElementTree core components to xml.etree
Hye-Shik Chang [Mon, 12 Dec 2005 11:48:32 +0000 (11:48 +0000)]
Bug #
1290333 : Added a workaround for cjkcodecs' _codecs_cn module
build problem on AIX.
Andrew M. Kuchling [Mon, 12 Dec 2005 02:02:24 +0000 (02:02 +0000)]
Remove background image
Neal Norwitz [Sun, 11 Dec 2005 21:18:22 +0000 (21:18 +0000)]
SF #
1373150 , diffs in working copy after a build
Strip off leading dots and slash so the generated files are the same regardless
of whether you configure in the checkout directory or build.
If anyone configures in a different directory, we might want a cleaner
approach using os.path.*(). Hopefully this is good enough.
Neal Norwitz [Sun, 11 Dec 2005 20:55:10 +0000 (20:55 +0000)]
en_sit will be freed when en is DECREF'd. Don't double free.
Neal Norwitz [Sun, 11 Dec 2005 20:12:40 +0000 (20:12 +0000)]
SF #
1377897 , Bus error in ast
If a line had multiple semi-colons and ended with a semi-colon, we would
loop too many times and access a NULL node. Exit the loop early if
there are no more children.
Neal Norwitz [Sun, 11 Dec 2005 20:08:33 +0000 (20:08 +0000)]
SF #
1370197 , memory leak - ast_error_finish (in error conditions).
Jeremy Hylton [Sat, 10 Dec 2005 18:50:16 +0000 (18:50 +0000)]
Add const to several API functions that take char *.
In C++, it's an error to pass a string literal to a char* function
without a const_cast(). Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.
I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc. Predictably, there were a large set of functions that
needed to be fixed as a result of these changes. The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].
One cast was required as a result of the changes: A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
Hye-Shik Chang [Sat, 10 Dec 2005 17:44:27 +0000 (17:44 +0000)]
Patch #
1276356 : Implement new resource "urlfetch" for regrtest.
This enables even impatient people to run tests that require remote
files such as test_normalization and test_codecmaps_*.
Andrew M. Kuchling [Thu, 8 Dec 2005 14:54:20 +0000 (14:54 +0000)]
[Bug #
1349316 ] Show how to use XML-RPC through a proxy
Skip Montanaro [Tue, 6 Dec 2005 21:00:47 +0000 (21:00 +0000)]
add common usage example
Armin Rigo [Tue, 6 Dec 2005 18:32:37 +0000 (18:32 +0000)]
Typo in a code example.
Armin Rigo [Tue, 6 Dec 2005 14:07:39 +0000 (14:07 +0000)]
Nobody on python-dev seemed particularly bothered that Hotshot generates half-
meaningless numbers, but I figured out I would fix that bug anyway.
Neal Norwitz [Tue, 6 Dec 2005 07:41:30 +0000 (07:41 +0000)]
Simplify logic for handling import *
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