- 02 Aug, 2007 2 commits
-
-
Guido van Rossum authored
using super(). (See recent conversation on python-3000 with Talin and Phillip Eby about PEP 3115 chaining rules.)
-
Georg Brandl authored
-
- 01 Aug, 2007 5 commits
-
-
Guido van Rossum authored
In particular, add trivial implementations of .real, .imag and .conjugate() to both, and add .numerator and .denominator to long. Also some small optimizations (e.g. remove long_pos in favor of long_long).
-
Guido van Rossum authored
in KOI8-R.
-
Guido van Rossum authored
(The previous changes to abc.py were also by him). Put back a comment about using super() for properties (I didn't realize this worked).
-
Guido van Rossum authored
Add docstring for conjugate(). Patch by Jeffrey Yasskin.
-
Guido van Rossum authored
-
- 30 Jul, 2007 4 commits
-
-
Walter Dörwald authored
error callback changes the bytes object in the exception the decoder might use memory that's no longer in use. Change unicode_decode_call_errorhandler() so that it fetches the adresses of the bytes array (start and end) from the exception object and passes them back to the caller.
-
Brett Cannon authored
string representation for use in the XML. Also strip out some unneeded encoding/decoding steps.
-
Brett Cannon authored
to be between str8 and str.
-
Guido van Rossum authored
Reported by Joe Smith. This makes the CYGWIN tests pass; it's a miracle it didn't fail on other platforms. Seems like it was accidentally dropped (maybe a merge artifact?).
-
- 29 Jul, 2007 3 commits
-
-
Martin v. Löwis authored
-
Brett Cannon authored
encoding can only be UTF-8 now.
-
Brett Cannon authored
Unicode now.
-
- 28 Jul, 2007 5 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 27 Jul, 2007 7 commits
-
-
Guido van Rossum authored
In order to do this, I added an optional encoding argument to io.StringIO. The toprettyxml() function returns bytes when you specify an encoding now.
-
Guido van Rossum authored
Fix one of the two failing tests for minidom.
-
Guido van Rossum authored
-
Guido van Rossum authored
Get rid of some #ifdef'ed-out code.
-
Guido van Rossum authored
Change a bunch of .assert_(X == Y) to .assertEqual(X, Y).
-
Guido van Rossum authored
Fix test_aepack and test_applesingle.
-
Guido van Rossum authored
-
- 26 Jul, 2007 4 commits
-
-
Guido van Rossum authored
Kill some dead (commented-out) code.
-
Guido van Rossum authored
-
Brett Cannon authored
-
Brett Cannon authored
files, not text files. test_shelve still fails thanks to bsddb not having been fixed.
-
- 25 Jul, 2007 1 commit
-
-
Guido van Rossum authored
Silence two innocuous warnings (_File and _collections).
-
- 24 Jul, 2007 2 commits
-
-
Guido van Rossum authored
division. The other curses demos all work fine, so I'm more confident that the curses library actually works. (Don't try to display non-ASCII characters, of course.)
-
Guido van Rossum authored
Can't guarantee I caught every spot.
-
- 23 Jul, 2007 7 commits
-
-
Guido van Rossum authored
I have no illusion that this fixes all issues with this module.
-
Guido van Rossum authored
-
Guido van Rossum authored
(To run these, you need to pass -uurlfetch to regrtest.py or runtests.sh.)
-
Guido van Rossum authored
1. Removed "returns_unicode" attribute, associated code in the module to support that attribute, and all tests associated with it. 2. Parsed data is now returned as unicode strings. 3. Changed input tests to use io.BytesIO instead of StringIO, to reflect the byte processing nature of expat.
-
Guido van Rossum authored
I made Carbon.File.pathname return unicode, by analogy with macpath.abspath. There could easily be other bugs of the same sort in this file. The uses of PyString_FromString*() in particular look sketchy.
-
Guido van Rossum authored
(This doesn't fix test_cookielib, just removes the SyntaxError.)
-
Guido van Rossum authored
-