Author: christian.heimes
Date: Fri Nov 2 12:05:47 2007
New Revision: 58768
Modified:
python/branches/py3k-pep3137/Lib/tarfile.py
python/branches/py3k-pep3137/Lib/test/test_codeccallbacks.py
python/branches/py3k-pep3137/Lib/test/test_collections.py
python/branches/py3k-pep3137/Lib/test
Author: christian.heimes
Date: Fri Nov 2 12:41:44 2007
New Revision: 58769
Modified:
python/branches/py3k-pep3137/Lib/dumbdbm.py
python/branches/py3k-pep3137/Lib/test/test_exceptions.py
python/branches/py3k-pep3137/Lib/test/test_struct.py
python/branches/py3k-pep3137/Lib/test/test_uni
Author: guido.van.rossum
Date: Fri Nov 2 15:25:46 2007
New Revision: 58771
Modified:
python/branches/py3k-pep3137/Objects/unicodeobject.c
Log:
Remove implicit str() call in "".join() argument.
Modified: python/branches/py3k-pep3137/Objects/unicodeobject.c
Author: guido.van.rossum
Date: Fri Nov 2 15:03:59 2007
New Revision: 58770
Modified:
python/branches/py3k-pep3137/Python/codecs.c
Log:
Add a warning when a codec returns PyBytes instead of PyString.
Modified: python/branches/py3k-pep3137/Python/codecs.c
==
Author: christian.heimes
Date: Fri Nov 2 15:27:09 2007
New Revision: 58772
Modified:
python/branches/py3k-pep3137/Lib/tarfile.py
Log:
Fixed encoding of tarfile.py. I've removed the iso-8859-1 encoding flag, too.
Modified: python/branches/py3k-pep3137/Lib/tarfile.py
===
On 11/2/07, christian.heimes wrote:
> More fixes for bytes() vs. buffer()
> Open question: Should UnicodeDecodeError accept bytes for self->object, too?
Yes!
> Modified: python/branches/py3k-pep3137/Lib/tarfile.py
> ==
>
Guido van Rossum wrote:
> On 11/2/07, christian.heimes wrote:
>> More fixes for bytes() vs. buffer()
>> Open question: Should UnicodeDecodeError accept bytes for self->object, too?
>
> Yes!
Should it accept *only* PyString or both PyString and PyBytes?
>
>> Modified: python/branches/py3k-pep31
Author: christian.heimes
Date: Fri Nov 2 16:59:04 2007
New Revision: 58773
Modified:
python/branches/py3k-pep3137/Lib/encodings/idna.py
python/branches/py3k-pep3137/Lib/encodings/punycode.py
python/branches/py3k-pep3137/Lib/string.py
python/branches/py3k-pep3137/Lib/test/string_tests.
Author: guido.van.rossum
Date: Fri Nov 2 17:24:54 2007
New Revision: 58775
Modified:
python/branches/py3k-pep3137/Python/pythonrun.c
Log:
Re-enable assignment of the proper thing to sys.stderr;
in my fury I accidentally submitted a debug change.
This fixes the failure in test_sys.
Modified:
Author: guido.van.rossum
Date: Fri Nov 2 17:10:06 2007
New Revision: 58774
Modified:
python/branches/py3k/Lib/test/test_xmlrpc.py
Log:
Patch 1373 by Adam Hupp.
Fixes intermittent errors in test_xmlrpc due to socket timeouts.
Modified: python/branches/py3k/Lib/test/test_xmlrpc.py
Author: christian.heimes
Date: Fri Nov 2 11:23:32 2007
New Revision: 58767
Modified:
python/branches/py3k-pep3137/Modules/socketmodule.c
Log:
Fixed stack dump in socketmodule
Modified: python/branches/py3k-pep3137/Modules/socketmodule.c
Author: guido.van.rossum
Date: Fri Nov 2 18:01:32 2007
New Revision: 58779
Modified:
python/branches/py3k-pep3137/Objects/bytesobject.c
python/branches/py3k-pep3137/Objects/stringobject.c
Log:
Quickly fixed byts_join() and string_join() to be more like each other,
and to accept mixed bytes/
Author: guido.van.rossum
Date: Fri Nov 2 18:18:22 2007
New Revision: 58780
Modified:
python/branches/py3k-pep3137/Lib/test/test_posix.py
python/branches/py3k-pep3137/Modules/posixmodule.c
Log:
Ensure that posix.environ maps strings to strings.
For now, keys and values that aren't UTF-8 are
Author: guido.van.rossum
Date: Fri Nov 2 19:25:47 2007
New Revision: 58781
Modified:
python/branches/py3k-pep3137/Lib/subprocess.py
python/branches/py3k-pep3137/Lib/test/test_subprocess.py
Log:
Fix the subprocess tests.
Clean up some odd indentation in test_subprocess.py.
Modified: python
Author: guido.van.rossum
Date: Fri Nov 2 20:09:47 2007
New Revision: 58783
Modified:
python/branches/py3k-pep3137/Objects/typeobject.c
python/branches/py3k-pep3137/Python/getargs.c
Log:
Tightening the screws in arg parsing: 'S' only accepts PyString.
Found one (crucial) place so far where '
Author: guido.van.rossum
Date: Fri Nov 2 20:32:09 2007
New Revision: 58786
Modified:
python/branches/py3k-pep3137/Objects/abstract.c
Log:
Clean up trailing whitespace.
Add the type name to the error message from PyObject_GetBuffer().
Modified: python/branches/py3k-pep3137/Objects/abstract.c
Author: guido.van.rossum
Date: Fri Nov 2 20:37:59 2007
New Revision: 58788
Modified:
python/branches/py3k-pep3137/Modules/_bsddb.c
Log:
Fix a bytes dependency in _bsddb.c.
More needs to be done before it passes all its tests though...
Modified: python/branches/py3k-pep3137/Modules/_bsddb.c
=
Author: guido.van.rossum
Date: Fri Nov 2 20:44:05 2007
New Revision: 58789
Modified:
python/branches/py3k-pep3137/Modules/datetimemodule.c
Log:
Fix an arg parsing format string: S -> U.
Modified: python/branches/py3k-pep3137/Modules/datetimemodule.c
==
Author: guido.van.rossum
Date: Fri Nov 2 20:46:54 2007
New Revision: 58790
Modified:
python/branches/py3k-pep3137/Objects/moduleobject.c
Log:
Fix another arg parse S -> U format.
Modified: python/branches/py3k-pep3137/Objects/moduleobject.c
===
Author: guido.van.rossum
Date: Fri Nov 2 20:49:03 2007
New Revision: 58791
Modified:
python/branches/py3k-pep3137/Objects/codeobject.c
Log:
And another S -> U fix.
Modified: python/branches/py3k-pep3137/Objects/codeobject.c
Author: guido.van.rossum
Date: Fri Nov 2 20:33:24 2007
New Revision: 58787
Modified:
python/branches/py3k-pep3137/Lib/struct.py
python/branches/py3k-pep3137/Lib/test/test_struct.py
python/branches/py3k-pep3137/Modules/_struct.c
Log:
Make test_struct pass.
Accept anything that's bytes as
Author: guido.van.rossum
Date: Fri Nov 2 21:03:18 2007
New Revision: 58795
Modified:
python/branches/py3k-pep3137/Modules/datetimemodule.c
Log:
Fix test_datetime. The return type of make_Zreplacement is changed again.
Modified: python/branches/py3k-pep3137/Modules/datetimemodule.c
=
Author: guido.van.rossum
Date: Fri Nov 2 20:55:40 2007
New Revision: 58794
Modified:
python/branches/py3k-pep3137/Modules/_cursesmodule.c
Log:
PyBytes -> PyString in PyCurses_GetWin().
Modified: python/branches/py3k-pep3137/Modules/_cursesmodule.c
Author: guido.van.rossum
Date: Fri Nov 2 21:30:04 2007
New Revision: 58800
Modified:
python/branches/py3k-pep3137/Lib/test/test_mmap.py
python/branches/py3k-pep3137/Modules/mmapmodule.c
Log:
Fix up mmap. It behaves more like bytes now, e.g. m[i] is an int,
and m[i:j] returns a PyString.
Author: guido.van.rossum
Date: Fri Nov 2 21:48:47 2007
New Revision: 58801
Modified:
python/branches/py3k-pep3137/Python/getargs.c
Log:
Another attempt at cleanup up some of the string codes in getargs.c.
This needs a much bigger effort though.
Modified: python/branches/py3k-pep3137/Python/g
Author: guido.van.rossum
Date: Fri Nov 2 21:50:29 2007
New Revision: 58802
Modified:
python/branches/py3k-pep3137/Lib/base64.py
Log:
Fix simple bytes/buffer issues in base64.py.
Modified: python/branches/py3k-pep3137/Lib/base64.py
=
Author: guido.van.rossum
Date: Fri Nov 2 21:57:22 2007
New Revision: 58803
Modified:
python/branches/py3k-pep3137/Lib/base64.py
Log:
Some more base64 stuff.
(binascii needs to change too though.)
Modified: python/branches/py3k-pep3137/Lib/base64.py
===
Author: guido.van.rossum
Date: Fri Nov 2 21:59:27 2007
New Revision: 58804
Modified:
python/branches/py3k-pep3137/Lib/test/test_audioop.py
Log:
Fix test_audioop.py.
Modified: python/branches/py3k-pep3137/Lib/test/test_audioop.py
===
Author: christian.heimes
Date: Fri Nov 2 22:05:31 2007
New Revision: 58805
Modified:
python/branches/py3k-pep3137/Lib/test/test_exceptions.py
python/branches/py3k-pep3137/Objects/exceptions.c
python/branches/py3k-pep3137/Objects/unicodeobject.c
Log:
Changed UnicodeDecodeError.object type
Author: guido.van.rossum
Date: Fri Nov 2 22:07:59 2007
New Revision: 58806
Modified:
python/branches/py3k-pep3137/Lib/test/test_descr.py
Log:
Fix test_descr.py.
(Only str_of_str_subclass() was broken, due to b2a_hex() issues.)
Modified: python/branches/py3k-pep3137/Lib/test/test_descr.py
===
Author: guido.van.rossum
Date: Fri Nov 2 22:15:41 2007
New Revision: 58807
Modified:
python/branches/py3k-pep3137/Lib/test/test_unicode.py
Log:
Fix test_unicode.py.
Modified: python/branches/py3k-pep3137/Lib/test/test_unicode.py
===
Author: guido.van.rossum
Date: Fri Nov 2 22:32:46 2007
New Revision: 58808
Modified:
python/branches/py3k-pep3137/Lib/uuid.py
python/branches/py3k-pep3137/Objects/stringobject.c
Log:
Fix test_uuid.py.
This meant restoring reversed(b"...") functionality,
by putting back string_item().
Modi
Author: guido.van.rossum
Date: Fri Nov 2 22:35:38 2007
New Revision: 58809
Modified:
python/branches/py3k-pep3137/Modules/_sqlite/module.c
Log:
Fix one bootstrap issue in sqlite (S -> U format code again).
Many other issues are now revealed.
Modified: python/branches/py3k-pep3137/Modules/_sq
Author: guido.van.rossum
Date: Fri Nov 2 22:47:41 2007
New Revision: 58810
Modified:
python/branches/py3k-pep3137/Lib/zipfile.py
Log:
Fix zipfile.
Modified: python/branches/py3k-pep3137/Lib/zipfile.py
==
--- python/b
Author: guido.van.rossum
Date: Fri Nov 2 23:17:24 2007
New Revision: 58812
Modified:
python/branches/py3k-pep3137/Objects/longobject.c
Log:
Fix str8 reference in comment.
Modified: python/branches/py3k-pep3137/Objects/longobject.c
=
Author: guido.van.rossum
Date: Fri Nov 2 23:16:14 2007
New Revision: 58811
Modified:
python/branches/py3k-pep3137/Objects/longobject.c
Log:
Make int(x, base) work for isinstance(x, (str, bytes, buffer)).
Modified: python/branches/py3k-pep3137/Objects/longobject.c
Author: guido.van.rossum
Date: Sat Nov 3 00:07:07 2007
New Revision: 58815
Modified:
python/branches/py3k/Objects/typeobject.c
python/branches/py3k/Parser/asdl_c.py
python/branches/py3k/Python/Python-ast.c
python/branches/py3k/Python/errors.c
Log:
Fixes for issue 1752184, ensuring typ
Author: guido.van.rossum
Date: Sat Nov 3 00:13:21 2007
New Revision: 58816
Modified:
python/branches/py3k-pep3137/ (props changed)
python/branches/py3k-pep3137/Objects/typeobject.c
python/branches/py3k-pep3137/Parser/asdl_c.py
python/branches/py3k-pep3137/Python/Python-ast.c
pyth
Author: guido.van.rossum
Date: Sat Nov 3 00:46:40 2007
New Revision: 58817
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/c-api/concrete.rst
python/branches/py3k/Doc/glossary.rst
python/branches/py3k/Doc/library/datetime.rst
python/branches/py3k/Doc/libr
Author: guido.van.rossum
Date: Sat Nov 3 01:01:24 2007
New Revision: 58818
Modified:
python/branches/py3k-pep3137/ (props changed)
python/branches/py3k-pep3137/Doc/c-api/concrete.rst
python/branches/py3k-pep3137/Doc/glossary.rst
python/branches/py3k-pep3137/Doc/library/datetime.rst
Author: guido.van.rossum
Date: Sat Nov 3 01:24:24 2007
New Revision: 58819
Modified:
python/branches/py3k/Lib/test/test_bytes.py
python/branches/py3k/Objects/bytesobject.c
Log:
Patch 1171 by mfenniak -- allow subclassing of bytes.
I suspect this has some problems when the subclass is evil,
Author: christian.heimes
Date: Sat Nov 3 01:53:47 2007
New Revision: 58820
Modified:
python/branches/py3k-pep3137/Lib/gettext.py
Log:
Fixed gettext bug. Python's gettext module may still break if the GNU mo header
contains non UTF-8 characters. Let's see if users are going to complain.
Modif
Author: christian.heimes
Date: Sat Nov 3 02:11:03 2007
New Revision: 58821
Modified:
python/branches/py3k-pep3137/Lib/urllib.py
Log:
Fixed urllib. Can we get rid of toBytes()?
Modified: python/branches/py3k-pep3137/Lib/urllib.py
Author: brett.cannon
Date: Sat Nov 3 08:36:42 2007
New Revision: 58823
Modified:
python/branches/py3k-pep3137/Lib/httplib.py
python/branches/py3k-pep3137/Lib/test/test_httplib.py
Log:
Make HTTPConnectin.putheader() accept bytes/buffers and not use their string
representations.
Modified: p
44 matches
Mail list logo