summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1. Catch TypeError exception when writing to OutputWindowKurt B. Kaiser2007-08-122-2/+5
| | | | | | | | | 2. PyShell: shell isn't working due to encoding issues. Temporarily direct exceptions to the terminal. Also, trap exceptions occurring during write() instead of passing. Checking (2) in temporarily to aid finding the encoding problem in IOBinding.py
* Add -s/--start option that makes it easier to run the tests in batchesNeal Norwitz2007-08-121-3/+19
| | | | when one test fails and you want to start running from that point onwards.
* Remove docs for builtin file.Neal Norwitz2007-08-121-103/+54
| | | | Move docs for: long -> int, unichr -> chr, unicode -> str.
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-1298-341/+179
|
* Fix refleaks from execfile('file that contains a # coding: line')Neal Norwitz2007-08-121-11/+21
| | | | Also simplify logic a bit in fp_setreadl.
* Make sure to flush output when writing dots during -R runsNeal Norwitz2007-08-121-0/+1
|
* Remove obsolete ifdef.Martin v. Löwis2007-08-111-2/+0
|
* Fix problem when exec'ing a string with a codingNeal Norwitz2007-08-112-1/+6
|
* Change module to produce and consume bytes.Martin v. Löwis2007-08-111-13/+8
|
* Remove unnecessary importNeal Norwitz2007-08-111-1/+0
|
* Fix test_wsgiref that used StringIO and a BufferedReader rather thanNeal Norwitz2007-08-111-1/+2
| | | | | real files. This code assumed that fileno() would succeed which wasn't the case.
* Quick fix for a new problem here -- using string.lowercase somehow causedGuido van Rossum2007-08-111-4/+3
| | | | problems.
* Fix automatic replacing mistake.Georg Brandl2007-08-111-1/+1
|
* Fall back to ascii if the locale module cannot be loaded.Martin v. Löwis2007-08-111-2/+7
|
* A few sqlite files were still using RO instead of READONLY.Guido van Rossum2007-08-112-15/+15
|
* Fix reference leak.Martin v. Löwis2007-08-111-0/+1
|
* Set sys.stdout.encoding properly.Martin v. Löwis2007-08-114-9/+59
| | | | | Always set LC_CTYPE on interpreter startup. Add device_encoding function.
* Change shelve to require a bytes-oriented dict asMartin v. Löwis2007-08-112-19/+53
| | | | the underlying storage, and yet provide string keys.
* Remove support for __members__ and __methods__. There still might beNeal Norwitz2007-08-1114-195/+83
| | | | | some cleanup to do on this. Particularly in Python/traceback.c with getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
* Fix test_bsddb3.Martin v. Löwis2007-08-113-62/+64
|
* Fix refleaksNeal Norwitz2007-08-111-0/+4
|
* Handle errorNeal Norwitz2007-08-111-1/+4
|
* Fix what appears to be a very old bug. Tkinter in struni is more intolerantKurt B. Kaiser2007-08-111-0/+1
| | | | of non-existant text widget 'marks', it seems.
* Use an event variable to wait for the server to be ready, rather than ↵Guido van Rossum2007-08-101-3/+5
| | | | sleep(0.1).
* Remove the None tag from tagdefs dict for now, appears inoperative andKurt B. Kaiser2007-08-101-1/+3
| | | | causes a _tkinter error in py3k.
* Fix refcount bug in make_Zreplacement().Guido van Rossum2007-08-101-0/+1
|
* Make sure the mock object passed to finish_request() is buffered.Jeremy Hylton2007-08-101-4/+6
|
* Allow rfc822 to process headers from an incoming HTTP request.Jeremy Hylton2007-08-101-1/+8
|
* StyleJeremy Hylton2007-08-101-2/+2
|
* Fix a bit of code that wasn't converted properly, causing a segfault.Guido van Rossum2007-08-101-4/+1
|
* Make the sqlite tests pass.Gerhard Häring2007-08-107-31/+28
|
* A small tweak to avoid calling traceback.format_exception_only() withGuido van Rossum2007-08-101-1/+1
| | | | | a bogus (tuple) value. This should fix the "make install" issue Neal reported.
* RFC 1952 requires the FNAME field to be Latin-1. Do not includeLars Gustäbel2007-08-101-2/+9
| | | | filenames that cannot be represented that way.
* Fix refleak: decref inputobj after extracting the relavant info (the objectWalter Dörwald2007-08-101-0/+3
| | | | won't go away, as the exception object holds another reference).
* Fix dbshelve and much of dbtables.Martin v. Löwis2007-08-104-53/+66
|
* Wrap set_location.Martin v. Löwis2007-08-101-0/+8
|
* Fix some doc problems.Neal Norwitz2007-08-102-3/+3
|
* Fix circular import issueKurt B. Kaiser2007-08-102-9/+10
|
* Fix filter() issuesKurt B. Kaiser2007-08-101-3/+3
|
* Remove spurious (and unneeded) import of StringIO.Guido van Rossum2007-08-101-1/+1
|
* In PyFile_WriteString(), call PyUnicode_FromString() instead ofGuido van Rossum2007-08-091-1/+1
| | | | | PyString_FromString(). This is arguably more correct, even if it shouldn't matter much (all the input is likely to be ASCII).
* Hack to avoid a nasty recursion issue when Python is invokedGuido van Rossum2007-08-091-0/+3
| | | | in verbose mode: pre-import the Latin-1 and UTF-8 codecs
* Fix some logic in PythonCmd() -- if the AsString() call failed, we'dGuido van Rossum2007-08-091-1/+3
| | | | | | | | | | be calling LEAVE_PYTHON twice (once in PythonCmd_Error() and once in PythonCmd() itself). This fix doesn't fix the IDLE problems, but at least makes them more debuggable by getting rid of the segfault. Will backport.
* Fix two bugs in socket_getaddr():Guido van Rossum2007-08-091-4/+3
| | | | | | (a) 'single' shouldn't be DECREF'ed in the cleanup code; (b) the fallback case in makesockaddr() should use y# instead of s# in the format, since the data is bytes, not UTF-8 text.
* Oops. The PyObject_Print() function was totally broken; the original codeGuido van Rossum2007-08-091-3/+19
| | | | | was relying on PyString.tp_print but that no longer works. Fortunately it's rarely called; only the gdb 'pyo' command seems affected.
* Fix remaining map() issues.Kurt B. Kaiser2007-08-095-8/+9
| | | | | | | | M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/OutputWindow.py M idlelib/RemoteObjectBrowser.py
* Use relative importsKurt B. Kaiser2007-08-091-2/+2
|
* Oops, this was placed in the wrong branch.Guido van Rossum2007-08-091-8/+0
|
* Add a tombstone.Guido van Rossum2007-08-091-0/+8
|
* Create the new Py3k branch.Guido van Rossum2007-08-090-0/+0
|