summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix typo in envvar name.Brett Cannon2005-11-071-1/+1
|
* Patch by pythonic <pythonic@gmail.com> to support FedoraMarc-André Lemburg2005-11-071-2/+8
| | | | as Linux distro.
* Added proper reflection on instances of <type 'method-wrapper'>, e.g.Armin Rigo2005-11-072-13/+59
| | | | | | | | '[].__add__', to match what the other internal descriptor types provide: '__objclass__' attribute, '__self__' member, and reasonable repr and comparison. Added a test.
* svn:ignoring all .pyc and .pyo files in all subdirectories of Lib/ that containArmin Rigo2005-11-070-0/+0
| | | | .py files.
* similar to SF bug 847019: a quick check in the time() constructor, whichArmin Rigo2005-11-072-1/+9
| | | | | | 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.
* Fix SF bug #417833 (pydoc HTTP reload failure) by removing fromKa-Ping Yee2005-11-051-13/+17
| | | | | sys.modules all submodules of a the given module/package path when trying to reload a module.
* Accept patch to resolve SF bug #651124.Ka-Ping Yee2005-11-051-2/+2
|
* Oops, forgot to add the output file to 41388.Neal Norwitz2005-11-031-0/+2
|
* Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxintNeal Norwitz2005-11-033-0/+24
| | | | | | Need to check return result of PyInt_AsLong() Will backport.
* Make consistent with 2.4Neal Norwitz2005-11-031-1/+1
|
* Change time.strptime() to raise ValueError whenever there is an error in theBrett Cannon2005-11-023-3/+29
| | | | | | | format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337.
* Add an import line to a code fragment.Brett Cannon2005-11-021-1/+2
| | | | Closes bug #1346395.
* Another comment typo fixAndrew M. Kuchling2005-11-021-1/+1
|
* Fix typo in comment.Walter Dörwald2005-11-021-1/+1
|
* Whitespace cleanup.Walter Dörwald2005-11-021-27/+27
|
* Fix SF #1345263, colorsys tests, bug in frangeNeal Norwitz2005-11-022-1/+2
| | | | | | Fix a typo that caused step to be ignored. Will backport.
* Cleanup the previous checkin.Neal Norwitz2005-11-021-1/+4
| | | | | Close the fd in the close method and invalidated it. Don't try to close a second time when deallocating.
* Bug #1344508, Fix UNIX mmap leaking file descriptors. Will backport.Neal Norwitz2005-11-022-0/+3
|
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-311-0/+6
| | | | passing to handleError
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-312-0/+8
| | | | passing to handleError
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-3030-196/+0
| | | | properties now.
* add missing "and"Fred Drake2005-10-301-2/+3
|
* SF Bug #1341934: Fix a representation of "\n" to use a proper tag.Hye-Shik Chang2005-10-301-1/+1
|
* test_directories(): This test had no chance of passing onTim Peters2005-10-301-2/+14
| | | | | Windows. Hacked it to pass, but not sure it's worth the bother.