<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include, branch feature-version</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>Complete feature_version implementation (except loose ends)</title>
<updated>2019-03-05T19:36:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2019-02-27T23:14:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=713d05089de6554928306378ac95a506472a4a51'/>
<id>713d05089de6554928306378ac95a506472a4a51</id>
<content type='text'>
This adds:
- Add ASYNC/AWAIT tokens back to Grammar and regenerate
- Recognize async/await keywords conditionally if feature_version &lt; 7
- Reject await expressions if feature_version &lt; 5
- Docs for ASYNC/AWAIT tokens and for ast.parse(..., feature_version=N)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds:
- Add ASYNC/AWAIT tokens back to Grammar and regenerate
- Recognize async/await keywords conditionally if feature_version &lt; 7
- Reject await expressions if feature_version &lt; 5
- Docs for ASYNC/AWAIT tokens and for ast.parse(..., feature_version=N)
</pre>
</div>
</content>
</entry>
<entry>
<title>Work towards feature_version support</title>
<updated>2019-03-05T19:36:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2019-02-21T02:08:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0e2403f2f95a21912972422564de37cbe129c195'/>
<id>0e2403f2f95a21912972422564de37cbe129c195</id>
<content type='text'>
Visible behavior:

- Issue error for `X @ Y` (matrix multiply) if c_feature_version &lt; 5

- Add optional feature_version kw arg to ast.parse() (default -1 which
  implies PY_MINOR_VERSION)

- Add feature_version: int = -1 to compile() (via Argument Clinic);
  this sets cf_feature_version to the given value if &gt;= 0, else
  defaults to PY_MINOR_VERSION

Implementation:

- Add PyAST_obj2mod_ex(): like PyAST_obj2mod() but with feature_version arg;
  the latter calls the former with PY_MINOR_VERSION

- Add cf_feature_version to PyCompilerFlags structure;
  initialized to PY_MINOR_VERSION everywhere

- Add c_feature_version to struct compiling; initialize from
  cf_feature_version

- Add 'c' argument to get_operator()

- In builtin eval() and exec(), default to PY_MINOR_VERSION

TODO:

- Put version-dependent ASYNC/AWAIT keyword scanning back

- Reject async functions, await expressions, and async for/with in minor versions &lt; 5

- Reject async comprehensions in minor versions &lt; 6

- Reject underscores in numeric literals in minor versions &lt; 6

- Reject variable annotations in minor versions &lt; 6

- Reject `X @= Y` in minor versions &lt; 5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Visible behavior:

- Issue error for `X @ Y` (matrix multiply) if c_feature_version &lt; 5

- Add optional feature_version kw arg to ast.parse() (default -1 which
  implies PY_MINOR_VERSION)

- Add feature_version: int = -1 to compile() (via Argument Clinic);
  this sets cf_feature_version to the given value if &gt;= 0, else
  defaults to PY_MINOR_VERSION

Implementation:

- Add PyAST_obj2mod_ex(): like PyAST_obj2mod() but with feature_version arg;
  the latter calls the former with PY_MINOR_VERSION

- Add cf_feature_version to PyCompilerFlags structure;
  initialized to PY_MINOR_VERSION everywhere

- Add c_feature_version to struct compiling; initialize from
  cf_feature_version

- Add 'c' argument to get_operator()

- In builtin eval() and exec(), default to PY_MINOR_VERSION

TODO:

- Put version-dependent ASYNC/AWAIT keyword scanning back

- Reject async functions, await expressions, and async for/with in minor versions &lt; 5

- Reject async comprehensions in minor versions &lt; 6

- Reject underscores in numeric literals in minor versions &lt; 6

- Reject variable annotations in minor versions &lt; 6

- Reject `X @= Y` in minor versions &lt; 5
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36187: Remove NamedStore. (GH-12167)</title>
<updated>2019-03-05T18:42:06+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-03-05T18:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d8b3a98c9098c66a714fd5593e1928af0ffbc631'/>
<id>d8b3a98c9098c66a714fd5593e1928af0ffbc631</id>
<content type='text'>
NamedStore has been replaced with Store. The difference between
NamedStore and Store is handled when precess the NamedExpr node
one level upper.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NamedStore has been replaced with Store. The difference between
NamedStore and Store is handled when precess the NamedExpr node
one level upper.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36142: Add _PyPreConfig.allocator (GH-12181)</title>
<updated>2019-03-05T16:37:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-05T16:37:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b35be4b3334fbc471a39abbeb68110867b72e3e5'/>
<id>b35be4b3334fbc471a39abbeb68110867b72e3e5</id>
<content type='text'>
* Move 'allocator' and 'dev_mode' fields from _PyCoreConfig
  to _PyPreConfig.
* Fix InitConfigTests of test_embed: dev_mode sets allocator to
  "debug", add a new tests for env vars with dev mode enabled.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move 'allocator' and 'dev_mode' fields from _PyCoreConfig
  to _PyPreConfig.
* Fix InitConfigTests of test_embed: dev_mode sets allocator to
  "debug", add a new tests for env vars with dev mode enabled.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36142: Add _PyPreConfig.utf8_mode (GH-12174)</title>
<updated>2019-03-05T11:32:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-05T11:32:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5a02e0d1c8a526fc4e80a2fb8b4a9d5bc64c7d82'/>
<id>5a02e0d1c8a526fc4e80a2fb8b4a9d5bc64c7d82</id>
<content type='text'>
* Move following fields from _PyCoreConfig to _PyPreConfig:

  * coerce_c_locale
  * coerce_c_locale_warn
  * legacy_windows_stdio
  * utf8_mode

* _PyPreConfig_ReadFromArgv() is now responsible to choose the
  filesystem encoding
* _PyPreConfig_Write() now sets the LC_CTYPE locale</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move following fields from _PyCoreConfig to _PyPreConfig:

  * coerce_c_locale
  * coerce_c_locale_warn
  * legacy_windows_stdio
  * utf8_mode

* _PyPreConfig_ReadFromArgv() is now responsible to choose the
  filesystem encoding
* _PyPreConfig_Write() now sets the LC_CTYPE locale</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)</title>
<updated>2019-03-05T01:44:12+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-05T01:44:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6dcb54228e7520abd058897440c26e323f62afcd'/>
<id>6dcb54228e7520abd058897440c26e323f62afcd</id>
<content type='text'>
The new function is now responsible to parse -E and -I command line
arguments.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new function is now responsible to parse -E and -I command line
arguments.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36142: Add _PyPreConfig structure (GH-12172)</title>
<updated>2019-03-05T01:01:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-05T01:01:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cad1f747da47849ab5d8b0b881f7a0b94564d290'/>
<id>cad1f747da47849ab5d8b0b881f7a0b94564d290</id>
<content type='text'>
* Add _PyPreConfig structure
* Move 'ignored' and 'use_environment' fields from _PyCoreConfig
  to _PyPreConfig
* Add a new "_PyPreConfig preconfig;" field to _PyCoreConfig</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add _PyPreConfig structure
* Move 'ignored' and 'use_environment' fields from _PyCoreConfig
  to _PyPreConfig
* Add a new "_PyPreConfig preconfig;" field to _PyCoreConfig</pre>
</div>
</content>
</entry>
<entry>
<title>Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) (GH-12159)</title>
<updated>2019-03-04T13:21:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-04T13:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d61e6e3b802399be62a521d6fa785698cb670b5'/>
<id>4d61e6e3b802399be62a521d6fa785698cb670b5</id>
<content type='text'>
* Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)"

This reverts commit bcfa450f210074e16feb761ae5b3e966a2532fcf.

* Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)"

This reverts commit bda918bf65a88560ec453aaba0758a9c0d49b449.

* Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)"

This reverts commit b05b711a2cef6c6c381e01069dedac372e0b9fb2.

* Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)"

This reverts commit ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)"

This reverts commit bcfa450f210074e16feb761ae5b3e966a2532fcf.

* Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)"

This reverts commit bda918bf65a88560ec453aaba0758a9c0d49b449.

* Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)"

This reverts commit b05b711a2cef6c6c381e01069dedac372e0b9fb2.

* Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)"

This reverts commit ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31904: Add encoding support for VxWorks RTOS (GH-12051)</title>
<updated>2019-03-04T09:02:06+00:00</updated>
<author>
<name>pxinwr</name>
<email>peixing.xin@windriver.com</email>
</author>
<published>2019-03-04T09:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd'/>
<id>f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd</id>
<content type='text'>
Use UTF-8 as the system encoding on VxWorks.

The main reason are:

1. The locale is frequently misconfigured.
2. Missing some functions to deal with locale in VxWorks C library.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use UTF-8 as the system encoding on VxWorks.

The main reason are:

1. The locale is frequently misconfigured.
2. Missing some functions to deal with locale in VxWorks C library.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)</title>
<updated>2019-03-01T23:50:31+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2019-03-01T23:50:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bcfa450f210074e16feb761ae5b3e966a2532fcf'/>
<id>bcfa450f210074e16feb761ae5b3e966a2532fcf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
