]>
granicus.if.org Git - python/log
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
Neal Norwitz [Sun, 13 Nov 2005 21:17:28 +0000 (21:17 +0000)]
remove useless debug print helper. fix a couple of exceptions
Neal Norwitz [Sun, 13 Nov 2005 19:14:20 +0000 (19:14 +0000)]
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
Neal Norwitz [Sun, 13 Nov 2005 18:58:32 +0000 (18:58 +0000)]
Updated gentoo to 2005.0
Neal Norwitz [Sun, 13 Nov 2005 18:55:39 +0000 (18:55 +0000)]
Do a better job of not inlining Py_ADDRESS_IN_RANGE() for newer gcc's.
Perhaps Py_NO_INLINE should be moved to pyport.h or some other header?
Neal Norwitz [Sun, 13 Nov 2005 18:50:34 +0000 (18:50 +0000)]
Fix a lot of memory and ref leaks in error paths.
(Call symtable_exit_block or compiler_exit_scope as appropriate)
Use PyMem_Free on c_future since it was allocated with PyMem_Malloc
Neal Norwitz [Sun, 13 Nov 2005 18:41:28 +0000 (18:41 +0000)]
Prevent name pollution by making lots of internal functions static.
Skip Montanaro [Sun, 13 Nov 2005 15:54:15 +0000 (15:54 +0000)]
delete Python-ast.[ch] in distclean
Neal Norwitz [Sun, 13 Nov 2005 01:08:38 +0000 (01:08 +0000)]
make internal method static
Fredrik Lundh [Sat, 12 Nov 2005 15:55:04 +0000 (15:55 +0000)]
SF#
1343671 .
The removedirs function removes empty directories, it doesn't
empty them.
Fredrik Lundh [Sat, 12 Nov 2005 15:28:52 +0000 (15:28 +0000)]
r903@spiff: Fredrik | 2005-11-12 16:28:37 +0100
removed outdated copyright notices (etc)
Fredrik Lundh [Sat, 12 Nov 2005 15:21:05 +0000 (15:21 +0000)]
r879@spiff: Fredrik | 2005-11-12 14:38:03 +0100
r878@spiff: Fredrik | 2005-11-12 14:37:22 +0100
minor docstring and comment tweaks (wikipedia might not be the
ultimate reference, but it's a lot better than "XXX" ;-)
Fredrik Lundh [Sat, 12 Nov 2005 10:15:14 +0000 (10:15 +0000)]
r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100
#
1346547
added basic error checking to the STARTUPINFO code
in CreateProcess.
Fredrik Lundh [Sat, 12 Nov 2005 10:15:03 +0000 (10:15 +0000)]
r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100
fixed resource leak in _subprocess.CreateProcess when using
explicit environments
Fred Drake [Fri, 11 Nov 2005 19:34:56 +0000 (19:34 +0000)]
update busted comment
Walter Dörwald [Fri, 11 Nov 2005 18:18:51 +0000 (18:18 +0000)]
Change PrettyPrinter.pprint(), so that output is written directly to the
output stream, instead of writing it to a StringIO first and writing the
result of this to the output stream. This should speed up the initial
output.
Georg Brandl [Wed, 9 Nov 2005 21:42:48 +0000 (21:42 +0000)]
Bug #
1338995 : fix problem with new webbrowser.py.
Walter Dörwald [Wed, 9 Nov 2005 17:12:43 +0000 (17:12 +0000)]
Fix typos.
Vinay Sajip [Wed, 9 Nov 2005 13:55:13 +0000 (13:55 +0000)]
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)
Neal Norwitz [Wed, 9 Nov 2005 07:07:58 +0000 (07:07 +0000)]
SF Bug #
1348477 , regextest can't be pydoc'ed. Will backport.
Neal Norwitz [Wed, 9 Nov 2005 06:59:35 +0000 (06:59 +0000)]
- SF Bug #
1350188 , "setdlopenflags" leads to crash upon "import"
It was possible dlerror() returns a NULL pointer, use a default error
message in this case.
Brett Cannon [Mon, 7 Nov 2005 21:42:42 +0000 (21:42 +0000)]
Fix typo in envvar name.
Marc-André Lemburg [Mon, 7 Nov 2005 16:11:02 +0000 (16:11 +0000)]
Patch by pythonic <pythonic@gmail.com> to support Fedora
as Linux distro.
Armin Rigo [Mon, 7 Nov 2005 08:38:00 +0000 (08:38 +0000)]
Added proper reflection on instances of <type 'method-wrapper'>, e.g.
'[].__add__', to match what the other internal descriptor types provide:
'__objclass__' attribute, '__self__' member, and reasonable repr and
comparison.
Added a test.
Armin Rigo [Mon, 7 Nov 2005 07:47:30 +0000 (07:47 +0000)]
svn:ignoring all .pyc and .pyo files in all subdirectories of Lib/ that contain
.py files.
Armin Rigo [Mon, 7 Nov 2005 07:15:48 +0000 (07:15 +0000)]
similar to SF bug 847019: a quick check in the time() constructor, which
accepts strings only for unpickling reasons. This check prevents the honest
mistake of passing a string like '2:59.0' to time() and getting an insane
object.
Ka-Ping Yee [Sat, 5 Nov 2005 05:04:41 +0000 (05:04 +0000)]
Fix SF bug #417833 (pydoc HTTP reload failure) by removing from
sys.modules all submodules of a the given module/package path
when trying to reload a module.
Ka-Ping Yee [Sat, 5 Nov 2005 04:49:18 +0000 (04:49 +0000)]
Accept patch to resolve SF bug #651124.
Neal Norwitz [Thu, 3 Nov 2005 05:07:15 +0000 (05:07 +0000)]
Oops, forgot to add the output file to 41388.
Neal Norwitz [Thu, 3 Nov 2005 05:00:25 +0000 (05:00 +0000)]
Bug #
1346533 , select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
Will backport.
Neal Norwitz [Thu, 3 Nov 2005 04:39:09 +0000 (04:39 +0000)]
Make consistent with 2.4
Brett Cannon [Wed, 2 Nov 2005 23:04:26 +0000 (23:04 +0000)]
Change time.strptime() to raise ValueError whenever there is an error in the
format string. Before exceptions generated by the internal code propagated up
to the user and were not helpful.
Closes bug #
1340337 .
Brett Cannon [Wed, 2 Nov 2005 22:58:12 +0000 (22:58 +0000)]
Add an import line to a code fragment.
Closes bug #
1346395 .
Andrew M. Kuchling [Wed, 2 Nov 2005 16:36:12 +0000 (16:36 +0000)]
Another comment typo fix
Walter Dörwald [Wed, 2 Nov 2005 08:57:11 +0000 (08:57 +0000)]
Fix typo in comment.
Walter Dörwald [Wed, 2 Nov 2005 08:30:08 +0000 (08:30 +0000)]
Whitespace cleanup.
Neal Norwitz [Wed, 2 Nov 2005 05:54:27 +0000 (05:54 +0000)]
Fix SF #
1345263 , colorsys tests, bug in frange
Fix a typo that caused step to be ignored.
Will backport.
Neal Norwitz [Wed, 2 Nov 2005 05:36:37 +0000 (05:36 +0000)]
Cleanup the previous checkin.
Close the fd in the close method and invalidated it. Don't try
to close a second time when deallocating.
Neal Norwitz [Wed, 2 Nov 2005 05:26:07 +0000 (05:26 +0000)]
Bug #
1344508 , Fix UNIX mmap leaking file descriptors. Will backport.
Vinay Sajip [Mon, 31 Oct 2005 14:27:01 +0000 (14:27 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
Vinay Sajip [Mon, 31 Oct 2005 13:14:19 +0000 (13:14 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
Martin v. Löwis [Sun, 30 Oct 2005 22:01:41 +0000 (22:01 +0000)]
Remove .cvsignore files, as they live in svn:ignore
properties now.
Fred Drake [Sun, 30 Oct 2005 04:29:49 +0000 (04:29 +0000)]
add missing "and"
Hye-Shik Chang [Sun, 30 Oct 2005 03:05:27 +0000 (03:05 +0000)]
SF Bug #
1341934 : Fix a representation of "\n" to use a proper tag.
Tim Peters [Sun, 30 Oct 2005 01:15:38 +0000 (01:15 +0000)]
test_directories(): This test had no chance of passing on
Windows. Hacked it to pass, but not sure it's worth the
bother.
Martin v. Löwis [Sat, 29 Oct 2005 19:40:21 +0000 (19:40 +0000)]
Add *.pyc to svn:ignore.
Add libpython*.a to .cvsignore and svn:ignore.
Tim Peters [Sat, 29 Oct 2005 02:33:18 +0000 (02:33 +0000)]
_PyUnicode_IsWhitespace(),
_PyUnicode_IsLinebreak():
Changed the declarations to match the definitions.
Don't know why they differed; MSVC warned about it;
don't know why only these two functions use "const".
Someone who does may want to do something saner ;-).
Vinay Sajip [Sat, 29 Oct 2005 00:40:15 +0000 (00:40 +0000)]
Minor update to HTTPHandler documentation to indicate that host:port can be used.
Fred Drake [Fri, 28 Oct 2005 14:39:47 +0000 (14:39 +0000)]
fix typos, mostly in comments
Neal Norwitz [Fri, 28 Oct 2005 05:52:22 +0000 (05:52 +0000)]
Patch #
1338314 , Bug #
1336623 : fix tarfile so it can extract
REGTYPE directories from tarfiles written by old programs.
Will backport.
Martin v. Löwis [Thu, 27 Oct 2005 18:56:22 +0000 (18:56 +0000)]
Update instructions according to Dave Abrahams
instructions.
Marc-André Lemburg [Tue, 25 Oct 2005 11:55:01 +0000 (11:55 +0000)]
Add Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg [Tue, 25 Oct 2005 11:54:04 +0000 (11:54 +0000)]
Add custom mapping files used for generating some of the charmap
codecs.