[pypy-commit] pypy py3.6: Add math.tau

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93619:6190ca28a930 Date: 2017-12-25 19:08 +0100 http://bitbucket.org/pypy/pypy/changeset/6190ca28a930/ Log:Add math.tau diff --git a/pypy/module/math/__init__.py b/pypy/module/math/__init__.py --- a/pypy/module/math/__init__.py +++ b/pyp

[pypy-commit] pypy py3.6: Add an option to allow underscores in integer literals. RPython part.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93621:23240e4a895f Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/23240e4a895f/ Log:Add an option to allow underscores in integer literals. RPython part. diff --git a/rpython/rlib/rarithmetic.py b/rpython/r

[pypy-commit] pypy default: Add an option to allow underscores in integer literals. RPython part.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93623:0d3c3f5e2bdb Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/0d3c3f5e2bdb/ Log:Add an option to allow underscores in integer literals. RPython part. diff --git a/rpython/rlib/rarithmetic.py b/rpython/rlib/r

[pypy-commit] pypy py3.6: Add BLAKE2 (blake2b and blake2s) to hashlib.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93617:f6a0b040703c Date: 2017-12-22 21:03 +0100 http://bitbucket.org/pypy/pypy/changeset/f6a0b040703c/ Log:Add BLAKE2 (blake2b and blake2s) to hashlib. diff too long, truncating to 2000 out of 3659 lines diff --git a/lib-python/3/hashli

[pypy-commit] pypy py3.6: Add sha3 (aka. Keccak) hashes to hashlib.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93618:88331f108204 Date: 2017-12-25 18:11 +0100 http://bitbucket.org/pypy/pypy/changeset/88331f108204/ Log:Add sha3 (aka. Keccak) hashes to hashlib. diff too long, truncating to 2000 out of 5634 lines diff --git a/lib-python/3/hashlib.p

[pypy-commit] pypy py3.6: Attempt to parse numbers with underscores

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93620:c123301c02cc Date: 2018-01-03 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c123301c02cc/ Log:Attempt to parse numbers with underscores diff --git a/pypy/interpreter/pyparser/dfa_generated.py b/pypy/interpreter/pyparser/dfa

[pypy-commit] pypy py3.6: Allow undescores in int() literals.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93622:ff9805f6a687 Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/ff9805f6a687/ Log:Allow undescores in int() literals. diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py --- a/pypy/objspa

[pypy-commit] pypy default: parser.sequence2st: add validation of the passed tuple.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93616:749063799a58 Date: 2018-01-02 00:53 +0100 http://bitbucket.org/pypy/pypy/changeset/749063799a58/ Log:parser.sequence2st: add validation of the passed tuple. Do it the 2016 way, by walking the grammar DFA, instead of a ton of cust

[pypy-commit] pypy default: First stab at parser.tuple2st()

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93615:28aa6e61df25 Date: 2017-12-28 22:49 +0100 http://bitbucket.org/pypy/pypy/changeset/28aa6e61df25/ Log:First stab at parser.tuple2st() diff --git a/pypy/module/parser/__init__.py b/pypy/module/parser/__init__.py --- a/pypy/module/parser/_

[pypy-commit] pypy default: Invent a dummy thread id, if we ask for one during translation

2018-01-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r93614:05955e010535 Date: 2018-01-03 19:04 +0100 http://bitbucket.org/pypy/pypy/changeset/05955e010535/ Log:Invent a dummy thread id, if we ask for one during translation and we're running a host with no threads diff --git a/rpython/rlib/rthread