[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: fiddle around a bit - add a unit test that might exercise the desired functionality; play with Py_buffer definition and with the getargs.c implementa

2011-12-12 Thread exarkun
Author: Jean-Paul Calderone Branch: pyarg-parsetuple-s-star-buffer Changeset: r50429:0561684806ca Date: 2011-12-12 10:37 -0500 http://bitbucket.org/pypy/pypy/changeset/0561684806ca/ Log:fiddle around a bit - add a unit test that might exercise the desired functionality; play with Py_b

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Add trivial buffer implementation module

2011-12-12 Thread exarkun
Author: Jean-Paul Calderone Branch: pyarg-parsetuple-s-star-buffer Changeset: r50430:421fe5b137ea Date: 2011-12-12 10:45 -0500 http://bitbucket.org/pypy/pypy/changeset/421fe5b137ea/ Log:Add trivial buffer implementation module diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/bu

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Make PyBufferObject public so cpython_struct can work

2011-12-12 Thread exarkun
Author: Jean-Paul Calderone Branch: pyarg-parsetuple-s-star-buffer Changeset: r50441:339b179f2f51 Date: 2011-12-12 15:23 -0500 http://bitbucket.org/pypy/pypy/changeset/339b179f2f51/ Log:Make PyBufferObject public so cpython_struct can work diff --git a/pypy/module/cpyext/include/bufferobject

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Try to teach cpyext about buffer objects

2011-12-12 Thread exarkun
Author: Jean-Paul Calderone Branch: pyarg-parsetuple-s-star-buffer Changeset: r50442:1396a5482b12 Date: 2011-12-12 15:24 -0500 http://bitbucket.org/pypy/pypy/changeset/1396a5482b12/ Log:Try to teach cpyext about buffer objects diff --git a/pypy/module/cpyext/__init__.py b/pypy/module/cpyext/

[pypy-commit] pypy py3.5: encode the type name to bytes for interpolation

2017-07-31 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92002:22c27ed7a494 Date: 2017-07-31 14:59 -0400 http://bitbucket.org/pypy/pypy/changeset/22c27ed7a494/ Log:encode the type name to bytes for interpolation fixes annotator error: string formatting mixing strings and unico

[pypy-commit] pypy py3.5: Fix test_unflagged_non_text_codec_handling

2017-08-02 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92030:4499d3bd3e6f Date: 2017-08-02 07:41 -0400 http://bitbucket.org/pypy/pypy/changeset/4499d3bd3e6f/ Log:Fix test_unflagged_non_text_codec_handling test_unflagged_non_text_codec_handling (test.test_codecs.ExceptionChaini

[pypy-commit] pypy py3.5: Mark files of unknown type with `?`

2017-08-03 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92052:1c67ea9ef466 Date: 2017-08-03 14:46 -0400 http://bitbucket.org/pypy/pypy/changeset/1c67ea9ef466/ Log:Mark files of unknown type with `?` This mirrors CPython _stat.filemode behavior though it diverges from the (likel

[pypy-commit] pypy default: Mirror CPython classmethod __reduce__

2017-08-11 Thread exarkun
Author: Jean-Paul Calderone Branch: Changeset: r92126:c38befdc824e Date: 2017-08-11 16:17 -0400 http://bitbucket.org/pypy/pypy/changeset/c38befdc824e/ Log:Mirror CPython classmethod __reduce__ This makes classmethods pickleable and should fix lib- python/3/test_pickle.py. d

[pypy-commit] pypy default: meant for py3.5 branch

2017-08-11 Thread exarkun
Author: Jean-Paul Calderone Branch: Changeset: r92127:4578b8104495 Date: 2017-08-11 16:28 -0400 http://bitbucket.org/pypy/pypy/changeset/4578b8104495/ Log:meant for py3.5 branch diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py --- a/pypy/interpreter/function.py +++ b

[pypy-commit] pypy py3.5: Mirror CPython classmethod __reduce__

2017-08-11 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92128:d5f42df20932 Date: 2017-08-11 16:17 -0400 http://bitbucket.org/pypy/pypy/changeset/d5f42df20932/ Log:Mirror CPython classmethod __reduce__ This makes classmethods pickleable and should fix lib- python/3/test_pickle.p

[pypy-commit] pypy py3.5: A more precise assertion.

2017-08-11 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92129:2586878e1a3c Date: 2017-08-11 16:40 -0400 http://bitbucket.org/pypy/pypy/changeset/2586878e1a3c/ Log:A more precise assertion. diff --git a/pypy/interpreter/test/test_function.py b/pypy/interpreter/test/test_function.py --- a/pypy/

[pypy-commit] pypy py3.5: Replace fragile upstream expat exception test with a more reasonable one

2017-08-14 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92142:e2a71b4f385a Date: 2017-08-14 08:16 -0400 http://bitbucket.org/pypy/pypy/changeset/e2a71b4f385a/ Log:Replace fragile upstream expat exception test with a more reasonable one diff --git a/lib-python/3/test/test_pyexpat.py b/

[pypy-commit] pypy py3.5: Remove debug print

2017-08-14 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92143:dc0a896dbbd6 Date: 2017-08-14 08:17 -0400 http://bitbucket.org/pypy/pypy/changeset/dc0a896dbbd6/ Log:Remove debug print diff --git a/lib-python/3/test/test_pyexpat.py b/lib-python/3/test/test_pyexpat.py --- a/lib-python/3/test/test

[pypy-commit] pypy py3.5: Use utf-8 for readline history file.

2017-08-14 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92145:759e514cd5ab Date: 2017-08-14 11:23 -0400 http://bitbucket.org/pypy/pypy/changeset/759e514cd5ab/ Log:Use utf-8 for readline history file. diff --git a/lib_pypy/pyrepl/readline.py b/lib_pypy/pyrepl/readline.py --- a/lib_pypy/pyrepl/r

[pypy-commit] pypy py3.5: Allow readline text insertion without preparation.

2017-08-15 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92154:9f2963dca939 Date: 2017-08-15 12:28 -0400 http://bitbucket.org/pypy/pypy/changeset/9f2963dca939/ Log:Allow readline text insertion without preparation. diff --git a/lib_pypy/pyrepl/reader.py b/lib_pypy/pyrepl/reader.py --- a/lib_pyp

[pypy-commit] pypy py3.5: Only expose OSError.winerror on Win32.

2017-08-15 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92155:cce9378e5bb7 Date: 2017-08-15 13:34 -0400 http://bitbucket.org/pypy/pypy/changeset/cce9378e5bb7/ Log:Only expose OSError.winerror on Win32. diff --git a/pypy/module/exceptions/interp_exceptions.py b/pypy/module/exceptions/interp_ex

[pypy-commit] pypy default: Fix imp module test_suffixes so that it runs its intended assertions.

2017-08-17 Thread exarkun
Author: Jean-Paul Calderone Branch: Changeset: r92162:727bbd9f3a14 Date: 2017-08-17 08:28 -0400 http://bitbucket.org/pypy/pypy/changeset/727bbd9f3a14/ Log:Fix imp module test_suffixes so that it runs its intended assertions. Also change one of the assertions to reflect the c

[pypy-commit] pypy py3.5: The `U` mode is deprecated on Python 3; use r instead.

2017-08-18 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92168:6ee00ca3924e Date: 2017-08-18 11:30 -0400 http://bitbucket.org/pypy/pypy/changeset/6ee00ca3924e/ Log:The `U` mode is deprecated on Python 3; use r instead. diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_ap

[pypy-commit] pypy py3.5: merge upstream

2017-08-18 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92174:38134ba71d3c Date: 2017-08-18 15:44 -0400 http://bitbucket.org/pypy/pypy/changeset/38134ba71d3c/ Log:merge upstream diff --git a/pypy/objspace/std/bytesobject.py b/pypy/objspace/std/bytesobject.py --- a/pypy/objspace/std/bytesobject

[pypy-commit] pypy py3.5: If the machine can be [3-6], allow the suffix to be [3-6].

2017-08-18 Thread exarkun
Author: Jean-Paul Calderone Branch: py3.5 Changeset: r92173:6eb780259953 Date: 2017-08-18 15:43 -0400 http://bitbucket.org/pypy/pypy/changeset/6eb780259953/ Log:If the machine can be [3-6], allow the suffix to be [3-6]. It's hard to tell but the intent (https://www.python.or

[pypy-commit] buildbot cleanup-hg-bookmarks: Optionally delete .hg/bookmarks

2017-08-23 Thread exarkun
Author: Jean-Paul Calderone Branch: cleanup-hg-bookmarks Changeset: r1023:aea6e451355f Date: 2017-08-23 09:15 -0400 http://bitbucket.org/pypy/buildbot/changeset/aea6e451355f/ Log:Optionally delete .hg/bookmarks diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py --- a/bot2

[pypy-commit] pypy non-null-threadstate: Always return a non-null pointer from PyEval_SaveThread - maybe it's good.

2012-03-07 Thread exarkun
Author: Jean-Paul Calderone Branch: non-null-threadstate Changeset: r53269:530532093911 Date: 2012-03-07 22:53 -0800 http://bitbucket.org/pypy/pypy/changeset/530532093911/ Log:Always return a non-null pointer from PyEval_SaveThread - maybe it's good. diff --git a/pypy/module/cpyext/p

[pypy-commit] pypy non-null-threadstate: Start trying to unit test PyEval_SaveThread, but mostly fail so far

2012-03-08 Thread exarkun
Author: Jean-Paul Calderone Branch: non-null-threadstate Changeset: r53275:bfc2facb5e36 Date: 2012-03-08 14:41 -0800 http://bitbucket.org/pypy/pypy/changeset/bfc2facb5e36/ Log:Start trying to unit test PyEval_SaveThread, but mostly fail so far diff --git a/pypy/module/cpyext/test/test_pystat

[pypy-commit] pypy non-null-threadstate: Some tests that do not work. At all. Wtf?

2012-03-08 Thread exarkun
Author: Jean-Paul Calderone Branch: non-null-threadstate Changeset: r53279:3dd1ad080dcd Date: 2012-03-08 22:23 -0800 http://bitbucket.org/pypy/pypy/changeset/3dd1ad080dcd/ Log:Some tests that do not work. At all. Wtf? diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py

[pypy-commit] pypy non-null-threadstate: (fijal, glyph, exarkun) Encapsulate cpyext tstate cleanup for tests in a method; fix a bug in that cleanup that made it hard to have more than a single unit te

2012-03-08 Thread exarkun
Author: Jean-Paul Calderone Branch: non-null-threadstate Changeset: r53280:554e5a0f831e Date: 2012-03-08 23:19 -0800 http://bitbucket.org/pypy/pypy/changeset/554e5a0f831e/ Log:(fijal, glyph, exarkun) Encapsulate cpyext tstate cleanup for tests in a method; fix a bug in that cleanup

[pypy-commit] pypy safe-getargs-freelist: Use a C array to manage freelist items, instead of a Python list; this gives predictable cleanup behavior.

2012-03-15 Thread exarkun
Author: Jean-Paul Calderone Branch: safe-getargs-freelist Changeset: r53703:8725c0f6ed35 Date: 2012-03-15 15:32 -0400 http://bitbucket.org/pypy/pypy/changeset/8725c0f6ed35/ Log:Use a C array to manage freelist items, instead of a Python list; this gives predictable cleanup behavior.

[pypy-commit] pypy safe-getargs-freelist: Stack allocate the freelist structure, since it can never escape. Copy some other style fixes based on review of the patch for cpython.

2012-03-16 Thread exarkun
Author: Jean-Paul Calderone Branch: safe-getargs-freelist Changeset: r53716:0b8690130dac Date: 2012-03-16 09:21 -0400 http://bitbucket.org/pypy/pypy/changeset/0b8690130dac/ Log:Stack allocate the freelist structure, since it can never escape. Copy some other style fixes based on revie

[pypy-commit] pypy non-null-threadstate: This seems to work, going to merge it into default.

2012-03-16 Thread exarkun
Author: Jean-Paul Calderone Branch: non-null-threadstate Changeset: r53727:4d0013e8fcdf Date: 2012-03-16 16:37 -0400 http://bitbucket.org/pypy/pypy/changeset/4d0013e8fcdf/ Log:This seems to work, going to merge it into default. ___ pypy-commit mail

[pypy-commit] pypy default: Implement thread state manipulation APIs with behavior more closely resembling CPython's

2012-03-16 Thread exarkun
Author: Jean-Paul Calderone Branch: Changeset: r53728:660149ad1d19 Date: 2012-03-16 16:38 -0400 http://bitbucket.org/pypy/pypy/changeset/660149ad1d19/ Log:Implement thread state manipulation APIs with behavior more closely resembling CPython's diff --git a/pypy/module/cpyext/pystate

[pypy-commit] pypy safe-getargs-freelist: This seems to work, going to merge it into default.

2012-03-16 Thread exarkun
Author: Jean-Paul Calderone Branch: safe-getargs-freelist Changeset: r53729:c1b9d1452202 Date: 2012-03-16 16:42 -0400 http://bitbucket.org/pypy/pypy/changeset/c1b9d1452202/ Log:This seems to work, going to merge it into default. ___ pypy-commit mai

[pypy-commit] pypy default: Deterministically run PyArg_Parse*() cleanup routines before PyArg_Parse*() returns; in particular, this makes Py_buffer safe to use from C extensions on PyPy.

2012-03-16 Thread exarkun
Author: Jean-Paul Calderone Branch: Changeset: r53730:1c49e8833b05 Date: 2012-03-16 16:47 -0400 http://bitbucket.org/pypy/pypy/changeset/1c49e8833b05/ Log:Deterministically run PyArg_Parse*() cleanup routines before PyArg_Parse*() returns; in particular, this makes Py_buffer safe to