| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
in KOI8-R.
|
|
|
|
|
|
| |
(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).
|
|
|
|
|
| |
Add docstring for conjugate().
Patch by Jeffrey Yasskin.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
string representation for use in the XML.
Also strip out some unneeded encoding/decoding steps.
|
|
|
|
| |
to be between str8 and str.
|
|
|
|
|
|
| |
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?).
|
| |
|
|
|
|
| |
encoding can only be UTF-8 now.
|
|
|
|
| |
Unicode now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix one of the two failing tests for minidom.
|
| |
|
|
|
|
| |
Get rid of some #ifdef'ed-out code.
|
|
|
|
| |
Change a bunch of .assert_(X == Y) to .assertEqual(X, Y).
|
|
|
|
| |
Fix test_aepack and test_applesingle.
|
| |
|
|
|
|
| |
Kill some dead (commented-out) code.
|
| |
|
| |
|
|
|
|
|
|
| |
files, not text files.
test_shelve still fails thanks to bsddb not having been fixed.
|
|
|
|
| |
Silence two innocuous warnings (_File and _collections).
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
Can't guarantee I caught every spot.
|
|
|
|
| |
I have no illusion that this fixes all issues with this module.
|
| |
|
|
|
|
| |
(To run these, you need to pass -uurlfetch to regrtest.py or runtests.sh.)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(This doesn't fix test_cookielib, just removes the SyntaxError.)
|
| |
|
| |
|
|
|
|
| |
problems on my OSX laptop. use a condition variable instead.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This makes test_resource.py pass, and I think it's the right thing
to do: if you're closing a file after encountering an I/O error
there's nothing you can do about it. If you want the error, you
can call flush() yourself.
|
|
|
|
|
| |
its failure means much, now that the handling of unicode and bytes has
changed so much.
|
|
|
|
|
|
| |
I *think* it's okay no longer to require that compiling a Unicode
string with a coding declaration fails; it seems appropriate to
just ignore it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/p3yk
........
r56486 | kurt.kaiser | 2007-07-22 05:27:08 +0200 (So, 22 Jul 2007) | 2 lines
Fix typo introduced at r55797
........
r56487 | kurt.kaiser | 2007-07-22 07:48:45 +0200 (So, 22 Jul 2007) | 2 lines
Exception attr accessed via args in py3k.
........
r56489 | martin.v.loewis | 2007-07-22 15:32:44 +0200 (So, 22 Jul 2007) | 2 lines
Regenerate.
........
r56490 | martin.v.loewis | 2007-07-22 15:34:06 +0200 (So, 22 Jul 2007) | 2 lines
Port Mac modules to PEP 3123.
........
r56491 | martin.v.loewis | 2007-07-22 16:35:53 +0200 (So, 22 Jul 2007) | 1 line
Port to PEP 3123.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/p3yk
................
r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines
Merged revisions 56466-56476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
........
................
r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines
PEP 3123: Use proper C inheritance for PyObject.
................
r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines
Add longintrepr.h to Python.h, so that the compiler can
see that PyFalse is really some kind of PyObject*.
................
r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines
Qualify SHIFT, MASK, BASE.
................
r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines
Correctly refer to _ob_next.
................
|