[pypy-commit] pypy fix_find_executable_bug: issue #1856, find_executable should only find executable files.

2014-08-31 Thread dripton
Author: David Ripton Branch: fix_find_executable_bug Changeset: r73243:8ff323403724 Date: 2014-08-31 11:20 -0400 http://bitbucket.org/pypy/pypy/changeset/8ff323403724/ Log:issue #1856, find_executable should only find executable files. We use os.access to check whether the file is ex

[pypy-commit] pyrepl default: (hpaulj) Fix startup_hook in readline to work like CPython. Fixes issue950

2012-04-28 Thread dripton
Author: David Ripton Branch: Changeset: r168:d92286eb65ec Date: 2012-01-28 19:17 -0500 http://bitbucket.org/pypy/pyrepl/changeset/d92286eb65ec/ Log:(hpaulj) Fix startup_hook in readline to work like CPython. Fixes issue950 diff --git a/pyrepl/reader.py b/pyrepl/reader.py --- a/pyrep

[pypy-commit] pypy default: Update SimpleXMLRPCServer.py from latest CPython 2.7 to fix security bug.

2012-03-13 Thread dripton
Author: David Ripton Branch: Changeset: r53493:22e38d58b450 Date: 2012-03-12 15:46 -0700 http://bitbucket.org/pypy/pypy/changeset/22e38d58b450/ Log:Update SimpleXMLRPCServer.py from latest CPython 2.7 to fix security bug. PyPy issue1047 / CPython issue 14001 / CVE 2012-0845

[pypy-commit] pypy default: merge with default

2012-03-13 Thread dripton
Author: David Ripton Branch: Changeset: r53447:ac8028838f6d Date: 2012-03-13 10:17 -0700 http://bitbucket.org/pypy/pypy/changeset/ac8028838f6d/ Log:merge with default diff --git a/pypy/annotation/builtin.py b/pypy/annotation/builtin.py --- a/pypy/annotation/builtin.py +++ b/pypy/annotation/

[pypy-commit] pypy default: Add a (surprisingly passing) test for PyString_AsString(PyNone) raising.

2012-03-13 Thread dripton
Author: David Ripton Branch: Changeset: r53446:552929f87da8 Date: 2012-03-13 10:10 -0700 http://bitbucket.org/pypy/pypy/changeset/552929f87da8/ Log:Add a (surprisingly passing) test for PyString_AsString(PyNone) raising. According to CPython docs, passing a non-String to PyS

[pypy-commit] pypy default: Clean up test_unicode_join_str_arg_utf8 a bit.

2012-03-12 Thread dripton
Author: David Ripton Branch: Changeset: r53368:5e696214e57c Date: 2012-03-12 15:27 -0700 http://bitbucket.org/pypy/pypy/changeset/5e696214e57c/ Log:Clean up test_unicode_join_str_arg_utf8 a bit. diff --git a/pypy/objspace/std/test/test_stringobject.py b/pypy/objspace/std/test/test_stringob

[pypy-commit] pypy default: Add try/finally logic in test_unicode_join_str_arg_utf8 to fix sys.modules

2012-03-12 Thread dripton
Author: David Ripton Branch: Changeset: r53367:66408094335d Date: 2012-03-12 15:11 -0700 http://bitbucket.org/pypy/pypy/changeset/66408094335d/ Log:Add try/finally logic in test_unicode_join_str_arg_utf8 to fix sys.modules diff --git a/pypy/objspace/std/test/test_stringobject.py b/

[pypy-commit] pypy default: Use the default encoding in stringobject.unicode_w

2012-03-12 Thread dripton
Author: David Ripton Branch: Changeset: r53366:e41fae0d7da3 Date: 2012-03-12 13:50 -0700 http://bitbucket.org/pypy/pypy/changeset/e41fae0d7da3/ Log:Use the default encoding in stringobject.unicode_w Fixes issue1079, a problem in str.join with unicode arguments, and the defau

[pypy-commit] pypy default: (hpaulj) Fix startup_hook in readline to work like CPython. Fixes issue950

2012-01-28 Thread dripton
Author: David Ripton Branch: Changeset: r51943:c8bec90e96cf Date: 2012-01-28 19:17 -0500 http://bitbucket.org/pypy/pypy/changeset/c8bec90e96cf/ Log:(hpaulj) Fix startup_hook in readline to work like CPython. Fixes issue950 diff --git a/lib_pypy/pyrepl/reader.py b/lib_pypy/pyrepl/rea

[pypy-commit] pypy default: Do not call statement.reset() after executing DDL.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51680:80014f10414c Date: 2012-01-22 17:46 -0500 http://bitbucket.org/pypy/pypy/changeset/80014f10414c/ Log:Do not call statement.reset() after executing DDL. Fixes issue996. diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_

[pypy-commit] pypy default: Failing test for issue 996

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51679:6141b7352630 Date: 2012-01-22 16:18 -0500 http://bitbucket.org/pypy/pypy/changeset/6141b7352630/ Log:Failing test for issue 996 diff --git a/pypy/module/test_lib_pypy/test_sqlite3.py b/pypy/module/test_lib_pypy/test_sqlite3.py new file mode 10

[pypy-commit] pypy default: Add a comment making it clear this file is modified, for license compliance.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51678:01ed002a2b95 Date: 2012-01-21 20:17 -0500 http://bitbucket.org/pypy/pypy/changeset/01ed002a2b95/ Log:Add a comment making it clear this file is modified, for license compliance. diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py -

[pypy-commit] pypy default: Add an assert, as requested by Alex.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51681:fd6e2144e652 Date: 2012-01-22 18:30 -0500 http://bitbucket.org/pypy/pypy/changeset/fd6e2144e652/ Log:Add an assert, as requested by Alex. diff --git a/pypy/module/test_lib_pypy/test_sqlite3.py b/pypy/module/test_lib_pypy/test_sqlite3.py --- a/

[pypy-commit] pypy default: Remove unused local variables.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51676:014a02a9d3df Date: 2012-01-21 13:43 -0500 http://bitbucket.org/pypy/pypy/changeset/014a02a9d3df/ Log:Remove unused local variables. diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @

[pypy-commit] pypy default: Fix old-style raise statements (illegal in Python 3, ugly in Python 2)

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51677:d49f44c4a62f Date: 2012-01-21 13:46 -0500 http://bitbucket.org/pypy/pypy/changeset/d49f44c4a62f/ Log:Fix old-style raise statements (illegal in Python 3, ugly in Python 2) diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/l

[pypy-commit] pypy default: Remove unused import.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51675:d39f5493dcaf Date: 2012-01-21 13:42 -0500 http://bitbucket.org/pypy/pypy/changeset/d39f5493dcaf/ Log:Remove unused import. diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -27,7 +

[pypy-commit] pypy default: Remove unreachable statement referring to nonexistant variable.

2012-01-22 Thread dripton
Author: David Ripton Branch: Changeset: r51674:3ed178fb213d Date: 2012-01-21 13:42 -0500 http://bitbucket.org/pypy/pypy/changeset/3ed178fb213d/ Log:Remove unreachable statement referring to nonexistant variable. diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite

[pypy-commit] pypy default: Clean up os.environ["TZ"] when we're done, in case other tests follow.

2012-01-21 Thread dripton
Author: David Ripton Branch: Changeset: r51586:eeedeffe6525 Date: 2012-01-21 11:13 -0500 http://bitbucket.org/pypy/pypy/changeset/eeedeffe6525/ Log:Clean up os.environ["TZ"] when we're done, in case other tests follow. diff --git a/pypy/module/test_lib_pypy/test_datetime.py b/pypy/

[pypy-commit] pypy default: Add a test to prove that datetime issue972 (and dupe issue986) are fixed.

2012-01-21 Thread dripton
Author: David Ripton Branch: Changeset: r51585:07e667cb75a4 Date: 2012-01-21 11:01 -0500 http://bitbucket.org/pypy/pypy/changeset/07e667cb75a4/ Log:Add a test to prove that datetime issue972 (and dupe issue986) are fixed. diff --git a/pypy/module/test_lib_pypy/test_datetime.py b/py

[pypy-commit] pypy default: Copy function utcfromtimestamp from CPython 3.2's datetime.py

2012-01-21 Thread dripton
Author: David Ripton Branch: Changeset: r51584:235d8b8434a8 Date: 2012-01-18 20:07 -0500 http://bitbucket.org/pypy/pypy/changeset/235d8b8434a8/ Log:Copy function utcfromtimestamp from CPython 3.2's datetime.py Fixes issue972, which was caused by rounding differences between