[pypy-commit] pypy ufuncapi: fix syntax and imports

2014-11-07 Thread fijal
Author: Maciej Fijalkowski Branch: ufuncapi Changeset: r74396:42b977217d4f Date: 2014-11-08 09:06 +0200 http://bitbucket.org/pypy/pypy/changeset/42b977217d4f/ Log:fix syntax and imports diff --git a/pypy/module/micronumpy/nditer.py b/pypy/module/micronumpy/nditer.py --- a/pypy/module/micronu

[pypy-commit] pypy more-rposix: Lots of translation fixes for Windows

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74395:ab68fdb236c0 Date: 2014-11-07 23:57 +0100 http://bitbucket.org/pypy/pypy/changeset/ab68fdb236c0/ Log:Lots of translation fixes for Windows diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --

[pypy-commit] pypy default: Merge float-opt by Toni Mattis: turn float divisions by a constant power of two into float multiplication

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74394:6b4912d3adb7 Date: 2014-11-07 23:12 +0100 http://bitbucket.org/pypy/pypy/changeset/6b4912d3adb7/ Log:Merge float-opt by Toni Mattis: turn float divisions by a constant power of two into float multiplication diff --git a/rpython/jit/metain

[pypy-commit] pypy float-opt: optimize float division with reciprocal multiplication

2014-11-07 Thread amintos
Author: Toni Mattis Branch: float-opt Changeset: r74391:937254cbc554 Date: 2014-11-06 16:56 +0100 http://bitbucket.org/pypy/pypy/changeset/937254cbc554/ Log:optimize float division with reciprocal multiplication diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py b/rpython/jit/metain

[pypy-commit] pypy float-opt: float division optimization using frexp now

2014-11-07 Thread amintos
Author: Toni Mattis Branch: float-opt Changeset: r74392:f30efb9a8e54 Date: 2014-11-06 22:22 +0100 http://bitbucket.org/pypy/pypy/changeset/f30efb9a8e54/ Log:float division optimization using frexp now diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py b/rpython/jit/metainterp/optimi

[pypy-commit] pypy float-opt: Ready to merge

2014-11-07 Thread arigo
Author: Armin Rigo Branch: float-opt Changeset: r74393:36ff85b41418 Date: 2014-11-07 23:11 +0100 http://bitbucket.org/pypy/pypy/changeset/36ff85b41418/ Log:Ready to merge ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/m

[pypy-commit] pypy more-rposix: os.listdir()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74390:8d7118f6770e Date: 2014-11-07 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/8d7118f6770e/ Log:os.listdir() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rp

[pypy-commit] pypy more-rposix: os.getcwd() and os.getcwdu()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74389:abe22db32a60 Date: 2014-11-07 22:08 +0100 http://bitbucket.org/pypy/pypy/changeset/abe22db32a60/ Log:os.getcwd() and os.getcwdu() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b

[pypy-commit] pypy more-rposix: os.lseek(), use widen() instead of intmask(), fix some signatures.

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74386:4d3191787699 Date: 2014-11-07 21:13 +0100 http://bitbucket.org/pypy/pypy/changeset/4d3191787699/ Log:os.lseek(), use widen() instead of intmask(), fix some signatures. diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix

[pypy-commit] pypy more-rposix: os.ftruncate(), os.fsync()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74387:aaf7d91a3993 Date: 2014-11-07 21:26 +0100 http://bitbucket.org/pypy/pypy/changeset/aaf7d91a3993/ Log:os.ftruncate(), os.fsync() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/r

[pypy-commit] pypy more-rposix: os.access(), os.fchdir()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74388:ae00e9e0b19b Date: 2014-11-07 21:41 +0100 http://bitbucket.org/pypy/pypy/changeset/ae00e9e0b19b/ Log:os.access(), os.fchdir() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpy

pypy-commit@python.org

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74382:cd2c5d61bf3a Date: 2014-11-07 17:52 +0100 http://bitbucket.org/pypy/pypy/changeset/cd2c5d61bf3a/ Log:Port os.confstr &co diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/

[pypy-commit] pypy more-rposix: Port fork() and forkpty()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74383:d7099109e3cc Date: 2014-11-07 19:32 +0100 http://bitbucket.org/pypy/pypy/changeset/d7099109e3cc/ Log:Port fork() and forkpty() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rp

[pypy-commit] pypy more-rposix: Port more functions.

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74381:868a31be4ea7 Date: 2014-11-07 17:18 +0100 http://bitbucket.org/pypy/pypy/changeset/868a31be4ea7/ Log:Port more functions. diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython

[pypy-commit] pypy more-rposix: os.waitpid(). Not tested on Windows

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74384:fe529528d3fa Date: 2014-11-07 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/fe529528d3fa/ Log:os.waitpid(). Not tested on Windows diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.p

[pypy-commit] pypy more-rposix: Port os.read(), write(), close()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74385:5804e9b2ef43 Date: 2014-11-07 20:08 +0100 http://bitbucket.org/pypy/pypy/changeset/5804e9b2ef43/ Log:Port os.read(), write(), close() + fixes diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rpo

[pypy-commit] pypy more-rposix: Temporary workaround, should be done differently.

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74380:3600a9d62002 Date: 2014-11-07 17:17 +0100 http://bitbucket.org/pypy/pypy/changeset/3600a9d62002/ Log:Temporary workaround, should be done differently. diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmodel.py ---

[pypy-commit] pypy stmgc-c7: import stmgc/b27bcdd6bc87 [hashtable]

2014-11-07 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74379:38c9afbd253c Date: 2014-11-07 20:04 +0100 http://bitbucket.org/pypy/pypy/changeset/38c9afbd253c/ Log:import stmgc/b27bcdd6bc87 [hashtable] diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision ---

[pypy-commit] stmgc hashtable: Need to fflush the stm.log file before a fork().

2014-11-07 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1499:b27bcdd6bc87 Date: 2014-11-07 20:02 +0100 http://bitbucket.org/pypy/stmgc/changeset/b27bcdd6bc87/ Log:Need to fflush the stm.log file before a fork(). diff --git a/c7/stm/forksupport.c b/c7/stm/forksupport.c --- a/c7/stm/forksupport.c +++

[pypy-commit] pypy stmgc-c7: import stmgc/ece6317ba186 [hashtable]

2014-11-07 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74378:8bb7d5b1d1a9 Date: 2014-11-07 19:07 +0100 http://bitbucket.org/pypy/pypy/changeset/8bb7d5b1d1a9/ Log:import stmgc/ece6317ba186 [hashtable] diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision ---

[pypy-commit] stmgc hashtable: Remove this include, which is outdated

2014-11-07 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1498:ece6317ba186 Date: 2014-11-07 19:06 +0100 http://bitbucket.org/pypy/stmgc/changeset/ece6317ba186/ Log:Remove this include, which is outdated diff --git a/c7/stm/hashtable.c b/c7/stm/hashtable.c --- a/c7/stm/hashtable.c +++ b/c7/stm/hashta

[pypy-commit] stmgc hashtable: fix 926d81d98692

2014-11-07 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1497:fcfed3deb79d Date: 2014-11-07 19:01 +0100 http://bitbucket.org/pypy/stmgc/changeset/fcfed3deb79d/ Log:fix 926d81d98692 diff --git a/c7/stm/finalizer.c b/c7/stm/finalizer.c --- a/c7/stm/finalizer.c +++ b/c7/stm/finalizer.c @@ -390,6 +390,2

[pypy-commit] stmgc hashtable: A crashing test

2014-11-07 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1496:926d81d98692 Date: 2014-11-07 18:54 +0100 http://bitbucket.org/pypy/stmgc/changeset/926d81d98692/ Log:A crashing test diff --git a/c7/test/test_finalizer.py b/c7/test/test_finalizer.py --- a/c7/test/test_finalizer.py +++ b/c7/test/test_fi

[pypy-commit] stmgc hashtable: Add a passing test

2014-11-07 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1495:9633e4f3f503 Date: 2014-11-07 18:42 +0100 http://bitbucket.org/pypy/stmgc/changeset/9633e4f3f503/ Log:Add a passing test diff --git a/c7/test/test_finalizer.py b/c7/test/test_finalizer.py --- a/c7/test/test_finalizer.py +++ b/c7/test/test

[pypy-commit] pypy stmgc-c7: Fix

2014-11-07 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74377:2da4dcd634f8 Date: 2014-11-07 18:22 +0100 http://bitbucket.org/pypy/pypy/changeset/2da4dcd634f8/ Log:Fix diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py --- a/pypy/stm/print_stm_log.py +++ b/pypy/stm/print_stm_log.py @@

[pypy-commit] pypy default: Issue 1914: test and fix

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74376:a6902fd7e9a7 Date: 2014-11-07 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/a6902fd7e9a7/ Log:Issue 1914: test and fix diff --git a/rpython/jit/metainterp/test/test_rawmem.py b/rpython/jit/metainterp/test/test_rawmem.py --- a/rpython/jit/

[pypy-commit] pypy default: merge heads

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74375:aff60e5fa2b2 Date: 2014-11-07 15:51 +0100 http://bitbucket.org/pypy/pypy/changeset/aff60e5fa2b2/ Log:merge heads diff --git a/rpython/translator/c/src/libffi_msvc/ffi.h b/rpython/translator/c/src/libffi_msvc/ffi.h --- a/rpython/translator/c/src/

[pypy-commit] pypy default: On Windows it's a compilation error to try to assign to "stdin". Fix by

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74374:7bea28d4aab3 Date: 2014-11-07 15:48 +0100 http://bitbucket.org/pypy/pypy/changeset/7bea28d4aab3/ Log:On Windows it's a compilation error to try to assign to "stdin". Fix by not generating the setter function if not required. diff --git a/

[pypy-commit] pypy default: add RPY_EXPORTED_FOR_TESTS for windows

2014-11-07 Thread mattip
Author: Matti Picus Branch: Changeset: r74373:f20de5f3f2b5 Date: 2014-11-07 15:37 -0600 http://bitbucket.org/pypy/pypy/changeset/f20de5f3f2b5/ Log:add RPY_EXPORTED_FOR_TESTS for windows diff --git a/rpython/translator/c/src/libffi_msvc/ffi.h b/rpython/translator/c/src/libffi_msvc/ffi.h ---

[pypy-commit] pypy default: pypy__tzset() returns Void.

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74372:047540e17457 Date: 2014-11-07 15:27 +0100 http://bitbucket.org/pypy/pypy/changeset/047540e17457/ Log:pypy__tzset() returns Void. diff --git a/pypy/module/rctime/interp_time.py b/pypy/module/rctime/interp_time.py --- a/pypy/module/rctime/interp_t

[pypy-commit] pypy default: Add some more RPY_EXPORTED_FOR_TESTS, for Windows

2014-11-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r74371:50f95a001c7c Date: 2014-11-07 15:22 +0100 http://bitbucket.org/pypy/pypy/changeset/50f95a001c7c/ Log:Add some more RPY_EXPORTED_FOR_TESTS, for Windows diff --git a/rpython/translator/c/src/profiling.c b/rpython/translator/c/src/profiling.c --- a

[pypy-commit] pypy more-rposix: Move os.getlogin()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74362:b25e33df35a3 Date: 2014-11-06 21:53 +0100 http://bitbucket.org/pypy/pypy/changeset/b25e33df35a3/ Log:Move os.getlogin() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/r

[pypy-commit] pypy more-rposix: os.getsid(), os.setsid()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74365:9ffac25cc23f Date: 2014-11-07 00:26 +0100 http://bitbucket.org/pypy/pypy/changeset/9ffac25cc23f/ Log:os.getsid(), os.setsid() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpy

[pypy-commit] pypy more-rposix: Some simplifications

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74366:42829da0669a Date: 2014-11-07 00:44 +0100 http://bitbucket.org/pypy/pypy/changeset/42829da0669a/ Log:Some simplifications diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython

[pypy-commit] pypy more-rposix: fixes

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74370:c41704a70c05 Date: 2014-11-07 09:29 +0100 http://bitbucket.org/pypy/pypy/changeset/c41704a70c05/ Log:fixes diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rposix.py

[pypy-commit] pypy more-rposix: Fix test

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74361:755c80edc35b Date: 2014-11-06 21:52 +0100 http://bitbucket.org/pypy/pypy/changeset/755c80edc35b/ Log:Fix test diff --git a/rpython/rtyper/module/test/test_ll_os.py b/rpython/rtyper/module/test/test_ll_os.py --- a/rpython/rty

[pypy-commit] pypy more-rposix: Remove an old workaround that was useful for the cli backend

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74360:8be9ebc6bbbd Date: 2014-11-06 21:15 +0100 http://bitbucket.org/pypy/pypy/changeset/8be9ebc6bbbd/ Log:Remove an old workaround that was useful for the cli backend diff --git a/rpython/rlib/rwin32.py b/rpython/rlib/rwin32.py --

[pypy-commit] pypy more-rposix: Port *pid() and *pgrp() functions

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74369:ece292fe78e1 Date: 2014-11-07 09:12 +0100 http://bitbucket.org/pypy/pypy/changeset/ece292fe78e1/ Log:Port *pid() and *pgrp() functions diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py

pypy-commit@python.org

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74368:f5baa8e21fdd Date: 2014-11-07 08:42 +0100 http://bitbucket.org/pypy/pypy/changeset/f5baa8e21fdd/ Log:Move more functions: os.setresuid() &co diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rpos

[pypy-commit] pypy more-rposix: Port os.utime.

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74363:586ee1f92428 Date: 2014-11-06 23:51 +0100 http://bitbucket.org/pypy/pypy/changeset/586ee1f92428/ Log:Port os.utime. A lot of changes, but it's actually 30 lines less than before. diff --git a/rpython/rlib/rposix.py b

[pypy-commit] pypy more-rposix: Remove dead code

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74359:bff0cfc2ba47 Date: 2014-11-05 20:06 +0100 http://bitbucket.org/pypy/pypy/changeset/bff0cfc2ba47/ Log:Remove dead code diff --git a/rpython/rtyper/module/ll_os.py b/rpython/rtyper/module/ll_os.py --- a/rpython/rtyper/module/ll

[pypy-commit] pypy more-rposix: Move uid/gid functions

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74367:048ec065ff5a Date: 2014-11-07 00:54 +0100 http://bitbucket.org/pypy/pypy/changeset/048ec065ff5a/ Log:Move uid/gid functions diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpyth

[pypy-commit] pypy more-rposix: Move os.times()

2014-11-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: more-rposix Changeset: r74364:b159fdc7b679 Date: 2014-11-07 00:13 +0100 http://bitbucket.org/pypy/pypy/changeset/b159fdc7b679/ Log:Move os.times() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib