- 10 Agu, 2007 9 kayıt (commit)
-
-
Guido van Rossum yazdı
a bogus (tuple) value. This should fix the "make install" issue Neal reported.
-
Lars Gustäbel yazdı
filenames that cannot be represented that way.
-
Walter Dörwald yazdı
won't go away, as the exception object holds another reference).
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
-
Guido van Rossum yazdı
-
- 09 Agu, 2007 12 kayıt (commit)
-
-
Guido van Rossum yazdı
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 yazdı
in verbose mode: pre-import the Latin-1 and UTF-8 codecs
-
Guido van Rossum yazdı
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 yazdı
(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 yazdı
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 yazdı
M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/OutputWindow.py M idlelib/RemoteObjectBrowser.py
-
Kurt B. Kaiser yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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 yazdı
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 Agu, 2007 10 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
-
Thomas Heller yazdı
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 yazdı
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 yazdı
(I'm not sure about it actually working though.)
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Collin Winter yazdı
-
Guido van Rossum yazdı
I should not ignore compiler warnings!
-
- 07 Agu, 2007 9 kayıt (commit)
-
-
Guido van Rossum yazdı
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 yazdı
This fixes test_tarfile.py. I've added a unit test for the correct bz2 behavior.
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
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).
-
Guido van Rossum yazdı
from name([e1, e2, ...]) to name({e1, e2, ...}). This makes more sense now we have the set notation.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-