summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use basestring instead of type.StringType for checking whether a inputWalter Dörwald2005-11-212-7/+8
| | | | | 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().
* Add a test for uu.encode() that passed filenames asWalter Dörwald2005-11-211-0/+8
| | | | in_file and out_file.
* Add a rudimentary test for the platform module that at least calls eachWalter Dörwald2005-11-211-0/+74
| | | | documented function once.
* Fix typo.Walter Dörwald2005-11-211-1/+1
|
* Enable optional "const" argument to _New routines.Jack Jansen2005-11-211-2/+3
|
* Fix a few more memory leaksNeal Norwitz2005-11-204-3/+29
| | | | | Document more info about the benefits of configuring without pymalloc when running valgrind
* Remove import string and use string methodsNeal Norwitz2005-11-201-4/+3
|
* Last batch of ref leaks in new AST code.Neal Norwitz2005-11-192-29/+58
| | | | | | Also converted a bunch of assert(0) to SystemError's. There are still printfs, etc that need to be cleaned up.
* Fix up incomplete sentenceAndrew M. Kuchling2005-11-191-1/+1
|
* Merge IDLE-syntax-branch r39668:41449 into trunkKurt B. Kaiser2005-11-1813-201/+1592
| | | | | | | | | | | | | | | | 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
* Increase code coverage in Python/structmember.c from 33% to 40%Walter Dörwald2005-11-181-0/+8
| | | | (by forcing a call to the listmember() function).
* Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.Walter Dörwald2005-11-172-2/+150
|
* don't get me started about distutils...Skip Montanaro2005-11-171-0/+1
|
* note build workaround for Sol10/gcc 3.4Skip Montanaro2005-11-171-0/+6
|
* Fix typo in commentWalter Dörwald2005-11-171-1/+1
| | | | (reported on the pydotorg mailing list).
* Add tests for various error cases and for readbuffer_encode() andWalter Dörwald2005-11-172-2/+72
| | | | | charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c from 83% to 95%.
* Correctly handle identifiers for anonymous scopes and align genexpr name ↵Nick Coghlan2005-11-161-11/+17
| | | | with symtable.c
* Bring handling of genexpr in line with other anonymous scope namesNick Coghlan2005-11-161-4/+3
|
* add more docNeal Norwitz2005-11-161-1/+22
|
* Fix some more memory leaks.Neal Norwitz2005-11-161-6/+11
| | | | | | 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().
* version was not initialized properlyNeal Norwitz2005-11-161-0/+1
|
* Better indentation after first line of string continuation.Kurt B. Kaiser2005-11-153-5/+20
| | | | IDLEfork Patch 681992, Noam Raphael
* Fix another memory leak or two (one real, one potential)Neal Norwitz2005-11-151-1/+2
|
* Add a note about how to do the memory deallocation a bit.Neal Norwitz2005-11-151-0/+20
| | | | This needs a lot of work.
* Fix a whole bunch of potential memory leaks (and some real ones too)Neal Norwitz2005-11-151-81/+206
| | | | in error conditions.
* Prevent unlikely memory leak, tok should always be freed when parsetok() returnsNeal Norwitz2005-11-151-0/+1
|
* Thou shalt not lie, there are really 5 types nowNeal Norwitz2005-11-151-1/+1
|
* Convert all internal errors from Exception to SystemErrorNeal Norwitz2005-11-141-19/+17
| | | | Remove an abort() and let a SystemError be raised.
* Use convenience functionNeal Norwitz2005-11-141-1/+1
|
* Fix memory leak with bad generator expressionNeal Norwitz2005-11-141-3/+10
|
* remove useless debug print helper. fix a couple of exceptionsNeal Norwitz2005-11-131-7/+4
|
* Whoops, checkin consistent versions of *all* files to stop pollutingNeal Norwitz2005-11-135-79/+158
| | | | a bunch of names
* Updated gentoo to 2005.0Neal Norwitz2005-11-131-94/+100
|
* Do a better job of not inlining Py_ADDRESS_IN_RANGE() for newer gcc's.Neal Norwitz2005-11-131-2/+9
| | | | Perhaps Py_NO_INLINE should be moved to pyport.h or some other header?
* Fix a lot of memory and ref leaks in error paths.Neal Norwitz2005-11-132-42/+110
| | | | | | (Call symtable_exit_block or compiler_exit_scope as appropriate) Use PyMem_Free on c_future since it was allocated with PyMem_Malloc
* Prevent name pollution by making lots of internal functions static.Neal Norwitz2005-11-135-35/+35
|
* delete Python-ast.[ch] in distcleanSkip Montanaro2005-11-131-0/+1
|
* make internal method staticNeal Norwitz2005-11-131-1/+1
|
* SF#1343671.Fredrik Lundh2005-11-121-1/+1
| | | | | The removedirs function removes empty directories, it doesn't empty them.
* r903@spiff: Fredrik | 2005-11-12 16:28:37 +0100Fredrik Lundh2005-11-124-23/+2
| | | | removed outdated copyright notices (etc)
* r879@spiff: Fredrik | 2005-11-12 14:38:03 +0100Fredrik Lundh2005-11-121-11/+14
| | | | | | 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" ;-)
* r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100Fredrik Lundh2005-11-121-0/+3
| | | | | | | #1346547 added basic error checking to the STARTUPINFO code in CreateProcess.
* r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100Fredrik Lundh2005-11-121-0/+3
| | | | | fixed resource leak in _subprocess.CreateProcess when using explicit environments
* update busted commentFred Drake2005-11-111-1/+2
|
* Change PrettyPrinter.pprint(), so that output is written directly to theWalter Dörwald2005-11-111-1/+2
| | | | | | 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.
* Bug #1338995: fix problem with new webbrowser.py.Georg Brandl2005-11-091-4/+9
|
* Fix typos.Walter Dörwald2005-11-092-3/+3
|
* Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for ↵Vinay Sajip2005-11-091-1/+1
| | | | reporting it/supplying a patch)
* SF Bug #1348477, regextest can't be pydoc'ed. Will backport.Neal Norwitz2005-11-091-1/+2
|
* - SF Bug #1350188, "setdlopenflags" leads to crash upon "import"Neal Norwitz2005-11-092-1/+8
| | | | | It was possible dlerror() returns a NULL pointer, use a default error message in this case.