- 10 Aug, 2007 15 commits
-
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Gerhard Häring authored
-
Guido van Rossum authored
a bogus (tuple) value. This should fix the "make install" issue Neal reported.
-
Lars Gustäbel authored
filenames that cannot be represented that way.
-
Walter Dörwald authored
won't go away, as the exception object holds another reference).
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
Guido van Rossum authored
-
- 09 Aug, 2007 12 commits
-
-
Guido van Rossum authored
PyString_FromString(). This is arguably more correct, even if it shouldn't matter much (all the input is likely to be ASCII).
-
Guido van Rossum authored
in verbose mode: pre-import the Latin-1 and UTF-8 codecs
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
(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.
-
Guido van Rossum authored
was relying on PyString.tp_print but that no longer works. Fortunately it's rarely called; only the gdb 'pyo' command seems affected.
-
Kurt B. Kaiser authored
M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/OutputWindow.py M idlelib/RemoteObjectBrowser.py
-
Kurt B. Kaiser authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
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. ........ ................
-
Guido van Rossum authored
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.
-
- 08 Aug, 2007 10 commits
-
-
Martin v. Löwis authored
-
Guido van Rossum authored
-
Thomas Heller authored
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
-
Jeremy Hylton authored
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.
-
Guido van Rossum authored
(I'm not sure about it actually working though.)
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Collin Winter authored
-
Guido van Rossum authored
I should not ignore compiler warnings!
-
- 07 Aug, 2007 3 commits
-
-
Guido van Rossum authored
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.)
-
Guido van Rossum authored
This fixes test_tarfile.py. I've added a unit test for the correct bz2 behavior.
-
Guido van Rossum authored
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.
-