summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Merged revisions 56782-56847 via svnmerge fromGuido van Rossum2007-08-098-14/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56808 | kurt.kaiser | 2007-08-07 14:15:45 -0700 (Tue, 07 Aug 2007) | 2 lines Replace sys.exitfunc call with atexit call ................ r56835 | thomas.wouters | 2007-08-08 09:20:30 -0700 (Wed, 08 Aug 2007) | 8 lines Tests for dict comprehensions I forgot to 'svn add' when committing the actual feature. I was _sure_ I had checked in these new tests already, but I guess the checkin failed and I didn't notice. ................ r56847 | guido.van.rossum | 2007-08-09 07:03:34 -0700 (Thu, 09 Aug 2007) | 30 lines Merged revisions 56760-56846 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56762 | georg.brandl | 2007-08-06 00:37:58 -0700 (Mon, 06 Aug 2007) | 2 lines Place #ifdef Py_USING_UNICODE around decode_unicode(). ........ r56763 | georg.brandl | 2007-08-06 00:39:09 -0700 (Mon, 06 Aug 2007) | 2 lines Replace unnecessary function call. ........ r56764 | georg.brandl | 2007-08-06 00:52:20 -0700 (Mon, 06 Aug 2007) | 2 lines Patch #1765839: add link to https+proxy urllib2 opener. ........ r56797 | georg.brandl | 2007-08-07 00:13:24 -0700 (Tue, 07 Aug 2007) | 2 lines Bug #1769002: fix a now-wrong sentence in the tutorial. ........ r56830 | georg.brandl | 2007-08-08 06:03:41 -0700 (Wed, 08 Aug 2007) | 3 lines Revert the fix for #1548891, it broke backwards compatibility with arbitrary read buffers. Fixes #1730114. ........ r56833 | georg.brandl | 2007-08-08 06:50:02 -0700 (Wed, 08 Aug 2007) | 2 lines Fix compilation warning. ........ ................
* SF patch# 1770008 by Christian Heimes (plus some extras).Guido van Rossum2007-08-0978-657/+312
| | | | | | | | | | Completely get rid of StringIO.py and cStringIO.c. I had to fix a few tests and modules beyond what Christian did, and invent a few conventions. E.g. in elementtree, I chose to write/return Unicode strings whe no encoding is given, but bytes when an explicit encoding is given. Also mimetools was made to always assume binary files.
* Fix most of the bsddb3 tests.Martin v. Löwis2007-08-0815-294/+279
|
* Fix core dump in an endcase of b.strip() that I missed.Guido van Rossum2007-08-082-1/+5
|
* Fix the ctypes tests. Patch from Victor Stinner. He writes:Thomas Heller2007-08-087-18/+18
| | | | | | | | | | | | | | | | | The problem is that ctypes c_char (and c_char_p) creates unicode string instead of byte string. I attached a proposition (patch) to change this behaviour (use bytes for c_char). So in next example, it will display 'bytes' and not 'str': from ctypes import c_buffer, c_char buf = c_buffer("abcdef") print (type(buf[0])) Other behaviour changes: - repr(c_char) adds a "b" eg. repr(c_char('x')) is "c_char(b'x')" instead of "c_char('x')" - bytes is mutable whereas str is not: this may break some modules based on ctypes
* Fix several failing tests in test_urllib2net.Jeremy Hylton2007-08-082-1/+18
| | | | | | | | | The HTTPResponse object is being passed to BufferedReader, but it wasn't designed to be used that way. These changes extend the hacks that have already been made in urllib2 to get the tests to pass. The hacks need to be removed and proper support for use with the io library. That's a project for another day.
* Switch wsgiref to io.{StringIO,BytesIO}. This shuts up the test failures.Guido van Rossum2007-08-083-5/+5
| | | | (I'm not sure about it actually working though.)
* SF patch # 1769767, get test_xml_etree_c working. More conversions are ↵Neal Norwitz2007-08-081-42/+12
| | | | probably needed.
* Whitespace normalization.Neal Norwitz2007-08-081-12/+12
|
* Py_ssize_t requires "n" format, this fixes most of the 64-bit only failures.Neal Norwitz2007-08-081-1/+1
|
* Convert some usages of types.StringType to just str (since types.StringType ↵Collin Winter2007-08-081-5/+4
| | | | has gone away).
* Fix a type error in a previous patch I made to this module.Guido van Rossum2007-08-081-1/+1
| | | | I should not ignore compiler warnings!
* Fix the last remaining test_csv failure.Guido van Rossum2007-08-071-1/+7
| | | | | | We were using T_CHAR for a UNICODE character. (This happened to work on x86 most of the time due to endianness; but not on PPC.)
* BZ2File.read(0) should return b"" rather than raising ValueError.Guido van Rossum2007-08-072-1/+9
| | | | | This fixes test_tarfile.py. I've added a unit test for the correct bz2 behavior.
* Remove the coding line, and convert umlauted characters to \x escapes.Guido van Rossum2007-08-071-16/+14
| | | | | | All code in the stdlib should be ASCII only, unless (a) it's test input for testing the *parsing* of unicode, or (b) it's an author's name in a comment.
* Fix the test_minidom failure.Guido van Rossum2007-08-071-1/+2
| | | | | | We just need to force the encoding when no encoding is passed to toxml() or toprettyxml(), rather than relying on the default encoding (which is unreliable).
* Change the repr() of frozenset instances (and set subclasses)Guido van Rossum2007-08-072-23/+25
| | | | | from name([e1, e2, ...]) to name({e1, e2, ...}). This makes more sense now we have the set notation.
* Remove more references to intobject.Guido van Rossum2007-08-078-53/+1
|
* Oops. I killed a bit too much and not enough when I deleted intobject.c.Guido van Rossum2007-08-072-1/+6
|
* Kill references to tp_print.Guido van Rossum2007-08-071-13/+6
|
* Kill remaining tp_print definitions.Guido van Rossum2007-08-073-76/+4
|
* Kill all uses and definitions of tp_print under Objects/. (Others will follow.)Guido van Rossum2007-08-0711-1470/+11
| | | | Finally kill intobject.c, which was #ifdef'ed out a long time ago.