Walter Dörwald
705fd474e9
Add a test for uu.encode() that passed filenames as
...
in_file and out_file.
2005-11-21 18:55:56 +00:00
Walter Dörwald
c69d1c498f
Add a rudimentary test for the platform module that at least calls each
...
documented function once.
2005-11-21 17:48:12 +00:00
Walter Dörwald
e5a7fad356
Fix typo.
2005-11-21 17:01:27 +00:00
Jack Jansen
09eef173b2
Enable optional "const" argument to _New routines.
2005-11-21 13:24:25 +00:00
Neal Norwitz
7bcabc60a3
Fix a few more memory leaks
...
Document more info about the benefits of configuring without
pymalloc when running valgrind
2005-11-20 23:58:38 +00:00
Neal Norwitz
4aef41ffe7
Remove import string and use string methods
2005-11-20 00:24:18 +00:00
Neal Norwitz
4737b2348b
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.
2005-11-19 23:58:29 +00:00
Andrew M. Kuchling
5040fee5c1
Fix up incomplete sentence
2005-11-19 18:43:38 +00:00
Kurt B. Kaiser
b17544551f
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
2005-11-18 22:05:48 +00:00
Walter Dörwald
c85c74cd08
Increase code coverage in Python/structmember.c from 33% to 40%
...
(by forcing a call to the listmember() function).
2005-11-18 16:51:05 +00:00
Walter Dörwald
690402ff17
Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.
2005-11-17 18:51:34 +00:00
Skip Montanaro
a53899272b
don't get me started about distutils...
2005-11-17 18:31:09 +00:00
Skip Montanaro
9f6606aab1
note build workaround for Sol10/gcc 3.4
2005-11-17 18:19:39 +00:00
Walter Dörwald
82a3e1a9b2
Fix typo in comment
...
(reported on the pydotorg mailing list).
2005-11-17 09:36:06 +00:00
Walter Dörwald
e22d339dc5
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%.
2005-11-17 08:52:34 +00:00
Nick Coghlan
944d3eb154
Correctly handle identifiers for anonymous scopes and align genexpr name with symtable.c
2005-11-16 12:46:55 +00:00
Nick Coghlan
99b2533539
Bring handling of genexpr in line with other anonymous scope names
2005-11-16 12:45:24 +00:00
Neal Norwitz
a3fd07d524
add more doc
2005-11-16 05:49:04 +00:00
Neal Norwitz
dee2fd5448
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().
2005-11-16 05:12:59 +00:00
Neal Norwitz
ef78529e86
version was not initialized properly
2005-11-16 05:04:51 +00:00
Kurt B. Kaiser
b61602c968
Better indentation after first line of string continuation.
...
IDLEfork Patch 681992, Noam Raphael
2005-11-15 07:20:06 +00:00
Neal Norwitz
6b34789046
Fix another memory leak or two (one real, one potential)
2005-11-15 07:17:53 +00:00
Neal Norwitz
af8f974967
Add a note about how to do the memory deallocation a bit.
...
This needs a lot of work.
2005-11-15 05:09:44 +00:00
Neal Norwitz
e76adcd78a
Fix a whole bunch of potential memory leaks (and some real ones too)
...
in error conditions.
2005-11-15 05:04:31 +00:00
Neal Norwitz
56c6561d30
Prevent unlikely memory leak, tok should always be freed when parsetok() returns
2005-11-15 04:54:23 +00:00
Neal Norwitz
19b0f40cb1
Thou shalt not lie, there are really 5 types now
2005-11-15 04:52:16 +00:00
Neal Norwitz
79792651c4
Convert all internal errors from Exception to SystemError
...
Remove an abort() and let a SystemError be raised.
2005-11-14 04:25:03 +00:00
Neal Norwitz
daae6161b5
Use convenience function
2005-11-14 00:47:57 +00:00
Neal Norwitz
e8c0536d57
Fix memory leak with bad generator expression
2005-11-14 00:18:03 +00:00
Neal Norwitz
7b3d5e1779
remove useless debug print helper. fix a couple of exceptions
2005-11-13 21:17:28 +00:00
Neal Norwitz
7b5a604d24
Whoops, checkin consistent versions of *all* files to stop polluting
...
a bunch of names
2005-11-13 19:14:20 +00:00
Neal Norwitz
497b19a8a2
Updated gentoo to 2005.0
2005-11-13 18:58:32 +00:00
Neal Norwitz
e5e5aa4ea6
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?
2005-11-13 18:55:39 +00:00
Neal Norwitz
b6fc9df8fc
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
2005-11-13 18:50:34 +00:00
Neal Norwitz
6576bd844f
Prevent name pollution by making lots of internal functions static.
2005-11-13 18:41:28 +00:00
Skip Montanaro
f6a904456e
delete Python-ast.[ch] in distclean
2005-11-13 15:54:15 +00:00
Neal Norwitz
2744c6cc35
make internal method static
2005-11-13 01:08:38 +00:00
Fredrik Lundh
96c1c7a571
SF#1343671.
...
The removedirs function removes empty directories, it doesn't
empty them.
2005-11-12 15:55:04 +00:00
Fredrik Lundh
d489398da9
r903@spiff: Fredrik | 2005-11-12 16:28:37 +0100
...
removed outdated copyright notices (etc)
2005-11-12 15:28:52 +00:00
Fredrik Lundh
0d89e351e1
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" ;-)
2005-11-12 15:21:05 +00:00
Fredrik Lundh
3a49e92d7d
r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100
...
#1346547
added basic error checking to the STARTUPINFO code
in CreateProcess.
2005-11-12 10:15:14 +00:00
Fredrik Lundh
bb4692b6f2
r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100
...
fixed resource leak in _subprocess.CreateProcess when using
explicit environments
2005-11-12 10:15:03 +00:00
Fred Drake
f5b7fd2239
update busted comment
2005-11-11 19:34:56 +00:00
Walter Dörwald
e62e936e79
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.
2005-11-11 18:18:51 +00:00
Georg Brandl
1cb179e93f
Bug #1338995 : fix problem with new webbrowser.py.
2005-11-09 21:42:48 +00:00
Walter Dörwald
966c264b02
Fix typos.
2005-11-09 17:12:43 +00:00
Vinay Sajip
8b6b53f8ac
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)
2005-11-09 13:55:13 +00:00
Neal Norwitz
286d74764e
SF Bug #1348477 , regextest can't be pydoc'ed. Will backport.
2005-11-09 07:07:58 +00:00
Neal Norwitz
67715f0420
- 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.
2005-11-09 06:59:35 +00:00
Brett Cannon
789fd005e0
Fix typo in envvar name.
2005-11-07 21:42:42 +00:00