[pypy-commit] pypy utf8-unicode2: Fix translation, but better

2014-09-07 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73361:53178aaa779b Date: 2014-09-07 12:38 -0500 http://bitbucket.org/pypy/pypy/changeset/53178aaa779b/ Log:Fix translation, but better diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/py

[pypy-commit] pypy utf8-unicode2: Fix translation

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73355:327917b8c2e5 Date: 2014-09-06 17:32 -0500 http://bitbucket.org/pypy/pypy/changeset/327917b8c2e5/ Log:Fix translation diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/pypy/interpret

[pypy-commit] pypy utf8-unicode2: Fix MBCS codecs on Windows

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73348:19502a3ecd04 Date: 2014-08-28 23:48 -0500 http://bitbucket.org/pypy/pypy/changeset/19502a3ecd04/ Log:Fix MBCS codecs on Windows diff --git a/pypy/interpreter/test/test_utf8_codecs.py b/pypy/interpreter/test/test_utf8_codecs.py --- a

[pypy-commit] pypy utf8-unicode2: Give app-level unicode objects a specialized iterator

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73347:7b8e8bfabdc3 Date: 2014-08-17 01:21 -0500 http://bitbucket.org/pypy/pypy/changeset/7b8e8bfabdc3/ Log:Give app-level unicode objects a specialized iterator diff --git a/pypy/objspace/std/iterobject.py b/pypy/objspace/std/iterobject.py

[pypy-commit] pypy utf8-unicode2: Mostly fix _cffi_backend on Windows

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73349:039ddc451153 Date: 2014-08-29 00:00 -0500 http://bitbucket.org/pypy/pypy/changeset/039ddc451153/ Log:Mostly fix _cffi_backend on Windows diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/inte

[pypy-commit] pypy utf8-unicode2: Fix some tests on Windows

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73350:249da6fb0a96 Date: 2014-08-29 00:31 -0500 http://bitbucket.org/pypy/pypy/changeset/249da6fb0a96/ Log:Fix some tests on Windows diff --git a/pypy/module/_rawffi/test/test__rawffi.py b/pypy/module/_rawffi/test/test__rawffi.py --- a/py

[pypy-commit] pypy utf8-unicode2: Remove this test again. It passes translated, but times out untranslated

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73345:c12f7021bd3a Date: 2014-08-14 02:52 -0500 http://bitbucket.org/pypy/pypy/changeset/c12f7021bd3a/ Log:Remove this test again. It passes translated, but times out untranslated diff --git a/pypy/module/_io/test/test_textio.py b

[pypy-commit] pypy utf8-unicode2: Use an iterator here so its O(n)

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73351:4c43dd3a4c7b Date: 2014-08-29 01:23 -0500 http://bitbucket.org/pypy/pypy/changeset/4c43dd3a4c7b/ Log:Use an iterator here so its O(n) diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pyp

[pypy-commit] pypy utf8-unicode2: Rename this method

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73353:20c49b3d0e22 Date: 2014-09-06 15:42 -0500 http://bitbucket.org/pypy/pypy/changeset/20c49b3d0e22/ Log:Rename this method diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/interpreter/test

[pypy-commit] pypy utf8-unicode2: Utf8Iterator: Don't recalculate byte_pos until its needed

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73346:c294b2a1b07c Date: 2014-08-16 21:25 -0500 http://bitbucket.org/pypy/pypy/changeset/c294b2a1b07c/ Log:Utf8Iterator: Don't recalculate byte_pos until its needed diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pyp

[pypy-commit] pypy utf8-unicode2: Add a simple index caching scheme

2014-09-06 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r73352:26fe9ddc3df9 Date: 2014-09-06 15:38 -0500 http://bitbucket.org/pypy/pypy/changeset/26fe9ddc3df9/ Log:Add a simple index caching scheme diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/i

[pypy-commit] pypy utf8-unicode2: Simplify iterators. Use iterators consistently when encoding unicode strings

2014-08-13 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72787:9f7fc269657f Date: 2014-08-14 01:02 -0500 http://bitbucket.org/pypy/pypy/changeset/9f7fc269657f/ Log:Simplify iterators. Use iterators consistently when encoding unicode strings diff --git a/pypy/interpreter/test/test_utf8.py

[pypy-commit] pypy utf8-unicode2: More untranslated vs translated bools

2014-08-13 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72786:c5c9087c291c Date: 2014-08-13 02:29 -0500 http://bitbucket.org/pypy/pypy/changeset/c5c9087c291c/ Log:More untranslated vs translated bools diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py --- a/pypy/objspa

[pypy-commit] pypy utf8-unicode2: Using byte-strings 8f5d79d24198 causes wierd rtyper errors. Try something else.

2014-08-13 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72785:0016d703c625 Date: 2014-08-13 02:28 -0500 http://bitbucket.org/pypy/pypy/changeset/0016d703c625/ Log:Using byte-strings 8f5d79d24198 causes wierd rtyper errors. Try something else. diff --git a/pypy/module/_io/interp_stringio

[pypy-commit] pypy utf8-unicode2: Copy failing lib-python test

2014-08-12 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72767:90afe25b63d5 Date: 2014-08-12 11:38 -0500 http://bitbucket.org/pypy/pypy/changeset/90afe25b63d5/ Log:Copy failing lib-python test diff --git a/pypy/module/_io/test/test_textio.py b/pypy/module/_io/test/test_textio.py --- a/pypy/modu

[pypy-commit] pypy utf8-unicode2: Fix translation

2014-08-12 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72766:50441033e543 Date: 2014-08-12 11:34 -0500 http://bitbucket.org/pypy/pypy/changeset/50441033e543/ Log:Fix translation diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py --- a/pypy/module/_io/interp_s

[pypy-commit] pypy utf8-unicode2: Fix text_index when run on a translated PyPy

2014-08-11 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72754:42f8daeaba72 Date: 2014-08-11 03:06 -0500 http://bitbucket.org/pypy/pypy/changeset/42f8daeaba72/ Log:Fix text_index when run on a translated PyPy diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter

[pypy-commit] pypy utf8-unicode2: Handle newlines as ascii strings in W_TextIOWrapper

2014-08-11 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72755:8f5d79d24198 Date: 2014-08-11 12:58 -0500 http://bitbucket.org/pypy/pypy/changeset/8f5d79d24198/ Log:Handle newlines as ascii strings in W_TextIOWrapper diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py

[pypy-commit] pypy utf8-unicode2: Explicitly raise the IndexError for str objects

2014-08-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72739:b895651fbbdc Date: 2014-08-09 23:50 -0500 http://bitbucket.org/pypy/pypy/changeset/b895651fbbdc/ Log:Explicitly raise the IndexError for str objects diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpre

[pypy-commit] pypy utf8-unicode2: Fix more translated vs untranslated bool issues (apparently its __nonzero__ instead of __bool__ in Python 2)

2014-08-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72741:c963423d5f20 Date: 2014-08-10 02:14 -0500 http://bitbucket.org/pypy/pypy/changeset/c963423d5f20/ Log:Fix more translated vs untranslated bool issues (apparently its __nonzero__ instead of __bool__ in Python 2) diff --git a/py

[pypy-commit] pypy utf8-unicode2: Fix rstr.rsplit

2014-08-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72740:5f2ee0bf8c2c Date: 2014-08-10 00:45 -0500 http://bitbucket.org/pypy/pypy/changeset/5f2ee0bf8c2c/ Log:Fix rstr.rsplit diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py --- a/rpython/rtyper/lltypes

[pypy-commit] pypy utf8-unicode2: str._formatter_parser is apparently part of the public api

2014-08-09 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72726:7f527aa7b8f1 Date: 2014-08-09 02:12 -0500 http://bitbucket.org/pypy/pypy/changeset/7f527aa7b8f1/ Log:str._formatter_parser is apparently part of the public api diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat

[pypy-commit] pypy utf8-unicode2: Fix crash when using an incomplete format specific (ie u'%(foo' % {})

2014-08-09 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72729:31e5deb73708 Date: 2014-08-09 04:04 -0500 http://bitbucket.org/pypy/pypy/changeset/31e5deb73708/ Log:Fix crash when using an incomplete format specific (ie u'%(foo' % {}) diff --git a/pypy/interpreter/utf8.py b/pypy/interpret

[pypy-commit] pypy utf8-unicode2: Fix the unicode strategy of list.find

2014-08-09 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72727:c80352ad6379 Date: 2014-08-09 02:42 -0500 http://bitbucket.org/pypy/pypy/changeset/c80352ad6379/ Log:Fix the unicode strategy of list.find diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objs

[pypy-commit] pypy utf8-unicode2: Typo

2014-08-09 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72728:da24f2c93b5b Date: 2014-08-09 02:43 -0500 http://bitbucket.org/pypy/pypy/changeset/da24f2c93b5b/ Log:Typo diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/pypy/interpreter/utf8.py

[pypy-commit] pypy utf8-unicode2: Fix error handling in unicode_internal codec

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72725:36fc05030a2a Date: 2014-08-09 01:45 -0500 http://bitbucket.org/pypy/pypy/changeset/36fc05030a2a/ Log:Fix error handling in unicode_internal codec diff --git a/pypy/interpreter/utf8_codecs.py b/pypy/interpreter/utf8_codecs.py --- a/py

[pypy-commit] pypy utf8-unicode2: Attempt to fix some translated test failures

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72724:d2ab58ed2eed Date: 2014-08-09 01:45 -0500 http://bitbucket.org/pypy/pypy/changeset/d2ab58ed2eed/ Log:Attempt to fix some translated test failures diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter

[pypy-commit] pypy utf8-unicode2: Fix mismatch between translated and untranslated behavior

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72723:d124ea9a7f3a Date: 2014-08-09 00:37 -0500 http://bitbucket.org/pypy/pypy/changeset/d124ea9a7f3a/ Log:Fix mismatch between translated and untranslated behavior diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pyp

[pypy-commit] pypy utf8-unicode2: Fix unicode keys in (app-level) dictionaries

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72722:a97578376264 Date: 2014-08-08 22:42 -0500 http://bitbucket.org/pypy/pypy/changeset/a97578376264/ Log:Fix unicode keys in (app-level) dictionaries diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter

[pypy-commit] pypy utf8-unicode2: Explictly check for negative codepoints

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72721:3a4bfe6c37ee Date: 2014-08-08 22:00 -0500 http://bitbucket.org/pypy/pypy/changeset/3a4bfe6c37ee/ Log:Explictly check for negative codepoints diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8

[pypy-commit] pypy utf8-unicode2: Some non-ascii Utf8Str's were being marked as ascii

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72718:f324ba27ece1 Date: 2014-08-06 21:10 -0500 http://bitbucket.org/pypy/pypy/changeset/f324ba27ece1/ Log:Some non-ascii Utf8Str's were being marked as ascii diff --git a/pypy/interpreter/test/test_utf8_codecs.py b/pypy/interpreter/test/

[pypy-commit] pypy utf8-unicode2: Try to fix unicode.join([]). It passed locally but failed on the buildbot

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72717:e941f1e74248 Date: 2014-08-05 14:11 -0500 http://bitbucket.org/pypy/pypy/changeset/e941f1e74248/ Log:Try to fix unicode.join([]). It passed locally but failed on the buildbot diff --git a/rpython/rtyper/rstr.py b/rpython/rtyp

[pypy-commit] pypy utf8-unicode2: Refactor Utf8Builder API some; don't allow .append()

2014-08-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72719:b5e27ed82427 Date: 2014-08-08 02:12 -0500 http://bitbucket.org/pypy/pypy/changeset/b5e27ed82427/ Log:Refactor Utf8Builder API some; don't allow .append() diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_u

[pypy-commit] pypy utf8-unicode2: merge default

2014-08-05 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72699:033dc5f49479 Date: 2014-08-05 11:54 -0500 http://bitbucket.org/pypy/pypy/changeset/033dc5f49479/ Log:merge default diff too long, truncating to 2000 out of 11128 lines diff --git a/lib-python/2.7/ctypes/__init__.py b/lib-python/2.7

[pypy-commit] pypy utf8-unicode2: Fix raw-unicode-escape codec

2014-08-05 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72700:a70bb8e0da3c Date: 2014-08-05 13:24 -0500 http://bitbucket.org/pypy/pypy/changeset/a70bb8e0da3c/ Log:Fix raw-unicode-escape codec diff --git a/pypy/interpreter/test/test_utf8_codecs.py b/pypy/interpreter/test/test_utf8_codecs.py ---

[pypy-commit] pypy utf8-unicode2: Add support for str.join([])

2014-08-05 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72696:9661a2f7dd0f Date: 2014-08-04 14:36 -0500 http://bitbucket.org/pypy/pypy/changeset/9661a2f7dd0f/ Log:Add support for str.join([]) diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py --- a/rpython/r

[pypy-commit] pypy utf8-unicode2: Don't pass r_uint's to Utf8Builder.append

2014-08-05 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72698:965da5f2a8a3 Date: 2014-08-05 03:27 -0500 http://bitbucket.org/pypy/pypy/changeset/965da5f2a8a3/ Log:Don't pass r_uint's to Utf8Builder.append diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/ut

[pypy-commit] pypy utf8-unicode2: Fixed translation

2014-08-05 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72697:1ae88439bc79 Date: 2014-08-05 02:54 -0500 http://bitbucket.org/pypy/pypy/changeset/1ae88439bc79/ Log:Fixed translation diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/pypy/interpr

[pypy-commit] pypy utf8-unicode2: WIP fixing translation

2014-08-04 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72691:8a2f88e6348d Date: 2014-08-04 09:26 -0500 http://bitbucket.org/pypy/pypy/changeset/8a2f88e6348d/ Log:WIP fixing translation diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/interpreter/

[pypy-commit] pypy utf8-unicode2: Backout 92302cdd34ec - magic methods turned out to be unpopular

2014-08-04 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72690:4ad5118d6c66 Date: 2014-07-31 04:24 -0500 http://bitbucket.org/pypy/pypy/changeset/4ad5118d6c66/ Log:Backout 92302cdd34ec - magic methods turned out to be unpopular diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binar

[pypy-commit] pypy rpython-__eq__: Add support for __eq__, __ne__, __add__ and __mul__ to RPython

2014-07-29 Thread waedt
Author: Tyler Wade Branch: rpython-__eq__ Changeset: r72609:a6f86478a53a Date: 2014-07-28 13:02 -0500 http://bitbucket.org/pypy/pypy/changeset/a6f86478a53a/ Log:Add support for __eq__, __ne__, __add__ and __mul__ to RPython diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binar

[pypy-commit] pypy utf8-unicode2: Fix array

2014-07-29 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72606:60fb6d7660b0 Date: 2014-07-19 10:21 -0500 http://bitbucket.org/pypy/pypy/changeset/60fb6d7660b0/ Log:Fix array diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/pypy/interpreter/utf

[pypy-commit] pypy utf8-unicode2: Fix most remaining module failures and some translation failures

2014-07-29 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72608:d4419a342b68 Date: 2014-07-29 09:16 -0500 http://bitbucket.org/pypy/pypy/changeset/d4419a342b68/ Log:Fix most remaining module failures and some translation failures diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/ba

[pypy-commit] pypy utf8-unicode2: Add support for __eq__, __ne__, __add__ and __mul__ to RPython

2014-07-29 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72607:92302cdd34ec Date: 2014-07-28 13:02 -0500 http://bitbucket.org/pypy/pypy/changeset/92302cdd34ec/ Log:Add support for __eq__, __ne__, __add__ and __mul__ to RPython diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binary

[pypy-commit] pypy utf8-unicode2: Fix _cffi_backend

2014-07-19 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72469:fbbabe9aebd1 Date: 2014-07-17 05:23 -0500 http://bitbucket.org/pypy/pypy/changeset/fbbabe9aebd1/ Log:Fix _cffi_backend diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/interpreter/test/

[pypy-commit] pypy utf8-unicode2: Remove some stray unicode literals

2014-07-19 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72472:821f21a34f0a Date: 2014-07-19 07:41 -0500 http://bitbucket.org/pypy/pypy/changeset/821f21a34f0a/ Log:Remove some stray unicode literals diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/inter

[pypy-commit] pypy utf8-unicode2: Fix unicodedb

2014-07-19 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72471:6ae77b6a146a Date: 2014-07-19 07:40 -0500 http://bitbucket.org/pypy/pypy/changeset/6ae77b6a146a/ Log:Fix unicodedb diff --git a/pypy/module/unicodedata/interp_ucd.py b/pypy/module/unicodedata/interp_ucd.py --- a/pypy/module/unicoded

[pypy-commit] pypy utf8-unicode2: Fix _io

2014-07-19 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72470:ed2146bad83c Date: 2014-07-17 23:18 -0500 http://bitbucket.org/pypy/pypy/changeset/ed2146bad83c/ Log:Fix _io diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py --- a/pypy/module/_io/interp_stringio.

[pypy-commit] pypy utf8-unicode2: Fix _multibytecodec

2014-07-19 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72468:e70f582fd5dc Date: 2014-07-17 01:43 -0500 http://bitbucket.org/pypy/pypy/changeset/e70f582fd5dc/ Log:Fix _multibytecodec diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py --- a/pypy/interpreter/utf8.py +++ b/pypy/inter

[pypy-commit] pypy utf8-unicode2: Fix cpyext, but better this time

2014-07-15 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72448:aeafcd4cceb6 Date: 2014-07-15 11:20 -0500 http://bitbucket.org/pypy/pypy/changeset/aeafcd4cceb6/ Log:Fix cpyext, but better this time diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/in

[pypy-commit] pypy utf8-unicode2: Fix _rawffi module

2014-07-15 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72447:cc1160f9014e Date: 2014-07-13 07:34 -0500 http://bitbucket.org/pypy/pypy/changeset/cc1160f9014e/ Log:Fix _rawffi module diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/interpreter/test

[pypy-commit] pypy default: Fix underlying list of bytearrays being reused inappropriately

2014-07-13 Thread waedt
Author: Tyler Wade Branch: Changeset: r72431:2eef95188f80 Date: 2014-07-13 05:50 -0500 http://bitbucket.org/pypy/pypy/changeset/2eef95188f80/ Log:Fix underlying list of bytearrays being reused inappropriately diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayob

[pypy-commit] pypy utf8-unicode2: Fix _sre

2014-07-13 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72430:f19e309962b5 Date: 2014-07-10 10:26 -0500 http://bitbucket.org/pypy/pypy/changeset/f19e309962b5/ Log:Fix _sre diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py --- a/pypy/module/_sre/interp_sre.py +++ b/pyp

[pypy-commit] pypy utf8-unicode2: Fix byte-index / char-index mixup

2014-07-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72412:b286a841b645 Date: 2014-07-08 22:24 -0500 http://bitbucket.org/pypy/pypy/changeset/b286a841b645/ Log:Fix byte-index / char-index mixup diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/test/test_unicodeob

[pypy-commit] pypy utf8-unicode2: Handle UnicodeEncodeError better; make default error handlers RPython

2014-07-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72413:02e451d4a78b Date: 2014-07-09 00:42 -0500 http://bitbucket.org/pypy/pypy/changeset/02e451d4a78b/ Log:Handle UnicodeEncodeError better; make default error handlers RPython diff --git a/pypy/interpreter/utf8_codecs.py b/pypy/in

[pypy-commit] pypy utf8-unicode2: Fix cpyext

2014-07-10 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72414:e6b1c681e8ec Date: 2014-07-09 03:30 -0500 http://bitbucket.org/pypy/pypy/changeset/e6b1c681e8ec/ Log:Fix cpyext diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py --- a/pypy/interpreter/test/test_ut

[pypy-commit] pypy utf8-unicode2: Don't actually skip these tests

2014-07-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72389:62603ec2b980 Date: 2014-07-08 09:54 -0500 http://bitbucket.org/pypy/pypy/changeset/62603ec2b980/ Log:Don't actually skip these tests diff --git a/pypy/interpreter/test/test_utf8_codecs.py b/pypy/interpreter/test/test_utf8_codecs.py

[pypy-commit] pypy utf8-unicode2: Re-enable wrapping unicode objects

2014-07-08 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72390:11e3ba8aad74 Date: 2014-07-08 09:54 -0500 http://bitbucket.org/pypy/pypy/changeset/11e3ba8aad74/ Log:Re-enable wrapping unicode objects diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py --- a/pypy/objspace/st

[pypy-commit] pypy utf8-unicode2: WIP

2014-06-16 Thread waedt
Author: Tyler Wade Branch: utf8-unicode2 Changeset: r72077:69df5d97a930 Date: 2014-06-16 10:13 -0500 http://bitbucket.org/pypy/pypy/changeset/69df5d97a930/ Log:WIP diff --git a/pypy/interpreter/test/test_utf8.py b/pypy/interpreter/test/test_utf8.py new file mode 100644 --- /dev/null +++ b/p

[pypy-commit] pypy fix-bytearray-complexity: Close branch

2014-06-16 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r72075:102091cd4a70 Date: 2014-06-16 09:53 -0500 http://bitbucket.org/pypy/pypy/changeset/102091cd4a70/ Log:Close branch ___ pypy-commit mailing list pypy-commit@python.org https://mail

[pypy-commit] pypy fix-bytearray-complexity: Document that slicing with negative indices isn't support when overriding __getslice__.

2014-06-16 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r72074:16631b4ddbab Date: 2014-06-16 09:42 -0500 http://bitbucket.org/pypy/pypy/changeset/16631b4ddbab/ Log:Document that slicing with negative indices isn't support when overriding __getslice__. diff --git a/pypy/doc/cod

[pypy-commit] pypy fix-bytearray-complexity: Update whatsnew

2014-06-09 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r72005:c1a8bc453186 Date: 2014-06-09 10:41 -0500 http://bitbucket.org/pypy/pypy/changeset/c1a8bc453186/ Log:Update whatsnew diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++

[pypy-commit] pypy fix-bytearray-complexity: Document new magic method support

2014-06-09 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r72004:7faf6b6d4368 Date: 2014-06-09 10:16 -0500 http://bitbucket.org/pypy/pypy/changeset/7faf6b6d4368/ Log:Document new magic method support diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst --- a/pypy/doc/codin

[pypy-commit] pypy fix-bytearray-complexity: Don't use buffers as the 2nd paramter to rstring.(r)split

2014-06-09 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r72003:b2b630192e51 Date: 2014-06-09 09:25 -0500 http://bitbucket.org/pypy/pypy/changeset/b2b630192e51/ Log:Don't use buffers as the 2nd paramter to rstring.(r)split diff --git a/pypy/objspace/std/stringmethods.py b/pypy/objspac

[pypy-commit] pypy fix-bytearray-complexity: Add some special cases for stringmethods to avoid buffer-overhead

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71882:7f2b803f1319 Date: 2014-06-02 11:41 -0500 http://bitbucket.org/pypy/pypy/changeset/7f2b803f1319/ Log:Add some special cases for stringmethods to avoid buffer-overhead diff --git a/pypy/objspace/std/bytearrayobject.py b/py

[pypy-commit] pypy fix-bytearray-complexity: All bytearray tests pass again

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71876:38541e58dc34 Date: 2014-05-26 15:14 -0500 http://bitbucket.org/pypy/pypy/changeset/38541e58dc34/ Log:All bytearray tests pass again diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py

[pypy-commit] pypy fix-bytearray-complexity: Use [] and len() for buffers in rpython.rlib.rstring

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71879:7372138b89d1 Date: 2014-06-01 16:26 -0500 http://bitbucket.org/pypy/pypy/changeset/7372138b89d1/ Log:Use [] and len() for buffers in rpython.rlib.rstring diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py --- a

[pypy-commit] pypy fix-bytearray-complexity: Reorganize rlib.rstring a bit; add a test

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71881:6cbc2ccc583e Date: 2014-06-02 11:40 -0500 http://bitbucket.org/pypy/pypy/changeset/6cbc2ccc583e/ Log:Reorganize rlib.rstring a bit; add a test diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py --- a/rpython/rl

[pypy-commit] pypy fix-bytearray-complexity: Test new rlib.rstring functionality directly in rpython tests

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71874:cdb700a29e83 Date: 2014-05-26 15:00 -0500 http://bitbucket.org/pypy/pypy/changeset/cdb700a29e83/ Log:Test new rlib.rstring functionality directly in rpython tests diff --git a/rpython/rlib/test/test_rstring.py b/rpython/r

[pypy-commit] pypy fix-bytearray-complexity: Fix translation

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71877:6ac3f4336b1b Date: 2014-05-28 22:45 -0500 http://bitbucket.org/pypy/pypy/changeset/6ac3f4336b1b/ Log:Fix translation diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --- a/pypy/objs

[pypy-commit] pypy fix-bytearray-complexity: Fix rstring stuff

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71875:3c26784156b6 Date: 2014-05-26 15:01 -0500 http://bitbucket.org/pypy/pypy/changeset/3c26784156b6/ Log:Fix rstring stuff diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py --- a/rpython/rlib/rstring.py +++ b/rpyt

[pypy-commit] pypy fix-bytearray-complexity: Buffer.__getlen__ needs an assert >= 0

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71880:cfdc8b7369aa Date: 2014-06-02 10:35 -0500 http://bitbucket.org/pypy/pypy/changeset/cfdc8b7369aa/ Log:Buffer.__getlen__ needs an assert >= 0 diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpython/rlib/bu

[pypy-commit] pypy fix-bytearray-complexity: All bytearray ops work except for .replace. Some operands are still copied

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71873:fd4cad71fdab Date: 2014-05-26 09:04 -0500 http://bitbucket.org/pypy/pypy/changeset/fd4cad71fdab/ Log:All bytearray ops work except for .replace. Some operands are still copied diff --git a/pypy/objspace/std/bytearr

[pypy-commit] pypy fix-bytearray-complexity: Add to RPython support for __getitem__, __setitem, __getslice__, __setslice__, and __len__

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71878:5e3423ac75bf Date: 2014-06-01 05:26 -0500 http://bitbucket.org/pypy/pypy/changeset/5e3423ac75bf/ Log:Add to RPython support for __getitem__, __setitem, __getslice__, __setslice__, and __len__ diff --git a/rpython/a

[pypy-commit] pypy fix-bytearray-complexity: Most bytearray methods fixed

2014-06-02 Thread waedt
Author: Tyler Wade Branch: fix-bytearray-complexity Changeset: r71872:3521f66aed64 Date: 2014-05-26 03:48 -0500 http://bitbucket.org/pypy/pypy/changeset/3521f66aed64/ Log:Most bytearray methods fixed diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --

[pypy-commit] pypy default: Code cleanup (stray print, bad variable name, and bare except)

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64756:773b31fdbf56 Date: 2013-04-29 12:39 -0500 http://bitbucket.org/pypy/pypy/changeset/773b31fdbf56/ Log:Code cleanup (stray print, bad variable name, and bare except) diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/in

[pypy-commit] pypy default: Code cleanup (stray print, bad variable name, and bare except)

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64755:83e557521804 Date: 2013-04-29 12:20 -0500 http://bitbucket.org/pypy/pypy/changeset/83e557521804/ Log:Code cleanup (stray print, bad variable name, and bare except) diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/in

[pypy-commit] pypy default: Make -O set __debug__ to False and change JUMP_IF_NOT_DEBUG to a relative jump

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64753:a000ef4ae952 Date: 2013-04-29 00:57 -0500 http://bitbucket.org/pypy/pypy/changeset/a000ef4ae952/ Log:Make -O set __debug__ to False and change JUMP_IF_NOT_DEBUG to a relative jump diff --git a/lib-python/2.7/opcode.py b/lib-python/2.7/opc

[pypy-commit] pypy default: Move sys.flags changing to applevel code

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64752:6deea9fd59b6 Date: 2013-04-28 15:21 -0500 http://bitbucket.org/pypy/pypy/changeset/6deea9fd59b6/ Log:Move sys.flags changing to applevel code diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py --- a/pypy/bin/pyinteractive.py +++ b

[pypy-commit] pypy default: Add to the remove docstring tests and fix a comment

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64757:235a08c4b2de Date: 2013-05-09 21:50 -0500 http://bitbucket.org/pypy/pypy/changeset/235a08c4b2de/ Log:Add to the remove docstring tests and fix a comment diff --git a/lib-python/2.7/opcode.py b/lib-python/2.7/opcode.py --- a/lib-python/2.7/opcode.

[pypy-commit] pypy default: Make changing sys.flag.optimize in pyinteractive.py cleaner

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64751:bcac3e99fa6f Date: 2013-04-28 04:55 -0500 http://bitbucket.org/pypy/pypy/changeset/bcac3e99fa6f/ Log:Make changing sys.flag.optimize in pyinteractive.py cleaner diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py --- a/pypy/bin/pyi

[pypy-commit] pypy default: Fix a comment

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64759:1b7d2a50f5f2 Date: 2013-05-10 17:26 +0400 http://bitbucket.org/pypy/pypy/changeset/1b7d2a50f5f2/ Log:Fix a comment diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py +++ b/pypy/interpreter/

[pypy-commit] pypy default: Add caching for the debug flag for skipping asserts

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64754:c8d597cf7e85 Date: 2013-04-29 04:29 -0500 http://bitbucket.org/pypy/pypy/changeset/c8d597cf7e85/ Log:Add caching for the debug flag for skipping asserts diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py --- a/pypy/bin/pyinteracti

[pypy-commit] pypy default: Implement skipping asserts when -O option is set

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64750:5e679b2d667e Date: 2013-04-28 04:23 -0500 http://bitbucket.org/pypy/pypy/changeset/5e679b2d667e/ Log:Implement skipping asserts when -O option is set diff --git a/lib-python/2.7/opcode.py b/lib-python/2.7/opcode.py --- a/lib-python/2.7/opcode.py

[pypy-commit] pypy default: Add support for -OO flag

2013-06-04 Thread waedt
Author: Tyler Wade Branch: Changeset: r64749:711d2a861680 Date: 2013-04-26 17:31 -0500 http://bitbucket.org/pypy/pypy/changeset/711d2a861680/ Log:Add support for -OO flag diff --git a/lib_pypy/_pypy_irc_topic.py b/lib_pypy/_pypy_irc_topic.py --- a/lib_pypy/_pypy_irc_topic.py +++ b/lib_pypy/