<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python, 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>Fix indentation of many ast_error() calls</title>
<updated>2019-03-05T19:36:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2019-03-05T19:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ae36b7b34f8f672fc5f06e60930cf199584b18ff'/>
<id>ae36b7b34f8f672fc5f06e60930cf199584b18ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check flags isn't NULL before dereferencing (this broke regen-importlib)</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-28T01:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=00fdd08bc1160510d8ed3d7a2d82bdd88e148a47'/>
<id>00fdd08bc1160510d8ed3d7a2d82bdd88e148a47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Implement further restrictions on feature_version</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-27T19:58:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8caf275763a2c232d81ba0ac1900955215c99bd3'/>
<id>8caf275763a2c232d81ba0ac1900955215c99bd3</id>
<content type='text'>
This is everything currently in typeshed except await expressions (but
it does reject async functions etc.):

    - Reject async functions 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>
This is everything currently in typeshed except await expressions (but
it does reject async functions etc.):

    - Reject async functions 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>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>
</feed>
