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